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_CONSTRAINED_WINDOW_FRAME_SIMPLE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_FRAME_SIMPLE_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_FRAME_SIMPLE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_FRAME_SIMPLE_H_ |
7 | 7 |
8 #include "ui/views/window/non_client_view.h" | 8 #include "ui/views/window/non_client_view.h" |
9 | 9 |
10 class ConstrainedWindowViews; | 10 class ConstrainedWindowViews; |
(...skipping 10 matching lines...) Expand all Loading... |
21 private: | 21 private: |
22 // Overridden from views::NonClientFrameView: | 22 // Overridden from views::NonClientFrameView: |
23 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; | 23 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; |
24 virtual gfx::Rect GetWindowBoundsForClientBounds( | 24 virtual gfx::Rect GetWindowBoundsForClientBounds( |
25 const gfx::Rect& client_bounds) const OVERRIDE; | 25 const gfx::Rect& client_bounds) const OVERRIDE; |
26 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | 26 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; |
27 virtual void GetWindowMask(const gfx::Size& size, | 27 virtual void GetWindowMask(const gfx::Size& size, |
28 gfx::Path* window_mask) OVERRIDE {} | 28 gfx::Path* window_mask) OVERRIDE {} |
29 virtual void ResetWindowControls() OVERRIDE {} | 29 virtual void ResetWindowControls() OVERRIDE {} |
30 virtual void UpdateWindowIcon() OVERRIDE {} | 30 virtual void UpdateWindowIcon() OVERRIDE {} |
| 31 virtual void UpdateWindowTitle() OVERRIDE {} |
31 | 32 |
32 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowFrameSimple); | 33 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowFrameSimple); |
33 }; | 34 }; |
34 #endif // CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_FRAME_SIMPLE_H_ | 35 #endif // CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_FRAME_SIMPLE_H_ |
OLD | NEW |