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

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

Issue 7537030: Make panel adjust bounds per preferred size change notification on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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_browser_view.h
===================================================================
--- chrome/browser/ui/panels/panel_browser_view.h (revision 98900)
+++ chrome/browser/ui/panels/panel_browser_view.h (working copy)
@@ -94,6 +94,9 @@
bool* is_keyboard_shortcut) OVERRIDE;
virtual void HandlePanelKeyboardEvent(
const NativeWebKeyboardEvent& event) OVERRIDE;
+ virtual gfx::Size GetNonClientAreaExtent() const OVERRIDE;
+ virtual int GetRestoredHeight() const OVERRIDE;
+ virtual void SetRestoredHeight(int height) OVERRIDE;
virtual Browser* GetPanelBrowser() const OVERRIDE;
virtual void DestroyPanelBrowser() OVERRIDE;
@@ -107,9 +110,9 @@
scoped_ptr<Panel> panel_;
gfx::Rect bounds_;
- // Stores the original height of the panel so we can restore it after it's
+ // Stores the full height of the panel so we can restore it after it's
// been minimized.
- int original_height_;
+ int restored_height_;
// Is the panel being closed? Do not use it when it is closed.
bool closed_;
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_frame_view.cc ('k') | chrome/browser/ui/panels/panel_browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698