OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_OPAQUE_BROWSER_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "chrome/browser/ui/view_ids.h" | 9 #include "chrome/browser/ui/view_ids.h" |
10 #include "chrome/browser/ui/views/frame/browser_frame.h" | 10 #include "chrome/browser/ui/views/frame/browser_frame.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 // views::NonClientFrameView: | 50 // views::NonClientFrameView: |
51 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; | 51 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; |
52 virtual gfx::Rect GetWindowBoundsForClientBounds( | 52 virtual gfx::Rect GetWindowBoundsForClientBounds( |
53 const gfx::Rect& client_bounds) const OVERRIDE; | 53 const gfx::Rect& client_bounds) const OVERRIDE; |
54 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | 54 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; |
55 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) | 55 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) |
56 OVERRIDE; | 56 OVERRIDE; |
57 virtual void ResetWindowControls() OVERRIDE; | 57 virtual void ResetWindowControls() OVERRIDE; |
58 virtual void UpdateWindowIcon() OVERRIDE; | 58 virtual void UpdateWindowIcon() OVERRIDE; |
59 virtual void UpdateWindowTitle() OVERRIDE; | 59 virtual void UpdateWindowTitle() OVERRIDE; |
| 60 virtual void SizeConstraintsChanged() OVERRIDE; |
60 | 61 |
61 // views::View: | 62 // views::View: |
62 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; | 63 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; |
63 | 64 |
64 // views::ButtonListener: | 65 // views::ButtonListener: |
65 virtual void ButtonPressed(views::Button* sender, const ui::Event& event) | 66 virtual void ButtonPressed(views::Button* sender, const ui::Event& event) |
66 OVERRIDE; | 67 OVERRIDE; |
67 | 68 |
68 // views::MenuButtonListener: | 69 // views::MenuButtonListener: |
69 virtual void OnMenuButtonClicked(views::View* source, const gfx::Point& point) | 70 virtual void OnMenuButtonClicked(views::View* source, const gfx::Point& point) |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 // Background painter for the window frame. | 175 // Background painter for the window frame. |
175 scoped_ptr<views::FrameBackground> frame_background_; | 176 scoped_ptr<views::FrameBackground> frame_background_; |
176 | 177 |
177 // Observer that handles platform dependent configuration. | 178 // Observer that handles platform dependent configuration. |
178 scoped_ptr<OpaqueBrowserFrameViewPlatformSpecific> platform_observer_; | 179 scoped_ptr<OpaqueBrowserFrameViewPlatformSpecific> platform_observer_; |
179 | 180 |
180 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameView); | 181 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameView); |
181 }; | 182 }; |
182 | 183 |
183 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ | 184 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ |
OLD | NEW |