/external/chromium_org/chrome/browser/ui/window_sizer/ |
H A D | window_sizer_unittest.cc | 14 gfx::Rect window_bounds; local 16 gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds); 20 window_bounds); local 24 gfx::Rect window_bounds; local 27 &window_bounds); 32 window_bounds); local 36 gfx::Rect window_bounds; local 39 &window_bounds); 43 window_bounds); local 47 gfx::Rect window_bounds; local 56 window_bounds); local 60 gfx::Rect window_bounds; local 68 window_bounds); local 72 gfx::Rect window_bounds; local 78 window_bounds); local 82 gfx::Rect window_bounds; local 88 window_bounds); local 92 gfx::Rect window_bounds; local 98 window_bounds); local 102 gfx::Rect window_bounds; local 108 window_bounds); local 116 gfx::Rect window_bounds; local 126 gfx::Rect window_bounds; local 138 gfx::Rect window_bounds; local 152 gfx::Rect window_bounds; local 167 gfx::Rect window_bounds; local 176 gfx::Rect window_bounds; local 185 gfx::Rect window_bounds; local 195 gfx::Rect window_bounds; local 207 gfx::Rect window_bounds; local 219 gfx::Rect window_bounds; local 231 gfx::Rect window_bounds; local 239 gfx::Rect window_bounds; local 245 window_bounds); local 253 gfx::Rect window_bounds; local 272 gfx::Rect window_bounds; local 278 kWindowTilePixels * 2, 500, 400), window_bounds); local 282 gfx::Rect window_bounds; local 293 gfx::Rect window_bounds; local 304 gfx::Rect window_bounds; local 317 gfx::Rect window_bounds; local 325 gfx::Rect window_bounds; local 333 gfx::Rect window_bounds; local 341 gfx::Rect window_bounds; local 349 gfx::Rect window_bounds; local 358 gfx::Rect window_bounds; local 367 gfx::Rect window_bounds; local 376 gfx::Rect window_bounds; local 385 gfx::Rect window_bounds; local 393 gfx::Rect window_bounds; local 401 gfx::Rect window_bounds; local 409 gfx::Rect window_bounds; local 417 gfx::Rect window_bounds; local 425 gfx::Rect window_bounds; local 433 gfx::Rect window_bounds; local 441 gfx::Rect window_bounds; local 449 gfx::Rect window_bounds; local 459 gfx::Rect window_bounds; local 472 gfx::Rect window_bounds; local 482 gfx::Rect window_bounds; local 492 gfx::Rect window_bounds; local 501 gfx::Rect window_bounds; local 511 gfx::Rect window_bounds; local [all...] |
H A D | window_sizer_ash_unittest.cc | 110 gfx::Rect window_bounds; local 112 gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds); 117 window_bounds); local 121 gfx::Rect window_bounds; local 124 &window_bounds); 130 window_bounds); local 134 gfx::Rect window_bounds; local 137 &window_bounds); 143 window_bounds); local 147 gfx::Rect window_bounds; local 158 window_bounds); local 162 gfx::Rect window_bounds; local 172 window_bounds); local 176 gfx::Rect window_bounds; local 183 window_bounds); local 187 gfx::Rect window_bounds; local 194 window_bounds); local 198 gfx::Rect window_bounds; local 205 window_bounds); local 209 gfx::Rect window_bounds; local 216 window_bounds); local 224 gfx::Rect window_bounds; local 239 gfx::Rect window_bounds; local 256 gfx::Rect window_bounds; local 273 gfx::Rect window_bounds; local 295 gfx::Rect window_bounds; local 304 gfx::Rect window_bounds; local 313 gfx::Rect window_bounds; local 323 gfx::Rect window_bounds; local 335 gfx::Rect window_bounds; local 347 gfx::Rect window_bounds; local 359 gfx::Rect window_bounds; local 367 gfx::Rect window_bounds; local 388 gfx::Rect window_bounds; local 404 gfx::Rect window_bounds; local 414 gfx::Rect window_bounds; local 427 gfx::Rect window_bounds; local 437 gfx::Rect window_bounds; local 450 gfx::Rect window_bounds; local 503 gfx::Rect window_bounds; local 513 gfx::Rect window_bounds; local 521 gfx::Rect window_bounds; local 564 gfx::Rect window_bounds; local 668 gfx::Rect window_bounds; local 690 gfx::Rect window_bounds; local 708 gfx::Rect window_bounds; local [all...] |
H A D | window_sizer_common_unittest.cc | 269 gfx::Rect window_bounds; local 272 NULL, gfx::Rect(), &window_bounds); 273 EXPECT_EQ(initial_bounds.ToString(), window_bounds.ToString()); 278 gfx::Rect window_bounds; local 281 NULL, gfx::Rect(), &window_bounds); 283 window_bounds.ToString()); 289 gfx::Rect window_bounds; local 292 NULL, gfx::Rect(), &window_bounds); 293 EXPECT_EQ("50,0 500x400", window_bounds.ToString()); 300 gfx::Rect window_bounds; local 309 gfx::Rect window_bounds; local 321 gfx::Rect window_bounds; local 330 gfx::Rect window_bounds; local 339 gfx::Rect window_bounds; local 349 gfx::Rect window_bounds; local 359 gfx::Rect window_bounds; local 372 gfx::Rect window_bounds; local 384 gfx::Rect window_bounds; local 393 gfx::Rect window_bounds; local 401 gfx::Rect window_bounds; local 409 gfx::Rect window_bounds; local 417 gfx::Rect window_bounds; local 426 gfx::Rect window_bounds; local 434 gfx::Rect window_bounds; local 443 gfx::Rect window_bounds; local 455 gfx::Rect window_bounds; local 463 gfx::Rect window_bounds; local [all...] |
/external/chromium_org/ui/views/bubble/ |
H A D | bubble_frame_view_unittest.cc | 59 gfx::Rect window_bounds; local 66 window_bounds = frame.GetUpdatedWindowBounds( 71 EXPECT_GT(window_bounds.x(), xposition); 72 EXPECT_GT(window_bounds.y(), 100 + 50 - 10); // -10 to roughly compensate for 77 window_bounds = frame.GetUpdatedWindowBounds( 82 EXPECT_GT(window_bounds.x(), xposition); 83 EXPECT_GT(window_bounds.y(), 100 + 50 - 10); // -10 to roughly compensate for 88 window_bounds = frame.GetUpdatedWindowBounds( 93 EXPECT_GT(window_bounds.x(), xposition); 94 EXPECT_GT(window_bounds 171 gfx::Rect window_bounds = frame.GetUpdatedWindowBounds( local 183 gfx::Rect window_bounds = frame.GetUpdatedWindowBounds( local 218 gfx::Rect window_bounds = frame.GetUpdatedWindowBounds( local 232 gfx::Rect window_bounds; local [all...] |
H A D | bubble_frame_view.cc | 31 // |window_bounds|. 33 const gfx::Rect& window_bounds, 35 if (available_bounds.IsEmpty() || available_bounds.Contains(window_bounds)) 38 // window_bounds 47 return std::max(0, available_bounds.y() - window_bounds.y()) + 48 std::max(0, window_bounds.bottom() - available_bounds.bottom()); 49 return std::max(0, available_bounds.x() - window_bounds.x()) + 50 std::max(0, window_bounds.right() - available_bounds.right()); 297 gfx::Rect window_bounds(bubble_border_->GetBounds(anchor_rect, client_size)); 298 if (GetOffScreenLength(available_bounds, window_bounds, vertica 32 GetOffScreenLength(const gfx::Rect& available_bounds, const gfx::Rect& window_bounds, bool vertical) argument [all...] |
/external/chromium_org/chrome/browser/ui/blocked_content/ |
H A D | blocked_window_params.cc | 48 nav_params.window_bounds = web_contents->GetContainerBounds(); 50 nav_params.window_bounds.set_x(features_.x); 52 nav_params.window_bounds.set_y(features_.y); 54 nav_params.window_bounds.set_width(features_.width); 56 nav_params.window_bounds.set_height(features_.height);
|
/external/chromium_org/ui/gfx/win/ |
H A D | hwnd_util.cc | 140 RECT window_bounds; local 160 window_bounds.left = center_bounds.left; 162 window_bounds.left += 165 window_bounds.right = window_bounds.left + pref.width(); 167 window_bounds.top = center_bounds.top; 169 window_bounds.top += 172 window_bounds.bottom = window_bounds.top + pref.height(); 179 POINT topleft = { window_bounds [all...] |
/external/chromium_org/ui/keyboard/ |
H A D | keyboard_layout_manager.cc | 17 gfx::Rect window_bounds = controller_->GetContainerWindow()->bounds(); local 22 window_bounds.x(), 23 window_bounds.bottom() - height, 24 window_bounds.width(),
|
H A D | keyboard_util.h | 55 // Gets the default keyboard bounds from |window_bounds|. 57 const gfx::Rect& window_bounds); 59 // Gets the caculated keyboard bounds from |window_bounds|. The keyboard height 62 const gfx::Rect& window_bounds, int keyboard_height);
|
H A D | keyboard_util.cc | 58 const gfx::Rect& window_bounds) { 63 return KeyboardBoundsFromWindowBounds(window_bounds, 0); 66 gfx::Rect KeyboardBoundsFromWindowBounds(const gfx::Rect& window_bounds, argument 69 window_bounds.x(), 70 window_bounds.bottom() - keyboard_height, 71 window_bounds.width(), 57 DefaultKeyboardBoundsFromWindowBounds( const gfx::Rect& window_bounds) argument
|
/external/chromium_org/ui/views/window/ |
H A D | native_frame_view.cc | 45 gfx::Rect window_bounds = client_bounds; 46 if (window_bounds.IsEmpty()) 47 window_bounds.set_size(gfx::Size(1,1)); 48 return window_bounds;
|
/external/chromium_org/ui/platform_window/win/ |
H A D | win_window.cc | 29 gfx::Rect window_bounds(wr.left, wr.top, 31 window_bounds.set_x(std::max(0, window_bounds.x())); 32 window_bounds.set_y(std::max(0, window_bounds.y())); 33 return window_bounds; 44 gfx::Rect window_bounds = GetWindowBoundsForClientBounds( local 46 gfx::WindowImpl::Init(NULL, window_bounds); 72 gfx::Rect window_bounds = GetWindowBoundsForClientBounds( local 76 SetWindowPos(hwnd(), NULL, window_bounds [all...] |
/external/chromium_org/athena/main/ |
H A D | athena_frame_view.cc | 48 gfx::Rect window_bounds = client_bounds; local 49 window_bounds.Inset(-NonClientBorderInsets()); 50 return window_bounds;
|
/external/chromium_org/chrome/browser/ui/views/message_center/ |
H A D | message_center_frame_view.cc | 39 gfx::Rect window_bounds = client_bounds; local 40 window_bounds.Inset(GetInsets()); 41 return window_bounds;
|
/external/chromium_org/extensions/browser/api/app_current_window_internal/ |
H A D | app_current_window_internal_api.cc | 206 gfx::Rect window_bounds = original_window_bounds; local 216 window_bounds.set_x(*bounds_spec.left); 218 window_bounds.set_y(*bounds_spec.top); 220 window_bounds.set_width(*bounds_spec.width + frame_insets.width()); 222 window_bounds.set_height(*bounds_spec.height + frame_insets.height()); 226 GetBoundsFields(bounds_spec, &window_bounds); 230 window_bounds.Inset(frame_insets); 231 GetBoundsFields(bounds_spec, &window_bounds); 232 window_bounds.Inset(-frame_insets); 239 if (original_window_bounds != window_bounds) { [all...] |
/external/chromium_org/ash/wm/panels/ |
H A D | panel_frame_view.cc | 129 gfx::Rect window_bounds = client_bounds; local 130 window_bounds.Inset(0, -NonClientTopBorderHeight(), 0, 0); 131 return window_bounds;
|
/external/chromium_org/ash/wm/ |
H A D | video_detector_unittest.cc | 102 gfx::Rect window_bounds(gfx::Point(), gfx::Size(1024, 768)); 104 CreateTestWindowInShell(SK_ColorRED, 12345, window_bounds)); 171 gfx::Rect window_bounds(gfx::Point(), gfx::Size(1024, 768)); 173 CreateTestWindowInShell(SK_ColorRED, 12345, window_bounds)); 187 gfx::Rect window_bounds(gfx::Point(), gfx::Size(1024, 768)); 189 CreateTestWindowInShell(SK_ColorRED, 12345, window_bounds)); 220 window_bounds.size()); 230 gfx::Rect window_bounds(gfx::Point(), gfx::Size(1024, 768)); 232 CreateTestWindowInShell(SK_ColorRED, 12345, window_bounds)); 234 CreateTestWindowInShell(SK_ColorBLUE, 23456, window_bounds)); [all...] |
/external/chromium_org/chrome/browser/ui/tabs/ |
H A D | test_tab_strip_model_delegate.cc | 23 const gfx::Rect& window_bounds, 21 CreateNewStripWithContents( const std::vector<NewStripContents>& contentses, const gfx::Rect& window_bounds, bool maximize) argument
|
H A D | test_tab_strip_model_delegate.h | 22 const gfx::Rect& window_bounds,
|
/external/chromium_org/components/autofill/content/browser/risk/ |
H A D | fingerprint.h | 48 // system. |window_bounds| should be the bounds of the containing Chrome window. 55 const gfx::Rect& window_bounds,
|
/external/chromium_org/ash/system/tray/ |
H A D | system_tray_unittest.cc | 374 gfx::Rect window_bounds = widget->GetWindowBoundsInScreen(); local 376 EXPECT_TRUE(window_bounds.bottom() >= tray_bounds.bottom()); 377 EXPECT_TRUE(window_bounds.right() >= tray_bounds.right()); 378 EXPECT_TRUE(window_bounds.x() >= tray_bounds.x()); 379 EXPECT_TRUE(window_bounds.y() >= tray_bounds.y()); 383 window_bounds = widget->GetWindowBoundsInScreen(); 385 EXPECT_TRUE(window_bounds.bottom() >= tray_bounds.bottom()); 386 EXPECT_TRUE(window_bounds.right() >= tray_bounds.right()); 387 EXPECT_TRUE(window_bounds.x() >= tray_bounds.x()); 388 EXPECT_TRUE(window_bounds [all...] |
/external/chromium_org/apps/ui/views/ |
H A D | app_window_frame_view.cc | 135 gfx::Rect window_bounds = client_bounds; local 138 // bounds, and grow |window_bounds| by that amount. 142 window_bounds.Inset(native_frame_insets); 148 if (window_bounds.IsEmpty()) { 149 window_bounds.set_width(1); 150 window_bounds.set_height(1); 152 return window_bounds; 157 return gfx::Rect(window_bounds.x(), 158 window_bounds.y() - kCaptionHeight, 159 std::max(header_width, window_bounds [all...] |
/external/chromium_org/ash/wm/workspace/ |
H A D | workspace_layout_manager_unittest.cc | 328 const gfx::Rect& window_bounds(w->bounds()); 329 w->SetBounds(gfx::Rect(window_bounds.x(), shelf_bounds.y() - 1, 330 window_bounds.width(), window_bounds.height())); 403 gfx::Rect window_bounds(100, 100, 200, 200); 405 CreateTestWindowInShellWithBounds(window_bounds)); 406 EXPECT_EQ(window_bounds, window->bounds()); 411 window_bounds.Offset(root_window_bounds.width(), root_window_bounds.height()); 412 ASSERT_FALSE(window_bounds.Intersects(root_window_bounds)); 414 CreateTestWindowInShellWithBounds(window_bounds)); 768 gfx::Rect window_bounds = window->bounds(); local [all...] |
/external/chromium_org/athena/activity/ |
H A D | activity_frame_view.cc | 77 gfx::Rect window_bounds = client_bounds; local 78 window_bounds.Inset(-NonClientBorderInsets()); 79 return window_bounds;
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
H A D | carbonvideorenderer.cc | 96 Rect window_bounds; local 97 GetWindowPortBounds(window_ref_, &window_bounds); 101 int y = window_bounds.bottom - CGImageGetHeight(image_ref);
|