| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 recordActionTaken: function(actionCode) { }, | 214 recordActionTaken: function(actionCode) { }, |
| 215 | 215 |
| 216 /** | 216 /** |
| 217 * @param {number} panelCode | 217 * @param {number} panelCode |
| 218 */ | 218 */ |
| 219 recordPanelShown: function(panelCode) { }, | 219 recordPanelShown: function(panelCode) { }, |
| 220 | 220 |
| 221 /** | 221 /** |
| 222 * @param {string} message | 222 * @param {string} message |
| 223 */ | 223 */ |
| 224 sendMessageToBackend: function(message) { }, | 224 sendMessageToBrowser: function(message) { }, |
| 225 | |
| 226 /** | |
| 227 * @param {string} message | |
| 228 */ | |
| 229 sendMessageToEmbedder: function(message) { }, | |
| 230 | 225 |
| 231 /** | 226 /** |
| 232 * @param {boolean} enabled | 227 * @param {boolean} enabled |
| 233 */ | 228 */ |
| 234 setDeviceCountUpdatesEnabled: function(enabled) { }, | 229 setDeviceCountUpdatesEnabled: function(enabled) { }, |
| 235 | 230 |
| 236 /** | 231 /** |
| 237 * @param {boolean} enabled | 232 * @param {boolean} enabled |
| 238 */ | 233 */ |
| 239 setDevicesUpdatesEnabled: function(enabled) { }, | 234 setDevicesUpdatesEnabled: function(enabled) { }, |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 * @param {string} content | 422 * @param {string} content |
| 428 */ | 423 */ |
| 429 append: function(url, content) | 424 append: function(url, content) |
| 430 { | 425 { |
| 431 WebInspector.console.error("Saving files is not enabled in hosted mode.
Please inspect using chrome://inspect"); | 426 WebInspector.console.error("Saving files is not enabled in hosted mode.
Please inspect using chrome://inspect"); |
| 432 }, | 427 }, |
| 433 | 428 |
| 434 /** | 429 /** |
| 435 * @param {string} message | 430 * @param {string} message |
| 436 */ | 431 */ |
| 437 sendMessageToBackend: function(message) | 432 sendMessageToBrowser: function(message) |
| 438 { | 433 { |
| 439 }, | 434 }, |
| 440 | 435 |
| 441 /** | |
| 442 * @param {string} message | |
| 443 */ | |
| 444 sendMessageToEmbedder: function(message) | |
| 445 { | |
| 446 }, | |
| 447 | |
| 448 /** | 436 /** |
| 449 * @param {number} actionCode | 437 * @param {number} actionCode |
| 450 */ | 438 */ |
| 451 recordActionTaken: function(actionCode) | 439 recordActionTaken: function(actionCode) |
| 452 { | 440 { |
| 453 }, | 441 }, |
| 454 | 442 |
| 455 /** | 443 /** |
| 456 * @param {number} panelCode | 444 * @param {number} panelCode |
| 457 */ | 445 */ |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 * @param {number} id | 685 * @param {number} id |
| 698 * @param {?string} error | 686 * @param {?string} error |
| 699 */ | 687 */ |
| 700 embedderMessageAck: function(id, error) | 688 embedderMessageAck: function(id, error) |
| 701 { | 689 { |
| 702 InspectorFrontendHost["embedderMessageAck"](id, error); | 690 InspectorFrontendHost["embedderMessageAck"](id, error); |
| 703 } | 691 } |
| 704 } | 692 } |
| 705 | 693 |
| 706 var InspectorFrontendAPI = new InspectorFrontendAPIImpl(); | 694 var InspectorFrontendAPI = new InspectorFrontendAPIImpl(); |
| OLD | NEW |