OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_ | 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_ |
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_ | 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_ |
7 | 7 |
8 #include "chrome/views/window.h" | 8 #include "chrome/views/window.h" |
9 | 9 |
10 class AeroGlassNonClientView; | 10 class AeroGlassNonClientView; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // TabStrip. | 48 // TabStrip. |
49 gfx::Rect GetBoundsForTabStrip(TabStrip* tabstrip) const; | 49 gfx::Rect GetBoundsForTabStrip(TabStrip* tabstrip) const; |
50 | 50 |
51 // Tells the frame to update the throbber. | 51 // Tells the frame to update the throbber. |
52 void UpdateThrobber(bool running); | 52 void UpdateThrobber(bool running); |
53 | 53 |
54 protected: | 54 protected: |
55 // Overridden from views::WidgetWin: | 55 // Overridden from views::WidgetWin: |
56 virtual bool AcceleratorPressed(views::Accelerator* accelerator); | 56 virtual bool AcceleratorPressed(views::Accelerator* accelerator); |
57 virtual bool GetAccelerator(int cmd_id, views::Accelerator* accelerator); | 57 virtual bool GetAccelerator(int cmd_id, views::Accelerator* accelerator); |
58 virtual void OnInitMenuPopup(HMENU menu, UINT position, BOOL is_system_menu); | |
59 virtual void OnEnterSizeMove(); | 58 virtual void OnEnterSizeMove(); |
60 virtual void OnEndSession(BOOL ending, UINT logoff); | 59 virtual void OnEndSession(BOOL ending, UINT logoff); |
| 60 virtual void OnInitMenuPopup(HMENU menu, UINT position, BOOL is_system_menu); |
61 virtual LRESULT OnMouseActivate(HWND window, | 61 virtual LRESULT OnMouseActivate(HWND window, |
62 UINT hittest_code, | 62 UINT hittest_code, |
63 UINT message); | 63 UINT message); |
64 virtual void OnMove(const CPoint& point); | 64 virtual void OnMove(const CPoint& point); |
65 virtual void OnMoving(UINT param, const RECT* new_bounds); | 65 virtual void OnMoving(UINT param, const RECT* new_bounds); |
66 virtual LRESULT OnNCActivate(BOOL active); | 66 virtual LRESULT OnNCActivate(BOOL active); |
67 virtual LRESULT OnNCCalcSize(BOOL mode, LPARAM l_param); | 67 virtual LRESULT OnNCCalcSize(BOOL mode, LPARAM l_param); |
68 virtual LRESULT OnNCHitTest(const CPoint& pt); | 68 virtual LRESULT OnNCHitTest(const CPoint& pt); |
69 | 69 |
70 // Overridden from views::Window: | 70 // Overridden from views::Window: |
(...skipping 12 matching lines...) Expand all Loading... |
83 // A pointer to our NonClientFrameView as a BrowserNonClientFrameView. | 83 // A pointer to our NonClientFrameView as a BrowserNonClientFrameView. |
84 BrowserNonClientFrameView* browser_frame_view_; | 84 BrowserNonClientFrameView* browser_frame_view_; |
85 | 85 |
86 bool frame_initialized_; | 86 bool frame_initialized_; |
87 | 87 |
88 DISALLOW_EVIL_CONSTRUCTORS(BrowserFrame); | 88 DISALLOW_EVIL_CONSTRUCTORS(BrowserFrame); |
89 }; | 89 }; |
90 | 90 |
91 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_ | 91 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_ |
92 | 92 |
OLD | NEW |