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

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

Issue 2617553002: DevTools: Split Timeline started UMA metric into two parts. (Closed)
Patch Set: update the test. Created 3 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
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 AuditsStarted: 7, 72 AuditsStarted: 7,
73 ConsoleEvaluated: 8, 73 ConsoleEvaluated: 8,
74 FileSavedInWorkspace: 9, 74 FileSavedInWorkspace: 9,
75 DeviceModeEnabled: 10, 75 DeviceModeEnabled: 10,
76 AnimationsPlaybackRateChanged: 11, 76 AnimationsPlaybackRateChanged: 11,
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 }; 84 };
84 85
85 Host.UserMetrics._PanelCodes = { 86 Host.UserMetrics._PanelCodes = {
86 elements: 1, 87 elements: 1,
87 resources: 2, 88 resources: 2,
88 network: 3, 89 network: 3,
89 sources: 4, 90 sources: 4,
90 timeline: 5, 91 timeline: 5,
91 profiles: 6, 92 profiles: 6,
92 audits: 7, 93 audits: 7,
93 console: 8, 94 console: 8,
94 layers: 9, 95 layers: 9,
95 'drawer-console': 10, 96 'drawer-console': 10,
96 'drawer-animations': 11, 97 'drawer-animations': 11,
97 'drawer-network.config': 12, 98 'drawer-network.config': 12,
98 'drawer-rendering': 13, 99 'drawer-rendering': 13,
99 'drawer-sensors': 14, 100 'drawer-sensors': 14,
100 'drawer-sources.search': 15, 101 'drawer-sources.search': 15,
101 security: 16 102 security: 16
102 }; 103 };
103 104
104 /** @type {!Host.UserMetrics} */ 105 /** @type {!Host.UserMetrics} */
105 Host.userMetrics = new Host.UserMetrics(); 106 Host.userMetrics = new Host.UserMetrics();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698