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