/external/chromium_org/ui/compositor/ |
debug_utils.h | 18 // Log the layer hierarchy. Mark layers which contain |mouse_location| with '*'. 20 gfx::Point mouse_location);
|
debug_utils.cc | 30 gfx::Point mouse_location, 34 layer->transform().TransformPointReverse(&mouse_location); 35 bool mouse_inside_layer_bounds = layer->bounds().Contains(mouse_location); 36 mouse_location.Offset(-layer->bounds().x(), -layer->bounds().y()); 107 layer->children()[i], indent + 3, mouse_location, out); 113 void PrintLayerHierarchy(const Layer* layer, gfx::Point mouse_location) { 116 PrintLayerHierarchyImp(layer, 0, mouse_location, &out);
|
/external/chromium_org/chrome/browser/ui/panels/ |
panel_resize_browsertest.cc | 37 gfx::Point mouse_location; local 40 mouse_location = bounds.origin(); 43 mouse_location.SetPoint(bounds.x() + bounds.width() / 2, bounds.y()); 46 mouse_location.SetPoint(bounds.right(), bounds.y()); 49 mouse_location.SetPoint(bounds.x(), bounds.y() + bounds.height() / 2); 52 mouse_location.SetPoint(bounds.right(), 56 mouse_location.SetPoint(bounds.x(), bounds.bottom()); 59 mouse_location.SetPoint(bounds.x() + bounds.width() / 2, 63 mouse_location.SetPoint(bounds.right(), bounds.bottom()); 69 panel_manager->StartResizingByMouse(panel, mouse_location, component) 91 gfx::Point mouse_location = bounds.origin(); local 207 gfx::Point mouse_location = bounds.origin() + local 306 gfx::Point mouse_location = bounds.origin() + local 365 gfx::Point mouse_location = panel1_bounds.origin() + local 426 gfx::Point mouse_location = bounds.origin() + local 475 gfx::Point mouse_location = bounds.origin(); local [all...] |
panel_resize_controller.h | 26 // |mouse_location| is in screen coordinate system. 28 const gfx::Point& mouse_location, 30 void Resize(const gfx::Point& mouse_location);
|
panel_drag_browsertest.cc | 42 gfx::Point mouse_location(panel->GetBounds().origin()); 43 panel_testing->PressLeftMouseButtonTitlebar(mouse_location); 44 panel_testing->DragTitlebar(mouse_location + delta); 53 gfx::Point mouse_location(panel->GetBounds().origin()); 200 gfx::Point mouse_location = panel_old_bounds.origin(); local 201 panel_testing->PressLeftMouseButtonTitlebar(mouse_location); 204 mouse_location.Offset(-big_delta_x, 0); 205 panel_testing->DragTitlebar(mouse_location); 214 mouse_location = panel_old_bounds.origin(); 215 panel_testing->PressLeftMouseButtonTitlebar(mouse_location); 296 gfx::Point mouse_location = position1; local 394 gfx::Point mouse_location = position3; local 526 gfx::Point mouse_location = panel_old_bounds.origin(); local 566 gfx::Point mouse_location = panel_old_bounds.origin(); local 626 gfx::Point mouse_location = panel1->GetBounds().origin(); local 683 gfx::Point mouse_location = panel1->GetBounds().origin(); local 734 gfx::Point mouse_location = panel1->GetBounds().origin(); local [all...] |
panel_resize_controller.cc | 45 const gfx::Point& mouse_location, 87 mouse_location_at_start_ = mouse_location; 94 void PanelResizeController::Resize(const gfx::Point& mouse_location) { 105 mouse_location.x() - mouse_location_at_start_.x(), 0)); 109 mouse_location.y() - mouse_location_at_start_.y(), 0)); 113 mouse_location_at_start_.x() - mouse_location.x(), 0)); 117 mouse_location_at_start_.y() - mouse_location.y(), 0); 126 if (display_area.y() <= mouse_location.y() && 127 mouse_location.y() < work_area.y()) {
|
native_panel.h | 107 void PressLeftMouseButtonTitlebar(const gfx::Point& mouse_location) { 108 PressLeftMouseButtonTitlebar(mouse_location, panel::NO_MODIFIER); 114 // |mouse_location| is in screen coordinates. 116 const gfx::Point& mouse_location, panel::ClickModifier modifier) = 0; 118 virtual void DragTitlebar(const gfx::Point& mouse_location) = 0;
|
panel_drag_controller.h | 28 // |mouse_location| is in screen coordinate system. 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;
|
panel_manager.h | 93 // |mouse_location| is in screen coordinate system. 94 void StartDragging(Panel* panel, const gfx::Point& mouse_location); 95 void Drag(const gfx::Point& mouse_location); 99 // |mouse_location| is in screen coordinate system. 100 void StartResizingByMouse(Panel* panel, const gfx::Point& mouse_location, 102 void ResizeByMouse(const gfx::Point& mouse_location);
|
panel_manager.cc | 446 const gfx::Point& mouse_location) { 447 drag_controller_->StartDragging(panel, mouse_location); 450 void PanelManager::Drag(const gfx::Point& mouse_location) { 451 drag_controller_->Drag(mouse_location); 459 const gfx::Point& mouse_location, 463 resize_controller_->StartResizing(panel, mouse_location, component); 467 void PanelManager::ResizeByMouse(const gfx::Point& mouse_location) { 469 resize_controller_->Resize(mouse_location);
|
panel_drag_controller.cc | 141 const gfx::Point& mouse_location) { 145 mouse_location - panel->GetBounds().origin(); 156 void PanelDragController::Drag(const gfx::Point& mouse_location) { 160 gfx::Point target_position = GetPanelPositionForMouseLocation(mouse_location); 277 const gfx::Point& mouse_location) const { 281 mouse_location - offset_from_mouse_location_on_drag_start_; 290 if (display_area.Contains(mouse_location) &&
|
stacked_panel_browsertest.cc | 528 gfx::Point mouse_location(panel2->GetBounds().origin()); 529 panel2_testing->PressLeftMouseButtonTitlebar(mouse_location); 531 panel2_testing->DragTitlebar(mouse_location + drag_delta_to_unstack); 551 mouse_location = bounds1.origin(); 552 panel1_testing->PressLeftMouseButtonTitlebar(mouse_location); 555 panel1_testing->DragTitlebar(mouse_location + drag_delta_to_stack); 645 gfx::Point mouse_location(panel2->GetBounds().origin()); 646 panel2_testing->PressLeftMouseButtonTitlebar(mouse_location); 648 panel2_testing->DragTitlebar(mouse_location + drag_delta); 668 mouse_location = panel3->GetBounds().origin() [all...] |
panel_browsertest.cc | 516 gfx::Point mouse_location(panel->GetBounds().origin()); 517 panel_testing->PressLeftMouseButtonTitlebar(mouse_location); 518 panel_testing->DragTitlebar(mouse_location + gfx::Vector2d(-100, 5)); 1577 gfx::Point mouse_location = panel->GetBounds().origin(); local [all...] |
/external/chromium_org/ash/autoclick/ |
autoclick_controller.cc | 131 gfx::Point mouse_location = event->root_location(); local 132 ::wm::ConvertPointToScreen(wm::GetRootWindowAt(mouse_location), 133 &mouse_location); local 141 gfx::Vector2d delta = mouse_location - anchor_location_;
|
/external/chromium_org/ui/views/corewm/ |
tooltip_controller.h | 55 const gfx::Point& mouse_location() const { return curr_mouse_loc_; } function in class:views::corewm::TooltipController
|
/external/chromium_org/chrome/browser/ui/views/panels/ |
panel_view.cc | 108 const gfx::Point& mouse_location, panel::ClickModifier modifier) OVERRIDE; 111 virtual void DragTitlebar(const gfx::Point& mouse_location) OVERRIDE; 137 const gfx::Point& mouse_location, panel::ClickModifier modifier) { 138 panel_view_->OnTitlebarMousePressed(mouse_location); 146 void NativePanelTestingViews::DragTitlebar(const gfx::Point& mouse_location) { 147 panel_view_->OnTitlebarMouseDragged(mouse_location); [all...] |
panel_frame_view.cc | 570 gfx::Point mouse_location = event.location(); local 571 views::View::ConvertPointToScreen(this, &mouse_location); 573 if (panel_view_->OnTitlebarMousePressed(mouse_location)) 585 gfx::Point mouse_location = screen->GetCursorScreenPoint(); local 589 gfx::Point mouse_location = event.location(); 590 views::View::ConvertPointToScreen(this, &mouse_location); 593 if (panel_view_->OnTitlebarMouseDragged(mouse_location)) 774 const gfx::Point& mouse_location) const { 777 mouse_location, size(), PanelView::kResizeInsideBoundsSize, resizability);
|
panel_frame_view.h | 104 // Returns true if |mouse_location| is within the panel's resizing area. 105 bool IsWithinResizingArea(const gfx::Point& mouse_location) const;
|
panel_view.h | 90 // |mouse_location| is in screen coordinate system. 91 bool OnTitlebarMousePressed(const gfx::Point& mouse_location); 92 bool OnTitlebarMouseDragged(const gfx::Point& mouse_location);
|
/external/chromium_org/ash/wm/workspace/ |
multi_window_resize_controller.cc | 229 gfx::Point mouse_location( 231 ::wm::ConvertPointFromScreen(window, &mouse_location); 233 window->delegate()->GetNonClientComponent(mouse_location); 234 return DetermineWindows(window, component, mouse_location);
|
/external/chromium_org/ui/views/controls/menu/ |
menu_controller.h | 319 bool ShowSiblingMenu(SubmenuView* source, const gfx::Point& mouse_location); 512 const gfx::Point& mouse_location);
|
menu_controller.cc | [all...] |
/external/chromium_org/ui/aura/ |
window_event_dispatcher_unittest.cc | 463 gfx::Point mouse_location(int i) const { return mouse_locations_[i]; } function in class:aura::__anon21207::EventFilterRecorder 734 EXPECT_EQ(gfx::Point(13, 13), recorder.mouse_location(0)); [all...] |
/external/chromium_org/ui/views/win/ |
hwnd_message_handler.cc | 2456 POINT mouse_location = CR_POINT_INITIALIZER_FROM_LPARAM(l_param); local 2457 ::ClientToScreen(hwnd(), &mouse_location); local [all...] |