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

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

Issue 1202493002: [DevTools] Refactor emulated devices modes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
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": true, 6 "show-by-default": true,
7 "modes": [],
8 "title": "Apple iPhone 4", 7 "title": "Apple iPhone 4",
9 "screen": { 8 "screen": {
10 "horizontal": { 9 "horizontal": {
11 "width": 480, 10 "width": 480,
12 "height": 320 11 "height": 320
13 }, 12 },
14 "device-pixel-ratio": 2, 13 "device-pixel-ratio": 2,
15 "vertical": { 14 "vertical": {
16 "width": 320, 15 "width": 320,
17 "height": 480 16 "height": 480
18 } 17 }
19 }, 18 },
20 "capabilities": [ 19 "capabilities": [
21 "touch", 20 "touch",
22 "mobile" 21 "mobile"
23 ], 22 ],
24 "user-agent": "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8 C148 Safari/6533.18.5", 23 "user-agent": "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8 C148 Safari/6533.18.5",
25 "type": "phone" 24 "type": "phone",
25 "modes": [
26 {
27 "title": "default",
28 "orientation": "vertical",
29 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
30 },
31 {
32 "title": "default",
33 "orientation": "horizontal",
34 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
35 }
36 ]
26 } 37 }
27 }, 38 },
28 { 39 {
29 "type": "emulated-device", 40 "type": "emulated-device",
30 "device": { 41 "device": {
31 "show-by-default": true, 42 "show-by-default": true,
32 "modes": [],
33 "title": "Apple iPhone 5", 43 "title": "Apple iPhone 5",
34 "screen": { 44 "screen": {
35 "horizontal": { 45 "horizontal": {
36 "width": 568, 46 "width": 568,
37 "height": 320 47 "height": 320
38 }, 48 },
39 "device-pixel-ratio": 2, 49 "device-pixel-ratio": 2,
40 "vertical": { 50 "vertical": {
41 "width": 320, 51 "width": 320,
42 "height": 568 52 "height": 568
43 } 53 }
44 }, 54 },
45 "capabilities": [ 55 "capabilities": [
46 "touch", 56 "touch",
47 "mobile" 57 "mobile"
48 ], 58 ],
49 "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac O S X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 S afari/9537.53", 59 "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac O S X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 S afari/9537.53",
50 "type": "phone" 60 "type": "phone",
61 "modes": [
62 {
63 "title": "default",
64 "orientation": "vertical",
65 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
66 },
67 {
68 "title": "default",
69 "orientation": "horizontal",
70 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
71 }
72 ]
51 } 73 }
52 }, 74 },
53 { 75 {
54 "type": "emulated-device", 76 "type": "emulated-device",
55 "device": { 77 "device": {
56 "show-by-default": true, 78 "show-by-default": true,
57 "modes": [],
58 "title": "Apple iPhone 6", 79 "title": "Apple iPhone 6",
59 "screen": { 80 "screen": {
60 "horizontal": { 81 "horizontal": {
61 "width": 667, 82 "width": 667,
62 "height": 375 83 "height": 375
63 }, 84 },
64 "device-pixel-ratio": 2, 85 "device-pixel-ratio": 2,
65 "vertical": { 86 "vertical": {
66 "width": 375, 87 "width": 375,
67 "height": 667 88 "height": 667
68 } 89 }
69 }, 90 },
70 "capabilities": [ 91 "capabilities": [
71 "touch", 92 "touch",
72 "mobile" 93 "mobile"
73 ], 94 ],
74 "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac O S X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/ 600.1.4", 95 "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac O S X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/ 600.1.4",
75 "type": "phone" 96 "type": "phone",
97 "modes": [
98 {
99 "title": "default",
100 "orientation": "vertical",
101 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
102 },
103 {
104 "title": "default",
105 "orientation": "horizontal",
106 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
107 }
108 ]
76 } 109 }
77 }, 110 },
78 { 111 {
79 "type": "emulated-device", 112 "type": "emulated-device",
80 "device": { 113 "device": {
81 "show-by-default": true, 114 "show-by-default": true,
82 "modes": [],
83 "title": "Apple iPhone 6 Plus", 115 "title": "Apple iPhone 6 Plus",
84 "screen": { 116 "screen": {
85 "horizontal": { 117 "horizontal": {
86 "width": 736, 118 "width": 736,
87 "height": 414 119 "height": 414
88 }, 120 },
89 "device-pixel-ratio": 3, 121 "device-pixel-ratio": 3,
90 "vertical": { 122 "vertical": {
91 "width": 414, 123 "width": 414,
92 "height": 736 124 "height": 736
93 } 125 }
94 }, 126 },
95 "capabilities": [ 127 "capabilities": [
96 "touch", 128 "touch",
97 "mobile" 129 "mobile"
98 ], 130 ],
99 "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac O S X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/ 600.1.4", 131 "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac O S X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/ 600.1.4",
100 "type": "phone" 132 "type": "phone",
133 "modes": [
134 {
135 "title": "default",
136 "orientation": "vertical",
137 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
138 },
139 {
140 "title": "default",
141 "orientation": "horizontal",
142 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
143 }
144 ]
101 } 145 }
102 }, 146 },
103 { 147 {
104 "type": "emulated-device", 148 "type": "emulated-device",
105 "device": { 149 "device": {
106 "show-by-default": true, 150 "show-by-default": true,
107 "modes": [],
108 "title": "BlackBerry Z30", 151 "title": "BlackBerry Z30",
109 "screen": { 152 "screen": {
110 "horizontal": { 153 "horizontal": {
111 "width": 640, 154 "width": 640,
112 "height": 360 155 "height": 360
113 }, 156 },
114 "device-pixel-ratio": 2, 157 "device-pixel-ratio": 2,
115 "vertical": { 158 "vertical": {
116 "width": 360, 159 "width": 360,
117 "height": 640 160 "height": 640
118 } 161 }
119 }, 162 },
120 "capabilities": [ 163 "capabilities": [
121 "touch", 164 "touch",
122 "mobile" 165 "mobile"
123 ], 166 ],
124 "user-agent": "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KH TML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+", 167 "user-agent": "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KH TML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+",
125 "type": "phone" 168 "type": "phone",
169 "modes": [
170 {
171 "title": "default",
172 "orientation": "vertical",
173 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
174 },
175 {
176 "title": "default",
177 "orientation": "horizontal",
178 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
179 }
180 ]
126 } 181 }
127 }, 182 },
128 { 183 {
129 "type": "emulated-device", 184 "type": "emulated-device",
130 "device": { 185 "device": {
131 "show-by-default": true, 186 "show-by-default": true,
132 "modes": [],
133 "title": "Google Nexus 4", 187 "title": "Google Nexus 4",
134 "screen": { 188 "screen": {
135 "horizontal": { 189 "horizontal": {
136 "width": 640, 190 "width": 640,
137 "height": 384 191 "height": 384
138 }, 192 },
139 "device-pixel-ratio": 2, 193 "device-pixel-ratio": 2,
140 "vertical": { 194 "vertical": {
141 "width": 384, 195 "width": 384,
142 "height": 640 196 "height": 640
143 } 197 }
144 }, 198 },
145 "capabilities": [ 199 "capabilities": [
146 "touch", 200 "touch",
147 "mobile" 201 "mobile"
148 ], 202 ],
149 "user-agent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/ KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.122 Mobile Safar i/537.36", 203 "user-agent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/ KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.122 Mobile Safar i/537.36",
150 "type": "phone" 204 "type": "phone",
205 "modes": [
206 {
207 "title": "default",
208 "orientation": "vertical",
209 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
210 },
211 {
212 "title": "default",
213 "orientation": "horizontal",
214 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
215 }
216 ]
151 } 217 }
152 }, 218 },
153 { 219 {
154 "type": "emulated-device", 220 "type": "emulated-device",
155 "device": { 221 "device": {
156 "title": "Google Nexus 5", 222 "title": "Google Nexus 5",
157 "type": "phone", 223 "type": "phone",
158 "user-agent": "Mozilla/5.0 (Linux; Android 4.4.4; Nexus 5 Build/ KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.114 Mobile Safar i/537.36", 224 "user-agent": "Mozilla/5.0 (Linux; Android 4.4.4; Nexus 5 Build/ KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.114 Mobile Safar i/537.36",
159 "capabilities": [ 225 "capabilities": [
160 "touch", 226 "touch",
161 "mobile" 227 "mobile"
162 ], 228 ],
163 "show-by-default": true, 229 "show-by-default": true,
164 "screen": { 230 "screen": {
165 "device-pixel-ratio": 3, 231 "device-pixel-ratio": 3,
166 "vertical": { 232 "vertical": {
167 "width": 360, 233 "width": 360,
168 "height": 640 234 "height": 640
169 }, 235 },
170 "horizontal": { 236 "horizontal": {
171 "width": 640, 237 "width": 640,
172 "height": 360 238 "height": 360
173 } 239 }
174 }, 240 },
175 "modes": [ 241 "modes": [
176 { 242 {
177 "title": "default", 243 "title": "default",
178 "orientation": "vertical", 244 "orientation": "vertical",
179 "page-rect": { 245 "insets": { "left": 0, "top": 25, "right": 0, "bottom": 48 }
180 "left": 0,
181 "top": 25,
182 "width": 360,
183 "height": 567
184 }
185 }, 246 },
186 { 247 {
187 "title": "navigation bar", 248 "title": "navigation bar",
188 "orientation": "vertical", 249 "orientation": "vertical",
189 "page-rect": { 250 "insets": { "left": 0, "top": 80, "right": 0, "bottom": 48}
190 "left": 0,
191 "top": 80,
192 "width": 360,
193 "height": 512
194 }
195 }, 251 },
196 { 252 {
197 "title": "keyboard", 253 "title": "keyboard",
198 "orientation": "vertical", 254 "orientation": "vertical",
199 "page-rect": { 255 "insets": { "left": 0, "top": 80, "right": 0, "bottom": 312 }
200 "left": 0,
201 "top": 80,
202 "width": 360,
203 "height": 248
204 }
205 }, 256 },
206 { 257 {
207 "title": "default", 258 "title": "default",
208 "orientation": "horizontal", 259 "orientation": "horizontal",
209 "page-rect": { 260 "insets": { "left": 0, "top": 25, "right": 42, "bottom": 0 }
210 "left": 0,
211 "top": 25,
212 "width": 598,
213 "height": 335
214 }
215 }, 261 },
216 { 262 {
217 "title": "navigation bar", 263 "title": "navigation bar",
218 "orientation": "horizontal", 264 "orientation": "horizontal",
219 "page-rect": { 265 "insets": { "left": 0, "top": 80, "right": 42, "bottom": 0 }
220 "left": 0,
221 "top": 80,
222 "width": 598,
223 "height": 280
224 }
225 }, 266 },
226 { 267 {
227 "title": "keyboard", 268 "title": "keyboard",
228 "orientation": "horizontal", 269 "orientation": "horizontal",
229 "page-rect": { 270 "insets": { "left": 0, "top": 80, "right": 42, "bottom": 202 }
230 "left": 0,
231 "top": 80,
232 "width": 598,
233 "height": 78
234 }
235 } 271 }
236 ] 272 ]
237 } 273 }
238 }, 274 },
239 { 275 {
240 "type": "emulated-device", 276 "type": "emulated-device",
241 "device": { 277 "device": {
242 "show-by-default": true, 278 "show-by-default": true,
243 "modes": [],
244 "title": "Google Nexus 6", 279 "title": "Google Nexus 6",
245 "screen": { 280 "screen": {
246 "horizontal": { 281 "horizontal": {
247 "width": 732, 282 "width": 732,
248 "height": 412 283 "height": 412
249 }, 284 },
250 "device-pixel-ratio": 3.5, 285 "device-pixel-ratio": 3.5,
251 "vertical": { 286 "vertical": {
252 "width": 412, 287 "width": 412,
253 "height": 732 288 "height": 732
254 } 289 }
255 }, 290 },
256 "capabilities": [ 291 "capabilities": [
257 "touch", 292 "touch",
258 "mobile" 293 "mobile"
259 ], 294 ],
260 "user-agent": "Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/ LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.20 Mobile Safari /537.36", 295 "user-agent": "Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/ LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.20 Mobile Safari /537.36",
261 "type": "phone" 296 "type": "phone",
297 "modes": [
298 {
299 "title": "default",
300 "orientation": "vertical",
301 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
302 },
303 {
304 "title": "default",
305 "orientation": "horizontal",
306 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
307 }
308 ]
262 } 309 }
263 }, 310 },
264 { 311 {
265 "type": "emulated-device", 312 "type": "emulated-device",
266 "device": { 313 "device": {
267 "show-by-default": true, 314 "show-by-default": true,
268 "modes": [],
269 "title": "LG Optimus L70", 315 "title": "LG Optimus L70",
270 "screen": { 316 "screen": {
271 "horizontal": { 317 "horizontal": {
272 "width": 640, 318 "width": 640,
273 "height": 384 319 "height": 384
274 }, 320 },
275 "device-pixel-ratio": 1.25, 321 "device-pixel-ratio": 1.25,
276 "vertical": { 322 "vertical": {
277 "width": 384, 323 "width": 384,
278 "height": 640 324 "height": 640
279 } 325 }
280 }, 326 },
281 "capabilities": [ 327 "capabilities": [
282 "touch", 328 "touch",
283 "mobile" 329 "mobile"
284 ], 330 ],
285 "user-agent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS 323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Ch rome/30.0.1599.103 Mobile Safari/537.36", 331 "user-agent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS 323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Ch rome/30.0.1599.103 Mobile Safari/537.36",
286 "type": "phone" 332 "type": "phone",
333 "modes": [
334 {
335 "title": "default",
336 "orientation": "vertical",
337 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
338 },
339 {
340 "title": "default",
341 "orientation": "horizontal",
342 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
343 }
344 ]
287 } 345 }
288 }, 346 },
289 { 347 {
290 "type": "emulated-device", 348 "type": "emulated-device",
291 "device": { 349 "device": {
292 "show-by-default": true, 350 "show-by-default": true,
293 "modes": [],
294 "title": "Nokia N9", 351 "title": "Nokia N9",
295 "screen": { 352 "screen": {
296 "horizontal": { 353 "horizontal": {
297 "width": 640, 354 "width": 640,
298 "height": 360 355 "height": 360
299 }, 356 },
300 "device-pixel-ratio": 1, 357 "device-pixel-ratio": 1,
301 "vertical": { 358 "vertical": {
302 "width": 360, 359 "width": 360,
303 "height": 640 360 "height": 640
304 } 361 }
305 }, 362 },
306 "capabilities": [ 363 "capabilities": [
307 "touch", 364 "touch",
308 "mobile" 365 "mobile"
309 ], 366 ],
310 "user-agent": "Mozilla/5.0 (MeeGo; NokiaN9) AppleWebKit/534.13 ( KHTML, like Gecko) NokiaBrowser/8.5.0 Mobile Safari/534.13", 367 "user-agent": "Mozilla/5.0 (MeeGo; NokiaN9) AppleWebKit/534.13 ( KHTML, like Gecko) NokiaBrowser/8.5.0 Mobile Safari/534.13",
311 "type": "phone" 368 "type": "phone",
369 "modes": [
370 {
371 "title": "default",
372 "orientation": "vertical",
373 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
374 },
375 {
376 "title": "default",
377 "orientation": "horizontal",
378 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
379 }
380 ]
312 } 381 }
313 }, 382 },
314 { 383 {
315 "type": "emulated-device", 384 "type": "emulated-device",
316 "device": { 385 "device": {
317 "show-by-default": true, 386 "show-by-default": true,
318 "modes": [],
319 "title": "Nokia Lumia 520", 387 "title": "Nokia Lumia 520",
320 "screen": { 388 "screen": {
321 "horizontal": { 389 "horizontal": {
322 "width": 533, 390 "width": 533,
323 "height": 320 391 "height": 320
324 }, 392 },
325 "device-pixel-ratio": 1.4, 393 "device-pixel-ratio": 1.4,
326 "vertical": { 394 "vertical": {
327 "width": 320, 395 "width": 320,
328 "height": 533 396 "height": 533
329 } 397 }
330 }, 398 },
331 "capabilities": [ 399 "capabilities": [
332 "touch", 400 "touch",
333 "mobile" 401 "mobile"
334 ], 402 ],
335 "user-agent": "Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 520)", 403 "user-agent": "Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 520)",
336 "type": "phone" 404 "type": "phone",
405 "modes": [
406 {
407 "title": "default",
408 "orientation": "vertical",
409 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
410 },
411 {
412 "title": "default",
413 "orientation": "horizontal",
414 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
415 }
416 ]
337 } 417 }
338 }, 418 },
339 { 419 {
340 "type": "emulated-device", 420 "type": "emulated-device",
341 "device": { 421 "device": {
342 "show-by-default": true, 422 "show-by-default": true,
343 "modes": [],
344 "title": "Samsung Galaxy S III", 423 "title": "Samsung Galaxy S III",
345 "screen": { 424 "screen": {
346 "horizontal": { 425 "horizontal": {
347 "width": 640, 426 "width": 640,
348 "height": 360 427 "height": 360
349 }, 428 },
350 "device-pixel-ratio": 2, 429 "device-pixel-ratio": 2,
351 "vertical": { 430 "vertical": {
352 "width": 360, 431 "width": 360,
353 "height": 640 432 "height": 640
354 } 433 }
355 }, 434 },
356 "capabilities": [ 435 "capabilities": [
357 "touch", 436 "touch",
358 "mobile" 437 "mobile"
359 ], 438 ],
360 "user-agent": "Mozilla/5.0 (Linux; U; Android 4.0; en-us; GT-I93 00 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safar i/534.30", 439 "user-agent": "Mozilla/5.0 (Linux; U; Android 4.0; en-us; GT-I93 00 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safar i/534.30",
361 "type": "phone" 440 "type": "phone",
441 "modes": [
442 {
443 "title": "default",
444 "orientation": "vertical",
445 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
446 },
447 {
448 "title": "default",
449 "orientation": "horizontal",
450 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
451 }
452 ]
362 } 453 }
363 }, 454 },
364 { 455 {
365 "type": "emulated-device", 456 "type": "emulated-device",
366 "device": { 457 "device": {
367 "show-by-default": true, 458 "show-by-default": true,
368 "modes": [],
369 "title": "Samsung Galaxy S4", 459 "title": "Samsung Galaxy S4",
370 "screen": { 460 "screen": {
371 "horizontal": { 461 "horizontal": {
372 "width": 640, 462 "width": 640,
373 "height": 360 463 "height": 360
374 }, 464 },
375 "device-pixel-ratio": 3, 465 "device-pixel-ratio": 3,
376 "vertical": { 466 "vertical": {
377 "width": 360, 467 "width": 360,
378 "height": 640 468 "height": 640
379 } 469 }
380 }, 470 },
381 "capabilities": [ 471 "capabilities": [
382 "touch", 472 "touch",
383 "mobile" 473 "mobile"
384 ], 474 ],
385 "user-agent": "Mozilla/5.0 (Linux; Android 4.2.2; GT-I9505 Build /JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.59 Mobile Safari /537.36", 475 "user-agent": "Mozilla/5.0 (Linux; Android 4.2.2; GT-I9505 Build /JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.59 Mobile Safari /537.36",
386 "type": "phone" 476 "type": "phone",
477 "modes": [
478 {
479 "title": "default",
480 "orientation": "vertical",
481 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
482 },
483 {
484 "title": "default",
485 "orientation": "horizontal",
486 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
487 }
488 ]
387 } 489 }
388 }, 490 },
389 { 491 {
390 "type": "emulated-device", 492 "type": "emulated-device",
391 "device": { 493 "device": {
392 "show-by-default": true, 494 "show-by-default": true,
393 "modes": [],
394 "title": "Amazon Kindle Fire HDX", 495 "title": "Amazon Kindle Fire HDX",
395 "screen": { 496 "screen": {
396 "horizontal": { 497 "horizontal": {
397 "width": 2560, 498 "width": 2560,
398 "height": 1600 499 "height": 1600
399 }, 500 },
400 "device-pixel-ratio": 2, 501 "device-pixel-ratio": 2,
401 "vertical": { 502 "vertical": {
402 "width": 1600, 503 "width": 1600,
403 "height": 2560 504 "height": 2560
404 } 505 }
405 }, 506 },
406 "capabilities": [ 507 "capabilities": [
407 "touch", 508 "touch",
408 "mobile" 509 "mobile"
409 ], 510 ],
410 "user-agent": "Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated =true", 511 "user-agent": "Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated =true",
411 "type": "tablet" 512 "type": "tablet",
513 "modes": [
514 {
515 "title": "default",
516 "orientation": "vertical",
517 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
518 },
519 {
520 "title": "default",
521 "orientation": "horizontal",
522 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
523 }
524 ]
412 } 525 }
413 }, 526 },
414 { 527 {
415 "type": "emulated-device", 528 "type": "emulated-device",
416 "device": { 529 "device": {
417 "show-by-default": true, 530 "show-by-default": true,
418 "modes": [],
419 "title": "Apple iPad Mini", 531 "title": "Apple iPad Mini",
420 "screen": { 532 "screen": {
421 "horizontal": { 533 "horizontal": {
422 "width": 1024, 534 "width": 1024,
423 "height": 768 535 "height": 768
424 }, 536 },
425 "device-pixel-ratio": 2, 537 "device-pixel-ratio": 2,
426 "vertical": { 538 "vertical": {
427 "width": 768, 539 "width": 768,
428 "height": 1024 540 "height": 1024
429 } 541 }
430 }, 542 },
431 "capabilities": [ 543 "capabilities": [
432 "touch", 544 "touch",
433 "mobile" 545 "mobile"
434 ], 546 ],
435 "user-agent": "Mozilla/5.0 (iPad; CPU OS 7_0_4 like Mac OS X) Ap pleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11B554a Safari/9537.53 ", 547 "user-agent": "Mozilla/5.0 (iPad; CPU OS 7_0_4 like Mac OS X) Ap pleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11B554a Safari/9537.53 ",
436 "type": "tablet" 548 "type": "tablet",
549 "modes": [
550 {
551 "title": "default",
552 "orientation": "vertical",
553 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
554 },
555 {
556 "title": "default",
557 "orientation": "horizontal",
558 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
559 }
560 ]
437 } 561 }
438 }, 562 },
439 { 563 {
440 "type": "emulated-device", 564 "type": "emulated-device",
441 "device": { 565 "device": {
442 "show-by-default": true, 566 "show-by-default": true,
443 "modes": [],
444 "title": "Apple iPad", 567 "title": "Apple iPad",
445 "screen": { 568 "screen": {
446 "horizontal": { 569 "horizontal": {
447 "width": 1024, 570 "width": 1024,
448 "height": 768 571 "height": 768
449 }, 572 },
450 "device-pixel-ratio": 2, 573 "device-pixel-ratio": 2,
451 "vertical": { 574 "vertical": {
452 "width": 768, 575 "width": 768,
453 "height": 1024 576 "height": 1024
454 } 577 }
455 }, 578 },
456 "capabilities": [ 579 "capabilities": [
457 "touch", 580 "touch",
458 "mobile" 581 "mobile"
459 ], 582 ],
460 "user-agent": "Mozilla/5.0 (iPad; CPU OS 7_0 like Mac OS X) Appl eWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53", 583 "user-agent": "Mozilla/5.0 (iPad; CPU OS 7_0 like Mac OS X) Appl eWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53",
461 "type": "tablet" 584 "type": "tablet",
585 "modes": [
586 {
587 "title": "default",
588 "orientation": "vertical",
589 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
590 },
591 {
592 "title": "default",
593 "orientation": "horizontal",
594 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
595 }
596 ]
462 } 597 }
463 }, 598 },
464 { 599 {
465 "type": "emulated-device", 600 "type": "emulated-device",
466 "device": { 601 "device": {
467 "show-by-default": true, 602 "show-by-default": true,
468 "modes": [],
469 "title": "BlackBerry PlayBook", 603 "title": "BlackBerry PlayBook",
470 "screen": { 604 "screen": {
471 "horizontal": { 605 "horizontal": {
472 "width": 1024, 606 "width": 1024,
473 "height": 600 607 "height": 600
474 }, 608 },
475 "device-pixel-ratio": 1, 609 "device-pixel-ratio": 1,
476 "vertical": { 610 "vertical": {
477 "width": 600, 611 "width": 600,
478 "height": 1024 612 "height": 1024
479 } 613 }
480 }, 614 },
481 "capabilities": [ 615 "capabilities": [
482 "touch", 616 "touch",
483 "mobile" 617 "mobile"
484 ], 618 ],
485 "user-agent": "Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en -US) AppleWebKit/536.2+ (KHTML like Gecko) Version/7.2.1.0 Safari/536.2+", 619 "user-agent": "Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en -US) AppleWebKit/536.2+ (KHTML like Gecko) Version/7.2.1.0 Safari/536.2+",
486 "type": "tablet" 620 "type": "tablet",
621 "modes": [
622 {
623 "title": "default",
624 "orientation": "vertical",
625 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
626 },
627 {
628 "title": "default",
629 "orientation": "horizontal",
630 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
631 }
632 ]
487 } 633 }
488 }, 634 },
489 { 635 {
490 "type": "emulated-device", 636 "type": "emulated-device",
491 "device": { 637 "device": {
492 "show-by-default": true, 638 "show-by-default": true,
493 "modes": [],
494 "title": "Google Nexus 10", 639 "title": "Google Nexus 10",
495 "screen": { 640 "screen": {
496 "horizontal": { 641 "horizontal": {
497 "width": 1280, 642 "width": 1280,
498 "height": 800 643 "height": 800
499 }, 644 },
500 "device-pixel-ratio": 2, 645 "device-pixel-ratio": 2,
501 "vertical": { 646 "vertical": {
502 "width": 800, 647 "width": 800,
503 "height": 1280 648 "height": 1280
504 } 649 }
505 }, 650 },
506 "capabilities": [ 651 "capabilities": [
507 "touch", 652 "touch",
508 "mobile" 653 "mobile"
509 ], 654 ],
510 "user-agent": "Mozilla/5.0 (Linux; Android 4.3; Nexus 10 Build/J SS15Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2307.2 Safari/537.36", 655 "user-agent": "Mozilla/5.0 (Linux; Android 4.3; Nexus 10 Build/J SS15Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2307.2 Safari/537.36",
511 "type": "tablet" 656 "type": "tablet",
657 "modes": [
658 {
659 "title": "default",
660 "orientation": "vertical",
661 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
662 },
663 {
664 "title": "default",
665 "orientation": "horizontal",
666 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
667 }
668 ]
512 } 669 }
513 }, 670 },
514 { 671 {
515 "type": "emulated-device", 672 "type": "emulated-device",
516 "device": { 673 "device": {
517 "show-by-default": true, 674 "show-by-default": true,
518 "modes": [],
519 "title": "Google Nexus 7", 675 "title": "Google Nexus 7",
520 "screen": { 676 "screen": {
521 "horizontal": { 677 "horizontal": {
522 "width": 960, 678 "width": 960,
523 "height": 600 679 "height": 600
524 }, 680 },
525 "device-pixel-ratio": 2, 681 "device-pixel-ratio": 2,
526 "vertical": { 682 "vertical": {
527 "width": 600, 683 "width": 600,
528 "height": 960 684 "height": 960
529 } 685 }
530 }, 686 },
531 "capabilities": [ 687 "capabilities": [
532 "touch", 688 "touch",
533 "mobile" 689 "mobile"
534 ], 690 ],
535 "user-agent": "Mozilla/5.0 (Linux; Android 4.3; Nexus 7 Build/JS S15Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2307.2 Safari/537.36", 691 "user-agent": "Mozilla/5.0 (Linux; Android 4.3; Nexus 7 Build/JS S15Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2307.2 Safari/537.36",
536 "type": "tablet" 692 "type": "tablet",
693 "modes": [
694 {
695 "title": "default",
696 "orientation": "vertical",
697 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
698 },
699 {
700 "title": "default",
701 "orientation": "horizontal",
702 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
703 }
704 ]
537 } 705 }
538 }, 706 },
539 { 707 {
540 "type": "emulated-device", 708 "type": "emulated-device",
541 "device": { 709 "device": {
542 "show-by-default": true, 710 "show-by-default": true,
543 "modes": [],
544 "title": "Samsung Galaxy Note 3", 711 "title": "Samsung Galaxy Note 3",
545 "screen": { 712 "screen": {
546 "horizontal": { 713 "horizontal": {
547 "width": 640, 714 "width": 640,
548 "height": 360 715 "height": 360
549 }, 716 },
550 "device-pixel-ratio": 3, 717 "device-pixel-ratio": 3,
551 "vertical": { 718 "vertical": {
552 "width": 360, 719 "width": 360,
553 "height": 640 720 "height": 640
554 } 721 }
555 }, 722 },
556 "capabilities": [ 723 "capabilities": [
557 "touch", 724 "touch",
558 "mobile" 725 "mobile"
559 ], 726 ],
560 "user-agent": "Mozilla/5.0 (Linux; U; Android 4.3; en-us; SM-N90 0T Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safar i/534.30", 727 "user-agent": "Mozilla/5.0 (Linux; U; Android 4.3; en-us; SM-N90 0T Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safar i/534.30",
561 "type": "phone" 728 "type": "phone",
729 "modes": [
730 {
731 "title": "default",
732 "orientation": "vertical",
733 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
734 },
735 {
736 "title": "default",
737 "orientation": "horizontal",
738 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
739 }
740 ]
562 } 741 }
563 }, 742 },
564 { 743 {
565 "type": "emulated-device", 744 "type": "emulated-device",
566 "device": { 745 "device": {
567 "show-by-default": true, 746 "show-by-default": true,
568 "modes": [],
569 "title": "Samsung Galaxy Note II", 747 "title": "Samsung Galaxy Note II",
570 "screen": { 748 "screen": {
571 "horizontal": { 749 "horizontal": {
572 "width": 640, 750 "width": 640,
573 "height": 360 751 "height": 360
574 }, 752 },
575 "device-pixel-ratio": 2, 753 "device-pixel-ratio": 2,
576 "vertical": { 754 "vertical": {
577 "width": 360, 755 "width": 360,
578 "height": 640 756 "height": 640
579 } 757 }
580 }, 758 },
581 "capabilities": [ 759 "capabilities": [
582 "touch", 760 "touch",
583 "mobile" 761 "mobile"
584 ], 762 ],
585 "user-agent": "Mozilla/5.0 (Linux; U; Android 4.1; en-us; GT-N71 00 Build/JRO03C) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safar i/534.30", 763 "user-agent": "Mozilla/5.0 (Linux; U; Android 4.1; en-us; GT-N71 00 Build/JRO03C) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safar i/534.30",
586 "type": "phone" 764 "type": "phone",
765 "modes": [
766 {
767 "title": "default",
768 "orientation": "vertical",
769 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
770 },
771 {
772 "title": "default",
773 "orientation": "horizontal",
774 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
775 }
776 ]
587 } 777 }
588 }, 778 },
589 { 779 {
590 "type": "emulated-device", 780 "type": "emulated-device",
591 "device": { 781 "device": {
592 "show-by-default": true, 782 "show-by-default": true,
593 "modes": [],
594 "title": "Laptop with touch", 783 "title": "Laptop with touch",
595 "screen": { 784 "screen": {
596 "horizontal": { 785 "horizontal": {
597 "width": 1280, 786 "width": 1280,
598 "height": 950 787 "height": 950
599 }, 788 },
600 "device-pixel-ratio": 1, 789 "device-pixel-ratio": 1,
601 "vertical": { 790 "vertical": {
602 "width": 950, 791 "width": 950,
603 "height": 1280 792 "height": 1280
604 } 793 }
605 }, 794 },
606 "capabilities": [ 795 "capabilities": [
607 "touch" 796 "touch"
608 ], 797 ],
609 "user-agent": "", 798 "user-agent": "",
610 "type": "notebook" 799 "type": "notebook",
800 "modes": [
801 {
802 "title": "default",
803 "orientation": "horizontal",
804 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
805 }
806 ]
611 } 807 }
612 }, 808 },
613 { 809 {
614 "type": "emulated-device", 810 "type": "emulated-device",
615 "device": { 811 "device": {
616 "show-by-default": true, 812 "show-by-default": true,
617 "modes": [],
618 "title": "Laptop with HiDPI screen", 813 "title": "Laptop with HiDPI screen",
619 "screen": { 814 "screen": {
620 "horizontal": { 815 "horizontal": {
621 "width": 1440, 816 "width": 1440,
622 "height": 900 817 "height": 900
623 }, 818 },
624 "device-pixel-ratio": 2, 819 "device-pixel-ratio": 2,
625 "vertical": { 820 "vertical": {
626 "width": 900, 821 "width": 900,
627 "height": 1440 822 "height": 1440
628 } 823 }
629 }, 824 },
630 "capabilities": [], 825 "capabilities": [],
631 "user-agent": "", 826 "user-agent": "",
632 "type": "notebook" 827 "type": "notebook",
828 "modes": [
829 {
830 "title": "default",
831 "orientation": "horizontal",
832 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
833 }
834 ]
633 } 835 }
634 }, 836 },
635 { 837 {
636 "type": "emulated-device", 838 "type": "emulated-device",
637 "device": { 839 "device": {
638 "show-by-default": true, 840 "show-by-default": true,
639 "modes": [],
640 "title": "Laptop with MDPI screen", 841 "title": "Laptop with MDPI screen",
641 "screen": { 842 "screen": {
642 "horizontal": { 843 "horizontal": {
643 "width": 1280, 844 "width": 1280,
644 "height": 800 845 "height": 800
645 }, 846 },
646 "device-pixel-ratio": 1, 847 "device-pixel-ratio": 1,
647 "vertical": { 848 "vertical": {
648 "width": 800, 849 "width": 800,
649 "height": 1280 850 "height": 1280
650 } 851 }
651 }, 852 },
652 "capabilities": [], 853 "capabilities": [],
653 "user-agent": "", 854 "user-agent": "",
654 "type": "notebook" 855 "type": "notebook",
856 "modes": [
857 {
858 "title": "default",
859 "orientation": "horizontal",
860 "insets": { "left": 0, "top": 0, "right": 0, "bottom": 0 }
861 }
862 ]
655 } 863 }
656 } 864 }
657 ], 865 ],
658 "dependencies": [ 866 "dependencies": [
659 "emulation" 867 "emulation"
660 ], 868 ],
661 "scripts": [ 869 "scripts": [
662 ], 870 ],
663 "resources": [ 871 "resources": [
664 ] 872 ]
665 } 873 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/common/Geometry.js ('k') | Source/devtools/front_end/emulation/DevicesSettingsTab.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698