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

Unified Diff: chrome/browser/views/frame/aero_glass_frame.h

Issue 10896: Re-do the way browser windows are shown:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/views/frame/aero_glass_frame.h
===================================================================
--- chrome/browser/views/frame/aero_glass_frame.h (revision 5374)
+++ chrome/browser/views/frame/aero_glass_frame.h (working copy)
@@ -24,7 +24,7 @@
explicit AeroGlassFrame(BrowserView* browser_view);
virtual ~AeroGlassFrame();
- void Init(const gfx::Rect& bounds);
+ void Init();
// Determine the distance of the left edge of the minimize button from the
// right edge of the window. Used in our Non-Client View's Layout.
@@ -38,12 +38,10 @@
virtual void UpdateThrobber(bool running);
virtual views::Window* GetWindow();
+ protected:
// Overridden from views::ContainerWin:
virtual bool AcceleratorPressed(views::Accelerator* accelerator);
virtual bool GetAccelerator(int cmd_id, views::Accelerator* accelerator);
-
- protected:
- // Overridden from views::ContainerWin:
virtual void OnInitMenuPopup(HMENU menu, UINT position, BOOL is_system_menu);
virtual void OnEndSession(BOOL ending, UINT logoff);
virtual LRESULT OnMouseActivate(HWND window,
@@ -55,6 +53,9 @@
virtual LRESULT OnNCCalcSize(BOOL mode, LPARAM l_param);
virtual LRESULT OnNCHitTest(const CPoint& pt);
+ // Overridden from views::CustomFrameWindow:
+ virtual int GetShowState() const;
+
private:
// Updates the DWM with the frame bounds.
void UpdateDWMFrame();

Powered by Google App Engine
This is Rietveld 408576698