| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 bool ShouldShowCaptionButtons() const override; | 82 bool ShouldShowCaptionButtons() const override; |
| 83 bool IsRegularOrGuestSession() const override; | 83 bool IsRegularOrGuestSession() const override; |
| 84 gfx::ImageSkia GetIncognitoAvatarIcon() 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; | |
| 93 | 92 |
| 94 protected: | 93 protected: |
| 95 views::ImageButton* minimize_button() const { return minimize_button_; } | 94 views::ImageButton* minimize_button() const { return minimize_button_; } |
| 96 views::ImageButton* maximize_button() const { return maximize_button_; } | 95 views::ImageButton* maximize_button() const { return maximize_button_; } |
| 97 views::ImageButton* restore_button() const { return restore_button_; } | 96 views::ImageButton* restore_button() const { return restore_button_; } |
| 98 views::ImageButton* close_button() const { return close_button_; } | 97 views::ImageButton* close_button() const { return close_button_; } |
| 99 | 98 |
| 100 // views::View: | 99 // views::View: |
| 101 void OnPaint(gfx::Canvas* canvas) override; | 100 void OnPaint(gfx::Canvas* canvas) override; |
| 102 | 101 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 // Background painter for the window frame. | 169 // Background painter for the window frame. |
| 171 std::unique_ptr<views::FrameBackground> frame_background_; | 170 std::unique_ptr<views::FrameBackground> frame_background_; |
| 172 | 171 |
| 173 // Observer that handles platform dependent configuration. | 172 // Observer that handles platform dependent configuration. |
| 174 std::unique_ptr<OpaqueBrowserFrameViewPlatformSpecific> platform_observer_; | 173 std::unique_ptr<OpaqueBrowserFrameViewPlatformSpecific> platform_observer_; |
| 175 | 174 |
| 176 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameView); | 175 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameView); |
| 177 }; | 176 }; |
| 178 | 177 |
| 179 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ | 178 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ |
| OLD | NEW |