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

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

Issue 2408603002: DevTools: disable smoothing and correct nexus device frame dimensions for screenshots (Closed)
Patch Set: Created 4 years, 2 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 "capabilities": [ 315 "capabilities": [
316 "touch", 316 "touch",
317 "mobile" 317 "mobile"
318 ], 318 ],
319 "show-by-default": true, 319 "show-by-default": true,
320 "screen": { 320 "screen": {
321 "device-pixel-ratio": 2.625, 321 "device-pixel-ratio": 2.625,
322 "vertical": { 322 "vertical": {
323 "outline" : { 323 "outline" : {
324 "image": "@url(Nexus5X-portrait.svg)", 324 "image": "@url(Nexus5X-portrait.svg)",
325 "insets" : { "left": 20, "top": 92, "right": 22, "bo ttom": 108 } 325 "insets" : { "left": 18, "top": 88, "right": 22, "bo ttom": 98 }
326 }, 326 },
327 "width": 412, 327 "width": 412,
328 "height": 732 328 "height": 732
329 }, 329 },
330 "horizontal": { 330 "horizontal": {
331 "outline" : { 331 "outline" : {
332 "image": "@url(Nexus5X-landscape.svg)", 332 "image": "@url(Nexus5X-landscape.svg)",
333 "insets" : { "left": 94, "top": 23, "right": 100, "b ottom": 20 } 333 "insets" : { "left": 88, "top": 21, "right": 98, "bo ttom": 19 }
334 }, 334 },
335 "width": 732, 335 "width": 732,
336 "height": 412 336 "height": 412
337 } 337 }
338 }, 338 },
339 "modes": [ 339 "modes": [
340 { 340 {
341 "title": "default", 341 "title": "default",
342 "orientation": "vertical", 342 "orientation": "vertical",
343 "insets": { "left": 0, "top": 24, "right": 0, "bottom": 48 }, 343 "insets": { "left": 0, "top": 24, "right": 0, "bottom": 48 },
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 { 415 {
416 "type": "emulated-device", 416 "type": "emulated-device",
417 "order": 30, 417 "order": 30,
418 "device": { 418 "device": {
419 "show-by-default": true, 419 "show-by-default": true,
420 "title": "Nexus 6P", 420 "title": "Nexus 6P",
421 "screen": { 421 "screen": {
422 "horizontal": { 422 "horizontal": {
423 "outline" : { 423 "outline" : {
424 "image": "@url(Nexus6P-landscape.svg)", 424 "image": "@url(Nexus6P-landscape.svg)",
425 "insets" : { "left": 94, "top": 48, "right": 97, "bo ttom": 48 } 425 "insets" : { "left": 94, "top": 17, "right": 88, "bo ttom": 17 }
426 }, 426 },
427 "width": 732, 427 "width": 732,
428 "height": 412 428 "height": 412
429 }, 429 },
430 "device-pixel-ratio": 3.5, 430 "device-pixel-ratio": 3.5,
431 "vertical": { 431 "vertical": {
432 "outline" : { 432 "outline" : {
433 "image": "@url(Nexus6P-portrait.svg)", 433 "image": "@url(Nexus6P-portrait.svg)",
434 "insets" : { "left": 58, "top": 94, "right": 58, "bo ttom": 97 } 434 "insets" : { "left": 16, "top": 94, "right": 16, "bo ttom": 88 }
435 }, 435 },
436 "width": 412, 436 "width": 412,
437 "height": 732 437 "height": 732
438 } 438 }
439 }, 439 },
440 "capabilities": [ 440 "capabilities": [
441 "touch", 441 "touch",
442 "mobile" 442 "mobile"
443 ], 443 ],
444 "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", 444 "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",
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 } 1095 }
1096 ], 1096 ],
1097 "dependencies": [ 1097 "dependencies": [
1098 "emulation" 1098 "emulation"
1099 ], 1099 ],
1100 "scripts": [ 1100 "scripts": [
1101 ], 1101 ],
1102 "resources": [ 1102 "resources": [
1103 ] 1103 ]
1104 } 1104 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698