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

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

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/detached_panel_strip.h ('k') | chrome/browser/ui/panels/docked_panel_strip.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/detached_panel_strip.cc
diff --git a/chrome/browser/ui/panels/detached_panel_strip.cc b/chrome/browser/ui/panels/detached_panel_strip.cc
index 763abeee8bb51b120403bc87cc40201eb51524f8..5b5ea18a334c03ff519c45fc69dfd2a7d84868bf 100644
--- a/chrome/browser/ui/panels/detached_panel_strip.cc
+++ b/chrome/browser/ui/panels/detached_panel_strip.cc
@@ -110,6 +110,16 @@ void DetachedPanelStrip::RestorePanel(Panel* panel) {
// regardless of which strip the panel is in. So we just quietly return.
}
+void DetachedPanelStrip::MinimizeAll() {
+ // Detached panels do not minimize.
+ NOTREACHED();
+}
+
+void DetachedPanelStrip::RestoreAll() {
+ // Detached panels do not minimize.
+ NOTREACHED();
+}
+
bool DetachedPanelStrip::CanMinimizePanel(const Panel* panel) const {
DCHECK_EQ(this, panel->panel_strip());
// Detached panels do not minimize.
« no previous file with comments | « chrome/browser/ui/panels/detached_panel_strip.h ('k') | chrome/browser/ui/panels/docked_panel_strip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698