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

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

Issue 9254023: [NTP4] Track the position of each app that's launched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: off by 2 error Created 8 years, 11 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 void HandleSaveAppPageName(const base::ListValue* args); 96 void HandleSaveAppPageName(const base::ListValue* args);
97 97
98 // Callback for the "generateAppForLink" message. 98 // Callback for the "generateAppForLink" message.
99 void HandleGenerateAppForLink(const base::ListValue* args); 99 void HandleGenerateAppForLink(const base::ListValue* args);
100 100
101 // Callback for the "recordAppLaunchByURL" message. Takes an escaped URL and a 101 // Callback for the "recordAppLaunchByURL" message. Takes an escaped URL and a
102 // launch source (integer), and if the URL represents an app, records the 102 // launch source (integer), and if the URL represents an app, records the
103 // action for UMA. 103 // action for UMA.
104 void HandleRecordAppLaunchByURL(const base::ListValue* args); 104 void HandleRecordAppLaunchByURL(const base::ListValue* args);
105 105
106 // Callback for the "recordAppLaunchedFromIndex" message.
107 void HandleRecordAppLaunchedFromIndex(const base::ListValue* args);
108
106 // Callback for "closeNotification" message. 109 // Callback for "closeNotification" message.
107 void HandleNotificationClose(const base::ListValue* args); 110 void HandleNotificationClose(const base::ListValue* args);
108 111
109 // Callback for "setNotificationsDisabled" message. 112 // Callback for "setNotificationsDisabled" message.
110 void HandleSetNotificationsDisabled(const base::ListValue* args); 113 void HandleSetNotificationsDisabled(const base::ListValue* args);
111 114
112 // Register app launcher preferences. 115 // Register app launcher preferences.
113 static void RegisterUserPrefs(PrefService* pref_service); 116 static void RegisterUserPrefs(PrefService* pref_service);
114 117
115 private: 118 private:
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // when the app is added to the page (via getAppsCallback or appAdded). 208 // when the app is added to the page (via getAppsCallback or appAdded).
206 std::string highlight_app_id_; 209 std::string highlight_app_id_;
207 210
208 // Hold state for favicon requests. 211 // Hold state for favicon requests.
209 CancelableRequestConsumerTSimple<AppInstallInfo*> favicon_consumer_; 212 CancelableRequestConsumerTSimple<AppInstallInfo*> favicon_consumer_;
210 213
211 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); 214 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler);
212 }; 215 };
213 216
214 #endif // CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ 217 #endif // CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/metrics_handler.cc ('k') | chrome/browser/ui/webui/ntp/app_launcher_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698