Chromium Code Reviews| 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_MUS_MUS_PROPERTY_MIRROR_H_ | |
| 6 #define ASH_MUS_MUS_PROPERTY_MIRROR_H_ | |
| 7 | |
| 8 #include "ash/ash_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_EXPORT MusPropertyMirrorAsh : public views::MusPropertyMirror { | |
|
sky
2017/01/31 23:25:09
This isn't actually used in ash, is it? Rather it'
msw
2017/02/01 01:25:00
It took some doing, and reminded me what a mess as
| |
| 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_MUS_MUS_PROPERTY_MIRROR_H_ | |
| OLD | NEW |