/external/chromium_org/chrome/browser/ui/panels/ |
D | panel_resize_browsertest.cc | 37 gfx::Point mouse_location; in ResizePanel() local 40 mouse_location = bounds.origin(); in ResizePanel() 43 mouse_location.SetPoint(bounds.x() + bounds.width() / 2, bounds.y()); in ResizePanel() 46 mouse_location.SetPoint(bounds.right(), bounds.y()); in ResizePanel() 49 mouse_location.SetPoint(bounds.x(), bounds.y() + bounds.height() / 2); in ResizePanel() 52 mouse_location.SetPoint(bounds.right(), in ResizePanel() 56 mouse_location.SetPoint(bounds.x(), bounds.bottom()); in ResizePanel() 59 mouse_location.SetPoint(bounds.x() + bounds.width() / 2, in ResizePanel() 63 mouse_location.SetPoint(bounds.right(), bounds.bottom()); in ResizePanel() 69 panel_manager->StartResizingByMouse(panel, mouse_location, component); in ResizePanel() [all …]
|
D | panel_drag_browsertest.cc | 42 gfx::Point mouse_location(panel->GetBounds().origin()); in DragPanelByDelta() local 43 panel_testing->PressLeftMouseButtonTitlebar(mouse_location); in DragPanelByDelta() 44 panel_testing->DragTitlebar(mouse_location + delta); in DragPanelByDelta() 53 gfx::Point mouse_location(panel->GetBounds().origin()); in DragPanelToMouseLocation() local 200 gfx::Point mouse_location = panel_old_bounds.origin(); in IN_PROC_BROWSER_TEST_F() local 201 panel_testing->PressLeftMouseButtonTitlebar(mouse_location); in IN_PROC_BROWSER_TEST_F() 204 mouse_location.Offset(-big_delta_x, 0); in IN_PROC_BROWSER_TEST_F() 205 panel_testing->DragTitlebar(mouse_location); in IN_PROC_BROWSER_TEST_F() 214 mouse_location = panel_old_bounds.origin(); in IN_PROC_BROWSER_TEST_F() 215 panel_testing->PressLeftMouseButtonTitlebar(mouse_location); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | panel_resize_controller.cc | 45 const gfx::Point& mouse_location, in StartResizing() argument 87 mouse_location_at_start_ = mouse_location; in StartResizing() 94 void PanelResizeController::Resize(const gfx::Point& mouse_location) { in Resize() argument 105 mouse_location.x() - mouse_location_at_start_.x(), 0)); in Resize() 109 mouse_location.y() - mouse_location_at_start_.y(), 0)); in Resize() 113 mouse_location_at_start_.x() - mouse_location.x(), 0)); in Resize() 117 mouse_location_at_start_.y() - mouse_location.y(), 0); in Resize() 126 if (display_area.y() <= mouse_location.y() && in Resize() 127 mouse_location.y() < work_area.y()) { in Resize()
|
D | native_panel.h | 107 void PressLeftMouseButtonTitlebar(const gfx::Point& mouse_location) { in PressLeftMouseButtonTitlebar() argument 108 PressLeftMouseButtonTitlebar(mouse_location, panel::NO_MODIFIER); in PressLeftMouseButtonTitlebar() 116 const gfx::Point& mouse_location, panel::ClickModifier modifier) = 0; 118 virtual void DragTitlebar(const gfx::Point& mouse_location) = 0;
|
D | panel_drag_controller.h | 29 void StartDragging(Panel* panel, const gfx::Point& mouse_location); 30 void Drag(const gfx::Point& mouse_location); 60 const gfx::Point& mouse_location) const;
|
D | panel_manager.h | 94 void StartDragging(Panel* panel, const gfx::Point& mouse_location); 95 void Drag(const gfx::Point& mouse_location); 100 void StartResizingByMouse(Panel* panel, const gfx::Point& mouse_location, 102 void ResizeByMouse(const gfx::Point& mouse_location);
|
D | panel_resize_controller.h | 28 const gfx::Point& mouse_location, 30 void Resize(const gfx::Point& mouse_location);
|
D | panel_manager.cc | 446 const gfx::Point& mouse_location) { in StartDragging() argument 447 drag_controller_->StartDragging(panel, mouse_location); in StartDragging() 450 void PanelManager::Drag(const gfx::Point& mouse_location) { in Drag() argument 451 drag_controller_->Drag(mouse_location); in Drag() 459 const gfx::Point& mouse_location, in StartResizingByMouse() argument 463 resize_controller_->StartResizing(panel, mouse_location, component); in StartResizingByMouse() 467 void PanelManager::ResizeByMouse(const gfx::Point& mouse_location) { in ResizeByMouse() argument 469 resize_controller_->Resize(mouse_location); in ResizeByMouse()
|
D | panel_drag_controller.cc | 141 const gfx::Point& mouse_location) { in StartDragging() argument 145 mouse_location - panel->GetBounds().origin(); in StartDragging() 156 void PanelDragController::Drag(const gfx::Point& mouse_location) { in Drag() argument 160 gfx::Point target_position = GetPanelPositionForMouseLocation(mouse_location); in Drag() 277 const gfx::Point& mouse_location) const { in GetPanelPositionForMouseLocation() 281 mouse_location - offset_from_mouse_location_on_drag_start_; in GetPanelPositionForMouseLocation() 290 if (display_area.Contains(mouse_location) && in GetPanelPositionForMouseLocation()
|
D | stacked_panel_browsertest.cc | 528 gfx::Point mouse_location(panel2->GetBounds().origin()); in IN_PROC_BROWSER_TEST_F() local 529 panel2_testing->PressLeftMouseButtonTitlebar(mouse_location); in IN_PROC_BROWSER_TEST_F() 531 panel2_testing->DragTitlebar(mouse_location + drag_delta_to_unstack); in IN_PROC_BROWSER_TEST_F() 551 mouse_location = bounds1.origin(); in IN_PROC_BROWSER_TEST_F() 552 panel1_testing->PressLeftMouseButtonTitlebar(mouse_location); in IN_PROC_BROWSER_TEST_F() 555 panel1_testing->DragTitlebar(mouse_location + drag_delta_to_stack); in IN_PROC_BROWSER_TEST_F() 645 gfx::Point mouse_location(panel2->GetBounds().origin()); in IN_PROC_BROWSER_TEST_F() local 646 panel2_testing->PressLeftMouseButtonTitlebar(mouse_location); in IN_PROC_BROWSER_TEST_F() 648 panel2_testing->DragTitlebar(mouse_location + drag_delta); in IN_PROC_BROWSER_TEST_F() 668 mouse_location = panel3->GetBounds().origin(); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | panel_browsertest.cc | 515 gfx::Point mouse_location(panel->GetBounds().origin()); in IN_PROC_BROWSER_TEST_F() local 516 panel_testing->PressLeftMouseButtonTitlebar(mouse_location); in IN_PROC_BROWSER_TEST_F() 517 panel_testing->DragTitlebar(mouse_location + gfx::Vector2d(-100, 5)); in IN_PROC_BROWSER_TEST_F() 1580 gfx::Point mouse_location = panel->GetBounds().origin(); in IN_PROC_BROWSER_TEST_F() local 1582 mouse_location, in IN_PROC_BROWSER_TEST_F() 1584 mouse_location.Offset(panel->GetBounds().width() - bigger_size.width(), in IN_PROC_BROWSER_TEST_F() 1586 panel_manager->ResizeByMouse(mouse_location); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/ui/compositor/ |
D | debug_utils.cc | 30 gfx::Point mouse_location, in PrintLayerHierarchyImp() argument 34 layer->transform().TransformPointReverse(&mouse_location); in PrintLayerHierarchyImp() 35 bool mouse_inside_layer_bounds = layer->bounds().Contains(mouse_location); in PrintLayerHierarchyImp() 36 mouse_location.Offset(-layer->bounds().x(), -layer->bounds().y()); in PrintLayerHierarchyImp() 93 layer->children()[i], indent + 3, mouse_location, out); in PrintLayerHierarchyImp() 99 void PrintLayerHierarchy(const Layer* layer, gfx::Point mouse_location) { in PrintLayerHierarchy() argument 102 PrintLayerHierarchyImp(layer, 0, mouse_location, &out); in PrintLayerHierarchy()
|
D | debug_utils.h | 20 gfx::Point mouse_location);
|
/external/chromium_org/chrome/browser/ui/views/panels/ |
D | panel_view.cc | 107 const gfx::Point& mouse_location, panel::ClickModifier modifier) OVERRIDE; 110 virtual void DragTitlebar(const gfx::Point& mouse_location) OVERRIDE; 133 const gfx::Point& mouse_location, panel::ClickModifier modifier) { in PressLeftMouseButtonTitlebar() argument 134 panel_view_->OnTitlebarMousePressed(mouse_location); in PressLeftMouseButtonTitlebar() 142 void NativePanelTestingWin::DragTitlebar(const gfx::Point& mouse_location) { in DragTitlebar() argument 143 panel_view_->OnTitlebarMouseDragged(mouse_location); in DragTitlebar() 1036 bool PanelView::OnTitlebarMousePressed(const gfx::Point& mouse_location) { in OnTitlebarMousePressed() argument 1039 last_mouse_location_ = mouse_location; in OnTitlebarMousePressed() 1043 bool PanelView::OnTitlebarMouseDragged(const gfx::Point& mouse_location) { in OnTitlebarMouseDragged() argument 1048 ExceededDragThreshold(mouse_location - last_mouse_location_)) { in OnTitlebarMouseDragged() [all …]
|
D | panel_frame_view.cc | 564 gfx::Point mouse_location = event.location(); in OnMousePressed() local 565 views::View::ConvertPointToScreen(this, &mouse_location); in OnMousePressed() 569 if (!panel_view_->IsWithinResizingArea(mouse_location) && in OnMousePressed() 570 panel_view_->OnTitlebarMousePressed(mouse_location)) in OnMousePressed() 582 gfx::Point mouse_location = screen->GetCursorScreenPoint(); in OnMouseDragged() local 586 gfx::Point mouse_location = event.location(); in OnMouseDragged() 587 views::View::ConvertPointToScreen(this, &mouse_location); in OnMouseDragged() 590 if (panel_view_->OnTitlebarMouseDragged(mouse_location)) in OnMouseDragged()
|
D | panel_view.h | 91 bool OnTitlebarMousePressed(const gfx::Point& mouse_location); 92 bool OnTitlebarMouseDragged(const gfx::Point& mouse_location); 103 bool IsWithinResizingArea(const gfx::Point& mouse_location) const;
|
/external/chromium_org/ash/autoclick/ |
D | autoclick_controller.cc | 130 gfx::Point mouse_location = event->root_location(); in OnMouseEvent() local 132 wm::GetRootWindowAt(mouse_location), in OnMouseEvent() 133 &mouse_location); in OnMouseEvent() 141 gfx::Vector2d delta = mouse_location - anchor_location_; in OnMouseEvent()
|
/external/chromium_org/chrome/browser/ui/cocoa/panels/ |
D | panel_cocoa.mm | 330 const gfx::Point& mouse_location, panel::ClickModifier modifier) OVERRIDE; 333 virtual void DragTitlebar(const gfx::Point& mouse_location) OVERRIDE; 367 const gfx::Point& mouse_location, panel::ClickModifier modifier) { 374 cocoa_utils::ConvertPointToCocoaCoordinates(mouse_location) 385 void CocoaNativePanelTesting::DragTitlebar(const gfx::Point& mouse_location) { 390 cocoa_utils::ConvertPointToCocoaCoordinates(mouse_location)];
|
/external/chromium_org/ash/wm/workspace/ |
D | multi_window_resize_controller.cc | 229 gfx::Point mouse_location( in DetermineWindowsFromScreenPoint() local 231 wm::ConvertPointFromScreen(window, &mouse_location); in DetermineWindowsFromScreenPoint() 233 window->delegate()->GetNonClientComponent(mouse_location); in DetermineWindowsFromScreenPoint() 234 return DetermineWindows(window, component, mouse_location); in DetermineWindowsFromScreenPoint()
|
/external/chromium_org/ui/aura/ |
D | window_event_dispatcher_unittest.cc | 462 gfx::Point mouse_location(int i) const { return mouse_locations_[i]; } in mouse_location() function in aura::__anona07948460311::EventFilterRecorder 719 EXPECT_EQ(gfx::Point(13, 13), recorder.mouse_location(0)); in TEST_F() 1021 gfx::Point mouse_location(gfx::Point(15, 25)); in TEST_F() local 1022 ui::MouseEvent mouse1(ui::ET_MOUSE_MOVED, mouse_location, in TEST_F() 1023 mouse_location, 0, 0); in TEST_F() 1036 int translated_x = mouse_location.x() - window_origin.x(); in TEST_F() 1037 int translated_y = mouse_location.y() - window_origin.y(); in TEST_F() 1039 EXPECT_EQ(recorder.mouse_location(0).ToString(), translated_point.ToString()); in TEST_F() 1058 gfx::Point mouse_location(gfx::Point(15, 25)); in TEST_F() local 1059 ui::MouseEvent mouse1(ui::ET_MOUSE_MOVED, mouse_location, in TEST_F() [all …]
|
/external/chromium_org/ui/views/corewm/ |
D | tooltip_controller.h | 55 const gfx::Point& mouse_location() const { return curr_mouse_loc_; } in mouse_location() function
|
/external/chromium_org/ui/views/controls/menu/ |
D | menu_controller.h | 298 bool ShowSiblingMenu(SubmenuView* source, const gfx::Point& mouse_location); 491 const gfx::Point& mouse_location);
|
D | menu_controller.cc | 1167 const gfx::Point& mouse_location) { in ShowSiblingMenu() argument 1172 if (mouse_location.x() >= 0 && in ShowSiblingMenu() 1173 mouse_location.x() < source_view->width() && in ShowSiblingMenu() 1174 mouse_location.y() >= 0 && in ShowSiblingMenu() 1175 mouse_location.y() < source_view->height()) { in ShowSiblingMenu() 1187 gfx::Point screen_point(mouse_location); in ShowSiblingMenu() 2263 const gfx::Point& mouse_location) { in HandleMouseLocation() argument 2271 MenuPart part = GetMenuPart(source, mouse_location); in HandleMouseLocation() 2278 if (part.type == MenuPart::NONE && ShowSiblingMenu(source, mouse_location)) in HandleMouseLocation()
|
/external/chromium_org/ui/views/win/ |
D | hwnd_message_handler.cc | 2420 POINT mouse_location = CR_POINT_INITIALIZER_FROM_LPARAM(l_param); in IsSynthesizedMouseMessage() local 2421 ::ClientToScreen(hwnd(), &mouse_location); in IsSynthesizedMouseMessage() 2424 if (memcmp(&cursor_pos, &mouse_location, sizeof(POINT))) in IsSynthesizedMouseMessage()
|