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_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ |
7 | 7 |
8 #include "ash/shell_observer.h" | 8 #include "ash/shell_observer.h" |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // views::NonClientFrameView: | 48 // views::NonClientFrameView: |
49 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; | 49 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; |
50 virtual gfx::Rect GetWindowBoundsForClientBounds( | 50 virtual gfx::Rect GetWindowBoundsForClientBounds( |
51 const gfx::Rect& client_bounds) const OVERRIDE; | 51 const gfx::Rect& client_bounds) const OVERRIDE; |
52 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | 52 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; |
53 virtual void GetWindowMask(const gfx::Size& size, | 53 virtual void GetWindowMask(const gfx::Size& size, |
54 gfx::Path* window_mask) OVERRIDE; | 54 gfx::Path* window_mask) OVERRIDE; |
55 virtual void ResetWindowControls() OVERRIDE; | 55 virtual void ResetWindowControls() OVERRIDE; |
56 virtual void UpdateWindowIcon() OVERRIDE; | 56 virtual void UpdateWindowIcon() OVERRIDE; |
57 virtual void UpdateWindowTitle() OVERRIDE; | 57 virtual void UpdateWindowTitle() OVERRIDE; |
| 58 virtual void SizeConstraintsChanged() OVERRIDE; |
58 | 59 |
59 // views::View: | 60 // views::View: |
60 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 61 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
61 virtual void Layout() OVERRIDE; | 62 virtual void Layout() OVERRIDE; |
62 virtual const char* GetClassName() const OVERRIDE; | 63 virtual const char* GetClassName() const OVERRIDE; |
63 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; | 64 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; |
64 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 65 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
65 virtual void ChildPreferredSizeChanged(views::View* child) OVERRIDE; | 66 virtual void ChildPreferredSizeChanged(views::View* child) OVERRIDE; |
66 | 67 |
67 // ash::ShellObserver: | 68 // ash::ShellObserver: |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 scoped_ptr<ash::HeaderPainter> header_painter_; | 148 scoped_ptr<ash::HeaderPainter> header_painter_; |
148 | 149 |
149 // Updates the hittest bounds overrides based on the window show type. | 150 // Updates the hittest bounds overrides based on the window show type. |
150 scoped_ptr<ash::FrameBorderHitTestController> | 151 scoped_ptr<ash::FrameBorderHitTestController> |
151 frame_border_hit_test_controller_; | 152 frame_border_hit_test_controller_; |
152 | 153 |
153 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh); | 154 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh); |
154 }; | 155 }; |
155 | 156 |
156 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ | 157 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ |
OLD | NEW |