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

Unified Diff: chrome/browser/web_app_launcher.cc

Issue 10896: Re-do the way browser windows are shown:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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
Index: chrome/browser/web_app_launcher.cc
===================================================================
--- chrome/browser/web_app_launcher.cc (revision 5374)
+++ chrome/browser/web_app_launcher.cc (working copy)
@@ -10,18 +10,13 @@
#include "chrome/browser/web_app.h"
// static
-void WebAppLauncher::Launch(Profile* profile,
- const GURL& url,
- int show_command) {
- (new WebAppLauncher(profile, url, show_command))->Run();
+void WebAppLauncher::Launch(Profile* profile, const GURL& url) {
+ (new WebAppLauncher(profile, url))->Run();
}
-WebAppLauncher::WebAppLauncher(Profile* profile,
- const GURL& url,
- int show_command)
+WebAppLauncher::WebAppLauncher(Profile* profile, const GURL& url)
: profile_(profile),
- url_(url),
- show_command_(show_command) {
+ url_(url) {
}
void WebAppLauncher::Run() {
@@ -45,7 +40,7 @@
app = new WebApp(profile_, url_, std::wstring());
}
- Browser::OpenWebApplication(profile_, app, show_command_);
+ Browser::OpenWebApplication(profile_, app);
delete this;
}

Powered by Google App Engine
This is Rietveld 408576698