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

Unified Diff: ui/base/profile_selector/avatar_menu_item_model.cc

Issue 22597004: Move AvatarMenuModel::Item into ui/base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@le_refactor_gigante_2
Patch Set: Created 7 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 | « ui/base/profile_selector/avatar_menu_item_model.h ('k') | ui/ui.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/profile_selector/avatar_menu_item_model.cc
diff --git a/ui/base/profile_selector/avatar_menu_item_model.cc b/ui/base/profile_selector/avatar_menu_item_model.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0a230ab08640244f481b98bcace256ce8d423f6c
--- /dev/null
+++ b/ui/base/profile_selector/avatar_menu_item_model.cc
@@ -0,0 +1,23 @@
+// 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.
+
+#include "ui/base/profile_selector/avatar_menu_item_model.h"
+
+#include "ui/gfx/image/image.h"
+
+namespace ui {
+
+AvatarMenuItemModel::AvatarMenuItemModel(size_t model_index,
+ const gfx::Image& icon)
+ : icon(icon),
+ active(false),
+ signed_in(false),
+ signin_required(false),
+ model_index(model_index) {
+}
+
+AvatarMenuItemModel::~AvatarMenuItemModel() {
+}
+
+} // namespace ui
« no previous file with comments | « ui/base/profile_selector/avatar_menu_item_model.h ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698