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_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" | 9 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 // NonClientFrameView: | 24 // NonClientFrameView: |
25 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; | 25 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; |
26 virtual gfx::Rect GetWindowBoundsForClientBounds( | 26 virtual gfx::Rect GetWindowBoundsForClientBounds( |
27 const gfx::Rect& client_bounds) const OVERRIDE; | 27 const gfx::Rect& client_bounds) const OVERRIDE; |
28 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | 28 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; |
29 virtual void GetWindowMask( | 29 virtual void GetWindowMask( |
30 const gfx::Size& size, | 30 const gfx::Size& size, |
31 gfx::Path* window_mask) OVERRIDE; | 31 gfx::Path* window_mask) OVERRIDE; |
32 virtual void ResetWindowControls() OVERRIDE; | 32 virtual void ResetWindowControls() OVERRIDE; |
33 virtual void UpdateWindowIcon() OVERRIDE; | 33 virtual void UpdateWindowIcon() OVERRIDE; |
| 34 virtual void UpdateWindowTitle() OVERRIDE; |
34 | 35 |
35 // BrowserNonClientFrameView: | 36 // BrowserNonClientFrameView: |
36 virtual gfx::Rect GetBoundsForTabStrip( | 37 virtual gfx::Rect GetBoundsForTabStrip( |
37 views::View* tabstrip) const OVERRIDE; | 38 views::View* tabstrip) const OVERRIDE; |
38 virtual TabStripInsets GetTabStripInsets(bool restored) const OVERRIDE; | 39 virtual TabStripInsets GetTabStripInsets(bool restored) const OVERRIDE; |
39 virtual int GetThemeBackgroundXInset() const OVERRIDE; | 40 virtual int GetThemeBackgroundXInset() const OVERRIDE; |
40 virtual void UpdateThrobber(bool running) OVERRIDE; | 41 virtual void UpdateThrobber(bool running) OVERRIDE; |
41 | 42 |
42 // View: | 43 // View: |
43 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; | 44 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; |
(...skipping 11 matching lines...) Expand all Loading... |
55 ControlView* control_view_; | 56 ControlView* control_view_; |
56 // The widget holding the control_view_. | 57 // The widget holding the control_view_. |
57 views::Widget* control_widget_; | 58 views::Widget* control_widget_; |
58 // Observer for browser frame close. | 59 // Observer for browser frame close. |
59 scoped_ptr<FrameObserver> frame_observer_; | 60 scoped_ptr<FrameObserver> frame_observer_; |
60 | 61 |
61 DISALLOW_COPY_AND_ASSIGN(AppNonClientFrameViewAura); | 62 DISALLOW_COPY_AND_ASSIGN(AppNonClientFrameViewAura); |
62 }; | 63 }; |
63 | 64 |
64 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ | 65 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ |
OLD | NEW |