| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 | 4 |
| 5 | 5 |
| 6 /** @interface */ | 6 /** @interface */ |
| 7 function InspectorFrontendHostAPI() | 7 function InspectorFrontendHostAPI() |
| 8 { | 8 { |
| 9 } | 9 } |
| 10 window.InspectorFrontendHostAPI = InspectorFrontendHostAPI; | 10 window.InspectorFrontendHostAPI = InspectorFrontendHostAPI; |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 | 283 |
| 284 /** | 284 /** |
| 285 * @param {number} x | 285 * @param {number} x |
| 286 * @param {number} y | 286 * @param {number} y |
| 287 * @param {!Array.<!InspectorFrontendHostAPI.ContextMenuDescriptor>} items | 287 * @param {!Array.<!InspectorFrontendHostAPI.ContextMenuDescriptor>} items |
| 288 * @param {!Document} document | 288 * @param {!Document} document |
| 289 */ | 289 */ |
| 290 showContextMenuAtPoint: function(x, y, items, document) { }, | 290 showContextMenuAtPoint: function(x, y, items, document) { }, |
| 291 | 291 |
| 292 /** | 292 /** |
| 293 * @param {function()} callback |
| 294 */ |
| 295 reattach: function(callback) { }, |
| 296 |
| 297 /** |
| 293 * @return {boolean} | 298 * @return {boolean} |
| 294 */ | 299 */ |
| 295 isUnderTest: function() { }, | 300 isUnderTest: function() { }, |
| 296 | 301 |
| 297 readyForTest: function() { }, | 302 readyForTest: function() { }, |
| 298 | 303 |
| 299 /** | 304 /** |
| 300 * @return {boolean} | 305 * @return {boolean} |
| 301 */ | 306 */ |
| 302 isHostedMode: function() { } | 307 isHostedMode: function() { } |
| 303 } | 308 } |
| OLD | NEW |