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

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

Issue 1952933002: DevTools: extract the report view to reuse in app manifest and service worker pane. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests fixed Created 4 years, 7 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 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 a2e3af24b7a158daaaee582d4385fa041fe45fcf..dcf3b5c47900ea2b8f5b950a659e84951a7a55d1 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
@@ -73,6 +73,11 @@ WebInspector.Toolbar.prototype = {
this._contentElement.classList.add("toolbar-toggled-gray");
},
+ renderAsLinks: function()
+ {
+ this._contentElement.classList.add("toolbar-render-as-links");
+ },
+
/**
* @param {boolean} enabled
*/

Powered by Google App Engine
This is Rietveld 408576698