/external/chromium_org/ui/app_list/views/ |
H A D | speech_view_unittest.cc | 56 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 D | certificate_manager_dialog.cc | 49 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 D | app_window_geometry_cache.cc | 46 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 D | app_window_geometry_cache_unittest.cc | 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_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 D | app_window_geometry_cache.h | 80 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 D | lock_layout_manager_unittest.cc | 119 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 D | login_web_dialog.cc | 61 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 D | proxy_settings_dialog.cc | 69 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size())); 70 SetDialogSize(CalculateSize(screen_bounds.width(), 73 CalculateSize(screen_bounds.height(),
|
H A D | user_adding_screen.cc | 52 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size())); 53 display_host_ = new chromeos::LoginDisplayHostImpl(screen_bounds);
|
/external/chromium_org/ui/aura/client/ |
H A D | window_tree_client.cc | 39 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 D | window_tree_client.h | 48 // |context|, which must not be NULL. |screen_bounds| may be empty. 51 const gfx::Rect& screen_bounds);
|
/external/chromium_org/mojo/aura/ |
H A D | screen_mojo.cc | 70 ScreenMojo::ScreenMojo(const gfx::Rect& screen_bounds) { argument 73 display_.SetScaleAndBounds(1.0f, screen_bounds);
|
H A D | screen_mojo.h | 45 explicit ScreenMojo(const gfx::Rect& screen_bounds);
|
/external/chromium_org/athena/home/ |
H A D | home_card_gesture_manager.h | 43 const gfx::Rect& screen_bounds);
|
H A D | home_card_impl.cc | 39 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 D | home_card_gesture_manager.cc | 34 const gfx::Rect& screen_bounds) 39 screen_bounds_(screen_bounds) {} 33 HomeCardGestureManager(Delegate* delegate, const gfx::Rect& screen_bounds) argument
|
H A D | home_card_gesture_manager_unittest.cc | 33 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 D | pdf_browsertest_base.cc | 61 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 D | help_app_launcher.cc | 75 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size()));
|
/external/chromium_org/chrome/browser/ui/views/passwords/ |
H A D | manage_passwords_bubble_view.h | 65 // 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 D | web_notification_tray.cc | 74 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 D | zoom_bubble_view.cc | 154 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 D | zoom_bubble_view.h | 80 // 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 D | test_screen.h | 70 explicit TestScreen(const gfx::Rect& screen_bounds);
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
H A D | mode_indicator_browsertest.cc | 169 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());
|