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

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

Issue 2515763003: DevTools: use shorthand syntax in interface definitions. (Closed)
Patch Set: Created 4 years, 1 month 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/audits/AuditCategory.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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 * @interface 1099 * @interface
1100 */ 1100 */
1101 function ServicePort() { 1101 function ServicePort() {
1102 } 1102 }
1103 1103
1104 ServicePort.prototype = { 1104 ServicePort.prototype = {
1105 /** 1105 /**
1106 * @param {function(string)} messageHandler 1106 * @param {function(string)} messageHandler
1107 * @param {function(string)} closeHandler 1107 * @param {function(string)} closeHandler
1108 */ 1108 */
1109 setHandlers: function(messageHandler, closeHandler) {}, 1109 setHandlers(messageHandler, closeHandler) {},
1110 1110
1111 /** 1111 /**
1112 * @param {string} message 1112 * @param {string} message
1113 * @return {!Promise<boolean>} 1113 * @return {!Promise<boolean>}
1114 */ 1114 */
1115 send: function(message) {}, 1115 send(message) {},
1116 1116
1117 /** 1117 /**
1118 * @return {!Promise<boolean>} 1118 * @return {!Promise<boolean>}
1119 */ 1119 */
1120 close: function() {} 1120 close() {}
1121 }; 1121 };
1122 1122
1123 /** @type {!Runtime} */ 1123 /** @type {!Runtime} */
1124 var runtime; 1124 var runtime;
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/audits/AuditCategory.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698