Searched refs:screen_bounds (Results 1 - 25 of 35) sorted by relevance

12

/external/chromium_org/ui/app_list/views/
H A Dspeech_view_unittest.cc56 gfx::Rect screen_bounds(view()->mic_button()->GetBoundsInScreen());
60 screen_bounds.CenterPoint(),
61 screen_bounds.CenterPoint(),
65 screen_bounds.CenterPoint(),
66 screen_bounds.CenterPoint(),
76 gfx::Point bottom_right(screen_bounds.right() - 1,
77 screen_bounds.bottom() - 2);
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dcertificate_manager_dialog.cc49 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size()));
50 SetDialogSize(CalculateSize(screen_bounds.width(),
53 CalculateSize(screen_bounds.height(),
/external/chromium_org/extensions/browser/app_window/
H A Dapp_window_geometry_cache.cc46 const gfx::Rect& screen_bounds,
54 extension_data[window_id].screen_bounds == screen_bounds &&
61 extension_data[window_id].screen_bounds = screen_bounds;
112 const gfx::Rect& screen_bounds = it->second.screen_bounds; local
114 DCHECK(!screen_bounds.IsEmpty());
120 value->SetInteger("screen_bounds_x", screen_bounds.x());
121 value->SetInteger("screen_bounds_y", screen_bounds
43 SaveGeometry(const std::string& extension_id, const std::string& window_id, const gfx::Rect& bounds, const gfx::Rect& screen_bounds, ui::WindowShowState window_state) argument
139 GetGeometry(const std::string& extension_id, const std::string& window_id, gfx::Rect* bounds, gfx::Rect* screen_bounds, ui::WindowShowState* window_state) argument
[all...]
H A Dapp_window_geometry_cache_unittest.cc57 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_bound
116 AddGeometryAndLoadExtension( const std::string& extension_id, const std::string& window_id, const gfx::Rect& bounds, const gfx::Rect& screen_bounds, ui::WindowShowState state) argument
248 gfx::Rect screen_bounds; local
[all...]
H A Dapp_window_geometry_cache.h80 const gfx::Rect& screen_bounds,
84 // |window_id|. If saved data exists, sets |bounds|, |screen_bounds| and
89 gfx::Rect* screen_bounds,
115 gfx::Rect screen_bounds; member in struct:extensions::AppWindowGeometryCache::WindowData
/external/chromium_org/ash/wm/
H A Dlock_layout_manager_unittest.cc119 gfx::Rect screen_bounds = Shell::GetScreen()->GetPrimaryDisplay().bounds(); local
134 EXPECT_NE(screen_bounds.ToString(), window->GetBoundsInScreen().ToString());
142 gfx::Rect screen_bounds = Shell::GetScreen()->GetPrimaryDisplay().bounds(); local
159 EXPECT_EQ(screen_bounds.ToString(),
161 EXPECT_EQ(screen_bounds.ToString(),
170 EXPECT_EQ(screen_bounds.ToString(),
178 EXPECT_EQ(screen_bounds.ToString(),
184 EXPECT_EQ(screen_bounds.ToString(),
186 EXPECT_EQ(screen_bounds.ToString(),
192 gfx::Rect screen_bounds local
256 gfx::Rect screen_bounds = Shell::GetScreen()->GetPrimaryDisplay().bounds(); local
[all...]
/external/chromium_org/chrome/browser/chromeos/login/ui/
H A Dlogin_web_dialog.cc61 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size()));
62 width_ = static_cast<int>(kDefaultWidthRatio * screen_bounds.width());
63 height_ = static_cast<int>(kDefaultHeightRatio * screen_bounds.height());
109 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size()));
110 size->SetSize(kMinimumWidthRatio * screen_bounds.width(),
111 kMinimumHeightRatio * screen_bounds.height());
H A Dproxy_settings_dialog.cc69 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size()));
70 SetDialogSize(CalculateSize(screen_bounds.width(),
73 CalculateSize(screen_bounds.height(),
H A Duser_adding_screen.cc52 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size()));
53 display_host_ = new chromeos::LoginDisplayHostImpl(screen_bounds);
/external/chromium_org/ui/aura/client/
H A Dwindow_tree_client.cc39 const gfx::Rect& screen_bounds) {
46 client->GetDefaultParent(context, window, screen_bounds);
37 ParentWindowWithContext(Window* window, Window* context, const gfx::Rect& screen_bounds) argument
H A Dwindow_tree_client.h48 // |context|, which must not be NULL. |screen_bounds| may be empty.
51 const gfx::Rect& screen_bounds);
/external/chromium_org/mojo/aura/
H A Dscreen_mojo.cc70 ScreenMojo::ScreenMojo(const gfx::Rect& screen_bounds) { argument
73 display_.SetScaleAndBounds(1.0f, screen_bounds);
H A Dscreen_mojo.h45 explicit ScreenMojo(const gfx::Rect& screen_bounds);
/external/chromium_org/athena/home/
H A Dhome_card_gesture_manager.h43 const gfx::Rect& screen_bounds);
H A Dhome_card_impl.cc39 gfx::Rect GetBoundsForState(const gfx::Rect& screen_bounds, argument
46 return screen_bounds;
52 screen_bounds.bottom() - kHomeCardHeight,
53 screen_bounds.width(),
54 screen_bounds.height());
57 screen_bounds.bottom() - kHomeCardMinimizedHeight,
58 screen_bounds.width(),
59 screen_bounds.height());
403 gfx::Rect screen_bounds = local
407 GetBoundsForState(screen_bounds, from_stat
[all...]
H A Dhome_card_gesture_manager.cc34 const gfx::Rect& screen_bounds)
39 screen_bounds_(screen_bounds) {}
33 HomeCardGestureManager(Delegate* delegate, const gfx::Rect& screen_bounds) argument
H A Dhome_card_gesture_manager_unittest.cc33 gesture_manager_.reset(new HomeCardGestureManager(this, screen_bounds()));
59 // the screen if the screen had screen_bounds().
63 home_card_top = screen_bounds().height() - kHomeCardHeight;
65 home_card_top = screen_bounds().height() - kHomeCardMinimizedHeight;
84 return screen_bounds().height();
94 gfx::Rect screen_bounds() const { function in class:athena::HomeCardGestureManagerTest
/external/chromium_org/chrome/browser/ui/pdf/
H A Dpdf_browsertest_base.cc61 gfx::Rect screen_bounds = local
63 ASSERT_GT(screen_bounds.width(), kBrowserWidth);
64 ASSERT_GT(screen_bounds.height(), kBrowserHeight);
/external/chromium_org/chrome/browser/chromeos/login/
H A Dhelp_app_launcher.cc75 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size()));
/external/chromium_org/chrome/browser/ui/views/passwords/
H A Dmanage_passwords_bubble_view.h65 // right (left in RTL) of the |screen_bounds| that contain |web_contents_|'s
68 void AdjustForFullscreen(const gfx::Rect& screen_bounds);
/external/chromium_org/chrome/browser/ui/views/message_center/
H A Dweb_notification_tray.cc74 gfx::Rect screen_bounds = screen->GetPrimaryDisplay().bounds(); local
81 if (work_area.height() < screen_bounds.height()) {
82 if (work_area.y() > screen_bounds.y())
86 if (work_area.width() < screen_bounds.width()) {
87 if (work_area.x() > screen_bounds.x())
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dzoom_bubble_view.cc154 void ZoomBubbleView::AdjustForFullscreen(const gfx::Rect& screen_bounds) { argument
161 screen_bounds.x() + bubble_half_width + kFullscreenPaddingEnd :
162 screen_bounds.right() - bubble_half_width - kFullscreenPaddingEnd;
163 SetAnchorRect(gfx::Rect(x_pos, screen_bounds.y(), 0, 0));
H A Dzoom_bubble_view.h80 // right (left in RTL) of the |screen_bounds| that contain |web_contents_|'s
83 void AdjustForFullscreen(const gfx::Rect& screen_bounds);
/external/chromium_org/ui/aura/test/
H A Dtest_screen.h70 explicit TestScreen(const gfx::Rect& screen_bounds);
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dmode_indicator_browsertest.cc169 const gfx::Rect screen_bounds = local
174 const gfx::Rect cursor3_bounds(100, screen_bounds.bottom() - 25, 1, 20);
182 EXPECT_LT(mi3_bounds.bottom(), screen_bounds.bottom());

Completed in 1331 milliseconds

12