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

Side by Side Diff: chrome/browser/ui/webui/metrics_handler.h

Issue 2091323002: Kill NewTabPage.NumberOfMouseOvers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add additional file to sync. Created 4 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_METRICS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_METRICS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_METRICS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_METRICS_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/web_ui_message_handler.h" 10 #include "content/public/browser/web_ui_message_handler.h"
(...skipping 29 matching lines...) Expand all
40 // Callback for the "metricsHandler:recordInHistogram" message. This records 40 // Callback for the "metricsHandler:recordInHistogram" message. This records
41 // into a histogram. |args| contains the histogram name, the value to record, 41 // into a histogram. |args| contains the histogram name, the value to record,
42 // and the maximum allowed value, which can be at most 4000. The histogram 42 // and the maximum allowed value, which can be at most 4000. The histogram
43 // will use at most 100 buckets, one for each 1, 10, or 100 different values, 43 // will use at most 100 buckets, one for each 1, 10, or 100 different values,
44 // depending on the maximum value. 44 // depending on the maximum value.
45 void HandleRecordInHistogram(const base::ListValue* args); 45 void HandleRecordInHistogram(const base::ListValue* args);
46 46
47 // Callback for the "metricsHandler:logEventTime" message. 47 // Callback for the "metricsHandler:logEventTime" message.
48 void HandleLogEventTime(const base::ListValue* args); 48 void HandleLogEventTime(const base::ListValue* args);
49 49
50 // Used to log when a user mouses over a tile or title on the NTP.
51 void HandleLogMouseover(const base::ListValue* args);
52
53 private: 50 private:
54 DISALLOW_COPY_AND_ASSIGN(MetricsHandler); 51 DISALLOW_COPY_AND_ASSIGN(MetricsHandler);
55 }; 52 };
56 53
57 #endif // CHROME_BROWSER_UI_WEBUI_METRICS_HANDLER_H_ 54 #endif // CHROME_BROWSER_UI_WEBUI_METRICS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/search_ipc_router_unittest.cc ('k') | chrome/browser/ui/webui/metrics_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698