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

Side by Side Diff: ui/app_list/app_list_menu.cc

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/app_list/app_list_menu.h" 5 #include "ui/app_list/app_list_menu.h"
6 6
7 #include "ui/app_list/app_list_view_delegate.h" 7 #include "ui/app_list/app_list_view_delegate.h"
8 #include "ui/app_list/resources/grit/app_list_resources.h"
8 #include "ui/base/l10n/l10n_util.h" 9 #include "ui/base/l10n/l10n_util.h"
9 #include "ui/base/models/menu_separator_types.h" 10 #include "ui/base/models/menu_separator_types.h"
10 #include "ui/base/resource/resource_bundle.h" 11 #include "ui/base/resource/resource_bundle.h"
11 #include "ui/resources/grit/ui_resources.h"
12 #include "ui/strings/grit/ui_strings.h" 12 #include "ui/strings/grit/ui_strings.h"
13 13
14 namespace app_list { 14 namespace app_list {
15 15
16 AppListMenu::AppListMenu(AppListViewDelegate* delegate) 16 AppListMenu::AppListMenu(AppListViewDelegate* delegate)
17 : menu_model_(this), 17 : menu_model_(this),
18 delegate_(delegate), 18 delegate_(delegate),
19 users_(delegate->GetUsers()) { 19 users_(delegate->GetUsers()) {
20 InitMenu(); 20 InitMenu();
21 } 21 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 break; 90 break;
91 case SHOW_FEEDBACK: 91 case SHOW_FEEDBACK:
92 delegate_->OpenFeedback(); 92 delegate_->OpenFeedback();
93 break; 93 break;
94 default: 94 default:
95 NOTREACHED(); 95 NOTREACHED();
96 } 96 }
97 } 97 }
98 98
99 } // namespace app_list 99 } // namespace app_list
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698