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

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.cc

Issue 2502413005: Use aura::WindowProperty for title and name strings. (Closed)
Patch Set: Update comment Created 4 years, 1 month 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 | « chrome/browser/memory/tab_manager_delegate_chromeos.cc ('k') | ui/aura/client/aura_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.cc
index 386db2cf97cce5d4589d4a71035b1b8102fc6488..04b3aa86bbd906e1f8ff98b3edd26320d0d9eca5 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.cc
@@ -73,7 +73,8 @@ ArcAppWindowLauncherItemController::GetApplicationList(int event_flags) {
gfx::Image image;
aura::Window* window = (*it)->GetNativeWindow();
items.push_back(new ChromeLauncherAppMenuItemV2App(
- ((window && !window->title().empty()) ? window->title() : GetTitle()),
+ ((window && !window->GetTitle().empty()) ? window->GetTitle()
+ : GetTitle()),
&image, app_id(), launcher_controller(), i,
i == 0 /* has_leading_separator */));
}
« no previous file with comments | « chrome/browser/memory/tab_manager_delegate_chromeos.cc ('k') | ui/aura/client/aura_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698