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

Unified Diff: chrome/browser/ui/app_list/extension_app_item.cc

Issue 2894743002: Make launching apps from shelf more intuitive (Closed)
Patch Set: Affected by new revision, gclient sync and re-upload. Created 3 years, 7 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/app_list/extension_app_item.cc
diff --git a/chrome/browser/ui/app_list/extension_app_item.cc b/chrome/browser/ui/app_list/extension_app_item.cc
index 153762665db164815a9aa3362f6d44c41bfca8cd..a945dc4831c162c8f44a579322a0fc777fc7fe1e 100644
--- a/chrome/browser/ui/app_list/extension_app_item.cc
+++ b/chrome/browser/ui/app_list/extension_app_item.cc
@@ -30,6 +30,7 @@
#include "extensions/common/manifest_handlers/icons_handler.h"
#include "extensions/common/manifest_url_handlers.h"
#include "ui/base/resource/resource_bundle.h"
+#include "ui/display/types/display_constants.h"
#include "ui/events/event_constants.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/rect.h"
@@ -120,10 +121,9 @@ void ExtensionAppItem::Launch(int event_flags) {
if (RunExtensionEnableFlow())
return;
- GetController()->LaunchApp(profile(),
- extension,
+ GetController()->LaunchApp(profile(), extension,
AppListControllerDelegate::LAUNCH_FROM_APP_LIST,
- event_flags);
+ event_flags, display::kInvalidDisplayId);
}
void ExtensionAppItem::ExtensionEnableFlowFinished() {

Powered by Google App Engine
This is Rietveld 408576698