Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view.h

Issue 2832823002: Update avatar button to MD (Closed)
Patch Set: Fixed ProfileChooserViewExtensionsTest browser tests Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 27 matching lines...) Expand all
38 // Constructs a non-client view for an BrowserFrame. 38 // Constructs a non-client view for an BrowserFrame.
39 OpaqueBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view); 39 OpaqueBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view);
40 ~OpaqueBrowserFrameView() override; 40 ~OpaqueBrowserFrameView() override;
41 41
42 // BrowserNonClientFrameView: 42 // BrowserNonClientFrameView:
43 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const override; 43 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const override;
44 int GetTopInset(bool restored) const override; 44 int GetTopInset(bool restored) const override;
45 int GetThemeBackgroundXInset() const override; 45 int GetThemeBackgroundXInset() const override;
46 void UpdateThrobber(bool running) override; 46 void UpdateThrobber(bool running) override;
47 gfx::Size GetMinimumSize() const override; 47 gfx::Size GetMinimumSize() const override;
48 views::View* GetProfileSwitcherView() const override; 48 views::MenuButton* GetProfileSwitcherButton() const override;
49 49
50 // views::NonClientFrameView: 50 // views::NonClientFrameView:
51 gfx::Rect GetBoundsForClientView() const override; 51 gfx::Rect GetBoundsForClientView() const override;
52 gfx::Rect GetWindowBoundsForClientBounds( 52 gfx::Rect GetWindowBoundsForClientBounds(
53 const gfx::Rect& client_bounds) const override; 53 const gfx::Rect& client_bounds) const override;
54 int NonClientHitTest(const gfx::Point& point) override; 54 int NonClientHitTest(const gfx::Point& point) override;
55 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override; 55 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override;
56 void ResetWindowControls() override; 56 void ResetWindowControls() override;
57 void UpdateWindowIcon() override; 57 void UpdateWindowIcon() override;
58 void UpdateWindowTitle() override; 58 void UpdateWindowTitle() override;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // Background painter for the window frame. 170 // Background painter for the window frame.
171 std::unique_ptr<views::FrameBackground> frame_background_; 171 std::unique_ptr<views::FrameBackground> frame_background_;
172 172
173 // Observer that handles platform dependent configuration. 173 // Observer that handles platform dependent configuration.
174 std::unique_ptr<OpaqueBrowserFrameViewPlatformSpecific> platform_observer_; 174 std::unique_ptr<OpaqueBrowserFrameViewPlatformSpecific> platform_observer_;
175 175
176 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameView); 176 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameView);
177 }; 177 };
178 178
179 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ 179 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698