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

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

Issue 1004803002: [Win] Cleanup: The BrowserFrameView doesn't need to listen to profile name changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_
7 7
8 #include "ash/shell_observer.h" 8 #include "ash/shell_observer.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // chrome::TabIconViewModel: 73 // chrome::TabIconViewModel:
74 bool ShouldTabIconViewAnimate() const override; 74 bool ShouldTabIconViewAnimate() const override;
75 gfx::ImageSkia GetFaviconForTabIconView() override; 75 gfx::ImageSkia GetFaviconForTabIconView() override;
76 76
77 // views::ButtonListener: 77 // views::ButtonListener:
78 void ButtonPressed(views::Button* sender, const ui::Event& event) override; 78 void ButtonPressed(views::Button* sender, const ui::Event& event) override;
79 79
80 protected: 80 protected:
81 // BrowserNonClientFrameView: 81 // BrowserNonClientFrameView:
82 void UpdateNewStyleAvatar() override; 82 void UpdateNewAvatarButtonImpl() override;
83 83
84 private: 84 private:
85 FRIEND_TEST_ALL_PREFIXES(BrowserNonClientFrameViewAshTest, WindowHeader); 85 FRIEND_TEST_ALL_PREFIXES(BrowserNonClientFrameViewAshTest, WindowHeader);
86 FRIEND_TEST_ALL_PREFIXES(BrowserNonClientFrameViewAshTest, 86 FRIEND_TEST_ALL_PREFIXES(BrowserNonClientFrameViewAshTest,
87 NonImmersiveFullscreen); 87 NonImmersiveFullscreen);
88 FRIEND_TEST_ALL_PREFIXES(BrowserNonClientFrameViewAshTest, 88 FRIEND_TEST_ALL_PREFIXES(BrowserNonClientFrameViewAshTest,
89 ImmersiveFullscreen); 89 ImmersiveFullscreen);
90 FRIEND_TEST_ALL_PREFIXES(BrowserNonClientFrameViewAshTest, 90 FRIEND_TEST_ALL_PREFIXES(BrowserNonClientFrameViewAshTest,
91 ToggleMaximizeModeRelayout); 91 ToggleMaximizeModeRelayout);
92 FRIEND_TEST_ALL_PREFIXES(WebAppLeftHeaderViewTest, BackButton); 92 FRIEND_TEST_ALL_PREFIXES(WebAppLeftHeaderViewTest, BackButton);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 scoped_ptr<ash::HeaderPainter> header_painter_; 150 scoped_ptr<ash::HeaderPainter> header_painter_;
151 151
152 // Updates the hittest bounds overrides based on the window show type. 152 // Updates the hittest bounds overrides based on the window show type.
153 scoped_ptr<ash::FrameBorderHitTestController> 153 scoped_ptr<ash::FrameBorderHitTestController>
154 frame_border_hit_test_controller_; 154 frame_border_hit_test_controller_;
155 155
156 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh); 156 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh);
157 }; 157 };
158 158
159 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ 159 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698