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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h

Issue 1608843002: Start untangling the avatar switcher from BrowserNonClientFrameView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20160119-MacViewsBrowser-Compile
Patch Set: rename, enum class Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h
index 0b9b6c8533fb9f823e128dd603864fd17777caca..d4ce35888d2ae198b72c68a1d0df58070e094628 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h
@@ -11,7 +11,6 @@
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
#include "chrome/browser/ui/views/tab_icon_view_model.h"
-#include "ui/views/controls/button/button.h"
class TabIconView;
class WebAppLeftHeaderView;
@@ -30,8 +29,7 @@ class ToggleImageButton;
class BrowserNonClientFrameViewAsh : public BrowserNonClientFrameView,
public ash::ShellObserver,
- public TabIconViewModel,
- public views::ButtonListener {
+ public TabIconViewModel {
public:
static const char kViewClassName[];
@@ -75,9 +73,6 @@ class BrowserNonClientFrameViewAsh : public BrowserNonClientFrameView,
bool ShouldTabIconViewAnimate() const override;
gfx::ImageSkia GetFaviconForTabIconView() override;
- // views::ButtonListener:
- void ButtonPressed(views::Button* sender, const ui::Event& event) override;
-
protected:
// BrowserNonClientFrameView:
void UpdateNewAvatarButtonImpl() override;
@@ -121,9 +116,6 @@ class BrowserNonClientFrameViewAsh : public BrowserNonClientFrameView,
// Layout the avatar button.
void LayoutAvatar();
-#if defined(FRAME_AVATAR_BUTTON)
- void LayoutNewStyleAvatar();
-#endif
// Returns true if there is anything to paint. Some fullscreen windows do not
// need their frames painted.

Powered by Google App Engine
This is Rietveld 408576698