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

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

Issue 1688113002: Devtools: Add device frames to device mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 "show-by-default": true, 80 "show-by-default": true,
81 "title": "iPhone 6", 81 "title": "iPhone 6",
82 "screen": { 82 "screen": {
83 "horizontal": { 83 "horizontal": {
84 "width": 667, 84 "width": 667,
85 "height": 375 85 "height": 375
86 }, 86 },
87 "device-pixel-ratio": 2, 87 "device-pixel-ratio": 2,
88 "vertical": { 88 "vertical": {
89 "width": 375, 89 "width": 375,
90 "height": 667 90 "height": 667,
91 "outline": {
92 "insets": { "left": 30, "top": 112, "right": 29, "bo ttom": 106 },
93 "image": "@url(art-iphone-6s-silver-vertical.png)"
94 }
91 } 95 }
92 }, 96 },
93 "capabilities": [ 97 "capabilities": [
94 "touch", 98 "touch",
95 "mobile" 99 "mobile"
96 ], 100 ],
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", 101 "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", 102 "type": "phone",
99 "modes": [ 103 "modes": [
100 { 104 {
(...skipping 16 matching lines...) Expand all
117 "show-by-default": true, 121 "show-by-default": true,
118 "title": "iPhone 6 Plus", 122 "title": "iPhone 6 Plus",
119 "screen": { 123 "screen": {
120 "horizontal": { 124 "horizontal": {
121 "width": 736, 125 "width": 736,
122 "height": 414 126 "height": 414
123 }, 127 },
124 "device-pixel-ratio": 3, 128 "device-pixel-ratio": 3,
125 "vertical": { 129 "vertical": {
126 "width": 414, 130 "width": 414,
127 "height": 736 131 "height": 736,
132 "outline": {
133 "insets": { "left": 34, "top": 125, "right": 33, "bo ttom": 120 },
134 "image": "@url(art-iphone-6s-plus-silver-vertical.pn g)"
135 }
128 } 136 }
129 }, 137 },
130 "capabilities": [ 138 "capabilities": [
131 "touch", 139 "touch",
132 "mobile" 140 "mobile"
133 ], 141 ],
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", 142 "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", 143 "type": "phone",
136 "modes": [ 144 "modes": [
137 { 145 {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
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", 298 "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": [ 299 "capabilities": [
292 "touch", 300 "touch",
293 "mobile" 301 "mobile"
294 ], 302 ],
295 "show-by-default": true, 303 "show-by-default": true,
296 "screen": { 304 "screen": {
297 "device-pixel-ratio": 2.625, 305 "device-pixel-ratio": 2.625,
298 "vertical": { 306 "vertical": {
299 "width": 411, 307 "width": 411,
300 "height": 731 308 "height": 731,
309 "outline": {
310 "insets": { "left": 19, "top": 82, "right": 23, "bot tom": 94 },
311 "image": "@url(art-google-nexus-5x-vertical.png)"
312 }
301 }, 313 },
302 "horizontal": { 314 "horizontal": {
303 "width": 731, 315 "width": 731,
304 "height": 411 316 "height": 411
305 } 317 }
306 }, 318 },
307 "modes": [ 319 "modes": [
308 { 320 {
309 "title": "default", 321 "title": "default",
310 "orientation": "vertical", 322 "orientation": "vertical",
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 "show-by-default": true, 399 "show-by-default": true,
388 "title": "Nexus 6P", 400 "title": "Nexus 6P",
389 "screen": { 401 "screen": {
390 "horizontal": { 402 "horizontal": {
391 "width": 773, 403 "width": 773,
392 "height": 435 404 "height": 435
393 }, 405 },
394 "device-pixel-ratio": 3.3, 406 "device-pixel-ratio": 3.3,
395 "vertical": { 407 "vertical": {
396 "width": 435, 408 "width": 435,
397 "height": 773 409 "height": 773,
410 "outline": {
411 "insets": { "left": 17, "top": 99, "right": 20, "bot tom": 92 },
412 "image": "@url(art-google-nexus-6p-vertical.png)"
413 }
398 } 414 }
399 }, 415 },
400 "capabilities": [ 416 "capabilities": [
401 "touch", 417 "touch",
402 "mobile" 418 "mobile"
403 ], 419 ],
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", 420 "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", 421 "type": "phone",
406 "modes": [ 422 "modes": [
407 { 423 {
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 } 991 }
976 ], 992 ],
977 "dependencies": [ 993 "dependencies": [
978 "emulation" 994 "emulation"
979 ], 995 ],
980 "scripts": [ 996 "scripts": [
981 ], 997 ],
982 "resources": [ 998 "resources": [
983 ] 999 ]
984 } 1000 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698