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

Unified Diff: chrome/browser/ui/views/avatar_label.h

Issue 163953006: Convert AvatarLabel from TextButton to LabelButton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Convert AvatarLabel from TextButton to LabelButton. Created 6 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/avatar_label.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/avatar_label.h
diff --git a/chrome/browser/ui/views/avatar_label.h b/chrome/browser/ui/views/avatar_label.h
index accd28201ff10263f17b248dd27da1c1e3b94dc1..2682e742786bed229ceec38f0fa4e12e58d5b2c6 100644
--- a/chrome/browser/ui/views/avatar_label.h
+++ b/chrome/browser/ui/views/avatar_label.h
@@ -6,25 +6,20 @@
#define CHROME_BROWSER_UI_VIEWS_AVATAR_LABEL_H_
#include "base/compiler_specific.h"
-#include "ui/views/controls/button/text_button.h"
+#include "ui/views/controls/button/label_button.h"
class BrowserView;
-namespace ui {
-class MouseEvent;
-class ThemeProvider;
-}
-
// AvatarLabel
//
// A label used to display a string indicating that the current profile belongs
// to a managed user.
-class AvatarLabel : public views::TextButton {
+class AvatarLabel : public views::LabelButton {
public:
explicit AvatarLabel(BrowserView* browser_view);
virtual ~AvatarLabel();
- // views::TextButton:
+ // views::LabelButton:
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
// Update the style of the label according to the provided theme.
« no previous file with comments | « no previous file | chrome/browser/ui/views/avatar_label.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698