window_mirror_view_pip.cc 642 B

1234567891011121314151617181920212223
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "ash/wm/window_mirror_view_pip.h"
  5. namespace ash {
  6. WindowMirrorViewPip::WindowMirrorViewPip(aura::Window* source,
  7. bool trilinear_filtering_on_init)
  8. : WindowMirrorView(source, trilinear_filtering_on_init) {}
  9. WindowMirrorViewPip::~WindowMirrorViewPip() = default;
  10. void WindowMirrorViewPip::InitLayerOwner() {
  11. // Do nothing.
  12. }
  13. ui::Layer* WindowMirrorViewPip::GetMirrorLayer() {
  14. return layer();
  15. }
  16. } // namespace ash