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

Side by Side Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.h

Issue 899173002: Replace Webstore link with app info dialog link in chrome://apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 // Handles the "uninstallApp" message with |args| containing [extension_id] 81 // Handles the "uninstallApp" message with |args| containing [extension_id]
82 // and an optional bool to not confirm the uninstall when true, defaults to 82 // and an optional bool to not confirm the uninstall when true, defaults to
83 // false. 83 // false.
84 void HandleUninstallApp(const base::ListValue* args); 84 void HandleUninstallApp(const base::ListValue* args);
85 85
86 // Handles the "createAppShortcut" message with |args| containing 86 // Handles the "createAppShortcut" message with |args| containing
87 // [extension_id]. 87 // [extension_id].
88 void HandleCreateAppShortcut(const base::ListValue* args); 88 void HandleCreateAppShortcut(const base::ListValue* args);
89 89
90 // Handles the "showAppInfo" message with |args| containing [extension_id]
91 void HandleShowAppInfo(const base::ListValue* args);
92
90 // Handles the "reorderApps" message with |args| containing [dragged_app_id, 93 // Handles the "reorderApps" message with |args| containing [dragged_app_id,
91 // app_order]. 94 // app_order].
92 void HandleReorderApps(const base::ListValue* args); 95 void HandleReorderApps(const base::ListValue* args);
93 96
94 // Handles the "setPageIndex" message with |args| containing [extension_id, 97 // Handles the "setPageIndex" message with |args| containing [extension_id,
95 // page_index]. 98 // page_index].
96 void HandleSetPageIndex(const base::ListValue* args); 99 void HandleSetPageIndex(const base::ListValue* args);
97 100
98 // Handles "saveAppPageName" message with |args| containing [name, 101 // Handles "saveAppPageName" message with |args| containing [name,
99 // page_index]. 102 // page_index].
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // when the app is added to the page (via getAppsCallback or appAdded). 192 // when the app is added to the page (via getAppsCallback or appAdded).
190 std::string highlight_app_id_; 193 std::string highlight_app_id_;
191 194
192 // Used for favicon loading tasks. 195 // Used for favicon loading tasks.
193 base::CancelableTaskTracker cancelable_task_tracker_; 196 base::CancelableTaskTracker cancelable_task_tracker_;
194 197
195 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); 198 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler);
196 }; 199 };
197 200
198 #endif // CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ 201 #endif // CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698