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

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..5f80ec401ca5177ec5fe5e9dc298d462316481ac 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/module.json
@@ -106,32 +106,102 @@
},
{
"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": "emulateCSSMedia",
dgozman 2017/05/15 19:07:44 - emulatedCSSMedia - if we define a setting in sdk
luoe 2017/05/16 00:05:47 Done.
+ "settingType": "enum",
+ "storageType": "session",
+ "defaultValue": "none",
+ "options": [
+ {
+ "title": "Do not emulate CSS media type",
+ "text": "None",
+ "value": "none"
+ },
+ {
+ "title": "Emulate CSS print media type",
+ "text": "Print",
dgozman 2017/05/15 19:07:44 Let's not capitalize it, as it's something used in
luoe 2017/05/16 00:05:47 Done.
+ "value": "print"
+ },
+ {
+ "title": "Emulate CSS screen media type",
+ "text": "Screen",
+ "value": "screen"
+ }
+ ],
+ "tags": "query"
+ },
{
"type": "setting",
"category": "Console",

Powered by Google App Engine
This is Rietveld 408576698