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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js

Issue 2580903003: DevTools: Rearrange Timeline toolbar for landing page mode (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
index ea4e2994aebbee599a3a013bda265a210ccab6bd..e552335b244e02e37e910847cc753f24b679c108 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
@@ -52,7 +52,7 @@ UI.Toolbar = class {
* @param {!UI.Action} action
* @param {!Array<!UI.ToolbarButton>=} toggledOptions
* @param {!Array<!UI.ToolbarButton>=} untoggledOptions
- * @return {!UI.ToolbarItem}
+ * @return {!UI.ToolbarToggle}
*/
static createActionButton(action, toggledOptions, untoggledOptions) {
var button = new UI.ToolbarToggle(action.title(), action.icon(), action.toggledIcon());
@@ -182,7 +182,7 @@ UI.Toolbar = class {
/**
* @param {string} actionId
- * @return {!UI.ToolbarItem}
+ * @return {!UI.ToolbarToggle}
*/
static createActionButtonForId(actionId) {
const action = UI.actionRegistry.action(actionId);

Powered by Google App Engine
This is Rietveld 408576698