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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/module.json

Issue 2839413002: DevTools: add rendering overlay options to command menu (Closed)
Patch Set: ac Created 3 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/sdk/module.json
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/module.json b/third_party/WebKit/Source/devtools/front_end/sdk/module.json
index 1965218d7f4f917eda882402cdd05489ec74d60c..d1cdf1be1df873b2643c7694525179020d0d1498 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/module.json
@@ -106,34 +106,104 @@
},
{
"type": "setting",
+ "category": "Rendering",
"settingName": "showPaintRects",
"settingType": "boolean",
"storageType": "session",
+ "options": [
+ {
+ "value": true,
+ "title": "Show paint flashing rectangles"
+ },
+ {
+ "value": false,
+ "title": "Hide paint flashing rectangles"
+ }
+ ],
"defaultValue": false
},
{
"type": "setting",
+ "category": "Rendering",
"settingName": "showDebugBorders",
"settingType": "boolean",
"storageType": "session",
+ "options": [
+ {
+ "value": true,
+ "title": "Show layer borders"
+ },
+ {
+ "value": false,
+ "title": "Hide layer borders"
+ }
+ ],
"defaultValue": false
},
{
"type": "setting",
+ "category": "Rendering",
"settingName": "showFPSCounter",
"settingType": "boolean",
"storageType": "session",
+ "options": [
+ {
+ "value": true,
+ "title": "Show frames per second (FPS) meter"
+ },
+ {
+ "value": false,
+ "title": "Hide frames per second (FPS) meter"
+ }
+ ],
"defaultValue": false
},
{
"type": "setting",
+ "category": "Rendering",
"settingName": "showScrollBottleneckRects",
"settingType": "boolean",
"storageType": "session",
+ "options": [
+ {
+ "value": true,
+ "title": "Show scroll performance bottlenecks"
+ },
+ {
+ "value": false,
+ "title": "Hide scroll performance bottlenecks"
+ }
+ ],
"defaultValue": false
},
{
"type": "setting",
+ "category": "Rendering",
+ "settingName": "emulatedCSSMedia",
+ "settingType": "enum",
+ "storageType": "session",
+ "defaultValue": "",
+ "options": [
+ {
+ "title": "Do not emulate CSS media type",
+ "text": "None",
dgozman 2017/05/16 18:47:25 "No emulation"? Maybe "<none>"?
luoe 2017/05/30 20:56:15 Done, "No emulation".
+ "value": ""
+ },
+ {
+ "title": "Emulate CSS print media type",
+ "text": "print",
+ "value": "print"
+ },
+ {
+ "title": "Emulate CSS screen media type",
+ "text": "screen",
+ "value": "screen"
+ }
+ ],
+ "tags": "query"
+ },
+ {
+ "type": "setting",
"category": "Console",
"title": "Enable custom formatters",
"settingName": "customFormatters",

Powered by Google App Engine
This is Rietveld 408576698