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

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

Issue 15807006: Fix the problem that the minimized docked panel is not unsqueezed back to its original size when th… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel.cc
diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc
index d003bbb20153df22fa26faaaf44a133494cfd389..919ccf165abd370d65aea71cbf449527ba4645f9 100644
--- a/chrome/browser/ui/panels/panel.cc
+++ b/chrome/browser/ui/panels/panel.cc
@@ -470,8 +470,8 @@ void Panel::OnMinimizeButtonClicked(panel::ClickModifier modifier) {
}
void Panel::OnRestoreButtonClicked(panel::ClickModifier modifier) {
- if (collection_)
- collection_->OnRestoreButtonClicked(this, modifier);
+ // Clicking the restore button has the same behavior as clicking the titlebar.
+ OnTitlebarClicked(modifier);
}
void Panel::OnWindowSizeAvailable() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698