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

Unified Diff: ui/aura/mus/property_converter.cc

Issue 2591333002: Register app and window icon properties for aura mus conversion. (Closed)
Patch Set: Created 4 years 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 | « services/ui/public/interfaces/window_manager.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/property_converter.cc
diff --git a/ui/aura/mus/property_converter.cc b/ui/aura/mus/property_converter.cc
index 875ec3dca0d8a41d0f911f47e8482ccd8de9f264..b02fca4bc3c6524779e2c8d7213556e6d8025a20 100644
--- a/ui/aura/mus/property_converter.cc
+++ b/ui/aura/mus/property_converter.cc
@@ -32,6 +32,8 @@ PropertyConverter::PropertyConverter() {
// Add known aura properties with associated mus properties.
RegisterProperty(client::kAlwaysOnTopKey,
ui::mojom::WindowManager::kAlwaysOnTop_Property);
+ RegisterProperty(client::kAppIconKey,
+ ui::mojom::WindowManager::kAppIcon_Property);
RegisterProperty(client::kAppIdKey,
ui::mojom::WindowManager::kAppID_Property);
RegisterProperty(client::kNameKey, ui::mojom::WindowManager::kName_Property);
@@ -45,6 +47,8 @@ PropertyConverter::PropertyConverter() {
ui::mojom::WindowManager::kShowState_Property);
RegisterProperty(client::kTitleKey,
ui::mojom::WindowManager::kWindowTitle_Property);
+ RegisterProperty(client::kWindowIconKey,
+ ui::mojom::WindowManager::kWindowIcon_Property);
}
PropertyConverter::~PropertyConverter() {}
« no previous file with comments | « services/ui/public/interfaces/window_manager.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698