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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 closeWindow: function() | 84 closeWindow: function() |
85 { | 85 { |
86 this._windowVisible = false; | 86 this._windowVisible = false; |
87 }, | 87 }, |
88 | 88 |
89 setIsDocked: function(isDocked) | 89 setIsDocked: function(isDocked) |
90 { | 90 { |
91 }, | 91 }, |
92 | 92 |
93 /** | 93 /** |
| 94 * Requests inspected page to be placed atop of the inspector frontend with
specified bounds. |
| 95 * @param {{x: number, y: number, width: number, height: number}} bounds |
| 96 */ |
| 97 setInspectedPageBounds: function(bounds) |
| 98 { |
| 99 }, |
| 100 |
| 101 /** |
94 * Requests inspected page to be placed atop of the inspector frontend | 102 * Requests inspected page to be placed atop of the inspector frontend |
95 * with passed insets from the frontend sides, respecting minimum size passe
d. | 103 * with passed insets from the frontend sides, respecting minimum size passe
d. |
96 * @param {{top: number, left: number, right: number, bottom: number}} inset
s | 104 * @param {{top: number, left: number, right: number, bottom: number}} inset
s |
97 * @param {{width: number, height: number}} minSize | 105 * @param {{width: number, height: number}} minSize |
98 */ | 106 */ |
99 setContentsResizingStrategy: function(insets, minSize) | 107 setContentsResizingStrategy: function(insets, minSize) |
100 { | 108 { |
101 }, | 109 }, |
102 | 110 |
103 inspectElementCompleted: function() | 111 inspectElementCompleted: function() |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 var message = "Incompatible embedder: method InspectorFrontendHost."
+ name + " is missing. Using stub instead."; | 276 var message = "Incompatible embedder: method InspectorFrontendHost."
+ name + " is missing. Using stub instead."; |
269 if (WebInspector.console) | 277 if (WebInspector.console) |
270 WebInspector.console.showErrorMessage(message); | 278 WebInspector.console.showErrorMessage(message); |
271 else | 279 else |
272 console.error(message); | 280 console.error(message); |
273 var args = Array.prototype.slice.call(arguments, 1); | 281 var args = Array.prototype.slice.call(arguments, 1); |
274 return proto[name].apply(InspectorFrontendHost, args); | 282 return proto[name].apply(InspectorFrontendHost, args); |
275 }.bind(null, name); | 283 }.bind(null, name); |
276 } | 284 } |
277 } | 285 } |
OLD | NEW |