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

Unified Diff: chrome/browser/ui/extensions/application_launch.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
« no previous file with comments | « chrome/browser/ui/extensions/app_launch_params.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/extensions/application_launch.cc
diff --git a/chrome/browser/ui/extensions/application_launch.cc b/chrome/browser/ui/extensions/application_launch.cc
index ff846ea99a9f46b6db66836a3e96af738f7bedb0..b4405a8073d16a8220c5927aea2b7b239d3079ab 100644
--- a/chrome/browser/ui/extensions/application_launch.cc
+++ b/chrome/browser/ui/extensions/application_launch.cc
@@ -228,7 +228,8 @@ WebContents* OpenApplicationTab(const AppLaunchParams& launch_params,
Profile* const profile = launch_params.profile;
WindowOpenDisposition disposition = launch_params.disposition;
- Browser* browser = chrome::FindTabbedBrowser(profile, false);
+ Browser* browser =
+ chrome::FindTabbedBrowser(profile, false, launch_params.display_id);
WebContents* contents = NULL;
if (!browser) {
// No browser for this profile, need to open a new one.
« no previous file with comments | « chrome/browser/ui/extensions/app_launch_params.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698