| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 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 |
| 5 #ifndef ASH_PUBLIC_CPP_MUS_PROPERTY_MIRROR_H_ |
| 6 #define ASH_PUBLIC_CPP_MUS_PROPERTY_MIRROR_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "ui/views/mus/mus_property_mirror.h" |
| 10 |
| 11 namespace ash { |
| 12 |
| 13 // Relays aura content window properties to its root window (the mash frame). |
| 14 // Ash relies on various window properties for frame titles, shelf items, etc. |
| 15 // These properties are read from the client's root, not child content windows. |
| 16 class MusPropertyMirrorAsh : public views::MusPropertyMirror { |
| 17 public: |
| 18 MusPropertyMirrorAsh(); |
| 19 ~MusPropertyMirrorAsh() override; |
| 20 |
| 21 // MusPropertyMirror: |
| 22 void MirrorPropertyFromWidgetWindowToRootWindow(aura::Window* window, |
| 23 aura::Window* root_window, |
| 24 const void* key) override; |
| 25 |
| 26 private: |
| 27 DISALLOW_COPY_AND_ASSIGN(MusPropertyMirrorAsh); |
| 28 }; |
| 29 |
| 30 } // namespace ash |
| 31 |
| 32 #endif // ASH_PUBLIC_CPP_MUS_PROPERTY_MIRROR_H_ |
| OLD | NEW |