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

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

Issue 1314853006: DevTools: expose wired front-end API for editors interop [blink] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 throw "Soft context menu should be used"; 399 throw "Soft context menu should be used";
400 }, 400 },
401 401
402 /** 402 /**
403 * @override 403 * @override
404 * @return {boolean} 404 * @return {boolean}
405 */ 405 */
406 isHostedMode: function() 406 isHostedMode: function()
407 { 407 {
408 return true; 408 return true;
409 },
410
411 /**
412 * @override
413 * @param {string} message
414 */
415 sendFrontendAPINotification: function(message)
416 {
409 } 417 }
410 }; 418 };
411 419
412 /** 420 /**
413 * @type {!InspectorFrontendHostAPI} 421 * @type {!InspectorFrontendHostAPI}
414 */ 422 */
415 var InspectorFrontendHost = window.InspectorFrontendHost || null; 423 var InspectorFrontendHost = window.InspectorFrontendHost || null;
416 424
417 (function(){ 425 (function(){
418 426
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 // so the host instance should not initialized there. 519 // so the host instance should not initialized there.
512 initializeInspectorFrontendHost(); 520 initializeInspectorFrontendHost();
513 window.InspectorFrontendAPI = new InspectorFrontendAPIImpl(); 521 window.InspectorFrontendAPI = new InspectorFrontendAPIImpl();
514 WebInspector.setLocalizationPlatform(InspectorFrontendHost.platform()); 522 WebInspector.setLocalizationPlatform(InspectorFrontendHost.platform());
515 })(); 523 })();
516 524
517 /** 525 /**
518 * @type {!WebInspector.EventTarget} 526 * @type {!WebInspector.EventTarget}
519 */ 527 */
520 InspectorFrontendHost.events; 528 InspectorFrontendHost.events;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/devtools.js ('k') | Source/devtools/front_end/host/InspectorFrontendHostAPI.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698