OLD | NEW |
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 Loading... |
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 Loading... |
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; |
OLD | NEW |