| 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_WIN_ | 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_ |
| 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_ | 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "chrome/browser/views/frame/browser_frame.h" | 9 #include "chrome/browser/views/frame/browser_frame.h" |
| 10 #include "views/window/window_win.h" | 10 #include "views/window/window_win.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 // BrowserFrame implementation. | 37 // BrowserFrame implementation. |
| 38 virtual views::Window* GetWindow(); | 38 virtual views::Window* GetWindow(); |
| 39 virtual void TabStripCreated(TabStrip* tabstrip); | 39 virtual void TabStripCreated(TabStrip* tabstrip); |
| 40 virtual int GetMinimizeButtonOffset() const; | 40 virtual int GetMinimizeButtonOffset() const; |
| 41 virtual gfx::Rect GetBoundsForTabStrip(TabStrip* tabstrip) const; | 41 virtual gfx::Rect GetBoundsForTabStrip(TabStrip* tabstrip) const; |
| 42 virtual void UpdateThrobber(bool running); | 42 virtual void UpdateThrobber(bool running); |
| 43 virtual ThemeProvider* GetThemeProviderForFrame() const; | 43 virtual ThemeProvider* GetThemeProviderForFrame() const; |
| 44 | 44 |
| 45 // Overridden from views::Widget. | 45 // Overridden from views::Widget. |
| 46 virtual ThemeProvider* GetThemeProvider() const; | 46 virtual ThemeProvider* GetThemeProvider() const; |
| 47 virtual ThemeProvider* GetDialogThemeProvider() const; | 47 virtual ThemeProvider* GetDefaultThemeProvider() const; |
| 48 | 48 |
| 49 BrowserView* browser_view() const { return browser_view_; } | 49 BrowserView* browser_view() const { return browser_view_; } |
| 50 | 50 |
| 51 protected: | 51 protected: |
| 52 // Overridden from views::WidgetWin: | 52 // Overridden from views::WidgetWin: |
| 53 virtual bool AcceleratorPressed(views::Accelerator* accelerator); | 53 virtual bool AcceleratorPressed(views::Accelerator* accelerator); |
| 54 virtual bool GetAccelerator(int cmd_id, views::Accelerator* accelerator); | 54 virtual bool GetAccelerator(int cmd_id, views::Accelerator* accelerator); |
| 55 virtual void OnEnterSizeMove(); | 55 virtual void OnEnterSizeMove(); |
| 56 virtual void OnEndSession(BOOL ending, UINT logoff); | 56 virtual void OnEndSession(BOOL ending, UINT logoff); |
| 57 virtual void OnInitMenuPopup(HMENU menu, UINT position, BOOL is_system_menu); | 57 virtual void OnInitMenuPopup(HMENU menu, UINT position, BOOL is_system_menu); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 87 BrowserRootView* root_view_; | 87 BrowserRootView* root_view_; |
| 88 | 88 |
| 89 bool frame_initialized_; | 89 bool frame_initialized_; |
| 90 | 90 |
| 91 Profile* profile_; | 91 Profile* profile_; |
| 92 | 92 |
| 93 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin); | 93 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_ | 96 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_ |
| OLD | NEW |