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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/emulated_devices/module.json

Issue 1959783002: DevTools: Introduce device dependent CPU throttling rates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "extensions": [ 2 "extensions": [
3 { 3 {
4 "type": "emulated-device", 4 "type": "emulated-device",
5 "device": { 5 "device": {
6 "show-by-default": false, 6 "show-by-default": false,
7 "title": "iPhone 4" , 7 "title": "iPhone 4" ,
8 "screen": { 8 "screen": {
9 "horizontal": { 9 "horizontal": {
10 "width": 480, 10 "width": 480,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 79 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
80 } 80 }
81 ] 81 ]
82 } 82 }
83 }, 83 },
84 { 84 {
85 "type": "emulated-device", 85 "type": "emulated-device",
86 "order": 50, 86 "order": 50,
87 "device": { 87 "device": {
88 "show-by-default": true, 88 "show-by-default": true,
89 "title": "iPhone 6", 89 "title": "iPhone 6S",
90 "screen": { 90 "screen": {
91 "horizontal": { 91 "horizontal": {
92 "outline" : { 92 "outline" : {
93 "image": "@url(iPhone6-landscape.svg)", 93 "image": "@url(iPhone6-landscape.svg)",
94 "insets" : { "left": 106, "top": 28, "right": 106, " bottom": 28 } 94 "insets" : { "left": 106, "top": 28, "right": 106, " bottom": 28 }
95 }, 95 },
96 "width": 667, 96 "width": 667,
97 "height": 375 97 "height": 375
98 }, 98 },
99 "device-pixel-ratio": 2, 99 "device-pixel-ratio": 2,
100 "vertical": { 100 "vertical": {
101 "outline" : { 101 "outline" : {
102 "image": "@url(iPhone6-portrait.svg)", 102 "image": "@url(iPhone6-portrait.svg)",
103 "insets" : { "left": 28, "top": 105, "right": 28, "b ottom": 105 } 103 "insets" : { "left": 28, "top": 105, "right": 28, "b ottom": 105 }
104 }, 104 },
105 "width": 375, 105 "width": 375,
106 "height": 667 106 "height": 667
107 } 107 }
108 }, 108 },
109 "capabilities": [ 109 "capabilities": [
110 "touch", 110 "touch",
111 "mobile" 111 "mobile"
112 ], 112 ],
113 "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac O S X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/6 01.1", 113 "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac O S X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/6 01.1",
114 "octane-score": 14500,
114 "type": "phone", 115 "type": "phone",
115 "modes": [ 116 "modes": [
116 { 117 {
117 "title": "default", 118 "title": "default",
118 "orientation": "vertical", 119 "orientation": "vertical",
119 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 120 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
120 }, 121 },
121 { 122 {
122 "title": "default", 123 "title": "default",
123 "orientation": "horizontal", 124 "orientation": "horizontal",
124 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 125 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
125 } 126 }
126 ] 127 ]
127 } 128 }
128 }, 129 },
129 { 130 {
130 "type": "emulated-device", 131 "type": "emulated-device",
131 "order": 60, 132 "order": 60,
132 "device": { 133 "device": {
133 "show-by-default": true, 134 "show-by-default": true,
134 "title": "iPhone 6 Plus", 135 "title": "iPhone 6S Plus",
135 "screen": { 136 "screen": {
136 "horizontal": { 137 "horizontal": {
137 "outline" : { 138 "outline" : {
138 "image": "@url(iPhone6Plus-landscape.svg)", 139 "image": "@url(iPhone6Plus-landscape.svg)",
139 "insets" : { "left": 109, "top": 29, "right": 109, " bottom": 27 } 140 "insets" : { "left": 109, "top": 29, "right": 109, " bottom": 27 }
140 }, 141 },
141 "width": 736, 142 "width": 736,
142 "height": 414 143 "height": 414
143 }, 144 },
144 "device-pixel-ratio": 3, 145 "device-pixel-ratio": 3,
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 ] 306 ]
306 } 307 }
307 }, 308 },
308 { 309 {
309 "type": "emulated-device", 310 "type": "emulated-device",
310 "order": 20, 311 "order": 20,
311 "device": { 312 "device": {
312 "title": "Nexus 5X", 313 "title": "Nexus 5X",
313 "type": "phone", 314 "type": "phone",
314 "user-agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MR A58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.23 Mobile Safari/5 37.36", 315 "user-agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MR A58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.23 Mobile Safari/5 37.36",
316 "octane-score": 8083,
pfeldman 2016/05/06 23:13:09 I wonder if we can use this: http://www.phonearena
alph 2016/05/07 00:02:27 I'll try to in the upcoming patches.
315 "capabilities": [ 317 "capabilities": [
316 "touch", 318 "touch",
317 "mobile" 319 "mobile"
318 ], 320 ],
319 "show-by-default": true, 321 "show-by-default": true,
320 "screen": { 322 "screen": {
321 "device-pixel-ratio": 2.625, 323 "device-pixel-ratio": 2.625,
322 "vertical": { 324 "vertical": {
323 "outline" : { 325 "outline" : {
324 "image": "@url(Nexus5X-portrait.svg)", 326 "image": "@url(Nexus5X-portrait.svg)",
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 "vertical": { 392 "vertical": {
391 "width": 412, 393 "width": 412,
392 "height": 732 394 "height": 732
393 } 395 }
394 }, 396 },
395 "capabilities": [ 397 "capabilities": [
396 "touch", 398 "touch",
397 "mobile" 399 "mobile"
398 ], 400 ],
399 "user-agent": "Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/ LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.23 Mobile Safari /537.36", 401 "user-agent": "Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/ LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.23 Mobile Safari /537.36",
402 "octane-score": 5082,
400 "type": "phone", 403 "type": "phone",
401 "modes": [ 404 "modes": [
402 { 405 {
403 "title": "default", 406 "title": "default",
404 "orientation": "vertical", 407 "orientation": "vertical",
405 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 } 408 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
406 }, 409 },
407 { 410 {
408 "title": "default", 411 "title": "default",
409 "orientation": "horizontal", 412 "orientation": "horizontal",
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 } 1098 }
1096 ], 1099 ],
1097 "dependencies": [ 1100 "dependencies": [
1098 "emulation" 1101 "emulation"
1099 ], 1102 ],
1100 "scripts": [ 1103 "scripts": [
1101 ], 1104 ],
1102 "resources": [ 1105 "resources": [
1103 ] 1106 ]
1104 } 1107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698