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

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

Issue 1650243004: [DevTools] Option to show device frames in emulation mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trimming some dead code Created 4 years, 9 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 26 matching lines...) Expand all
37 } 37 }
38 }, 38 },
39 { 39 {
40 "type": "emulated-device", 40 "type": "emulated-device",
41 "order": 40, 41 "order": 40,
42 "device": { 42 "device": {
43 "show-by-default": true, 43 "show-by-default": true,
44 "title": "iPhone 5", 44 "title": "iPhone 5",
45 "screen": { 45 "screen": {
46 "horizontal": { 46 "horizontal": {
47 "outline" : {
48 "image": "@url(iPhone5-landscape.svg)",
49 "insets" : { "left": 115, "top": 25, "right": 115, " bottom": 28 }
50 },
47 "width": 568, 51 "width": 568,
48 "height": 320 52 "height": 320
49 }, 53 },
50 "device-pixel-ratio": 2, 54 "device-pixel-ratio": 2,
51 "vertical": { 55 "vertical": {
56 "outline" : {
57 "image": "@url(iPhone5-portrait.svg)",
58 "insets" : { "left": 29, "top": 105, "right": 25, "b ottom": 111 }
59 },
52 "width": 320, 60 "width": 320,
53 "height": 568 61 "height": 568
54 } 62 }
55 }, 63 },
56 "capabilities": [ 64 "capabilities": [
57 "touch", 65 "touch",
58 "mobile" 66 "mobile"
59 ], 67 ],
60 "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", 68 "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",
61 "type": "phone", 69 "type": "phone",
(...skipping 12 matching lines...) Expand all
74 } 82 }
75 }, 83 },
76 { 84 {
77 "type": "emulated-device", 85 "type": "emulated-device",
78 "order": 50, 86 "order": 50,
79 "device": { 87 "device": {
80 "show-by-default": true, 88 "show-by-default": true,
81 "title": "iPhone 6", 89 "title": "iPhone 6",
82 "screen": { 90 "screen": {
83 "horizontal": { 91 "horizontal": {
92 "outline" : {
93 "image": "@url(iPhone6-landscape.svg)",
94 "insets" : { "left": 106, "top": 28, "right": 106, " bottom": 28 }
95 },
84 "width": 667, 96 "width": 667,
85 "height": 375 97 "height": 375
86 }, 98 },
87 "device-pixel-ratio": 2, 99 "device-pixel-ratio": 2,
88 "vertical": { 100 "vertical": {
101 "outline" : {
102 "image": "@url(iPhone6-portrait.svg)",
103 "insets" : { "left": 28, "top": 105, "right": 28, "b ottom": 105 }
104 },
89 "width": 375, 105 "width": 375,
90 "height": 667 106 "height": 667
91 } 107 }
92 }, 108 },
93 "capabilities": [ 109 "capabilities": [
94 "touch", 110 "touch",
95 "mobile" 111 "mobile"
96 ], 112 ],
97 "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",
98 "type": "phone", 114 "type": "phone",
(...skipping 12 matching lines...) Expand all
111 } 127 }
112 }, 128 },
113 { 129 {
114 "type": "emulated-device", 130 "type": "emulated-device",
115 "order": 60, 131 "order": 60,
116 "device": { 132 "device": {
117 "show-by-default": true, 133 "show-by-default": true,
118 "title": "iPhone 6 Plus", 134 "title": "iPhone 6 Plus",
119 "screen": { 135 "screen": {
120 "horizontal": { 136 "horizontal": {
137 "outline" : {
138 "image": "@url(iPhone6Plus-landscape.svg)",
139 "insets" : { "left": 109, "top": 29, "right": 109, " bottom": 27 }
140 },
121 "width": 736, 141 "width": 736,
122 "height": 414 142 "height": 414
123 }, 143 },
124 "device-pixel-ratio": 3, 144 "device-pixel-ratio": 3,
125 "vertical": { 145 "vertical": {
146 "outline" : {
147 "image": "@url(iPhone6Plus-portrait.svg)",
148 "insets" : { "left": 26, "top": 107, "right": 30, "b ottom": 111 }
149 },
126 "width": 414, 150 "width": 414,
127 "height": 736 151 "height": 736
128 } 152 }
129 }, 153 },
130 "capabilities": [ 154 "capabilities": [
131 "touch", 155 "touch",
132 "mobile" 156 "mobile"
133 ], 157 ],
134 "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", 158 "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",
135 "type": "phone", 159 "type": "phone",
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 "type": "phone", 313 "type": "phone",
290 "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", 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",
291 "capabilities": [ 315 "capabilities": [
292 "touch", 316 "touch",
293 "mobile" 317 "mobile"
294 ], 318 ],
295 "show-by-default": true, 319 "show-by-default": true,
296 "screen": { 320 "screen": {
297 "device-pixel-ratio": 2.625, 321 "device-pixel-ratio": 2.625,
298 "vertical": { 322 "vertical": {
323 "outline" : {
324 "image": "@url(Nexus5X-portrait.svg)",
325 "insets" : { "left": 20, "top": 92, "right": 22, "bo ttom": 108 }
326 },
299 "width": 411, 327 "width": 411,
300 "height": 731 328 "height": 731
301 }, 329 },
302 "horizontal": { 330 "horizontal": {
331 "outline" : {
332 "image": "@url(Nexus5X-landscape.svg)",
333 "insets" : { "left": 94, "top": 23, "right": 100, "b ottom": 20 }
334 },
303 "width": 731, 335 "width": 731,
304 "height": 411 336 "height": 411
305 } 337 }
306 }, 338 },
307 "modes": [ 339 "modes": [
308 { 340 {
309 "title": "default", 341 "title": "default",
310 "orientation": "vertical", 342 "orientation": "vertical",
311 "insets": { "left": 0, "top": 24, "right": 0, "bottom": 48 }, 343 "insets": { "left": 0, "top": 24, "right": 0, "bottom": 48 },
312 "image": "@url(google-nexus-5x-vertical-default-1x.png) 1x, @url(google-nexus-5x-vertical-default-2x.png) 2x" 344 "image": "@url(google-nexus-5x-vertical-default-1x.png) 1x, @url(google-nexus-5x-vertical-default-2x.png) 2x"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 } 413 }
382 }, 414 },
383 { 415 {
384 "type": "emulated-device", 416 "type": "emulated-device",
385 "order": 30, 417 "order": 30,
386 "device": { 418 "device": {
387 "show-by-default": true, 419 "show-by-default": true,
388 "title": "Nexus 6P", 420 "title": "Nexus 6P",
389 "screen": { 421 "screen": {
390 "horizontal": { 422 "horizontal": {
423 "outline" : {
424 "image": "@url(Nexus6P-landscape.svg)",
425 "insets" : { "left": 94, "top": 48, "right": 97, "bo ttom": 48 }
dgozman 2016/03/21 21:08:38 Coordinate changes with Paul here: https://coderev
mmccoy 2016/03/21 22:03:05 Merged and adjusted insets.
426 },
391 "width": 773, 427 "width": 773,
392 "height": 435 428 "height": 435
393 }, 429 },
394 "device-pixel-ratio": 3.3, 430 "device-pixel-ratio": 3.3,
395 "vertical": { 431 "vertical": {
432 "outline" : {
433 "image": "@url(Nexus6P-portrait.svg)",
434 "insets" : { "left": 58, "top": 94, "right": 58, "bo ttom": 97 }
435 },
396 "width": 435, 436 "width": 435,
397 "height": 773 437 "height": 773
398 } 438 }
399 }, 439 },
400 "capabilities": [ 440 "capabilities": [
401 "touch", 441 "touch",
402 "mobile" 442 "mobile"
403 ], 443 ],
404 "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",
405 "type": "phone", 445 "type": "phone",
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 } 783 }
744 }, 784 },
745 { 785 {
746 "type": "emulated-device", 786 "type": "emulated-device",
747 "order": 70, 787 "order": 70,
748 "device": { 788 "device": {
749 "show-by-default": true, 789 "show-by-default": true,
750 "title": "iPad", 790 "title": "iPad",
751 "screen": { 791 "screen": {
752 "horizontal": { 792 "horizontal": {
793 "outline" : {
794 "image": "@url(iPad-landscape.svg)",
795 "insets" : { "left": 112, "top": 56, "right": 116, " bottom": 52 }
796 },
753 "width": 1024, 797 "width": 1024,
754 "height": 768 798 "height": 768
755 }, 799 },
756 "device-pixel-ratio": 2, 800 "device-pixel-ratio": 2,
757 "vertical": { 801 "vertical": {
802 "outline" : {
803 "image": "@url(iPad-portrait.svg)",
804 "insets" : { "left": 52, "top": 114, "right": 55, "b ottom": 114 }
805 },
758 "width": 768, 806 "width": 768,
759 "height": 1024 807 "height": 1024
760 } 808 }
761 }, 809 },
762 "capabilities": [ 810 "capabilities": [
763 "touch", 811 "touch",
764 "mobile" 812 "mobile"
765 ], 813 ],
766 "user-agent": "Mozilla/5.0 (iPad; CPU OS 9_1 like Mac OS X) Appl eWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1", 814 "user-agent": "Mozilla/5.0 (iPad; CPU OS 9_1 like Mac OS X) Appl eWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1",
767 "type": "tablet", 815 "type": "tablet",
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 } 1095 }
1048 ], 1096 ],
1049 "dependencies": [ 1097 "dependencies": [
1050 "emulation" 1098 "emulation"
1051 ], 1099 ],
1052 "scripts": [ 1100 "scripts": [
1053 ], 1101 ],
1054 "resources": [ 1102 "resources": [
1055 ] 1103 ]
1056 } 1104 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698