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

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

Issue 7011015: Show "About panel" bubble on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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/browser.cc
===================================================================
--- chrome/browser/ui/browser.cc (revision 85003)
+++ chrome/browser/ui/browser.cc (working copy)
@@ -84,6 +84,7 @@
#include "chrome/browser/ui/find_bar/find_bar_controller.h"
#include "chrome/browser/ui/find_bar/find_tab_helper.h"
#include "chrome/browser/ui/omnibox/location_bar.h"
+#include "chrome/browser/ui/panels/extension_panel_originator.h"
#include "chrome/browser/ui/panels/panel.h"
#include "chrome/browser/ui/panels/panel_manager.h"
#include "chrome/browser/ui/search_engines/search_engine_tab_helper.h"
@@ -598,6 +599,9 @@
Browser* browser = Browser::CreateForApp(type, app_name, window_size,
profile);
+ Panel* panel = browser->window()->GetAsPanel();
jennb 2011/05/12 18:15:51 There are other places where a Browser of type PAN
jianli 2011/05/24 00:56:24 Removed since it is not needed now.
+ if (panel)
+ panel->set_originator(new ExtensionPanelOriginator(extension, profile));
if (app_browser)
*app_browser = browser;

Powered by Google App Engine
This is Rietveld 408576698