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

Side by Side Diff: Source/devtools/front_end/host/InspectorFrontendHost.js

Issue 402563003: DevTools: Remote Web Debugging for mobile Chrome M37 doesn't work with desktop Chrome M38 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/InspectorFrontendHost.idl ('k') | Source/devtools/front_end/main/Main.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 showContextMenuAtPoint: function(x, y, items) { }, 274 showContextMenuAtPoint: function(x, y, items) { },
275 275
276 /** 276 /**
277 * @return {boolean} 277 * @return {boolean}
278 */ 278 */
279 isUnderTest: function() { }, 279 isUnderTest: function() { },
280 280
281 /** 281 /**
282 * @return {boolean} 282 * @return {boolean}
283 */ 283 */
284 isStub: function() { } 284 isHostedMode: function() { }
285 } 285 }
286 286
287 /** 287 /**
288 * @constructor 288 * @constructor
289 * @implements {InspectorFrontendHostAPI} 289 * @implements {InspectorFrontendHostAPI}
290 */ 290 */
291 WebInspector.InspectorFrontendHostStub = function() 291 WebInspector.InspectorFrontendHostStub = function()
292 { 292 {
293 } 293 }
294 294
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 * @param {!Array.<!InspectorFrontendHostAPI.ContextMenuDescriptor>} items 582 * @param {!Array.<!InspectorFrontendHostAPI.ContextMenuDescriptor>} items
583 */ 583 */
584 showContextMenuAtPoint: function(x, y, items) 584 showContextMenuAtPoint: function(x, y, items)
585 { 585 {
586 throw "Soft context menu should be used"; 586 throw "Soft context menu should be used";
587 }, 587 },
588 588
589 /** 589 /**
590 * @return {boolean} 590 * @return {boolean}
591 */ 591 */
592 isStub: function() 592 isHostedMode: function()
593 { 593 {
594 return true; 594 return true;
595 } 595 }
596 }; 596 };
597 597
598 /** 598 /**
599 * @type {!InspectorFrontendHostAPI} 599 * @type {!InspectorFrontendHostAPI}
600 */ 600 */
601 var InspectorFrontendHost = window.InspectorFrontendHost || null; 601 var InspectorFrontendHost = window.InspectorFrontendHost || null;
602 602
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 * @param {number} id 697 * @param {number} id
698 * @param {?string} error 698 * @param {?string} error
699 */ 699 */
700 embedderMessageAck: function(id, error) 700 embedderMessageAck: function(id, error)
701 { 701 {
702 InspectorFrontendHost["embedderMessageAck"](id, error); 702 InspectorFrontendHost["embedderMessageAck"](id, error);
703 } 703 }
704 } 704 }
705 705
706 var InspectorFrontendAPI = new InspectorFrontendAPIImpl(); 706 var InspectorFrontendAPI = new InspectorFrontendAPIImpl();
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorFrontendHost.idl ('k') | Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698