| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GTK_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ |
| 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ | 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ |
| 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_gtk.h" | 10 #include "views/window/window_gtk.h" |
| 11 | 11 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 23 // Creates a frame view and initializes the window. This | 23 // Creates a frame view and initializes the window. This |
| 24 // initialization function must be called after construction, it is | 24 // initialization function must be called after construction, it is |
| 25 // separate to avoid recursive calling of the frame from its | 25 // separate to avoid recursive calling of the frame from its |
| 26 // constructor. | 26 // constructor. |
| 27 virtual void Init(); | 27 virtual void Init(); |
| 28 | 28 |
| 29 // Overridden from BrowserFrame: | 29 // Overridden from BrowserFrame: |
| 30 virtual views::Window* GetWindow(); | 30 virtual views::Window* GetWindow(); |
| 31 virtual int GetMinimizeButtonOffset() const; | 31 virtual int GetMinimizeButtonOffset() const; |
| 32 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const; | 32 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const; |
| 33 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const; |
| 33 virtual void UpdateThrobber(bool running); | 34 virtual void UpdateThrobber(bool running); |
| 34 virtual void ContinueDraggingDetachedTab(); | 35 virtual void ContinueDraggingDetachedTab(); |
| 35 virtual ThemeProvider* GetThemeProviderForFrame() const; | 36 virtual ThemeProvider* GetThemeProviderForFrame() const; |
| 36 virtual bool AlwaysUseNativeFrame() const; | 37 virtual bool AlwaysUseNativeFrame() const; |
| 37 virtual views::View* GetFrameView() const; | 38 virtual views::View* GetFrameView() const; |
| 38 virtual void TabStripDisplayModeChanged(); | 39 virtual void TabStripDisplayModeChanged(); |
| 39 | 40 |
| 40 // Overridden from views::Widget: | 41 // Overridden from views::Widget: |
| 41 virtual ThemeProvider* GetThemeProvider() const; | 42 virtual ThemeProvider* GetThemeProvider() const; |
| 42 virtual ThemeProvider* GetDefaultThemeProvider() const; | 43 virtual ThemeProvider* GetDefaultThemeProvider() const; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 // a copy as a BrowserRootView to avoid evil casting later, when we need to | 75 // a copy as a BrowserRootView to avoid evil casting later, when we need to |
| 75 // call functions that only exist on BrowserRootView (versus RootView). | 76 // call functions that only exist on BrowserRootView (versus RootView). |
| 76 BrowserRootView* root_view_; | 77 BrowserRootView* root_view_; |
| 77 | 78 |
| 78 Profile* profile_; | 79 Profile* profile_; |
| 79 | 80 |
| 80 DISALLOW_COPY_AND_ASSIGN(BrowserFrameGtk); | 81 DISALLOW_COPY_AND_ASSIGN(BrowserFrameGtk); |
| 81 }; | 82 }; |
| 82 | 83 |
| 83 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ | 84 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ |
| OLD | NEW |