/external/chromium_org/ash/wm/ |
H A D | app_list_controller.cc | 25 #include "ui/events/event.h" 355 void AppListController::ProcessLocatedEvent(ui::LocatedEvent* event) { argument 359 // If the event happened on a menu, then the event should not close the app 361 aura::Window* target = static_cast<aura::Window*>(event->target()); 396 void AppListController::OnMouseEvent(ui::MouseEvent* event) { argument 397 if (event->type() == ui::ET_MOUSE_PRESSED) 398 ProcessLocatedEvent(event); 401 void AppListController::OnGestureEvent(ui::GestureEvent* event) { argument 402 if (event [all...] |
H A D | app_list_controller.h | 89 void ProcessLocatedEvent(ui::LocatedEvent* event); 95 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 96 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
|
H A D | ash_native_cursor_manager_unittest.cc | 35 // A delegate for recording a mouse event location. 47 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { 48 mouse_event_location_ = event->location(); 49 event->SetHandled();
|
H A D | cursor_manager_chromeos.cc | 23 const ui::KeyEvent& event) const { 29 if (event.IsAltDown() || event.IsControlDown()) 32 ui::KeyboardCode code = event.key_code();
|
H A D | cursor_manager_chromeos.h | 36 const ui::KeyEvent& event) const OVERRIDE;
|
H A D | default_state.cc | 74 const WMEvent* event) { 75 if (ProcessWorkspaceEvents(window_state, event)) 78 if (ProcessCompoundEvents(window_state, event)) 82 switch (event->type()) { 102 SetBounds(window_state, static_cast<const SetBoundsEvent*>(event)); 113 NOTREACHED() << "Compound event should not reach here:" << event; 118 NOTREACHED() << "Workspace event should not reach here:" << event; 125 gfx::Rect snapped_bounds = event 73 OnWMEvent(WindowState* window_state, const WMEvent* event) argument 174 ProcessCompoundEvents(WindowState* window_state, const WMEvent* event) argument 286 ProcessWorkspaceEvents(WindowState* window_state, const WMEvent* event) argument 397 SetBounds(WindowState* window_state, const SetBoundsEvent* event) argument [all...] |
H A D | default_state.h | 23 const WMEvent* event) OVERRIDE; 33 const WMEvent* event); 37 const WMEvent* event);
|
H A D | immersive_fullscreen_controller.cc | 90 // Returns the location of |event| in screen coordinates. 91 gfx::Point GetEventLocationInScreen(const ui::LocatedEvent& event) { argument 92 gfx::Point location_in_screen = event.location(); 93 aura::Window* target = static_cast<aura::Window*>(event.target()); 295 // Reset the located event and the focus revealed locks so that they do not 366 void ImmersiveFullscreenController::OnMouseEvent(ui::MouseEvent* event) { argument 370 if (event->type() != ui::ET_MOUSE_MOVED && 371 event->type() != ui::ET_MOUSE_PRESSED && 372 event->type() != ui::ET_MOUSE_RELEASED && 373 event 390 OnTouchEvent(ui::TouchEvent* event) argument 402 OnGestureEvent(ui::GestureEvent* event) argument 569 UpdateTopEdgeHoverTimer( ui::MouseEvent* event) argument 622 UpdateLocatedEventRevealedLock( ui::LocatedEvent* event) argument [all...] |
H A D | immersive_fullscreen_controller.h | 129 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 130 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 131 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 181 // Updates |top_edge_hover_timer_| based on a mouse |event|. If the mouse is 185 void UpdateTopEdgeHoverTimer(ui::MouseEvent* event); 189 // |event| is NULL if the source event is not known. 190 void UpdateLocatedEventRevealedLock(ui::LocatedEvent* event); 224 // Returns the type of swipe given |event|. 225 SwipeType GetSwipeType(ui::GestureEvent* event) cons [all...] |
H A D | immersive_fullscreen_controller_unittest.cc | 87 virtual void OnEvent(ui::Event* event) OVERRIDE { 88 ui::test::TestEventHandler::OnEvent(event); 89 if (event->cancelable()) 90 event->SetHandled(); 224 // Compute the event position in |top_container_| coordinates. 345 // Test mouse event processing for top-of-screen reveal triggering. 360 // Mouse wheel event does nothing. 444 // Test mouse event processing for top-of-screen reveal triggering when the 502 // Test mouse event processing for top-of-screen reveal triggering when the user 773 // The event shoul [all...] |
H A D | lock_layout_manager.cc | 14 #include "ui/events/event.h" 51 const wm::WMEvent event(wm::WM_EVENT_WORKAREA_BOUNDS_CHANGED); 52 AdjustWindowsForWorkAreaChange(&event); 60 wm::WMEvent event(wm::WM_EVENT_ADDED_TO_WORKSPACE); 61 window_state->OnWMEvent(&event); 78 wm::SetBoundsEvent event(wm::WM_EVENT_SET_BOUNDS, requested_bounds); 79 window_state->OnWMEvent(&event); 129 const wm::WMEvent* event) { 130 DCHECK(event->type() == wm::WM_EVENT_DISPLAY_BOUNDS_CHANGED || 131 event 128 AdjustWindowsForWorkAreaChange( const wm::WMEvent* event) argument [all...] |
H A D | lock_layout_manager.h | 87 void AdjustWindowsForWorkAreaChange(const wm::WMEvent* event);
|
H A D | lock_state_observer.h | 22 virtual void OnLockStateEvent(EventType event) = 0;
|
H A D | lock_window_state.cc | 33 const wm::WMEvent* event) { 37 switch (event->type()) { 66 static_cast<const ash::wm::SetBoundsEvent*>(event); 32 OnWMEvent(wm::WindowState* window_state, const wm::WMEvent* event) argument
|
H A D | lock_window_state.h | 25 const wm::WMEvent* event) OVERRIDE;
|
/external/chromium_org/ash/wm/gestures/ |
H A D | long_press_affordance_handler.cc | 247 ui::GestureEvent* event) { 251 switch (event->type()) { 254 tap_down_location_ = event->root_location(); 246 ProcessEvent(aura::Window* target, ui::GestureEvent* event) argument
|
H A D | long_press_affordance_handler.h | 36 // Displays or removes long press affordance according to the |event|. 37 void ProcessEvent(aura::Window* target, ui::GestureEvent* event);
|
H A D | overview_gesture_handler.cc | 11 #include "ui/events/event.h" 41 bool OverviewGestureHandler::ProcessScrollEvent(const ui::ScrollEvent& event) { argument 42 if (event.type() == ui::ET_SCROLL_FLING_START || 43 event.type() == ui::ET_SCROLL_FLING_CANCEL || 44 event.finger_count() != 3) { 49 scroll_x_ += event.x_offset(); 50 scroll_y_ += event.y_offset(); 81 const ui::GestureEvent& event) { 83 if (event.type() == ui::ET_GESTURE_BEGIN && 84 event 80 ProcessGestureEvent( const ui::GestureEvent& event) argument [all...] |
H A D | overview_gesture_handler.h | 28 // Processes a scroll event and may start overview. Returns true if the event 30 bool ProcessScrollEvent(const ui::ScrollEvent& event); 32 // Processes a gesture event and may start overview. Returns true if the event 34 bool ProcessGestureEvent(const ui::GestureEvent& event);
|
H A D | shelf_gesture_handler.cc | 32 bool ShelfGestureHandler::ProcessGestureEvent(const ui::GestureEvent& event) { argument 40 // TODO(oshima): Find the root window controller from event's location. 45 if (event.type() == ui::ET_GESTURE_WIN8_EDGE_SWIPE) { 46 shelf->OnGestureEdgeSwipe(event); 56 if (event.type() == ui::ET_GESTURE_SCROLL_BEGIN) { 58 shelf->StartGestureDrag(event); 65 if (event.type() == ui::ET_GESTURE_SCROLL_UPDATE) { 67 if (!tray_handler_->UpdateGestureDrag(event)) 69 } else if (shelf->UpdateGestureDrag(event) == 79 if (event [all...] |
H A D | shelf_gesture_handler.h | 25 // Processes a gesture event and updates the status of the shelf when 28 bool ProcessGestureEvent(const ui::GestureEvent& event);
|
H A D | tray_gesture_handler.cc | 12 #include "ui/events/event.h" 45 bool TrayGestureHandler::UpdateGestureDrag(const ui::GestureEvent& event) { argument 46 CHECK_EQ(ui::ET_GESTURE_SCROLL_UPDATE, event.type()); 50 gesture_drag_amount_ += event.details().scroll_y(); 67 void TrayGestureHandler::CompleteGestureDrag(const ui::GestureEvent& event) { argument 78 if (event.type() == ui::ET_GESTURE_SCROLL_END) { 82 } else if (event.type() == ui::ET_SCROLL_FLING_START) { 86 event.details().velocity_y() > -kMinThresholdGestureFling)
|
H A D | tray_gesture_handler.h | 24 // Handles a gesture-update event and updates the dragging state of the tray 28 bool UpdateGestureDrag(const ui::GestureEvent& event); 30 void CompleteGestureDrag(const ui::GestureEvent& event);
|
/external/chromium_org/ash/wm/maximize_mode/ |
H A D | maximize_mode_window_manager.cc | 106 // When the state got added, the "WM_EVENT_ADDED_TO_WORKSPACE" event got 109 wm::WMEvent event(wm::WM_EVENT_ADDED_TO_WORKSPACE); 110 wm::GetWindowState(window)->OnWMEvent(&event); 142 void MaximizeModeWindowManager::OnTouchEvent(ui::TouchEvent* event) { argument 143 if (event->type() != ui::ET_TOUCH_PRESSED) 156 int y = event->y(); 163 event->StopPropagation();
|
H A D | maximize_mode_window_manager.h | 72 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
|