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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/host/UserMetrics.js

Issue 2678233002: DevTools: track more elements panel user actions (Closed)
Patch Set: fixup Created 3 years, 9 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 DOMPropertiesExpanded: 16, 81 DOMPropertiesExpanded: 16,
82 ResizedViewInResponsiveMode: 17, 82 ResizedViewInResponsiveMode: 17,
83 TimelinePageReloadStarted: 18, 83 TimelinePageReloadStarted: 18,
84 ConnectToNodeJSFromFrontend: 19, 84 ConnectToNodeJSFromFrontend: 19,
85 ConnectToNodeJSDirectly: 20, 85 ConnectToNodeJSDirectly: 20,
86 CpuThrottlingEnabled: 21, 86 CpuThrottlingEnabled: 21,
87 CpuProfileNodeFocused: 22, 87 CpuProfileNodeFocused: 22,
88 CpuProfileNodeExcluded: 23, 88 CpuProfileNodeExcluded: 23,
89 SelectFileFromFilePicker: 24, 89 SelectFileFromFilePicker: 24,
90 SelectCommandFromCommandMenu: 25, 90 SelectCommandFromCommandMenu: 25,
91 ChangeInspectedNodeInElementsPanel: 26,
92 StyleRuleCopied: 27,
91 }; 93 };
92 94
93 Host.UserMetrics._PanelCodes = { 95 Host.UserMetrics._PanelCodes = {
94 elements: 1, 96 elements: 1,
95 resources: 2, 97 resources: 2,
96 network: 3, 98 network: 3,
97 sources: 4, 99 sources: 4,
98 timeline: 5, 100 timeline: 5,
99 heap_profiler: 6, 101 heap_profiler: 6,
100 audits: 7, 102 audits: 7,
101 console: 8, 103 console: 8,
102 layers: 9, 104 layers: 9,
103 'drawer-console': 10, 105 'drawer-console': 10,
104 'drawer-animations': 11, 106 'drawer-animations': 11,
105 'drawer-network.config': 12, 107 'drawer-network.config': 12,
106 'drawer-rendering': 13, 108 'drawer-rendering': 13,
107 'drawer-sensors': 14, 109 'drawer-sensors': 14,
108 'drawer-sources.search': 15, 110 'drawer-sources.search': 15,
109 security: 16, 111 security: 16,
110 js_profiler: 17 112 js_profiler: 17
111 }; 113 };
112 114
113 /** @type {!Host.UserMetrics} */ 115 /** @type {!Host.UserMetrics} */
114 Host.userMetrics = new Host.UserMetrics(); 116 Host.userMetrics = new Host.UserMetrics();
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698