Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: ui/views/mus/mus_property_mirror.h

Issue 2655513002: mash: Relay some Chrome aura window properties to Ash. (Closed)
Patch Set: Address comments. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 UI_VIEWS_MUS_MUS_PROPERTY_MIRROR_H_
6 #define UI_VIEWS_MUS_MUS_PROPERTY_MIRROR_H_
7
8 #include "ui/views/mus/mus_export.h"
9
10 namespace aura {
11 class Window;
12 }
13
14 namespace views {
15
16 // Facilitates copying mus client window properties to their mash frame windows.
17 class VIEWS_MUS_EXPORT MusPropertyMirror {
18 public:
19 virtual ~MusPropertyMirror() {}
20
21 // Called when a property with the given |key| has changed for |window|.
22 // |window| is what mus clients get when calling |widget->GetNativeWindow()|.
23 // |root_window| is the frame that mash constructs in order to render the
sky 2017/01/27 23:46:22 The description of root_window is mildly confusing
msw 2017/01/28 00:09:16 Done.
24 // non-client frame decorations (see ash::mus::NonClientFrameController).
25 // Various ash features rely on property values of mus clients' root windows.
26 virtual void MirrorPropertyFromWidgetWindowToRootWindow(
27 aura::Window* window,
28 aura::Window* root_window,
29 const void* key) = 0;
30 };
31
32 } // namespace views
33
34 #endif // UI_VIEWS_MUS_MUS_PROPERTY_MIRROR_H_
OLDNEW
« ui/views/mus/desktop_window_tree_host_mus.cc ('K') | « ui/views/mus/mus_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698