Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1234)

Side by Side Diff: Source/devtools/front_end/main/ScreencastApp.js

Issue 408853002: [DevTools] Make toolbar counters declarative. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed comment Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/main/Main.js ('k') | Source/devtools/front_end/main/module.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/main/Main.js ('k') | Source/devtools/front_end/main/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698