diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-25 18:45:12 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-25 18:45:12 +0000 |
commit | d73c8ca8571d81706a5b8fa5e95e2a57d7f1961c (patch) | |
tree | 00314fa451430bec799b10b28057ba11d347debd /chrome/browser/gtk/browser_window_gtk.cc | |
parent | 57a5a442f487a7b338249ff0f1b88668bf982b6d (diff) | |
download | chromium_src-d73c8ca8571d81706a5b8fa5e95e2a57d7f1961c.zip chromium_src-d73c8ca8571d81706a5b8fa5e95e2a57d7f1961c.tar.gz chromium_src-d73c8ca8571d81706a5b8fa5e95e2a57d7f1961c.tar.bz2 |
Add a flag for the showing the Page Info dialog as a bubble. This adds stubs for all platforms.
BUG=52916
TEST=Compile. Page Info works as before.
Review URL: http://codereview.chromium.org/3175037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57358 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_window_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/browser_window_gtk.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc index b436f60..c9950ff 100644 --- a/chrome/browser/gtk/browser_window_gtk.cc +++ b/chrome/browser/gtk/browser_window_gtk.cc @@ -1019,7 +1019,11 @@ void BrowserWindowGtk::ShowPageInfo(Profile* profile, const GURL& url, const NavigationEntry::SSLStatus& ssl, bool show_history) { - browser::ShowPageInfo(window_, profile, url, ssl, show_history); + const CommandLine* command_line(CommandLine::ForCurrentProcess()); + if (command_line->HasSwitch(switches::kEnableNewPageInfoBubble)) + browser::ShowPageInfoBubble(window_, profile, url, ssl, show_history); + else + browser::ShowPageInfo(window_, profile, url, ssl, show_history); } void BrowserWindowGtk::ShowAppMenu() { |