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

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

Issue 10173035: Add key modifier on minimize/restore button click to minimize/restore all Panels for Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed IsActive checks from new test 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 2a92fafed8b70cedd73d8749137ee0440b61273f..a86818933b47f33a4506c2afdf8d124319d246c3 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -219,9 +219,11 @@ class Panel : public BrowserWindow,
const gfx::Rect& bounds);
// Invoked when the native panel has detected a mouse click on the
- // panel's titlebar. Behavior of the click may be modified as
- // indicated by |modifier|.
+ // panel's titlebar, minimize or restore buttons. Behavior of the
+ // click may be modified as indicated by |modifier|.
void OnTitlebarClicked(panel::ClickModifier modifier);
+ void OnMinimizeButtonClicked(panel::ClickModifier modifier);
+ void OnRestoreButtonClicked(panel::ClickModifier modifier);
// Used on platforms where the panel cannot determine its window size
// until the window has been created. (e.g. GTK)
« 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