/external/chromium_org/chrome/browser/ui/window_sizer/ |
D | window_sizer_ash.cc | 17 gfx::Rect* bounds_in_screen, in GetTabbedBrowserBoundsAsh() argument 20 DCHECK(bounds_in_screen); in GetTabbedBrowserBoundsAsh() 22 DCHECK(bounds_in_screen->IsEmpty()); in GetTabbedBrowserBoundsAsh() 26 bool is_saved_bounds = GetSavedWindowBounds(bounds_in_screen, show_state); in GetTabbedBrowserBoundsAsh() 29 display = screen_->GetDisplayMatching(*bounds_in_screen); in GetTabbedBrowserBoundsAsh() 34 *bounds_in_screen); in GetTabbedBrowserBoundsAsh() 35 *bounds_in_screen = ash::WindowPositioner::GetDefaultWindowBounds(display); in GetTabbedBrowserBoundsAsh() 49 bounds_in_screen->AdjustToFit(display.work_area()); in GetTabbedBrowserBoundsAsh() 63 bounds_in_screen, in GetTabbedBrowserBoundsAsh()
|
D | window_sizer.h | 167 void GetTabbedBrowserBoundsAsh(gfx::Rect* bounds_in_screen,
|
/external/chromium_org/ash/wm/workspace/ |
D | workspace_event_handler_unittest.cc | 107 gfx::Rect bounds_in_screen = window->GetBoundsInScreen(); in TEST_F() local 108 EXPECT_EQ(restored_bounds.x(), bounds_in_screen.x()); in TEST_F() 109 EXPECT_EQ(restored_bounds.width(), bounds_in_screen.width()); in TEST_F() 110 EXPECT_EQ(work_area.y(), bounds_in_screen.y()); in TEST_F() 111 EXPECT_EQ(work_area.height(), bounds_in_screen.height()); in TEST_F() 119 bounds_in_screen = window->GetBoundsInScreen(); in TEST_F() 120 EXPECT_EQ(restored_bounds.ToString(), bounds_in_screen.ToString()); in TEST_F() 131 bounds_in_screen = window->GetBoundsInScreen(); in TEST_F() 132 EXPECT_EQ(restored_bounds.ToString(), bounds_in_screen.ToString()); in TEST_F() 137 bounds_in_screen = window->GetBoundsInScreen(); in TEST_F() [all …]
|
D | phantom_window_controller.cc | 103 void PhantomWindowController::Show(const gfx::Rect& bounds_in_screen) { in Show() argument 104 if (bounds_in_screen == bounds_in_screen_) in Show() 106 bounds_in_screen_ = bounds_in_screen; in Show() 107 aura::Window* target_root = wm::GetRootWindowMatching(bounds_in_screen); in Show() 176 const gfx::Rect& bounds_in_screen) { in CreatePhantomWidget() argument 196 phantom_widget->SetBounds(bounds_in_screen); in CreatePhantomWidget()
|
D | phantom_window_controller.h | 38 const gfx::Rect& bounds_in_screen() const { return bounds_in_screen_; } in bounds_in_screen() function 45 void Show(const gfx::Rect& bounds_in_screen); 68 const gfx::Rect& bounds_in_screen);
|
D | workspace_window_resizer.cc | 568 return snap_phantom_window_controller_->bounds_in_screen(); in GetFinalBounds() 740 gfx::Rect bounds_in_screen = in UpdateMagnetismWindow() local 742 MagnetismMatcher matcher(bounds_in_screen, edges); in UpdateMagnetismWindow()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | immersive_mode_controller_ash.cc | 234 std::vector<gfx::Rect> bounds_in_screen; in GetVisibleBoundsInScreen() local 235 bounds_in_screen.push_back(top_container_view_bounds_in_screen); in GetVisibleBoundsInScreen() 236 bounds_in_screen.push_back(find_bar_visible_bounds_in_screen_); in GetVisibleBoundsInScreen() 237 return bounds_in_screen; in GetVisibleBoundsInScreen()
|
/external/chromium_org/ash/wm/ |
D | window_state.cc | 211 const gfx::Rect& bounds_in_screen) { in SetBoundsInScreen() argument 214 bounds_in_screen); in SetBoundsInScreen() 219 gfx::Rect bounds_in_screen = in SaveCurrentBoundsForRestore() local 222 SetRestoreBoundsInScreen(bounds_in_screen); in SaveCurrentBoundsForRestore()
|
D | custom_frame_view_ash.cc | 321 std::vector<gfx::Rect> bounds_in_screen; in GetVisibleBoundsInScreen() local 322 bounds_in_screen.push_back( in GetVisibleBoundsInScreen() 326 bounds_in_screen.push_back(maximize_bubble_->GetWindowBoundsInScreen()); in GetVisibleBoundsInScreen() 328 return bounds_in_screen; in GetVisibleBoundsInScreen()
|
D | drag_window_resizer.cc | 181 const gfx::Rect bounds_in_screen = in UpdateDragWindow() local 184 gfx::IntersectRects(root_bounds_in_screen, bounds_in_screen); in UpdateDragWindow() 199 drag_window_controller_->SetBounds(bounds_in_screen); in UpdateDragWindow()
|
D | immersive_fullscreen_controller.cc | 337 std::vector<gfx::Rect> bounds_in_screen( in SetupForTest() local 339 DCHECK(!bounds_in_screen.empty()); in SetupForTest() 340 int bottommost_in_screen = bounds_in_screen[0].bottom(); in SetupForTest() 341 for (size_t i = 1; i < bounds_in_screen.size(); ++i) { in SetupForTest() 342 if (bounds_in_screen[i].bottom() > bottommost_in_screen) in SetupForTest() 343 bottommost_in_screen = bounds_in_screen[i].bottom(); in SetupForTest()
|
D | window_state.h | 97 void SetBoundsInScreen(const gfx::Rect& bounds_in_screen); 117 void SetRestoreBoundsInScreen(const gfx::Rect& bounds_in_screen);
|
D | immersive_fullscreen_controller_unittest.cc | 58 std::vector<gfx::Rect> bounds_in_screen; in GetVisibleBoundsInScreen() local 59 bounds_in_screen.push_back(top_container_view_->GetBoundsInScreen()); in GetVisibleBoundsInScreen() 60 return bounds_in_screen; in GetVisibleBoundsInScreen()
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_widget_host_view_aura_unittest.cc | 294 gfx::Rect bounds_in_screen = parent_view_->GetViewBounds(); in TEST_F() local 295 int horiz = bounds_in_screen.width() / 4; in TEST_F() 296 int vert = bounds_in_screen.height() / 4; in TEST_F() 297 bounds_in_screen.Inset(horiz, vert); in TEST_F() 301 view_->InitAsPopup(parent_view_, bounds_in_screen); in TEST_F() 304 EXPECT_EQ(final_bounds_in_screen.ToString(), bounds_in_screen.ToString()); in TEST_F() 308 bounds_in_screen = gfx::Rect(60, 60, 100, 100); in TEST_F() 309 view_->SetBounds(bounds_in_screen); in TEST_F() 311 EXPECT_EQ(final_bounds_in_screen.ToString(), bounds_in_screen.ToString()); in TEST_F()
|
D | render_widget_host_view_aura.cc | 515 const gfx::Rect& bounds_in_screen) { in InitAsPopup() argument 535 aura::client::ParentWindowWithContext(window_, root, bounds_in_screen); in InitAsPopup() 541 SetBounds(bounds_in_screen); in InitAsPopup()
|