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

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

Issue 20656002: Add profile selector menu to app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove junk from list_model.h Created 7 years, 5 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: 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

Powered by Google App Engine
This is Rietveld 408576698