summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/panels/panel.h
diff options
context:
space:
mode:
authorjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-02 22:12:54 +0000
committerjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-02 22:12:54 +0000
commitbe0a73ff53ca0554a180228f364e535552eaff76 (patch)
tree293ac37f2aeb1dfcf3c08140260598e43349512e /chrome/browser/ui/panels/panel.h
parent14bcec307d7ec6b13e90fe5e5ac8ca5aaa397b4b (diff)
downloadchromium_src-be0a73ff53ca0554a180228f364e535552eaff76.zip
chromium_src-be0a73ff53ca0554a180228f364e535552eaff76.tar.gz
chromium_src-be0a73ff53ca0554a180228f364e535552eaff76.tar.bz2
Update Panel UI looks on Windows.
1) Add back wrench menu. 2) Remove about panel bubble. 3) Differentiate active and inactive panel by using different chrome theme. BUG=none TEST=panel_browser_view_browsertest Review URL: http://codereview.chromium.org/6975062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87703 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/panels/panel.h')
-rw-r--r--chrome/browser/ui/panels/panel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index d65e5e0..676d081 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -133,6 +133,10 @@ class Panel : public BrowserWindow {
// |browser|.
static BrowserWindow* CreateNativePanel(Browser* browser, Panel* panel);
+ // Gets the extension from the browser that a panel is created from.
+ // Returns NULL if it cannot be found.
+ static const Extension* GetExtension(Browser* browser);
+
#ifdef UNIT_TEST
BrowserWindow* browser_window() { return browser_window_.get(); }
#endif