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

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: Mac changes. New test. Ready for review. 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
Index: chrome/browser/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index 895cc553d3f3f50ce21f1d48ee3f4c050ed08049..f3eb5355f98242bfb854c97f414b9b0b24e264e2 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -295,7 +295,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;

Powered by Google App Engine
This is Rietveld 408576698