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

Unified Diff: chrome/browser/ui/panels/panel.h

Issue 10106008: Change Panel titlebars to activate the panel on click (rather than minimize). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win compile Created 8 years, 8 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/panels/docked_panel_strip.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index c7949d7cb94fb7e5a7d68d3c3768932b1365d6b4..2a92fafed8b70cedd73d8749137ee0440b61273f 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -79,10 +79,6 @@ class Panel : public BrowserWindow,
int TitleOnlyHeight() const;
- // Returns the size of the panel when it is iconified, as shown on the
- // overflow area.
- gfx::Size IconOnlySize() const;
-
// Returns true if the panel can be minimized or restored, depending on the
// strip the panel is in.
bool CanMinimize() const;
@@ -304,7 +300,8 @@ class Panel : public BrowserWindow,
void ClampSize(gfx::Size* size) const;
// Called when the panel's active state changes.
- void OnActiveStateChanged();
+ // |active| is true if panel became active.
+ void OnActiveStateChanged(bool active);
protected:
virtual void DestroyBrowser() OVERRIDE;
« no previous file with comments | « chrome/browser/ui/panels/docked_panel_strip.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698