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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 gfx::ImageSkia GetFaviconForTabIconView() override; | 74 gfx::ImageSkia GetFaviconForTabIconView() override; |
75 | 75 |
76 // OpaqueBrowserFrameViewLayoutDelegate implementation: | 76 // OpaqueBrowserFrameViewLayoutDelegate implementation: |
77 bool ShouldShowWindowIcon() const override; | 77 bool ShouldShowWindowIcon() const override; |
78 bool ShouldShowWindowTitle() const override; | 78 bool ShouldShowWindowTitle() const override; |
79 base::string16 GetWindowTitle() const override; | 79 base::string16 GetWindowTitle() const override; |
80 int GetIconSize() const override; | 80 int GetIconSize() const override; |
81 gfx::Size GetBrowserViewMinimumSize() const override; | 81 gfx::Size GetBrowserViewMinimumSize() const override; |
82 bool ShouldShowCaptionButtons() const override; | 82 bool ShouldShowCaptionButtons() const override; |
83 bool IsRegularOrGuestSession() const override; | 83 bool IsRegularOrGuestSession() const override; |
84 gfx::ImageSkia GetOTRAvatarIcon() const override; | 84 gfx::ImageSkia GetIncognitoAvatarIcon() const override; |
85 bool IsMaximized() const override; | 85 bool IsMaximized() const override; |
86 bool IsMinimized() const override; | 86 bool IsMinimized() const override; |
87 bool IsFullscreen() const override; | 87 bool IsFullscreen() const override; |
88 bool IsTabStripVisible() const override; | 88 bool IsTabStripVisible() const override; |
89 int GetTabStripHeight() const override; | 89 int GetTabStripHeight() const override; |
90 bool IsToolbarVisible() const override; | 90 bool IsToolbarVisible() const override; |
91 gfx::Size GetTabstripPreferredSize() const override; | 91 gfx::Size GetTabstripPreferredSize() const override; |
92 int GetToolbarLeadingCornerClientWidth() const override; | 92 int GetToolbarLeadingCornerClientWidth() const override; |
93 | 93 |
94 protected: | 94 protected: |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 // Background painter for the window frame. | 174 // Background painter for the window frame. |
175 std::unique_ptr<views::FrameBackground> frame_background_; | 175 std::unique_ptr<views::FrameBackground> frame_background_; |
176 | 176 |
177 // Observer that handles platform dependent configuration. | 177 // Observer that handles platform dependent configuration. |
178 std::unique_ptr<OpaqueBrowserFrameViewPlatformSpecific> platform_observer_; | 178 std::unique_ptr<OpaqueBrowserFrameViewPlatformSpecific> platform_observer_; |
179 | 179 |
180 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameView); | 180 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameView); |
181 }; | 181 }; |
182 | 182 |
183 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ | 183 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ |
OLD | NEW |