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

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

Issue 7242017: Support minimizing the panel into 3-pixel line on Windows. Also support bringing up/down the titl... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/panel_browser_frame_view.h ('k') | chrome/browser/ui/panels/panel_browser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_browser_frame_view.cc
===================================================================
--- chrome/browser/ui/panels/panel_browser_frame_view.cc (revision 90982)
+++ chrome/browser/ui/panels/panel_browser_frame_view.cc (working copy)
@@ -326,6 +326,13 @@
LoadImageResources();
}
+gfx::Size PanelBrowserFrameView::GetMinimumSize() {
+ // This makes the panel be able to shrink to very small, like 3-pixel lines.
+ // Since the panel cannot be resized by the user, we do not need to enforce
+ // the minimum size.
+ return gfx::Size();
+}
+
void PanelBrowserFrameView::Layout() {
// Layout the close button.
gfx::Size close_button_size = close_button_->GetPreferredSize();
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_frame_view.h ('k') | chrome/browser/ui/panels/panel_browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698