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

Unified Diff: ui/base/models/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: undo app_list_service_mac changes 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/models/avatar_menu_item_model.cc
diff --git a/ui/base/models/avatar_menu_item_model.cc b/ui/base/models/avatar_menu_item_model.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b13fb3d9028a6a684c32089dc65f4f5c0b1a9f15
--- /dev/null
+++ b/ui/base/models/avatar_menu_item_model.cc
@@ -0,0 +1,22 @@
+// 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/models/avatar_menu_item_model.h"
tapted 2013/07/31 05:43:53 nit: blank line after a .cc's "own" header
calamity 2013/08/01 08:35:45 Done.
+#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