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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2057243003: DevTools: [network] Show request start time in timing table (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Common.UIString Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/network/NetworkWaterfallColumn.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 } 832 }
833 }; 833 };
834 834
835 /** 835 /**
836 * @param {string} method 836 * @param {string} method
837 * @param {?Object} params 837 * @param {?Object} params
838 * @return {!Promise} 838 * @return {!Promise}
839 */ 839 */
840 Main.sendOverProtocol = function(method, params) { 840 Main.sendOverProtocol = function(method, params) {
841 return new Promise((resolve, reject) => { 841 return new Promise((resolve, reject) => {
842 Protocol.InspectorBackend.sendRawMessageForTesting(method, params, (err, res ult) => { 842 Protocol.InspectorBackend.sendRawMessageForTesting(method, params, (err, ... results) => {
843 if (err) 843 if (err)
844 return reject(err); 844 return reject(err);
845 return resolve(result); 845 return resolve(results);
846 }); 846 });
847 }); 847 });
848 }; 848 };
849 849
850 /** 850 /**
851 * @unrestricted 851 * @unrestricted
852 */ 852 */
853 Main.RemoteDebuggingTerminatedScreen = class extends UI.VBox { 853 Main.RemoteDebuggingTerminatedScreen = class extends UI.VBox {
854 /** 854 /**
855 * @param {string} reason 855 * @param {string} reason
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 * @override 976 * @override
977 * @return {?Element} 977 * @return {?Element}
978 */ 978 */
979 settingElement() { 979 settingElement() {
980 return UI.SettingsUI.createSettingCheckbox( 980 return UI.SettingsUI.createSettingCheckbox(
981 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' )); 981 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' ));
982 } 982 }
983 }; 983 };
984 984
985 new Main.Main(); 985 new Main.Main();
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/network/NetworkWaterfallColumn.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698