Lines Matching refs:screen_bounds
57 const gfx::Rect& screen_bounds,
120 const gfx::Rect& screen_bounds,
128 value->SetInteger("screen_bounds_x", screen_bounds.x());
129 value->SetInteger("screen_bounds_y", screen_bounds.y());
130 value->SetInteger("screen_bounds_w", screen_bounds.width());
131 value->SetInteger("screen_bounds_h", screen_bounds.height());
207 // Test that loading geometry, screen_bounds and state from the store works
212 gfx::Rect screen_bounds(0, 0, 1600, 900);
215 extension_id, kWindowId, bounds, screen_bounds, state);
222 ASSERT_EQ(screen_bounds, new_screen_bounds);
230 gfx::Rect screen_bounds(0, 0, 1600, 900);
233 extension_id, kWindowId, bounds, screen_bounds, state);
248 gfx::Rect screen_bounds;
251 extension_id, kWindowId, bounds, screen_bounds, state);
266 gfx::Rect screen_bounds(0, 0, 1600, 900);
269 extension_id, kWindowId, bounds, screen_bounds, state);
280 // Test saving geometry, screen_bounds and state to the cache and state store,
291 gfx::Rect screen_bounds(0, 0, 1600, 900);
293 cache_->SaveGeometry(extension_id, window_id, bounds, screen_bounds, state);
302 ASSERT_EQ(screen_bounds, new_screen_bounds);
324 ASSERT_EQ(screen_bounds.x(), v);
326 ASSERT_EQ(screen_bounds.y(), v);
328 ASSERT_EQ(screen_bounds.width(), v);
330 ASSERT_EQ(screen_bounds.height(), v);
340 ASSERT_EQ(screen_bounds, new_screen_bounds);
414 gfx::Rect screen_bounds(0, 0, 1600, 900);
418 extension_id, window_id, bounds, screen_bounds, ui::SHOW_STATE_NORMAL);