OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MUS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MUS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MUS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MUS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 void Init(); | 31 void Init(); |
32 | 32 |
33 // BrowserNonClientFrameView: | 33 // BrowserNonClientFrameView: |
34 void OnBrowserViewInitViewsComplete() override; | 34 void OnBrowserViewInitViewsComplete() override; |
35 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const override; | 35 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const override; |
36 int GetTopInset(bool restored) const override; | 36 int GetTopInset(bool restored) const override; |
37 int GetThemeBackgroundXInset() const override; | 37 int GetThemeBackgroundXInset() const override; |
38 void UpdateThrobber(bool running) override; | 38 void UpdateThrobber(bool running) override; |
39 views::View* GetProfileSwitcherView() const override; | 39 views::View* GetProfileSwitcherView() const override; |
40 void UpdateClientArea() override; | 40 void UpdateClientArea() override; |
| 41 void UpdateMinimumSize() override; |
41 | 42 |
42 // views::NonClientFrameView: | 43 // views::NonClientFrameView: |
43 gfx::Rect GetBoundsForClientView() const override; | 44 gfx::Rect GetBoundsForClientView() const override; |
44 gfx::Rect GetWindowBoundsForClientBounds( | 45 gfx::Rect GetWindowBoundsForClientBounds( |
45 const gfx::Rect& client_bounds) const override; | 46 const gfx::Rect& client_bounds) const override; |
46 int NonClientHitTest(const gfx::Point& point) override; | 47 int NonClientHitTest(const gfx::Point& point) override; |
47 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override; | 48 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override; |
48 void ResetWindowControls() override; | 49 void ResetWindowControls() override; |
49 void UpdateWindowIcon() override; | 50 void UpdateWindowIcon() override; |
50 void UpdateWindowTitle() override; | 51 void UpdateWindowTitle() override; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 // Wrapper around the in-frame avatar switcher. | 111 // Wrapper around the in-frame avatar switcher. |
111 AvatarButtonManager profile_switcher_; | 112 AvatarButtonManager profile_switcher_; |
112 #endif | 113 #endif |
113 | 114 |
114 TabStrip* tab_strip_; | 115 TabStrip* tab_strip_; |
115 | 116 |
116 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewMus); | 117 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewMus); |
117 }; | 118 }; |
118 | 119 |
119 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MUS_H_ | 120 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MUS_H_ |
OLD | NEW |