Home
last modified time | relevance | path

Searched refs:bounds_in_screen (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/chrome/browser/ui/window_sizer/
Dwindow_sizer_ash.cc17 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()
Dwindow_sizer.h167 void GetTabbedBrowserBoundsAsh(gfx::Rect* bounds_in_screen,
/external/chromium_org/ash/wm/workspace/
Dworkspace_event_handler_unittest.cc107 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 …]
Dphantom_window_controller.cc103 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()
Dphantom_window_controller.h38 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);
Dworkspace_window_resizer.cc568 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/
Dimmersive_mode_controller_ash.cc234 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/
Dwindow_state.cc211 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()
Dcustom_frame_view_ash.cc321 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()
Ddrag_window_resizer.cc181 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()
Dimmersive_fullscreen_controller.cc337 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()
Dwindow_state.h97 void SetBoundsInScreen(const gfx::Rect& bounds_in_screen);
117 void SetRestoreBoundsInScreen(const gfx::Rect& bounds_in_screen);
Dimmersive_fullscreen_controller_unittest.cc58 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/
Drender_widget_host_view_aura_unittest.cc294 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()
Drender_widget_host_view_aura.cc515 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()