Lines Matching refs:gfx

14     gfx::Rect window_bounds;
15 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx::Rect(),
16 gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds);
17 EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels,
24 gfx::Rect window_bounds;
25 GetWindowBounds(p1024x768, taskbar_bottom_work_area, gfx::Rect(),
26 gfx::Rect(), gfx::Rect(), DEFAULT, NULL, gfx::Rect(),
28 EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels,
36 gfx::Rect window_bounds;
37 GetWindowBounds(p1024x768, taskbar_right_work_area, gfx::Rect(),
38 gfx::Rect(), gfx::Rect(), DEFAULT, NULL, gfx::Rect(),
40 EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels,
47 gfx::Rect window_bounds;
48 GetWindowBounds(p1024x768, taskbar_left_work_area, gfx::Rect(),
49 gfx::Rect(), gfx::Rect(), DEFAULT, NULL, gfx::Rect(),
51 EXPECT_EQ(gfx::Rect(taskbar_left_work_area.x() + kWindowTilePixels,
60 gfx::Rect window_bounds;
61 GetWindowBounds(p1024x768, taskbar_top_work_area, gfx::Rect(),
62 gfx::Rect(), gfx::Rect(), DEFAULT, NULL, gfx::Rect(),
64 EXPECT_EQ(gfx::Rect(kWindowTilePixels,
72 gfx::Rect window_bounds;
73 GetWindowBounds(p1280x1024, p1280x1024, gfx::Rect(), gfx::Rect(),
74 gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds);
75 EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels,
82 gfx::Rect window_bounds;
83 GetWindowBounds(p1600x1200, p1600x1200, gfx::Rect(), gfx::Rect(),
84 gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds);
85 EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels,
92 gfx::Rect window_bounds;
93 GetWindowBounds(p1680x1050, p1680x1050, gfx::Rect(), gfx::Rect(),
94 gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds);
95 EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels,
102 gfx::Rect window_bounds;
103 GetWindowBounds(p1920x1200, p1920x1200, gfx::Rect(), gfx::Rect(),
104 gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds);
105 EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels,
116 gfx::Rect window_bounds;
117 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
118 gfx::Rect(kWindowTilePixels, kWindowTilePixels, 500, 400),
119 gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(),
121 EXPECT_EQ(gfx::Rect(kWindowTilePixels * 2,
126 gfx::Rect window_bounds;
127 GetWindowBounds(p1024x768, taskbar_top_work_area, gfx::Rect(),
128 gfx::Rect(kWindowTilePixels, kWindowTilePixels, 500, 400),
129 gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(),
131 EXPECT_EQ(gfx::Rect(kWindowTilePixels * 2,
138 gfx::Rect window_bounds;
139 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
140 gfx::Rect(kWindowTilePixels, kWindowTilePixels, 29, 29),
141 gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(),
143 EXPECT_EQ(gfx::Rect(kWindowTilePixels * 2,
152 gfx::Rect window_bounds;
153 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
154 gfx::Rect(kWindowTilePixels, kWindowTilePixels, 500, 400),
155 gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(),
157 EXPECT_EQ(gfx::Rect(kWindowTilePixels * 2,
165 gfx::Rect initial_bounds(kWindowTilePixels, kWindowTilePixels, 500, 400);
167 gfx::Rect window_bounds;
168 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), initial_bounds,
169 gfx::Rect(), PERSISTED, NULL, gfx::Rect(), &window_bounds);
174 gfx::Rect initial_bounds(0, 0, 1024, 768);
176 gfx::Rect window_bounds;
177 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), initial_bounds,
178 gfx::Rect(), PERSISTED, NULL, gfx::Rect(), &window_bounds);
183 gfx::Rect initial_bounds(-600, 10, 500, 400);
185 gfx::Rect window_bounds;
187 initial_bounds, gfx::Rect(), PERSISTED, NULL, gfx::Rect(),
193 gfx::Rect initial_bounds(-1024, 0, 1024, 768);
195 gfx::Rect window_bounds;
197 initial_bounds, gfx::Rect(), PERSISTED, NULL, gfx::Rect(),
205 gfx::Rect initial_bounds(1074, 50, 600, 500);
207 gfx::Rect window_bounds;
208 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(1024, 0, 800, 600),
210 gfx::Rect(), &window_bounds);
217 gfx::Rect initial_bounds(1274, 50, 600, 500);
219 gfx::Rect window_bounds;
220 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(1024, 0, 800, 600),
222 NULL, gfx::Rect(), &window_bounds);
229 gfx::Rect initial_bounds(1274, 50, 900, 700);
231 gfx::Rect window_bounds;
232 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(1024, 0, 800, 600),
234 NULL, gfx::Rect(), &window_bounds);
239 gfx::Rect window_bounds;
240 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
241 gfx::Rect(kWindowTilePixels, kWindowTilePixels, 29, 29),
242 gfx::Rect(), PERSISTED, NULL, gfx::Rect(), &window_bounds);
243 EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels,
253 gfx::Rect window_bounds;
254 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
255 gfx::Rect(kWindowTilePixels, kWindowTilePixels, 30, 5000),
256 gfx::Rect(), PERSISTED, NULL, gfx::Rect(), &window_bounds);
272 gfx::Rect window_bounds;
273 GetWindowBounds(p1024x768, taskbar_left_work_area, gfx::Rect(),
274 gfx::Rect(kWindowTilePixels, kWindowTilePixels, 500, 400),
275 gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(),
277 EXPECT_EQ(gfx::Rect(taskbar_left_work_area.x(),
282 gfx::Rect window_bounds;
283 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
284 gfx::Rect(10, 729, 500, 400), gfx::Rect(), LAST_ACTIVE,
285 NULL, gfx::Rect(), &window_bounds);
286 EXPECT_EQ(gfx::Rect(10 + kWindowTilePixels,
293 gfx::Rect window_bounds;
294 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
295 gfx::Rect(985, 10, 500, 400), gfx::Rect(), LAST_ACTIVE,
296 NULL, gfx::Rect(), &window_bounds);
297 EXPECT_EQ(gfx::Rect(0 /* not 985 + kWindowTilePixels*/,
304 gfx::Rect window_bounds;
305 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
306 gfx::Rect(985, 729, 500, 400), gfx::Rect(), LAST_ACTIVE,
307 NULL, gfx::Rect(), &window_bounds);
308 EXPECT_EQ(gfx::Rect(0 /* not 985 + kWindowTilePixels*/,
317 gfx::Rect window_bounds;
318 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
319 gfx::Rect(-471, 50, 500, 400), gfx::Rect(), PERSISTED,
320 NULL, gfx::Rect(), &window_bounds);
321 EXPECT_EQ(gfx::Rect(0 /* not -471 */, 50, 500, 400), window_bounds);
325 gfx::Rect window_bounds;
326 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
327 gfx::Rect(50, -370, 500, 400), gfx::Rect(), PERSISTED,
328 NULL, gfx::Rect(), &window_bounds);
329 EXPECT_EQ(gfx::Rect(50, 0, 500, 400), window_bounds);
333 gfx::Rect window_bounds;
334 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
335 gfx::Rect(995, 50, 500, 400), gfx::Rect(), PERSISTED,
336 NULL, gfx::Rect(), &window_bounds);
337 EXPECT_EQ(gfx::Rect(0 /* not 995 */, 50, 500, 400), window_bounds);
341 gfx::Rect window_bounds;
342 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
343 gfx::Rect(50, 739, 500, 400), gfx::Rect(), PERSISTED,
344 NULL, gfx::Rect(), &window_bounds);
345 EXPECT_EQ(gfx::Rect(50, 0 /* not 739 */, 500, 400), window_bounds);
349 gfx::Rect window_bounds;
350 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
351 gfx::Rect(-471, -371, 500, 400), gfx::Rect(), PERSISTED,
352 NULL, gfx::Rect(), &window_bounds);
353 EXPECT_EQ(gfx::Rect(0 /* not -471 */, 0 /* not -371 */, 500, 400),
358 gfx::Rect window_bounds;
359 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
360 gfx::Rect(995, -371, 500, 400), gfx::Rect(), PERSISTED,
361 NULL, gfx::Rect(), &window_bounds);
362 EXPECT_EQ(gfx::Rect(0 /* not 995 */, 0 /* not -371 */, 500, 400),
367 gfx::Rect window_bounds;
368 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
369 gfx::Rect(-471, 739, 500, 400), gfx::Rect(), PERSISTED,
370 NULL, gfx::Rect(), &window_bounds);
371 EXPECT_EQ(gfx::Rect(0 /* not -471 */, 0 /* not 739 */, 500, 400),
376 gfx::Rect window_bounds;
377 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
378 gfx::Rect(995, 739, 500, 400), gfx::Rect(), PERSISTED,
379 NULL, gfx::Rect(), &window_bounds);
380 EXPECT_EQ(gfx::Rect(0 /* not 995 */, 0 /* not 739 */, 500, 400),
385 gfx::Rect window_bounds;
386 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
387 gfx::Rect(-700, 50, 500, 400), gfx::Rect(), PERSISTED,
388 NULL, gfx::Rect(), &window_bounds);
389 EXPECT_EQ(gfx::Rect(0 /* not -700 */, 50, 500, 400), window_bounds);
393 gfx::Rect window_bounds;
394 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
395 gfx::Rect(-700, 50, 500, 400), left_s1024x768,
396 PERSISTED, NULL, gfx::Rect(), &window_bounds);
397 EXPECT_EQ(gfx::Rect(0, 50, 500, 400), window_bounds);
401 gfx::Rect window_bounds;
402 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
403 gfx::Rect(50, -500, 500, 400), gfx::Rect(), PERSISTED,
404 NULL, gfx::Rect(), &window_bounds);
405 EXPECT_EQ(gfx::Rect(50, 0, 500, 400), window_bounds);
409 gfx::Rect window_bounds;
410 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
411 gfx::Rect(50, -500, 500, 400), top_s1024x768, PERSISTED,
412 NULL, gfx::Rect(), &window_bounds);
413 EXPECT_EQ(gfx::Rect(50, 0, 500, 400), window_bounds);
417 gfx::Rect window_bounds;
418 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
419 gfx::Rect(1200, 50, 500, 400), gfx::Rect(), PERSISTED,
420 NULL, gfx::Rect(), &window_bounds);
421 EXPECT_EQ(gfx::Rect(0 /* not 1200 */, 50, 500, 400), window_bounds);
425 gfx::Rect window_bounds;
426 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
427 gfx::Rect(1200, 50, 500, 400), right_s1024x768, PERSISTED,
428 NULL, gfx::Rect(), &window_bounds);
429 EXPECT_EQ(gfx::Rect(524 /* not 1200 */, 50, 500, 400), window_bounds);
433 gfx::Rect window_bounds;
434 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
435 gfx::Rect(50, 800, 500, 400), gfx::Rect(), PERSISTED,
436 NULL, gfx::Rect(), &window_bounds);
437 EXPECT_EQ(gfx::Rect(50, 0 /* not 800 */, 500, 400), window_bounds);
441 gfx::Rect window_bounds;
442 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
443 gfx::Rect(50, 800, 500, 400), bottom_s1024x768,
444 PERSISTED, NULL, gfx::Rect(), &window_bounds);
445 EXPECT_EQ(gfx::Rect(50, 368 /* not 800 */, 500, 400), window_bounds);
449 gfx::Rect window_bounds;
450 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
451 gfx::Rect(-100, 50, 2000, 400), gfx::Rect(), PERSISTED,
452 NULL, gfx::Rect(), &window_bounds);
453 EXPECT_EQ(gfx::Rect(0 /* not -100 */, 50, 2000, 400), window_bounds);
459 gfx::Rect window_bounds;
460 GetWindowBounds(p1024x768, taskbar_left_work_area, gfx::Rect(),
461 gfx::Rect(kWindowTilePixels, kWindowTilePixels, 500, 400),
462 gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(),
464 EXPECT_EQ(gfx::Rect(kWindowTilePixels * 2,
472 gfx::Rect window_bounds;
473 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
474 gfx::Rect(10, 728, 500, 400), gfx::Rect(), LAST_ACTIVE,
475 NULL, gfx::Rect(), &window_bounds);
476 EXPECT_EQ(gfx::Rect(10 + kWindowTilePixels, 738,
482 gfx::Rect window_bounds;
483 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
484 gfx::Rect(10, 729, 500, 400), gfx::Rect(), LAST_ACTIVE,
485 NULL, gfx::Rect(), &window_bounds);
486 EXPECT_EQ(gfx::Rect(10 + kWindowTilePixels, 738 /* not 739 */, 500, 400),
492 gfx::Rect window_bounds;
493 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
494 gfx::Rect(984, 10, 500, 400), gfx::Rect(), LAST_ACTIVE,
495 NULL, gfx::Rect(), &window_bounds);
496 EXPECT_EQ(gfx::Rect(994, 10 + kWindowTilePixels, 500, 400), window_bounds);
501 gfx::Rect window_bounds;
502 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
503 gfx::Rect(985, 10, 500, 400), gfx::Rect(), LAST_ACTIVE,
504 NULL, gfx::Rect(), &window_bounds);
505 EXPECT_EQ(gfx::Rect(994 /* not 995 */, 10 + kWindowTilePixels,
511 gfx::Rect window_bounds;
512 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(),
513 gfx::Rect(985, 729, 500, 400), gfx::Rect(), LAST_ACTIVE,
514 NULL, gfx::Rect(), &window_bounds);
515 EXPECT_EQ(gfx::Rect(994 /* not 995 */, 738 /* not 739 */, 500, 400),