Chromium Code Reviews| Index: Source/devtools/front_end/toolbox/ToolboxDelegate.js |
| diff --git a/Source/devtools/front_end/toolbox/ToolboxDelegate.js b/Source/devtools/front_end/toolbox/ToolboxDelegate.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c6608595400b6e56f2fc627c9240fb054d4f1c72 |
| --- /dev/null |
| +++ b/Source/devtools/front_end/toolbox/ToolboxDelegate.js |
| @@ -0,0 +1,21 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +/** |
| + * @interface |
| + */ |
| +WebInspector.ToolboxDelegate = function() {} |
|
apavlov
2014/08/11 17:47:16
This interface is required to reside out of "main"
|
| + |
| +WebInspector.ToolboxDelegate.prototype = { |
| + /** |
| + * @param {boolean} toolbox |
| + * @param {!WebInspector.Event} event |
| + */ |
| + onSetInspectedPageBounds: function(toolbox, event) {}, |
|
dgozman
2014/08/12 16:30:38
I'd remove this and add |inspectedPagePlaceholder|
apavlov
2014/08/12 17:58:24
Done.
|
| + |
| + /** |
| + * @param {!WebInspector.ResponsiveDesignView} responsiveDesignView |
| + */ |
| + toolboxLoaded: function(responsiveDesignView) {} |
| +} |