| OLD | NEW |
| 1 // Copyright (c) 2010 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_APP_PANEL_BROWSER_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ |
| 6 #define CHROME_BROWSER_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/views/frame/browser_frame.h" | 8 #include "chrome/browser/views/frame/browser_frame.h" |
| 9 #include "chrome/browser/views/frame/browser_non_client_frame_view.h" | 9 #include "chrome/browser/views/frame/browser_non_client_frame_view.h" |
| 10 #include "chrome/browser/views/tab_icon_view.h" | 10 #include "chrome/browser/views/tab_icon_view.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 virtual void UpdateThrobber(bool running); | 37 virtual void UpdateThrobber(bool running); |
| 38 virtual gfx::Size GetMinimumSize(); | 38 virtual gfx::Size GetMinimumSize(); |
| 39 | 39 |
| 40 protected: | 40 protected: |
| 41 // Overridden from views::NonClientFrameView: | 41 // Overridden from views::NonClientFrameView: |
| 42 virtual gfx::Rect GetBoundsForClientView() const; | 42 virtual gfx::Rect GetBoundsForClientView() const; |
| 43 virtual bool AlwaysUseCustomFrame() const; | 43 virtual bool AlwaysUseCustomFrame() const; |
| 44 virtual bool AlwaysUseNativeFrame() const; | 44 virtual bool AlwaysUseNativeFrame() const; |
| 45 virtual gfx::Rect GetWindowBoundsForClientBounds( | 45 virtual gfx::Rect GetWindowBoundsForClientBounds( |
| 46 const gfx::Rect& client_bounds) const; | 46 const gfx::Rect& client_bounds) const; |
| 47 virtual gfx::Point GetSystemMenuPoint() const; | |
| 48 virtual int NonClientHitTest(const gfx::Point& point); | 47 virtual int NonClientHitTest(const gfx::Point& point); |
| 49 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask); | 48 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask); |
| 50 virtual void EnableClose(bool enable); | 49 virtual void EnableClose(bool enable); |
| 51 virtual void ResetWindowControls(); | 50 virtual void ResetWindowControls(); |
| 52 | 51 |
| 53 // Overridden from views::View: | 52 // Overridden from views::View: |
| 54 virtual void Paint(gfx::Canvas* canvas); | 53 virtual void Paint(gfx::Canvas* canvas); |
| 55 virtual void Layout(); | 54 virtual void Layout(); |
| 56 | 55 |
| 57 // Overridden from views::ButtonListener: | 56 // Overridden from views::ButtonListener: |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // The accessible name of this view. | 131 // The accessible name of this view. |
| 133 std::wstring accessible_name_; | 132 std::wstring accessible_name_; |
| 134 | 133 |
| 135 static void InitAppWindowResources(); | 134 static void InitAppWindowResources(); |
| 136 static gfx::Font* title_font_; | 135 static gfx::Font* title_font_; |
| 137 | 136 |
| 138 DISALLOW_COPY_AND_ASSIGN(AppPanelBrowserFrameView); | 137 DISALLOW_COPY_AND_ASSIGN(AppPanelBrowserFrameView); |
| 139 }; | 138 }; |
| 140 | 139 |
| 141 #endif // CHROME_BROWSER_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ | 140 #endif // CHROME_BROWSER_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ |
| OLD | NEW |