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

Unified Diff: chrome/browser/ui/views/profiles/new_avatar_button.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/profiles/new_avatar_button.h
diff --git a/chrome/browser/ui/views/profiles/new_avatar_button.h b/chrome/browser/ui/views/profiles/new_avatar_button.h
index 70c0a9e9a638d5c0bf3f42073804ec2293c5b34a..2a06e3f19f237938a0cdca21c8afc53c0520f09e 100644
--- a/chrome/browser/ui/views/profiles/new_avatar_button.h
+++ b/chrome/browser/ui/views/profiles/new_avatar_button.h
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "chrome/browser/profiles/profile_info_cache_observer.h"
+#include "chrome/browser/ui/views/profiles/avatar_button_style.h"
#include "components/signin/core/browser/signin_error_controller.h"
#include "ui/views/controls/button/label_button.h"
@@ -17,12 +18,6 @@ class NewAvatarButton : public views::LabelButton,
public ProfileInfoCacheObserver,
public SigninErrorController::Observer {
public:
- // Different button styles that can be applied.
- enum AvatarButtonStyle {
- THEMED_BUTTON, // Used in a themed browser window.
- NATIVE_BUTTON, // Used in a native aero or metro window.
- };
-
NewAvatarButton(views::ButtonListener* listener,
AvatarButtonStyle button_style,
Browser* browser);
« no previous file with comments | « chrome/browser/ui/views/profiles/avatar_button_style.h ('k') | chrome/browser/ui/views/profiles/new_avatar_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698