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

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

Issue 7566050: Multi-Profiles: Change avatar menu to bubble view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 9 years, 4 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 | « chrome/browser/profiles/avatar_menu_model_unittest.cc ('k') | chrome/browser/ui/views/avatar_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/avatar_menu.h
diff --git a/chrome/browser/ui/views/avatar_menu.h b/chrome/browser/ui/views/avatar_menu.h
deleted file mode 100644
index 38d4c6aff1af2d73376e7aa9d8fe8e8f3dd65e3a..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/avatar_menu.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2011 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_MENU_H_
-#define CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_H_
-#pragma once
-
-#include <map>
-#include <utility>
-
-#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
-#include "ui/base/models/menu_model.h"
-#include "views/controls/menu/menu_model_adapter.h"
-
-class Profile;
-
-class AvatarMenu : public base::RefCounted<AvatarMenu>,
- public views::MenuModelAdapter {
- public:
- AvatarMenu(ui::MenuModel* model, Profile* profile);
- virtual ~AvatarMenu();
-
- // Shows the menu relative to the specified view.
- void RunMenu(views::MenuButton* host);
-
- private:
- // The views menu.
- scoped_ptr<views::MenuItemView> root_;
-
- // Profile the menu is being shown for.
- Profile* profile_;
-
- DISALLOW_COPY_AND_ASSIGN(AvatarMenu);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_H_
« no previous file with comments | « chrome/browser/profiles/avatar_menu_model_unittest.cc ('k') | chrome/browser/ui/views/avatar_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698