OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 * @constructor | 6 * @constructor |
7 * @extends {WebInspector.App} | 7 * @extends {WebInspector.App} |
8 */ | 8 */ |
9 WebInspector.ScreencastApp = function() | 9 WebInspector.ScreencastApp = function() |
10 { | 10 { |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 this._rootSplitView.toggleResizer(this._rootSplitView.resizerElement(),
true); | 71 this._rootSplitView.toggleResizer(this._rootSplitView.resizerElement(),
true); |
72 this._rootSplitView.toggleResizer(WebInspector.inspectorView.topResizerE
lement(), state === "top"); | 72 this._rootSplitView.toggleResizer(WebInspector.inspectorView.topResizerE
lement(), state === "top"); |
73 this._rootSplitView.showBoth(); | 73 this._rootSplitView.showBoth(); |
74 }, | 74 }, |
75 | 75 |
76 __proto__: WebInspector.App.prototype | 76 __proto__: WebInspector.App.prototype |
77 }; | 77 }; |
78 | 78 |
79 /** | 79 /** |
80 * @constructor | 80 * @constructor |
81 * @implements {WebInspector.StatusBarButton.Provider} | 81 * @implements {WebInspector.StatusBarItem.Provider} |
82 */ | 82 */ |
83 WebInspector.ScreencastApp.StatusBarButtonProvider = function() | 83 WebInspector.ScreencastApp.StatusBarButtonProvider = function() |
84 { | 84 { |
85 } | 85 } |
86 | 86 |
87 WebInspector.ScreencastApp.StatusBarButtonProvider.prototype = { | 87 WebInspector.ScreencastApp.StatusBarButtonProvider.prototype = { |
88 /** | 88 /** |
89 * @return {?WebInspector.StatusBarButton} | 89 * @return {?WebInspector.StatusBarItem} |
90 */ | 90 */ |
91 button: function() | 91 item: function() |
92 { | 92 { |
93 if (!(WebInspector.app instanceof WebInspector.ScreencastApp)) | 93 if (!(WebInspector.app instanceof WebInspector.ScreencastApp)) |
94 return null; | 94 return null; |
95 return /** @type {!WebInspector.ScreencastApp} */ (WebInspector.app)._to
ggleScreencastButton; | 95 return /** @type {!WebInspector.ScreencastApp} */ (WebInspector.app)._to
ggleScreencastButton; |
96 } | 96 } |
97 } | 97 } |
OLD | NEW |