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

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: ' 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 RevisionApplied: 12, 77 RevisionApplied: 12,
78 FileSystemDirectoryContentReceived: 13, 78 FileSystemDirectoryContentReceived: 13,
79 StyleRuleEdited: 14, 79 StyleRuleEdited: 14,
80 CommandEvaluatedInConsolePanel: 15, 80 CommandEvaluatedInConsolePanel: 15,
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 ChangeInspectedNodeInElementsPanel: 22,
88 StyleRuleCopied: 23,
87 }; 89 };
88 90
89 Host.UserMetrics._PanelCodes = { 91 Host.UserMetrics._PanelCodes = {
90 elements: 1, 92 elements: 1,
91 resources: 2, 93 resources: 2,
92 network: 3, 94 network: 3,
93 sources: 4, 95 sources: 4,
94 timeline: 5, 96 timeline: 5,
95 heap_profiler: 6, 97 heap_profiler: 6,
96 audits: 7, 98 audits: 7,
97 console: 8, 99 console: 8,
98 layers: 9, 100 layers: 9,
99 'drawer-console': 10, 101 'drawer-console': 10,
100 'drawer-animations': 11, 102 'drawer-animations': 11,
101 'drawer-network.config': 12, 103 'drawer-network.config': 12,
102 'drawer-rendering': 13, 104 'drawer-rendering': 13,
103 'drawer-sensors': 14, 105 'drawer-sensors': 14,
104 'drawer-sources.search': 15, 106 'drawer-sources.search': 15,
105 security: 16, 107 security: 16,
106 js_profiler: 17 108 js_profiler: 17
107 }; 109 };
108 110
109 /** @type {!Host.UserMetrics} */ 111 /** @type {!Host.UserMetrics} */
110 Host.userMetrics = new Host.UserMetrics(); 112 Host.userMetrics = new Host.UserMetrics();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698