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

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

Issue 229293002: [Win] Move profile related UI from ui/views/ to ui/views/profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 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
deleted file mode 100644
index 2682e742786bed229ceec38f0fa4e12e58d5b2c6..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/avatar_label.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_AVATAR_LABEL_H_
-#define CHROME_BROWSER_UI_VIEWS_AVATAR_LABEL_H_
-
-#include "base/compiler_specific.h"
-#include "ui/views/controls/button/label_button.h"
-
-class BrowserView;
-
-// AvatarLabel
-//
-// A label used to display a string indicating that the current profile belongs
-// to a managed user.
-class AvatarLabel : public views::LabelButton {
- public:
- explicit AvatarLabel(BrowserView* browser_view);
- virtual ~AvatarLabel();
-
- // views::LabelButton:
- virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
-
- // Update the style of the label according to the provided theme.
- void UpdateLabelStyle();
-
- // Sets whether the label should be displayed on the right or on the left. A
- // new button border is created which has the right insets for the positioning
- // of the button.
- void SetLabelOnRight(bool label_on_right);
-
- private:
- BrowserView* browser_view_;
-
- DISALLOW_COPY_AND_ASSIGN(AvatarLabel);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_AVATAR_LABEL_H_
« 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