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

Side by Side Diff: chrome/browser/ui/app_list/app_context_menu.h

Issue 2929273002: Add the Play Store app search to the launcher. (Closed)
Patch Set: Fix unittest build failure. Created 3 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 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 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 13 matching lines...) Expand all
24 // Defines command ids, used in context menu of all types. 24 // Defines command ids, used in context menu of all types.
25 enum CommandId { 25 enum CommandId {
26 LAUNCH_NEW = 100, 26 LAUNCH_NEW = 100,
27 TOGGLE_PIN, 27 TOGGLE_PIN,
28 SHOW_APP_INFO, 28 SHOW_APP_INFO,
29 OPTIONS, 29 OPTIONS,
30 UNINSTALL, 30 UNINSTALL,
31 REMOVE_FROM_FOLDER, 31 REMOVE_FROM_FOLDER,
32 MENU_NEW_WINDOW, 32 MENU_NEW_WINDOW,
33 MENU_NEW_INCOGNITO_WINDOW, 33 MENU_NEW_INCOGNITO_WINDOW,
34 INSTALL,
34 // Order matters in USE_LAUNCH_TYPE_* and must match the LaunchType enum. 35 // Order matters in USE_LAUNCH_TYPE_* and must match the LaunchType enum.
35 USE_LAUNCH_TYPE_COMMAND_START = 200, 36 USE_LAUNCH_TYPE_COMMAND_START = 200,
36 USE_LAUNCH_TYPE_PINNED = USE_LAUNCH_TYPE_COMMAND_START, 37 USE_LAUNCH_TYPE_PINNED = USE_LAUNCH_TYPE_COMMAND_START,
37 USE_LAUNCH_TYPE_REGULAR, 38 USE_LAUNCH_TYPE_REGULAR,
38 USE_LAUNCH_TYPE_FULLSCREEN, 39 USE_LAUNCH_TYPE_FULLSCREEN,
39 USE_LAUNCH_TYPE_WINDOW, 40 USE_LAUNCH_TYPE_WINDOW,
40 USE_LAUNCH_TYPE_COMMAND_END, 41 USE_LAUNCH_TYPE_COMMAND_END,
41 }; 42 };
42 43
43 ~AppContextMenu() override; 44 ~AppContextMenu() override;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 AppListControllerDelegate* controller_; 78 AppListControllerDelegate* controller_;
78 79
79 std::unique_ptr<ui::SimpleMenuModel> menu_model_; 80 std::unique_ptr<ui::SimpleMenuModel> menu_model_;
80 81
81 DISALLOW_COPY_AND_ASSIGN(AppContextMenu); 82 DISALLOW_COPY_AND_ASSIGN(AppContextMenu);
82 }; 83 };
83 84
84 } // namespace app_list 85 } // namespace app_list
85 86
86 #endif // CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_ 87 #endif // CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/app_list/arc/arc_playstore_app_context_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698