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

Side by Side Diff: ash/public/cpp/mus_property_mirror_ash.h

Issue 2664113004: Reland: mash: Fix MusPropertyMirrorAsh for owned properties; add test. (Closed)
Patch Set: Sync and rebase. 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
« no previous file with comments | « ash/public/cpp/ash_public_export.h ('k') | ash/public/cpp/mus_property_mirror_ash.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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_
OLDNEW
« no previous file with comments | « ash/public/cpp/ash_public_export.h ('k') | ash/public/cpp/mus_property_mirror_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698