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

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

Issue 2243573002: ARC: Show window title in launcher menu instead of app title (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
Index: chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
index 497a50e9cfaff4db00e99b6d34b7d475544d6b06..8e75292566ca5b8ceeb0d30c0f4a6a48344fb867 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
@@ -134,7 +134,9 @@ class ArcAppWindowLauncherController::AppWindow : public ui::BaseWindow {
return false;
}
- gfx::NativeWindow GetNativeWindow() const override { return nullptr; }
+ gfx::NativeWindow GetNativeWindow() const override {
+ return widget_ ? widget_->GetNativeWindow() : nullptr;
+ }
gfx::Rect GetRestoredBounds() const override {
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698