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

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

Issue 2625223002: [DevTools] Dedicated frontend for debugging Node. (Closed)
Patch Set: test fix 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 /* eslint-disable indent */ 4 /* eslint-disable indent */
5 (function(window) { 5 (function(window) {
6 6
7 // DevToolsAPI --------------------------------------------------------------- - 7 // DevToolsAPI --------------------------------------------------------------- -
8 8
9 /** 9 /**
10 * @unrestricted 10 * @unrestricted
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 * @override 670 * @override
671 * @param {string} browserId 671 * @param {string} browserId
672 * @param {string} url 672 * @param {string} url
673 */ 673 */
674 openRemotePage(browserId, url) { 674 openRemotePage(browserId, url) {
675 DevToolsAPI.sendMessageToEmbedder('openRemotePage', [browserId, url], null ); 675 DevToolsAPI.sendMessageToEmbedder('openRemotePage', [browserId, url], null );
676 } 676 }
677 677
678 /** 678 /**
679 * @override 679 * @override
680 */
681 openNodeFrontend() {
682 DevToolsAPI.sendMessageToEmbedder('openNodeFrontend', [], null);
683 }
684
685 /**
686 * @override
680 * @param {number} x 687 * @param {number} x
681 * @param {number} y 688 * @param {number} y
682 * @param {!Array.<!InspectorFrontendHostAPI.ContextMenuDescriptor>} items 689 * @param {!Array.<!InspectorFrontendHostAPI.ContextMenuDescriptor>} items
683 * @param {!Document} document 690 * @param {!Document} document
684 */ 691 */
685 showContextMenuAtPoint(x, y, items, document) { 692 showContextMenuAtPoint(x, y, items, document) {
686 DevToolsHost.showContextMenuAtPoint(x, y, items, document); 693 DevToolsHost.showContextMenuAtPoint(x, y, items, document);
687 } 694 }
688 695
689 /** 696 /**
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
1238 * @return {boolean} 1245 * @return {boolean}
1239 */ 1246 */
1240 DOMTokenList.prototype.toggle = function(token, force) { 1247 DOMTokenList.prototype.toggle = function(token, force) {
1241 if (arguments.length === 1) 1248 if (arguments.length === 1)
1242 force = !this.contains(token); 1249 force = !this.contains(token);
1243 return this.__originalDOMTokenListToggle(token, !!force); 1250 return this.__originalDOMTokenListToggle(token, !!force);
1244 }; 1251 };
1245 } 1252 }
1246 1253
1247 })(window); 1254 })(window);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698