OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/ui/views/frame/browser_frame.h" | 9 #include "chrome/browser/ui/views/frame/browser_frame.h" |
10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" | 10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 // Overridden from BrowserNonClientFrameView: | 35 // Overridden from BrowserNonClientFrameView: |
36 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; | 36 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; |
37 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE; | 37 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE; |
38 virtual void UpdateThrobber(bool running) OVERRIDE; | 38 virtual void UpdateThrobber(bool running) OVERRIDE; |
39 virtual gfx::Size GetMinimumSize() OVERRIDE; | 39 virtual gfx::Size GetMinimumSize() OVERRIDE; |
40 | 40 |
41 protected: | 41 protected: |
42 // Overridden from views::NonClientFrameView: | 42 // Overridden from views::NonClientFrameView: |
43 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; | 43 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; |
44 virtual bool AlwaysUseCustomFrame() const OVERRIDE; | |
45 virtual bool AlwaysUseNativeFrame() const OVERRIDE; | |
46 virtual gfx::Rect GetWindowBoundsForClientBounds( | 44 virtual gfx::Rect GetWindowBoundsForClientBounds( |
47 const gfx::Rect& client_bounds) const OVERRIDE; | 45 const gfx::Rect& client_bounds) const OVERRIDE; |
48 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | 46 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; |
49 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) | 47 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) |
50 OVERRIDE; | 48 OVERRIDE; |
51 virtual void EnableClose(bool enable) OVERRIDE; | 49 virtual void EnableClose(bool enable) OVERRIDE; |
52 virtual void ResetWindowControls() OVERRIDE; | 50 virtual void ResetWindowControls() OVERRIDE; |
53 virtual void UpdateWindowIcon() OVERRIDE; | 51 virtual void UpdateWindowIcon() OVERRIDE; |
54 | 52 |
55 // Overridden from views::View: | 53 // Overridden from views::View: |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 // The accessible name of this view. | 121 // The accessible name of this view. |
124 std::wstring accessible_name_; | 122 std::wstring accessible_name_; |
125 | 123 |
126 static void InitAppWindowResources(); | 124 static void InitAppWindowResources(); |
127 static gfx::Font* title_font_; | 125 static gfx::Font* title_font_; |
128 | 126 |
129 DISALLOW_COPY_AND_ASSIGN(AppPanelBrowserFrameView); | 127 DISALLOW_COPY_AND_ASSIGN(AppPanelBrowserFrameView); |
130 }; | 128 }; |
131 | 129 |
132 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ | 130 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ |
OLD | NEW |