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

Unified Diff: ash/public/cpp/mus_property_mirror_ash.cc

Issue 2778733004: Add WindowPinType property on arua::Window (Closed)
Patch Set: Address review issues. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/public/cpp/BUILD.gn ('k') | ash/public/cpp/window_pin_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/cpp/mus_property_mirror_ash.cc
diff --git a/ash/public/cpp/mus_property_mirror_ash.cc b/ash/public/cpp/mus_property_mirror_ash.cc
index 25ddc91fbe390511e6bfe7ebf109378addccc693..770c4a1ff6fc1540ccba1a2f4392daee835939df 100644
--- a/ash/public/cpp/mus_property_mirror_ash.cc
+++ b/ash/public/cpp/mus_property_mirror_ash.cc
@@ -37,6 +37,9 @@ void MusPropertyMirrorAsh::MirrorPropertyFromWidgetWindowToRootWindow(
} else if (key == kShelfItemTypeKey) {
int32_t value = window->GetProperty(kShelfItemTypeKey);
root_window->SetProperty(kShelfItemTypeKey, value);
+ } else if (key == kWindowPinTypeKey) {
+ ash::mojom::WindowPinType value = window->GetProperty(kWindowPinTypeKey);
+ root_window->SetProperty(kWindowPinTypeKey, value);
} else if (key == aura::client::kAppIconKey) {
MirrorOwnedProperty(window, root_window, aura::client::kAppIconKey);
} else if (key == aura::client::kAppIdKey) {
« no previous file with comments | « ash/public/cpp/BUILD.gn ('k') | ash/public/cpp/window_pin_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698