event 72 android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java public boolean shouldOverrideKeyEvent(KeyEvent event) { event 73 android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java return mAwContentsClient.shouldOverrideKeyEvent(event); event 1250 android_webview/java/src/org/chromium/android_webview/AwContents.java public boolean onKeyUp(int keyCode, KeyEvent event) { event 1251 android_webview/java/src/org/chromium/android_webview/AwContents.java return mContentViewCore.onKeyUp(keyCode, event); event 1254 android_webview/java/src/org/chromium/android_webview/AwContents.java private boolean isDpadEvent(KeyEvent event) { event 1255 android_webview/java/src/org/chromium/android_webview/AwContents.java if (event.getAction() == KeyEvent.ACTION_DOWN) { event 1256 android_webview/java/src/org/chromium/android_webview/AwContents.java switch (event.getKeyCode()) { event 1271 android_webview/java/src/org/chromium/android_webview/AwContents.java public boolean dispatchKeyEvent(KeyEvent event) { event 1272 android_webview/java/src/org/chromium/android_webview/AwContents.java if (isDpadEvent(event)) { event 1275 android_webview/java/src/org/chromium/android_webview/AwContents.java return mContentViewCore.dispatchKeyEvent(event); event 1533 android_webview/java/src/org/chromium/android_webview/AwContents.java public boolean onTouchEvent(MotionEvent event) { event 1536 android_webview/java/src/org/chromium/android_webview/AwContents.java if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { event 1541 android_webview/java/src/org/chromium/android_webview/AwContents.java boolean rv = mContentViewCore.onTouchEvent(event); event 1544 android_webview/java/src/org/chromium/android_webview/AwContents.java if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { event 1545 android_webview/java/src/org/chromium/android_webview/AwContents.java int actionIndex = event.getActionIndex(); event 1549 android_webview/java/src/org/chromium/android_webview/AwContents.java (int) Math.round(event.getX(actionIndex) / mDIPScale), event 1550 android_webview/java/src/org/chromium/android_webview/AwContents.java (int) Math.round(event.getY(actionIndex) / mDIPScale)); event 1553 android_webview/java/src/org/chromium/android_webview/AwContents.java if (mOverScrollGlow != null && event.getActionMasked() == MotionEvent.ACTION_UP) { event 1563 android_webview/java/src/org/chromium/android_webview/AwContents.java public boolean onHoverEvent(MotionEvent event) { event 1564 android_webview/java/src/org/chromium/android_webview/AwContents.java return mContentViewCore.onHoverEvent(event); event 1570 android_webview/java/src/org/chromium/android_webview/AwContents.java public boolean onGenericMotionEvent(MotionEvent event) { event 1571 android_webview/java/src/org/chromium/android_webview/AwContents.java return mContentViewCore.onGenericMotionEvent(event); event 1777 android_webview/java/src/org/chromium/android_webview/AwContents.java public void onInitializeAccessibilityEvent(AccessibilityEvent event) { event 1778 android_webview/java/src/org/chromium/android_webview/AwContents.java mContentViewCore.onInitializeAccessibilityEvent(event); event 153 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java public abstract boolean shouldOverrideKeyEvent(KeyEvent event); event 159 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java public abstract void onUnhandledKeyEvent(KeyEvent event); event 41 android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java public void handleKeyboardEvent(KeyEvent event) { event 42 android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java if (event.getAction() == KeyEvent.ACTION_DOWN) { event 44 android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java switch (event.getKeyCode()) { event 63 android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java mContentsClient.onUnhandledKeyEvent(event); event 24 android_webview/javatests/src/org/chromium/android_webview/test/util/AwTestTouchUtils.java MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, x, y, 0); event 25 android_webview/javatests/src/org/chromium/android_webview/test/util/AwTestTouchUtils.java view.onTouchEvent(event); event 152 android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { event 153 android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java if ((actionId != EditorInfo.IME_ACTION_GO) && (event == null || event 154 android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java event.getKeyCode() != KeyEvent.KEYCODE_ENTER || event 155 android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java event.getAction() != KeyEvent.ACTION_DOWN)) { event 203 android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java public boolean onKeyUp(int keyCode, KeyEvent event) { event 211 android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java return super.onKeyUp(keyCode, event); event 90 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java public boolean onKeyUp(int keyCode, KeyEvent event) { event 91 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java return mAwContents.onKeyUp(keyCode, event); event 95 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java public boolean dispatchKeyEvent(KeyEvent event) { event 96 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java return mAwContents.dispatchKeyEvent(event); event 167 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java public void onInitializeAccessibilityEvent(AccessibilityEvent event) { event 168 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java super.onInitializeAccessibilityEvent(event); event 169 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java event.setClassName(AwContents.class.getName()); event 170 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java mAwContents.onInitializeAccessibilityEvent(event); event 188 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java public boolean super_onKeyUp(int keyCode, KeyEvent event) { event 189 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java return AwTestContainerView.super.onKeyUp(keyCode, event); event 193 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java public boolean super_dispatchKeyEventPreIme(KeyEvent event) { event 194 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java return AwTestContainerView.super.dispatchKeyEventPreIme(event); event 198 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java public boolean super_dispatchKeyEvent(KeyEvent event) { event 199 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java return AwTestContainerView.super.dispatchKeyEvent(event); event 203 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java public boolean super_onGenericMotionEvent(MotionEvent event) { event 204 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java return AwTestContainerView.super.onGenericMotionEvent(event); event 45 android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java public void onUnhandledKeyEvent(KeyEvent event) { event 66 android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java public boolean shouldOverrideKeyEvent(KeyEvent event) { event 407 apps/app_window.cc const content::NativeWebKeyboardEvent& event, event 417 apps/app_window.cc if (event.windowsKeyCode == ui::VKEY_ESCAPE && event 430 apps/app_window.cc const content::NativeWebKeyboardEvent& event) { event 434 apps/app_window.cc if (event.windowsKeyCode == ui::VKEY_ESCAPE && event 441 apps/app_window.cc native_app_window_->HandleKeyboardEvent(event); event 456 apps/app_window.cc const blink::WebGestureEvent& event) { event 458 apps/app_window.cc return event.type == blink::WebGestureEvent::GesturePinchBegin || event 459 apps/app_window.cc event.type == blink::WebGestureEvent::GesturePinchUpdate || event 460 apps/app_window.cc event.type == blink::WebGestureEvent::GesturePinchEnd; event 394 apps/app_window.h const content::NativeWebKeyboardEvent& event, event 397 apps/app_window.h const content::NativeWebKeyboardEvent& event) event 403 apps/app_window.h const blink::WebGestureEvent& event) event 40 apps/browser/api/app_runtime/app_runtime_api.cc scoped_ptr<Event> event( event 42 apps/browser/api/app_runtime/app_runtime_api.cc event->restrict_to_browser_context = context; event 43 apps/browser/api/app_runtime/app_runtime_api.cc event->can_load_ephemeral_apps = true; event 45 apps/browser/api/app_runtime/app_runtime_api.cc event.Pass()); event 63 apps/browser/api/app_runtime/app_runtime_api.cc scoped_ptr<Event> event( event 65 apps/browser/api/app_runtime/app_runtime_api.cc event->restrict_to_browser_context = context; event 66 apps/browser/api/app_runtime/app_runtime_api.cc event->can_load_ephemeral_apps = true; event 69 apps/browser/api/app_runtime/app_runtime_api.cc ->DispatchEventToExtension(extension->id(), event.Pass()); event 84 apps/shell/browser/shell_extension_system.cc scoped_ptr<Event> event( event 86 apps/shell/browser/shell_extension_system.cc event_router_->DispatchEventWithLazyListener(extension->id(), event.Pass()); event 55 apps/ui/native_app_window.h const content::NativeWebKeyboardEvent& event) = 0; event 359 apps/ui/views/app_window_frame_view.cc const ui::Event& event) { event 82 apps/ui/views/app_window_frame_view.h const ui::Event& event) OVERRIDE; event 357 apps/ui/views/native_app_window_views.cc const content::NativeWebKeyboardEvent& event) { event 358 apps/ui/views/native_app_window_views.cc unhandled_keyboard_event_handler_.HandleKeyboardEvent(event, event 145 apps/ui/views/native_app_window_views.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 41 ash/accelerators/accelerator_commands.cc wm::WMEvent event(wm::WM_EVENT_TOGGLE_MAXIMIZE); event 42 ash/accelerators/accelerator_commands.cc window_state->OnWMEvent(&event); event 48 ash/accelerators/accelerator_commands.cc const wm::WMEvent event(wm::WM_EVENT_TOGGLE_FULLSCREEN); event 49 ash/accelerators/accelerator_commands.cc window_state->OnWMEvent(&event); event 520 ash/accelerators/accelerator_controller.cc const wm::WMEvent event(action == WINDOW_SNAP_LEFT ? event 522 ash/accelerators/accelerator_controller.cc window_state->OnWMEvent(&event); event 39 ash/accelerators/accelerator_dispatcher.cc const ui::KeyEvent* event = static_cast<const ui::KeyEvent*>(native_event); event 40 ash/accelerators/accelerator_dispatcher.cc return event->IsKeyEvent(); event 71 ash/accelerators/accelerator_dispatcher.cc uint32_t AcceleratorDispatcher::Dispatch(const base::NativeEvent& event) { event 72 ash/accelerators/accelerator_dispatcher.cc if (IsKeyEvent(event)) { event 73 ash/accelerators/accelerator_dispatcher.cc ui::KeyEvent key_event(event, false); event 79 ash/accelerators/accelerator_dispatcher.cc XPutBackEvent(event->xany.display, event); event 107 ash/accelerators/accelerator_dispatcher.cc return nested_dispatcher_ ? nested_dispatcher_->Dispatch(event) event 27 ash/accelerators/accelerator_dispatcher.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; event 100 ash/accelerators/accelerator_filter.cc void AcceleratorFilter::OnKeyEvent(ui::KeyEvent* event) { event 101 ash/accelerators/accelerator_filter.cc const ui::EventType type = event->type(); event 104 ash/accelerators/accelerator_filter.cc if (event->is_char()) event 107 ash/accelerators/accelerator_filter.cc ui::Accelerator accelerator(event->key_code(), event 108 ash/accelerators/accelerator_filter.cc event->flags() & kModifierFlagMask); event 117 ash/accelerators/accelerator_filter.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 121 ash/accelerators/accelerator_filter.cc if (IsSystemKey(event->key_code()) && !CanConsumeSystemKeys(target)) { event 125 ash/accelerators/accelerator_filter.cc event->StopPropagation(); event 131 ash/accelerators/accelerator_filter.cc event->StopPropagation(); event 23 ash/accelerators/accelerator_filter.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 28 ash/accelerators/key_hold_detector.cc ui::KeyEvent event(&native_event, false); event 29 ash/accelerators/key_hold_detector.cc event.set_flags(event.flags() | ui::EF_IS_SYNTHESIZED); event 31 ash/accelerators/key_hold_detector.cc target->GetHost()->event_processor()->OnEventFromSource(&event); event 34 ash/accelerators/key_hold_detector.cc void PostPressedEvent(ui::KeyEvent* event) { event 36 ash/accelerators/key_hold_detector.cc XEvent xkey = *(event->native_event()); event 40 ash/accelerators/key_hold_detector.cc tracker->Add(static_cast<aura::Window*>(event->target())); event 55 ash/accelerators/key_hold_detector.cc void KeyHoldDetector::OnKeyEvent(ui::KeyEvent* event) { event 56 ash/accelerators/key_hold_detector.cc if (!delegate_->ShouldProcessEvent(event)) event 59 ash/accelerators/key_hold_detector.cc if (delegate_->IsStartEvent(event)) { event 63 ash/accelerators/key_hold_detector.cc if (event->flags() & ui::EF_IS_SYNTHESIZED) { event 64 ash/accelerators/key_hold_detector.cc event->set_flags(event->flags() & ~ui::EF_IS_SYNTHESIZED); event 70 ash/accelerators/key_hold_detector.cc event->StopPropagation(); event 76 ash/accelerators/key_hold_detector.cc delegate_->OnKeyHold(event); event 77 ash/accelerators/key_hold_detector.cc event->StopPropagation(); event 80 ash/accelerators/key_hold_detector.cc } else if (event->type() == ui::ET_KEY_RELEASED) { event 85 ash/accelerators/key_hold_detector.cc PostPressedEvent(event); event 86 ash/accelerators/key_hold_detector.cc event->StopPropagation(); event 90 ash/accelerators/key_hold_detector.cc delegate_->OnKeyUnhold(event); event 91 ash/accelerators/key_hold_detector.cc event->StopPropagation(); event 29 ash/accelerators/key_hold_detector.h virtual bool ShouldProcessEvent(const ui::KeyEvent* event) const = 0; event 32 ash/accelerators/key_hold_detector.h virtual bool IsStartEvent(const ui::KeyEvent* event) const = 0; event 35 ash/accelerators/key_hold_detector.h virtual void OnKeyHold(const ui::KeyEvent* event) = 0; event 38 ash/accelerators/key_hold_detector.h virtual void OnKeyUnhold(const ui::KeyEvent* event) = 0; event 37 ash/accelerators/magnifier_key_scroller.cc bool MagnifierKeyScroller::ShouldProcessEvent(const ui::KeyEvent* event) const { event 39 ash/accelerators/magnifier_key_scroller.cc (event->key_code() == ui::VKEY_UP || event 40 ash/accelerators/magnifier_key_scroller.cc event->key_code() == ui::VKEY_DOWN || event 41 ash/accelerators/magnifier_key_scroller.cc event->key_code() == ui::VKEY_LEFT || event 42 ash/accelerators/magnifier_key_scroller.cc event->key_code() == ui::VKEY_RIGHT); event 45 ash/accelerators/magnifier_key_scroller.cc bool MagnifierKeyScroller::IsStartEvent(const ui::KeyEvent* event) const { event 46 ash/accelerators/magnifier_key_scroller.cc return event->type() == ui::ET_KEY_PRESSED && event 47 ash/accelerators/magnifier_key_scroller.cc event->flags() & ui::EF_SHIFT_DOWN; event 50 ash/accelerators/magnifier_key_scroller.cc void MagnifierKeyScroller::OnKeyHold(const ui::KeyEvent* event) { event 53 ash/accelerators/magnifier_key_scroller.cc switch (event->key_code()) { event 67 ash/accelerators/magnifier_key_scroller.cc NOTREACHED() << "Unknown keyboard_code:" << event->key_code(); event 71 ash/accelerators/magnifier_key_scroller.cc void MagnifierKeyScroller::OnKeyUnhold(const ui::KeyEvent* event) { event 42 ash/accelerators/magnifier_key_scroller.h virtual bool ShouldProcessEvent(const ui::KeyEvent* event) const OVERRIDE; event 43 ash/accelerators/magnifier_key_scroller.h virtual bool IsStartEvent(const ui::KeyEvent* event) const OVERRIDE; event 44 ash/accelerators/magnifier_key_scroller.h virtual void OnKeyHold(const ui::KeyEvent* event) OVERRIDE; event 45 ash/accelerators/magnifier_key_scroller.h virtual void OnKeyUnhold(const ui::KeyEvent* event) OVERRIDE; event 23 ash/accelerators/magnifier_key_scroller_unittest.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE { event 25 ash/accelerators/magnifier_key_scroller_unittest.cc event->type(), event->key_code(), event->flags(), false)); event 60 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_FALSE(delegate.event()); event 65 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_TRUE(delegate.event()); event 66 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, delegate.event()->type()); event 72 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_FALSE(delegate.event()); event 76 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_FALSE(delegate.event()); event 80 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_FALSE(delegate.event()); event 86 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_TRUE(delegate.event()); event 87 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, delegate.event()->type()); event 91 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_TRUE(delegate.event()); event 92 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, delegate.event()->type()); event 96 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_TRUE(delegate.event()); event 97 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, delegate.event()->type()); event 101 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_TRUE(delegate.event()); event 102 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, delegate.event()->type()); event 106 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_TRUE(delegate.event()); event 107 ash/accelerators/magnifier_key_scroller_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, delegate.event()->type()); event 38 ash/accelerators/nested_dispatcher_controller_unittest.cc virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE { event 39 ash/accelerators/nested_dispatcher_controller_unittest.cc if (ui::EventTypeFromNative(event) == ui::ET_KEY_RELEASED) event 33 ash/accelerators/spoken_feedback_toggler.cc const ui::KeyEvent* event) const { event 34 ash/accelerators/spoken_feedback_toggler.cc return IsEnabled() && event->key_code() == ui::VKEY_F6; event 37 ash/accelerators/spoken_feedback_toggler.cc bool SpokenFeedbackToggler::IsStartEvent(const ui::KeyEvent* event) const { event 38 ash/accelerators/spoken_feedback_toggler.cc return event->type() == ui::ET_KEY_PRESSED && event 39 ash/accelerators/spoken_feedback_toggler.cc event->flags() & ui::EF_SHIFT_DOWN; event 42 ash/accelerators/spoken_feedback_toggler.cc void SpokenFeedbackToggler::OnKeyHold(const ui::KeyEvent* event) { event 50 ash/accelerators/spoken_feedback_toggler.cc void SpokenFeedbackToggler::OnKeyUnhold(const ui::KeyEvent* event) { event 42 ash/accelerators/spoken_feedback_toggler.h virtual bool ShouldProcessEvent(const ui::KeyEvent* event) const OVERRIDE; event 43 ash/accelerators/spoken_feedback_toggler.h virtual bool IsStartEvent(const ui::KeyEvent* event) const OVERRIDE; event 44 ash/accelerators/spoken_feedback_toggler.h virtual void OnKeyHold(const ui::KeyEvent* event) OVERRIDE; event 45 ash/accelerators/spoken_feedback_toggler.h virtual void OnKeyUnhold(const ui::KeyEvent* event) OVERRIDE; event 57 ash/autoclick/autoclick_controller.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 58 ash/autoclick/autoclick_controller.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 59 ash/autoclick/autoclick_controller.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 60 ash/autoclick/autoclick_controller.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 61 ash/autoclick/autoclick_controller.cc virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 125 ash/autoclick/autoclick_controller.cc void AutoclickControllerImpl::OnMouseEvent(ui::MouseEvent* event) { event 126 ash/autoclick/autoclick_controller.cc if (event->type() == ui::ET_MOUSE_MOVED && event 127 ash/autoclick/autoclick_controller.cc !(event->flags() & ui::EF_IS_SYNTHESIZED)) { event 128 ash/autoclick/autoclick_controller.cc mouse_event_flags_ = event->flags(); event 130 ash/autoclick/autoclick_controller.cc gfx::Point mouse_location = event->root_location(); event 143 ash/autoclick/autoclick_controller.cc anchor_location_ = event->root_location(); event 146 ash/autoclick/autoclick_controller.cc } else if (event->type() == ui::ET_MOUSE_PRESSED) { event 148 ash/autoclick/autoclick_controller.cc } else if (event->type() == ui::ET_MOUSEWHEEL && event 154 ash/autoclick/autoclick_controller.cc void AutoclickControllerImpl::OnKeyEvent(ui::KeyEvent* event) { event 161 ash/autoclick/autoclick_controller.cc int new_modifiers = event->flags() & modifier_mask; event 164 ash/autoclick/autoclick_controller.cc if (!IsModifierKey(event->key_code())) event 168 ash/autoclick/autoclick_controller.cc void AutoclickControllerImpl::OnTouchEvent(ui::TouchEvent* event) { event 172 ash/autoclick/autoclick_controller.cc void AutoclickControllerImpl::OnGestureEvent(ui::GestureEvent* event) { event 176 ash/autoclick/autoclick_controller.cc void AutoclickControllerImpl::OnScrollEvent(ui::ScrollEvent* event) { event 28 ash/autoclick/autoclick_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 29 ash/autoclick/autoclick_unittest.cc if (!(event->flags() & ui::EF_LEFT_MOUSE_BUTTON)) event 33 ash/autoclick/autoclick_unittest.cc ui::EventType type = event->type(); event 37 ash/autoclick/autoclick_unittest.cc event->type(), event 38 ash/autoclick/autoclick_unittest.cc event->location(), event 39 ash/autoclick/autoclick_unittest.cc event->root_location(), event 40 ash/autoclick/autoclick_unittest.cc event->flags(), event 41 ash/autoclick/autoclick_unittest.cc event->changed_button_flags())); event 44 ash/autoclick/autoclick_unittest.cc event->StopPropagation(); event 165 ash/desktop_background/desktop_background_view.cc bool DesktopBackgroundView::OnMousePressed(const ui::MouseEvent& event) { event 23 ash/desktop_background/desktop_background_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 267 ash/display/display_controller_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 268 ash/display/display_controller_unittest.cc if (event->flags() & ui::EF_IS_SYNTHESIZED && event 269 ash/display/display_controller_unittest.cc event->type() != ui::ET_MOUSE_EXITED && event 270 ash/display/display_controller_unittest.cc event->type() != ui::ET_MOUSE_ENTERED) { event 273 ash/display/display_controller_unittest.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 274 ash/display/display_controller_unittest.cc mouse_location_ = event->root_location(); event 276 ash/display/display_controller_unittest.cc event->StopPropagation(); event 279 ash/display/display_controller_unittest.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE { event 280 ash/display/display_controller_unittest.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 285 ash/display/display_controller_unittest.cc touch_radius_x_ = event->radius_x(); event 286 ash/display/display_controller_unittest.cc touch_radius_y_ = event->radius_y(); event 287 ash/display/display_controller_unittest.cc event->StopPropagation(); event 290 ash/display/display_controller_unittest.cc virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE { event 291 ash/display/display_controller_unittest.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 297 ash/display/display_controller_unittest.cc if (event->type() == ui::ET_SCROLL) { event 298 ash/display/display_controller_unittest.cc scroll_x_offset_ = event->x_offset(); event 299 ash/display/display_controller_unittest.cc scroll_y_offset_ = event->y_offset(); event 300 ash/display/display_controller_unittest.cc scroll_x_offset_ordinal_ = event->x_offset_ordinal(); event 301 ash/display/display_controller_unittest.cc scroll_y_offset_ordinal_ = event->y_offset_ordinal(); event 303 ash/display/display_controller_unittest.cc event->StopPropagation(); event 37 ash/display/event_transformation_handler.cc void EventTransformationHandler::OnScrollEvent(ui::ScrollEvent* event) { event 43 ash/display/event_transformation_handler.cc gfx::Point point_in_screen(event->location()); event 44 ash/display/event_transformation_handler.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 51 ash/display/event_transformation_handler.cc event->Scale(kBoostForNonIntegrated); event 61 ash/display/event_transformation_handler.cc void EventTransformationHandler::OnTouchEvent(ui::TouchEvent* event) { event 87 ash/display/event_transformation_handler.cc event->set_radius_x(event->radius_x() * area_ratio_sqrt); event 88 ash/display/event_transformation_handler.cc event->set_radius_y(event->radius_y() * area_ratio_sqrt); event 33 ash/display/event_transformation_handler.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 35 ash/display/event_transformation_handler.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 77 ash/display/mouse_cursor_event_filter.cc void MouseCursorEventFilter::OnMouseEvent(ui::MouseEvent* event) { event 78 ash/display/mouse_cursor_event_filter.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 83 ash/display/mouse_cursor_event_filter.cc event->StopPropagation(); event 87 ash/display/mouse_cursor_event_filter.cc if (event->type() == ui::ET_MOUSE_PRESSED) { event 89 ash/display/mouse_cursor_event_filter.cc } else if (event->type() == ui::ET_MOUSE_RELEASED) { event 96 ash/display/mouse_cursor_event_filter.cc if (event->type() != ui::ET_MOUSE_MOVED && event 97 ash/display/mouse_cursor_event_filter.cc event->type() != ui::ET_MOUSE_DRAGGED) { event 101 ash/display/mouse_cursor_event_filter.cc if (!(event->flags() & ui::EF_IS_SYNTHESIZED)) { event 106 ash/display/mouse_cursor_event_filter.cc gfx::Point point_in_screen(event->location()); event 109 ash/display/mouse_cursor_event_filter.cc event->StopPropagation(); event 49 ash/display/mouse_cursor_event_filter.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 45 ash/display/root_window_transformers_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 46 ash/display/root_window_transformers_unittest.cc if (event->flags() & ui::EF_IS_SYNTHESIZED) event 48 ash/display/root_window_transformers_unittest.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 49 ash/display/root_window_transformers_unittest.cc mouse_location_ = event->root_location(); event 51 ash/display/root_window_transformers_unittest.cc event->StopPropagation(); event 54 ash/display/root_window_transformers_unittest.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE { event 55 ash/display/root_window_transformers_unittest.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 60 ash/display/root_window_transformers_unittest.cc touch_radius_x_ = event->radius_x(); event 61 ash/display/root_window_transformers_unittest.cc touch_radius_y_ = event->radius_y(); event 62 ash/display/root_window_transformers_unittest.cc event->StopPropagation(); event 65 ash/display/root_window_transformers_unittest.cc virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE { event 66 ash/display/root_window_transformers_unittest.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 72 ash/display/root_window_transformers_unittest.cc if (event->type() == ui::ET_SCROLL) { event 73 ash/display/root_window_transformers_unittest.cc scroll_x_offset_ = event->x_offset(); event 74 ash/display/root_window_transformers_unittest.cc scroll_y_offset_ = event->y_offset(); event 75 ash/display/root_window_transformers_unittest.cc scroll_x_offset_ordinal_ = event->x_offset_ordinal(); event 76 ash/display/root_window_transformers_unittest.cc scroll_y_offset_ordinal_ = event->y_offset_ordinal(); event 78 ash/display/root_window_transformers_unittest.cc event->StopPropagation(); event 248 ash/drag_drop/drag_drop_controller.cc const ui::LocatedEvent& event) { event 264 ash/drag_drop/drag_drop_controller.cc event.location(), event 265 ash/drag_drop/drag_drop_controller.cc event.root_location(), event 267 ash/drag_drop/drag_drop_controller.cc e.set_flags(event.flags()); event 273 ash/drag_drop/drag_drop_controller.cc event.location(), event 274 ash/drag_drop/drag_drop_controller.cc event.root_location(), event 276 ash/drag_drop/drag_drop_controller.cc e.set_flags(event.flags()); event 291 ash/drag_drop/drag_drop_controller.cc gfx::Point root_location_in_screen = event.root_location(); event 301 ash/drag_drop/drag_drop_controller.cc const ui::LocatedEvent& event) { event 309 ash/drag_drop/drag_drop_controller.cc DragUpdate(target, event); event 314 ash/drag_drop/drag_drop_controller.cc *drag_data_, event.location(), event.root_location(), drag_operation_); event 315 ash/drag_drop/drag_drop_controller.cc e.set_flags(event.flags()); event 338 ash/drag_drop/drag_drop_controller.cc void DragDropController::OnKeyEvent(ui::KeyEvent* event) { event 339 ash/drag_drop/drag_drop_controller.cc if (IsDragDropInProgress() && event->key_code() == ui::VKEY_ESCAPE) { event 341 ash/drag_drop/drag_drop_controller.cc event->StopPropagation(); event 345 ash/drag_drop/drag_drop_controller.cc void DragDropController::OnMouseEvent(ui::MouseEvent* event) { event 353 ash/drag_drop/drag_drop_controller.cc event->StopPropagation(); event 357 ash/drag_drop/drag_drop_controller.cc aura::Window* translated_target = drag_drop_tracker_->GetTarget(*event); event 360 ash/drag_drop/drag_drop_controller.cc event->StopPropagation(); event 364 ash/drag_drop/drag_drop_controller.cc drag_drop_tracker_->ConvertEvent(translated_target, *event)); event 378 ash/drag_drop/drag_drop_controller.cc event->StopPropagation(); event 381 ash/drag_drop/drag_drop_controller.cc void DragDropController::OnTouchEvent(ui::TouchEvent* event) { event 388 ash/drag_drop/drag_drop_controller.cc event->StopPropagation(); event 390 ash/drag_drop/drag_drop_controller.cc if (event->handled()) event 393 ash/drag_drop/drag_drop_controller.cc if (event->type() == ui::ET_TOUCH_CANCELLED) event 397 ash/drag_drop/drag_drop_controller.cc void DragDropController::OnGestureEvent(ui::GestureEvent* event) { event 407 ash/drag_drop/drag_drop_controller.cc event->StopPropagation(); event 414 ash/drag_drop/drag_drop_controller.cc ui::GestureEvent touch_offset_event(*event, event 428 ash/drag_drop/drag_drop_controller.cc event->SetHandled(); event 434 ash/drag_drop/drag_drop_controller.cc switch (event->type()) { event 449 ash/drag_drop/drag_drop_controller.cc new ui::GestureEvent(*event, event 457 ash/drag_drop/drag_drop_controller.cc event->SetHandled(); event 54 ash/drag_drop/drag_drop_controller.h const ui::LocatedEvent& event) OVERRIDE; event 56 ash/drag_drop/drag_drop_controller.h const ui::LocatedEvent& event) OVERRIDE; event 61 ash/drag_drop/drag_drop_controller.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 62 ash/drag_drop/drag_drop_controller.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 63 ash/drag_drop/drag_drop_controller.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 64 ash/drag_drop/drag_drop_controller.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 88 ash/drag_drop/drag_drop_controller_unittest.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE { event 92 ash/drag_drop/drag_drop_controller_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 93 ash/drag_drop/drag_drop_controller_unittest.cc if (event->type() == ui::ET_GESTURE_LONG_TAP) event 109 ash/drag_drop/drag_drop_controller_unittest.cc virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE { event 113 ash/drag_drop/drag_drop_controller_unittest.cc virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE { event 122 ash/drag_drop/drag_drop_controller_unittest.cc virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE { event 177 ash/drag_drop/drag_drop_controller_unittest.cc const ui::LocatedEvent& event) OVERRIDE { event 178 ash/drag_drop/drag_drop_controller_unittest.cc DragDropController::DragUpdate(target, event); event 183 ash/drag_drop/drag_drop_controller_unittest.cc const ui::LocatedEvent& event) OVERRIDE { event 184 ash/drag_drop/drag_drop_controller_unittest.cc DragDropController::Drop(target, event); event 61 ash/drag_drop/drag_drop_interactive_uitest.cc virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE { event 64 ash/drag_drop/drag_drop_interactive_uitest.cc virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE { event 68 ash/drag_drop/drag_drop_tracker.cc aura::Window* DragDropTracker::GetTarget(const ui::LocatedEvent& event) { event 70 ash/drag_drop/drag_drop_tracker.cc gfx::Point location_in_screen = event.location(); event 82 ash/drag_drop/drag_drop_tracker.cc const ui::LocatedEvent& event) { event 84 ash/drag_drop/drag_drop_tracker.cc gfx::Point target_location = event.location(); event 87 ash/drag_drop/drag_drop_tracker.cc gfx::Point location_in_screen = event.location(); event 89 ash/drag_drop/drag_drop_tracker.cc gfx::Point target_root_location = event.root_location(); event 94 ash/drag_drop/drag_drop_tracker.cc return new ui::MouseEvent(event.type(), event 97 ash/drag_drop/drag_drop_tracker.cc event.flags(), event 98 ash/drag_drop/drag_drop_tracker.cc static_cast<const ui::MouseEvent&>(event). event 40 ash/drag_drop/drag_drop_tracker.h aura::Window* GetTarget(const ui::LocatedEvent& event); event 46 ash/drag_drop/drag_drop_tracker.h const ui::LocatedEvent& event); event 46 ash/drag_drop/drag_drop_tracker_unittest.cc const ui::MouseEvent& event) { event 49 ash/drag_drop/drag_drop_tracker_unittest.cc ui::LocatedEvent* converted = tracker->ConvertEvent(target, event); event 72 ash/extended_desktop_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 73 ash/extended_desktop_unittest.cc if (event->type() == ui::ET_MOUSE_RELEASED) { event 101 ash/extended_desktop_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 102 ash/extended_desktop_unittest.cc if (event->type() == ui::ET_MOUSE_MOVED || event 103 ash/extended_desktop_unittest.cc event->type() == ui::ET_MOUSE_DRAGGED) { event 104 ash/extended_desktop_unittest.cc location_ = event->location(); event 105 ash/extended_desktop_unittest.cc root_location_ = event->root_location(); event 85 ash/first_run/first_run_helper_impl.cc bool FirstRunHelperImpl::IsCancelingKeyEvent(ui::KeyEvent* event) { event 86 ash/first_run/first_run_helper_impl.cc return event->key_code() == ui::VKEY_ESCAPE; event 38 ash/first_run/first_run_helper_impl.h virtual bool IsCancelingKeyEvent(ui::KeyEvent* event) OVERRIDE; event 47 ash/first_run/first_run_helper_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 62 ash/frame/caption_buttons/alternate_frame_size_button.cc bool AlternateFrameSizeButton::OnMousePressed(const ui::MouseEvent& event) { event 66 ash/frame/caption_buttons/alternate_frame_size_button.cc if (IsTriggerableEvent(event) && event 69 ash/frame/caption_buttons/alternate_frame_size_button.cc StartSetButtonsToSnapModeTimer(event); event 71 ash/frame/caption_buttons/alternate_frame_size_button.cc FrameCaptionButton::OnMousePressed(event); event 75 ash/frame/caption_buttons/alternate_frame_size_button.cc bool AlternateFrameSizeButton::OnMouseDragged(const ui::MouseEvent& event) { event 76 ash/frame/caption_buttons/alternate_frame_size_button.cc UpdateSnapType(event); event 81 ash/frame/caption_buttons/alternate_frame_size_button.cc FrameCaptionButton::OnMouseDragged(event); event 85 ash/frame/caption_buttons/alternate_frame_size_button.cc void AlternateFrameSizeButton::OnMouseReleased(const ui::MouseEvent& event) { event 86 ash/frame/caption_buttons/alternate_frame_size_button.cc if (!IsTriggerableEvent(event) || !CommitSnap(event)) event 87 ash/frame/caption_buttons/alternate_frame_size_button.cc FrameCaptionButton::OnMouseReleased(event); event 95 ash/frame/caption_buttons/alternate_frame_size_button.cc void AlternateFrameSizeButton::OnMouseMoved(const ui::MouseEvent& event) { event 98 ash/frame/caption_buttons/alternate_frame_size_button.cc FrameCaptionButton::OnMouseMoved(event); event 101 ash/frame/caption_buttons/alternate_frame_size_button.cc void AlternateFrameSizeButton::OnGestureEvent(ui::GestureEvent* event) { event 102 ash/frame/caption_buttons/alternate_frame_size_button.cc if (event->details().touch_points() > 1) { event 107 ash/frame/caption_buttons/alternate_frame_size_button.cc if (event->type() == ui::ET_GESTURE_TAP_DOWN) { event 108 ash/frame/caption_buttons/alternate_frame_size_button.cc StartSetButtonsToSnapModeTimer(*event); event 110 ash/frame/caption_buttons/alternate_frame_size_button.cc FrameCaptionButton::OnGestureEvent(event); event 114 ash/frame/caption_buttons/alternate_frame_size_button.cc if (event->type() == ui::ET_GESTURE_SCROLL_BEGIN || event 115 ash/frame/caption_buttons/alternate_frame_size_button.cc event->type() == ui::ET_GESTURE_SCROLL_UPDATE) { event 116 ash/frame/caption_buttons/alternate_frame_size_button.cc UpdateSnapType(*event); event 117 ash/frame/caption_buttons/alternate_frame_size_button.cc event->SetHandled(); event 121 ash/frame/caption_buttons/alternate_frame_size_button.cc if (event->type() == ui::ET_GESTURE_TAP || event 122 ash/frame/caption_buttons/alternate_frame_size_button.cc event->type() == ui::ET_GESTURE_SCROLL_END || event 123 ash/frame/caption_buttons/alternate_frame_size_button.cc event->type() == ui::ET_SCROLL_FLING_START || event 124 ash/frame/caption_buttons/alternate_frame_size_button.cc event->type() == ui::ET_GESTURE_END) { event 125 ash/frame/caption_buttons/alternate_frame_size_button.cc if (CommitSnap(*event)) { event 126 ash/frame/caption_buttons/alternate_frame_size_button.cc if (event->type() == ui::ET_GESTURE_TAP) { event 130 ash/frame/caption_buttons/alternate_frame_size_button.cc event->SetHandled(); event 135 ash/frame/caption_buttons/alternate_frame_size_button.cc FrameCaptionButton::OnGestureEvent(event); event 139 ash/frame/caption_buttons/alternate_frame_size_button.cc const ui::LocatedEvent& event) { event 140 ash/frame/caption_buttons/alternate_frame_size_button.cc set_buttons_to_snap_mode_timer_event_location_ = event.location(); event 173 ash/frame/caption_buttons/alternate_frame_size_button.cc void AlternateFrameSizeButton::UpdateSnapType(const ui::LocatedEvent& event) { event 181 ash/frame/caption_buttons/alternate_frame_size_button.cc event.location() - set_buttons_to_snap_mode_timer_event_location_); event 189 ash/frame/caption_buttons/alternate_frame_size_button.cc gfx::Point event_location_in_screen(event.location()); event 250 ash/frame/caption_buttons/alternate_frame_size_button.cc bool AlternateFrameSizeButton::CommitSnap(const ui::LocatedEvent& event) { event 253 ash/frame/caption_buttons/alternate_frame_size_button.cc UpdateSnapType(event); event 40 ash/frame/caption_buttons/alternate_frame_size_button.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 41 ash/frame/caption_buttons/alternate_frame_size_button.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 42 ash/frame/caption_buttons/alternate_frame_size_button.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 44 ash/frame/caption_buttons/alternate_frame_size_button.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 45 ash/frame/caption_buttons/alternate_frame_size_button.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 53 ash/frame/caption_buttons/alternate_frame_size_button.h void StartSetButtonsToSnapModeTimer(const ui::LocatedEvent& event); event 65 ash/frame/caption_buttons/alternate_frame_size_button.h void UpdateSnapType(const ui::LocatedEvent& event); event 74 ash/frame/caption_buttons/alternate_frame_size_button.h bool CommitSnap(const ui::LocatedEvent& event); event 32 ash/frame/caption_buttons/bubble_contents_button_row.cc virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 33 ash/frame/caption_buttons/bubble_contents_button_row.cc virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 34 ash/frame/caption_buttons/bubble_contents_button_row.cc virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 68 ash/frame/caption_buttons/bubble_contents_button_row.cc void BubbleDialogButton::OnMouseEntered(const ui::MouseEvent& event) { event 70 ash/frame/caption_buttons/bubble_contents_button_row.cc views::ImageButton::OnMouseEntered(event); event 73 ash/frame/caption_buttons/bubble_contents_button_row.cc void BubbleDialogButton::OnMouseExited(const ui::MouseEvent& event) { event 75 ash/frame/caption_buttons/bubble_contents_button_row.cc views::ImageButton::OnMouseExited(event); event 78 ash/frame/caption_buttons/bubble_contents_button_row.cc bool BubbleDialogButton::OnMouseDragged(const ui::MouseEvent& event) { event 83 ash/frame/caption_buttons/bubble_contents_button_row.cc gfx::Point screen_location(event.location()); event 91 ash/frame/caption_buttons/bubble_contents_button_row.cc return views::ImageButton::OnMouseDragged(event); event 124 ash/frame/caption_buttons/bubble_contents_button_row.cc const ui::Event& event) { event 29 ash/frame/caption_buttons/bubble_contents_button_row.h const ui::Event& event) OVERRIDE; event 139 ash/frame/caption_buttons/frame_caption_button.cc void FrameCaptionButton::OnGestureEvent(ui::GestureEvent* event) { event 143 ash/frame/caption_buttons/frame_caption_button.cc if (event->type() == ui::ET_GESTURE_SCROLL_BEGIN || event 144 ash/frame/caption_buttons/frame_caption_button.cc event->type() == ui::ET_GESTURE_SCROLL_UPDATE) { event 145 ash/frame/caption_buttons/frame_caption_button.cc if (HitTestPoint(event->location())) { event 148 ash/frame/caption_buttons/frame_caption_button.cc event->StopPropagation(); event 152 ash/frame/caption_buttons/frame_caption_button.cc } else if (event->type() == ui::ET_GESTURE_SCROLL_END) { event 153 ash/frame/caption_buttons/frame_caption_button.cc if (HitTestPoint(event->location())) { event 155 ash/frame/caption_buttons/frame_caption_button.cc NotifyClick(*event); event 156 ash/frame/caption_buttons/frame_caption_button.cc event->StopPropagation(); event 159 ash/frame/caption_buttons/frame_caption_button.cc CustomButton::OnGestureEvent(event); event 64 ash/frame/caption_buttons/frame_caption_button.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 203 ash/frame/caption_buttons/frame_caption_button_container_view.cc const ui::Event& event) { event 208 ash/frame/caption_buttons/frame_caption_button_container_view.cc if (event.IsShiftDown()) { event 131 ash/frame/caption_buttons/frame_caption_button_container_view.h const ui::Event& event) OVERRIDE; event 53 ash/frame/caption_buttons/frame_maximize_button.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 72 ash/frame/caption_buttons/frame_maximize_button.cc ui::KeyEvent* event) { event 73 ash/frame/caption_buttons/frame_maximize_button.cc if (event->type() == ui::ET_KEY_PRESSED && event 74 ash/frame/caption_buttons/frame_maximize_button.cc event->key_code() == ui::VKEY_ESCAPE) { event 195 ash/frame/caption_buttons/frame_maximize_button.cc bool FrameMaximizeButton::OnMousePressed(const ui::MouseEvent& event) { event 201 ash/frame/caption_buttons/frame_maximize_button.cc is_snap_enabled_ = event.IsOnlyLeftMouseButton(); event 203 ash/frame/caption_buttons/frame_maximize_button.cc ProcessStartEvent(event); event 205 ash/frame/caption_buttons/frame_maximize_button.cc FrameCaptionButton::OnMousePressed(event); event 209 ash/frame/caption_buttons/frame_maximize_button.cc void FrameMaximizeButton::OnMouseEntered(const ui::MouseEvent& event) { event 210 ash/frame/caption_buttons/frame_maximize_button.cc FrameCaptionButton::OnMouseEntered(event); event 225 ash/frame/caption_buttons/frame_maximize_button.cc void FrameMaximizeButton::OnMouseExited(const ui::MouseEvent& event) { event 226 ash/frame/caption_buttons/frame_maximize_button.cc FrameCaptionButton::OnMouseExited(event); event 246 ash/frame/caption_buttons/frame_maximize_button.cc bool FrameMaximizeButton::OnMouseDragged(const ui::MouseEvent& event) { event 248 ash/frame/caption_buttons/frame_maximize_button.cc ProcessUpdateEvent(event); event 249 ash/frame/caption_buttons/frame_maximize_button.cc return FrameCaptionButton::OnMouseDragged(event); event 252 ash/frame/caption_buttons/frame_maximize_button.cc void FrameMaximizeButton::OnMouseReleased(const ui::MouseEvent& event) { event 255 ash/frame/caption_buttons/frame_maximize_button.cc if (!ProcessEndEvent(event) && snap_was_enabled) event 256 ash/frame/caption_buttons/frame_maximize_button.cc FrameCaptionButton::OnMouseReleased(event); event 265 ash/frame/caption_buttons/frame_maximize_button.cc void FrameMaximizeButton::OnGestureEvent(ui::GestureEvent* event) { event 266 ash/frame/caption_buttons/frame_maximize_button.cc if (event->type() == ui::ET_GESTURE_TAP_DOWN) { event 268 ash/frame/caption_buttons/frame_maximize_button.cc ProcessStartEvent(*event); event 269 ash/frame/caption_buttons/frame_maximize_button.cc event->SetHandled(); event 273 ash/frame/caption_buttons/frame_maximize_button.cc if (event->type() == ui::ET_GESTURE_TAP || event 274 ash/frame/caption_buttons/frame_maximize_button.cc (event->type() == ui::ET_GESTURE_SCROLL_END && is_snap_enabled_) || event 275 ash/frame/caption_buttons/frame_maximize_button.cc event->type() == ui::ET_SCROLL_FLING_START) { event 279 ash/frame/caption_buttons/frame_maximize_button.cc ProcessUpdateEvent(*event); event 280 ash/frame/caption_buttons/frame_maximize_button.cc if (event->type() == ui::ET_GESTURE_TAP) { event 281 ash/frame/caption_buttons/frame_maximize_button.cc snap_type_ = SnapTypeForLocation(event->location()); event 285 ash/frame/caption_buttons/frame_maximize_button.cc ProcessEndEvent(*event); event 286 ash/frame/caption_buttons/frame_maximize_button.cc event->SetHandled(); event 291 ash/frame/caption_buttons/frame_maximize_button.cc if (event->type() == ui::ET_GESTURE_END && event 292 ash/frame/caption_buttons/frame_maximize_button.cc event->details().touch_points() == 1) { event 295 ash/frame/caption_buttons/frame_maximize_button.cc ProcessUpdateEvent(*event); event 296 ash/frame/caption_buttons/frame_maximize_button.cc snap_type_ = SnapTypeForLocation(event->location()); event 297 ash/frame/caption_buttons/frame_maximize_button.cc ProcessEndEvent(*event); event 298 ash/frame/caption_buttons/frame_maximize_button.cc event->SetHandled(); event 302 ash/frame/caption_buttons/frame_maximize_button.cc if (event->type() == ui::ET_GESTURE_SCROLL_UPDATE || event 303 ash/frame/caption_buttons/frame_maximize_button.cc event->type() == ui::ET_GESTURE_SCROLL_BEGIN) { event 304 ash/frame/caption_buttons/frame_maximize_button.cc ProcessUpdateEvent(*event); event 305 ash/frame/caption_buttons/frame_maximize_button.cc event->SetHandled(); event 310 ash/frame/caption_buttons/frame_maximize_button.cc FrameCaptionButton::OnGestureEvent(event); event 317 ash/frame/caption_buttons/frame_maximize_button.cc void FrameMaximizeButton::ProcessStartEvent(const ui::LocatedEvent& event) { event 331 ash/frame/caption_buttons/frame_maximize_button.cc press_location_ = event.location(); event 340 ash/frame/caption_buttons/frame_maximize_button.cc void FrameMaximizeButton::ProcessUpdateEvent(const ui::LocatedEvent& event) { event 344 ash/frame/caption_buttons/frame_maximize_button.cc event.location() - press_location_); event 347 ash/frame/caption_buttons/frame_maximize_button.cc UpdateSnap(event.location()); event 350 ash/frame/caption_buttons/frame_maximize_button.cc bool FrameMaximizeButton::ProcessEndEvent(const ui::LocatedEvent& event) { event 482 ash/frame/caption_buttons/frame_maximize_button.cc const wm::WMEvent event(wm::WM_EVENT_SNAP_LEFT); event 483 ash/frame/caption_buttons/frame_maximize_button.cc window_state->OnWMEvent(&event); event 489 ash/frame/caption_buttons/frame_maximize_button.cc const wm::WMEvent event(wm::WM_EVENT_SNAP_RIGHT); event 490 ash/frame/caption_buttons/frame_maximize_button.cc window_state->OnWMEvent(&event); event 70 ash/frame/caption_buttons/frame_maximize_button.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 71 ash/frame/caption_buttons/frame_maximize_button.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 72 ash/frame/caption_buttons/frame_maximize_button.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 73 ash/frame/caption_buttons/frame_maximize_button.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 74 ash/frame/caption_buttons/frame_maximize_button.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 78 ash/frame/caption_buttons/frame_maximize_button.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 99 ash/frame/caption_buttons/frame_maximize_button.h void ProcessStartEvent(const ui::LocatedEvent& event); event 103 ash/frame/caption_buttons/frame_maximize_button.h void ProcessUpdateEvent(const ui::LocatedEvent& event); event 106 ash/frame/caption_buttons/frame_maximize_button.h bool ProcessEndEvent(const ui::LocatedEvent& event); event 215 ash/ime/candidate_view.cc bool CandidateView::OnMouseDragged(const ui::MouseEvent& event) { event 216 ash/ime/candidate_view.cc if (!HitTestPoint(event.location())) { event 218 ash/ime/candidate_view.cc gfx::Point location_in_widget(event.location()); event 228 ash/ime/candidate_view.cc return sibling->OnMouseDragged(event); event 235 ash/ime/candidate_view.cc return views::CustomButton::OnMouseDragged(event); event 44 ash/ime/candidate_view.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 397 ash/ime/candidate_window_view.cc const ui::Event& event) { event 78 ash/ime/candidate_window_view.h const ui::Event& event) OVERRIDE; event 52 ash/keyboard_overlay/keyboard_overlay_view.cc bool KeyboardOverlayView::IsCancelingKeyEvent(ui::KeyEvent* event) { event 53 ash/keyboard_overlay/keyboard_overlay_view.cc if (event->type() != ui::ET_KEY_PRESSED) event 56 ash/keyboard_overlay/keyboard_overlay_view.cc const int flags = (event->flags() & ~ui::EF_CAPS_LOCK_DOWN); event 58 ash/keyboard_overlay/keyboard_overlay_view.cc if ((kCancelKeys[i].key_code == event->key_code()) && event 45 ash/keyboard_overlay/keyboard_overlay_view.h virtual bool IsCancelingKeyEvent(ui::KeyEvent* event) OVERRIDE; event 25 ash/keyboard_uma_event_filter.cc void KeyboardUMAEventFilter::OnKeyEvent(ui::KeyEvent* event) { event 28 ash/keyboard_uma_event_filter.cc if (event->type() != ui::ET_KEY_RELEASED) event 32 ash/keyboard_uma_event_filter.cc if (!isprint(event->GetCharacter())) { event 38 ash/keyboard_uma_event_filter.cc last_keystroke_time_ = event->time_stamp(); event 42 ash/keyboard_uma_event_filter.cc base::TimeDelta delta = event->time_stamp() - last_keystroke_time_; event 46 ash/keyboard_uma_event_filter.cc last_keystroke_time_ = event->time_stamp(); event 23 ash/keyboard_uma_event_filter.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 141 ash/magnifier/magnification_controller.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 142 ash/magnifier/magnification_controller.cc virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 143 ash/magnifier/magnification_controller.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 548 ash/magnifier/magnification_controller.cc void MagnificationControllerImpl::OnMouseEvent(ui::MouseEvent* event) { event 549 ash/magnifier/magnification_controller.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 553 ash/magnifier/magnification_controller.cc if (root_bounds.Contains(event->root_location())) { event 555 ash/magnifier/magnification_controller.cc if (event->type() != ui::ET_MOUSE_CAPTURE_CHANGED) event 556 ash/magnifier/magnification_controller.cc point_of_interest_ = event->root_location(); event 563 ash/magnifier/magnification_controller.cc if (IsMagnified() && event->type() == ui::ET_MOUSE_MOVED) event 564 ash/magnifier/magnification_controller.cc OnMouseMove(event->root_location()); event 568 ash/magnifier/magnification_controller.cc void MagnificationControllerImpl::OnScrollEvent(ui::ScrollEvent* event) { event 569 ash/magnifier/magnification_controller.cc if (event->IsAltDown() && event->IsControlDown()) { event 570 ash/magnifier/magnification_controller.cc if (event->type() == ui::ET_SCROLL_FLING_START || event 571 ash/magnifier/magnification_controller.cc event->type() == ui::ET_SCROLL_FLING_CANCEL) { event 572 ash/magnifier/magnification_controller.cc event->StopPropagation(); event 576 ash/magnifier/magnification_controller.cc if (event->type() == ui::ET_SCROLL) { event 577 ash/magnifier/magnification_controller.cc ui::ScrollEvent* scroll_event = static_cast<ui::ScrollEvent*>(event); event 581 ash/magnifier/magnification_controller.cc event->StopPropagation(); event 587 ash/magnifier/magnification_controller.cc void MagnificationControllerImpl::OnTouchEvent(ui::TouchEvent* event) { event 588 ash/magnifier/magnification_controller.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 592 ash/magnifier/magnification_controller.cc if (root_bounds.Contains(event->root_location())) event 593 ash/magnifier/magnification_controller.cc point_of_interest_ = event->root_location(); event 80 ash/magnifier/partial_magnification_controller.cc void PartialMagnificationController::OnMouseEvent(ui::MouseEvent* event) { event 81 ash/magnifier/partial_magnification_controller.cc if (IsPartialMagnified() && event->type() == ui::ET_MOUSE_MOVED) { event 82 ash/magnifier/partial_magnification_controller.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 88 ash/magnifier/partial_magnification_controller.cc if (root_bounds.Contains(event->root_location())) { event 91 ash/magnifier/partial_magnification_controller.cc OnMouseMove(event->root_location()); event 66 ash/magnifier/partial_magnification_controller.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 50 ash/shelf/alternate_app_list_button.cc bool AlternateAppListButton::OnMousePressed(const ui::MouseEvent& event) { event 51 ash/shelf/alternate_app_list_button.cc ImageButton::OnMousePressed(event); event 52 ash/shelf/alternate_app_list_button.cc host_->PointerPressedOnButton(this, ShelfButtonHost::MOUSE, event); event 56 ash/shelf/alternate_app_list_button.cc void AlternateAppListButton::OnMouseReleased(const ui::MouseEvent& event) { event 57 ash/shelf/alternate_app_list_button.cc ImageButton::OnMouseReleased(event); event 66 ash/shelf/alternate_app_list_button.cc bool AlternateAppListButton::OnMouseDragged(const ui::MouseEvent& event) { event 67 ash/shelf/alternate_app_list_button.cc ImageButton::OnMouseDragged(event); event 68 ash/shelf/alternate_app_list_button.cc host_->PointerDraggedOnButton(this, ShelfButtonHost::MOUSE, event); event 72 ash/shelf/alternate_app_list_button.cc void AlternateAppListButton::OnMouseMoved(const ui::MouseEvent& event) { event 73 ash/shelf/alternate_app_list_button.cc ImageButton::OnMouseMoved(event); event 77 ash/shelf/alternate_app_list_button.cc void AlternateAppListButton::OnMouseEntered(const ui::MouseEvent& event) { event 78 ash/shelf/alternate_app_list_button.cc ImageButton::OnMouseEntered(event); event 82 ash/shelf/alternate_app_list_button.cc void AlternateAppListButton::OnMouseExited(const ui::MouseEvent& event) { event 83 ash/shelf/alternate_app_list_button.cc ImageButton::OnMouseExited(event); event 87 ash/shelf/alternate_app_list_button.cc void AlternateAppListButton::OnGestureEvent(ui::GestureEvent* event) { event 88 ash/shelf/alternate_app_list_button.cc switch (event->type()) { event 90 ash/shelf/alternate_app_list_button.cc host_->PointerPressedOnButton(this, ShelfButtonHost::TOUCH, *event); event 91 ash/shelf/alternate_app_list_button.cc event->SetHandled(); event 94 ash/shelf/alternate_app_list_button.cc host_->PointerDraggedOnButton(this, ShelfButtonHost::TOUCH, *event); event 95 ash/shelf/alternate_app_list_button.cc event->SetHandled(); event 100 ash/shelf/alternate_app_list_button.cc event->SetHandled(); event 103 ash/shelf/alternate_app_list_button.cc ImageButton::OnGestureEvent(event); event 30 ash/shelf/alternate_app_list_button.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 31 ash/shelf/alternate_app_list_button.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 33 ash/shelf/alternate_app_list_button.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 34 ash/shelf/alternate_app_list_button.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 35 ash/shelf/alternate_app_list_button.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 36 ash/shelf/alternate_app_list_button.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 41 ash/shelf/alternate_app_list_button.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 88 ash/shelf/app_list_button.cc bool AppListButton::OnMousePressed(const ui::MouseEvent& event) { event 89 ash/shelf/app_list_button.cc ImageButton::OnMousePressed(event); event 90 ash/shelf/app_list_button.cc host_->PointerPressedOnButton(this, ShelfButtonHost::MOUSE, event); event 94 ash/shelf/app_list_button.cc void AppListButton::OnMouseReleased(const ui::MouseEvent& event) { event 95 ash/shelf/app_list_button.cc ImageButton::OnMouseReleased(event); event 104 ash/shelf/app_list_button.cc bool AppListButton::OnMouseDragged(const ui::MouseEvent& event) { event 105 ash/shelf/app_list_button.cc ImageButton::OnMouseDragged(event); event 106 ash/shelf/app_list_button.cc host_->PointerDraggedOnButton(this, ShelfButtonHost::MOUSE, event); event 110 ash/shelf/app_list_button.cc void AppListButton::OnMouseMoved(const ui::MouseEvent& event) { event 111 ash/shelf/app_list_button.cc ImageButton::OnMouseMoved(event); event 115 ash/shelf/app_list_button.cc void AppListButton::OnMouseEntered(const ui::MouseEvent& event) { event 116 ash/shelf/app_list_button.cc ImageButton::OnMouseEntered(event); event 120 ash/shelf/app_list_button.cc void AppListButton::OnMouseExited(const ui::MouseEvent& event) { event 121 ash/shelf/app_list_button.cc ImageButton::OnMouseExited(event); event 24 ash/shelf/app_list_button.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 25 ash/shelf/app_list_button.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 27 ash/shelf/app_list_button.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 28 ash/shelf/app_list_button.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 29 ash/shelf/app_list_button.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 30 ash/shelf/app_list_button.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 25 ash/shelf/app_list_shelf_item_delegate.cc bool AppListShelfItemDelegate::ItemSelected(const ui::Event& event) { event 22 ash/shelf/app_list_shelf_item_delegate.h virtual bool ItemSelected(const ui::Event& event) OVERRIDE; event 71 ash/shelf/overflow_bubble.cc void OverflowBubble::ProcessPressedEvent(ui::LocatedEvent* event) { event 72 ash/shelf/overflow_bubble.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 73 ash/shelf/overflow_bubble.cc gfx::Point event_location_in_screen = event->location(); event 83 ash/shelf/overflow_bubble.cc void OverflowBubble::OnMouseEvent(ui::MouseEvent* event) { event 84 ash/shelf/overflow_bubble.cc if (event->type() == ui::ET_MOUSE_PRESSED) event 85 ash/shelf/overflow_bubble.cc ProcessPressedEvent(event); event 88 ash/shelf/overflow_bubble.cc void OverflowBubble::OnTouchEvent(ui::TouchEvent* event) { event 89 ash/shelf/overflow_bubble.cc if (event->type() == ui::ET_TOUCH_PRESSED) event 90 ash/shelf/overflow_bubble.cc ProcessPressedEvent(event); event 47 ash/shelf/overflow_bubble.h void ProcessPressedEvent(ui::LocatedEvent* event); event 50 ash/shelf/overflow_bubble.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 51 ash/shelf/overflow_bubble.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 152 ash/shelf/overflow_bubble_view.cc bool OverflowBubbleView::OnMouseWheel(const ui::MouseWheelEvent& event) { event 158 ash/shelf/overflow_bubble_view.cc ScrollByXOffset(-event.y_offset()); event 160 ash/shelf/overflow_bubble_view.cc ScrollByYOffset(-event.y_offset()); event 172 ash/shelf/overflow_bubble_view.cc void OverflowBubbleView::OnScrollEvent(ui::ScrollEvent* event) { event 173 ash/shelf/overflow_bubble_view.cc ScrollByXOffset(-event->x_offset()); event 174 ash/shelf/overflow_bubble_view.cc ScrollByYOffset(-event->y_offset()); event 176 ash/shelf/overflow_bubble_view.cc event->SetHandled(); event 50 ash/shelf/overflow_bubble_view.h virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; event 53 ash/shelf/overflow_bubble_view.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 105 ash/shelf/shelf.cc ui::KeyEvent event(ui::ET_KEY_RELEASED, event 114 ash/shelf/shelf.cc item_delegate->ItemSelected(event); event 26 ash/shelf/shelf_bezel_event_filter.cc ui::GestureEvent* event) { event 27 ash/shelf/shelf_bezel_event_filter.cc gfx::Point point_in_screen(event->location()); event 28 ash/shelf/shelf_bezel_event_filter.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 35 ash/shelf/shelf_bezel_event_filter.cc if (gesture_handler_.ProcessGestureEvent(*event)) { event 36 ash/shelf/shelf_bezel_event_filter.cc switch (event->type()) { event 47 ash/shelf/shelf_bezel_event_filter.cc event->StopPropagation(); event 23 ash/shelf/shelf_bezel_event_filter.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 354 ash/shelf/shelf_button.cc bool ShelfButton::OnMousePressed(const ui::MouseEvent& event) { event 355 ash/shelf/shelf_button.cc CustomButton::OnMousePressed(event); event 356 ash/shelf/shelf_button.cc host_->PointerPressedOnButton(this, ShelfButtonHost::MOUSE, event); event 360 ash/shelf/shelf_button.cc void ShelfButton::OnMouseReleased(const ui::MouseEvent& event) { event 361 ash/shelf/shelf_button.cc CustomButton::OnMouseReleased(event); event 371 ash/shelf/shelf_button.cc bool ShelfButton::OnMouseDragged(const ui::MouseEvent& event) { event 372 ash/shelf/shelf_button.cc CustomButton::OnMouseDragged(event); event 373 ash/shelf/shelf_button.cc host_->PointerDraggedOnButton(this, ShelfButtonHost::MOUSE, event); event 377 ash/shelf/shelf_button.cc void ShelfButton::OnMouseMoved(const ui::MouseEvent& event) { event 378 ash/shelf/shelf_button.cc CustomButton::OnMouseMoved(event); event 382 ash/shelf/shelf_button.cc void ShelfButton::OnMouseEntered(const ui::MouseEvent& event) { event 384 ash/shelf/shelf_button.cc CustomButton::OnMouseEntered(event); event 388 ash/shelf/shelf_button.cc void ShelfButton::OnMouseExited(const ui::MouseEvent& event) { event 390 ash/shelf/shelf_button.cc CustomButton::OnMouseExited(event); event 482 ash/shelf/shelf_button.cc void ShelfButton::OnGestureEvent(ui::GestureEvent* event) { event 483 ash/shelf/shelf_button.cc switch (event->type()) { event 486 ash/shelf/shelf_button.cc return CustomButton::OnGestureEvent(event); event 489 ash/shelf/shelf_button.cc return CustomButton::OnGestureEvent(event); event 491 ash/shelf/shelf_button.cc host_->PointerPressedOnButton(this, ShelfButtonHost::TOUCH, *event); event 492 ash/shelf/shelf_button.cc event->SetHandled(); event 495 ash/shelf/shelf_button.cc host_->PointerDraggedOnButton(this, ShelfButtonHost::TOUCH, *event); event 496 ash/shelf/shelf_button.cc event->SetHandled(); event 501 ash/shelf/shelf_button.cc event->SetHandled(); event 504 ash/shelf/shelf_button.cc return CustomButton::OnGestureEvent(event); event 97 ash/shelf/shelf_button.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 98 ash/shelf/shelf_button.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 99 ash/shelf/shelf_button.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 100 ash/shelf/shelf_button.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 101 ash/shelf/shelf_button.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 102 ash/shelf/shelf_button.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 111 ash/shelf/shelf_button.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 35 ash/shelf/shelf_button_host.h const ui::LocatedEvent& event) = 0; event 40 ash/shelf/shelf_button_host.h const ui::LocatedEvent& event) = 0; event 36 ash/shelf/shelf_item_delegate.h virtual bool ItemSelected(const ui::Event& event) = 0; event 119 ash/shelf/shelf_layout_manager.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 120 ash/shelf/shelf_layout_manager.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 141 ash/shelf/shelf_layout_manager.cc ui::MouseEvent* event) { event 144 ash/shelf/shelf_layout_manager.cc in_mouse_drag_ = (event->type() == ui::ET_MOUSE_DRAGGED || event 145 ash/shelf/shelf_layout_manager.cc (in_mouse_drag_ && event->type() != ui::ET_MOUSE_RELEASED && event 146 ash/shelf/shelf_layout_manager.cc event->type() != ui::ET_MOUSE_CAPTURE_CHANGED)) && event 147 ash/shelf/shelf_layout_manager.cc !shelf_->IsShelfWindow(static_cast<aura::Window*>(event->target())); event 148 ash/shelf/shelf_layout_manager.cc if (event->type() == ui::ET_MOUSE_MOVED) event 154 ash/shelf/shelf_layout_manager.cc ui::GestureEvent* event) { event 155 ash/shelf/shelf_layout_manager.cc if (shelf_->IsShelfWindow(static_cast<aura::Window*>(event->target()))) { event 156 ash/shelf/shelf_layout_manager.cc if (gesture_handler_.ProcessGestureEvent(*event)) event 157 ash/shelf/shelf_layout_manager.cc event->StopPropagation(); event 1188 ash/shelf/shelf_layout_manager.cc void ShelfLayoutManager::OnLockStateEvent(LockStateObserver::EventType event) { event 1189 ash/shelf/shelf_layout_manager.cc if (event == EVENT_LOCK_ANIMATION_STARTED) { event 192 ash/shelf/shelf_layout_manager.h virtual void OnLockStateEvent(LockStateObserver::EventType event) OVERRIDE; event 248 ash/shelf/shelf_tooltip_manager.cc void ShelfTooltipManager::OnMouseEvent(ui::MouseEvent* event) { event 249 ash/shelf/shelf_tooltip_manager.cc DCHECK(event); event 250 ash/shelf/shelf_tooltip_manager.cc DCHECK(event->target()); event 258 ash/shelf/shelf_tooltip_manager.cc if (event->type() == ui::ET_MOUSE_PRESSED) { event 263 ash/shelf/shelf_tooltip_manager.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 269 ash/shelf/shelf_tooltip_manager.cc gfx::Point location_in_shelf_view = event->location(); event 281 ash/shelf/shelf_tooltip_manager.cc void ShelfTooltipManager::OnTouchEvent(ui::TouchEvent* event) { event 282 ash/shelf/shelf_tooltip_manager.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 287 ash/shelf/shelf_tooltip_manager.cc void ShelfTooltipManager::OnGestureEvent(ui::GestureEvent* event) { event 295 ash/shelf/shelf_tooltip_manager.cc void ShelfTooltipManager::OnCancelMode(ui::CancelModeEvent* event) { event 81 ash/shelf/shelf_tooltip_manager.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 82 ash/shelf/shelf_tooltip_manager.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 83 ash/shelf/shelf_tooltip_manager.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 84 ash/shelf/shelf_tooltip_manager.h virtual void OnCancelMode(ui::CancelModeEvent* event) OVERRIDE; event 28 ash/shelf/shelf_tooltip_manager_unittest.cc ui::Event* event) { event 29 ash/shelf/shelf_tooltip_manager_unittest.cc ui::Event::DispatcherApi dispatch_helper(event); event 646 ash/shelf/shelf_view.cc ui::MouseEvent event(ui::ET_MOUSE_PRESSED, pt, point_in_root, 0, 0); event 649 ash/shelf/shelf_view.cc event); event 669 ash/shelf/shelf_view.cc ui::MouseEvent event(ui::ET_MOUSE_DRAGGED, pt, point_in_root, 0, 0); event 672 ash/shelf/shelf_view.cc event); event 998 ash/shelf/shelf_view.cc void ShelfView::PrepareForDrag(Pointer pointer, const ui::LocatedEvent& event) { event 1022 ash/shelf/shelf_view.cc void ShelfView::ContinueDrag(const ui::LocatedEvent& event) { event 1039 ash/shelf/shelf_view.cc if (HandleRipOffDrag(event)) event 1046 ash/shelf/shelf_view.cc gfx::Point drag_point(event.location()); event 1097 ash/shelf/shelf_view.cc bool ShelfView::HandleRipOffDrag(const ui::LocatedEvent& event) { event 1103 ash/shelf/shelf_view.cc gfx::Point screen_location = event.root_location(); event 1165 ash/shelf/shelf_view.cc CreateDragIconProxy(event.root_location(), event 1540 ash/shelf/shelf_view.cc void ShelfView::OnGestureEvent(ui::GestureEvent* event) { event 1541 ash/shelf/shelf_view.cc if (gesture_handler_.ProcessGestureEvent(*event)) event 1542 ash/shelf/shelf_view.cc event->StopPropagation(); event 1689 ash/shelf/shelf_view.cc const ui::LocatedEvent& event) { event 1703 ash/shelf/shelf_view.cc drag_offset_ = layout_manager_->PrimaryAxisValue(event.x(), event.y()); event 1715 ash/shelf/shelf_view.cc const ui::LocatedEvent& event) { event 1719 ash/shelf/shelf_view.cc ((abs(event.x() - drag_offset_) >= kMinimumDragDistance) || event 1720 ash/shelf/shelf_view.cc (abs(event.y() - drag_offset_) >= kMinimumDragDistance))) { event 1721 ash/shelf/shelf_view.cc PrepareForDrag(pointer, event); event 1724 ash/shelf/shelf_view.cc ContinueDrag(event); event 1778 ash/shelf/shelf_view.cc void ShelfView::ButtonPressed(views::Button* sender, const ui::Event& event) { event 1795 ash/shelf/shelf_view.cc if (!IsUsableEvent(event)) event 1803 ash/shelf/shelf_view.cc if (event.IsShiftDown()) { event 1834 ash/shelf/shelf_view.cc if (!item_delegate->ItemSelected(event)) event 1835 ash/shelf/shelf_view.cc ShowListMenuForView(model_->items()[view_index], sender, event); event 1841 ash/shelf/shelf_view.cc const ui::Event& event) { event 1845 ash/shelf/shelf_view.cc menu_model.reset(item_delegate->CreateApplicationMenu(event.flags())); event 1857 ash/shelf/shelf_view.cc ui::GetMenuSourceTypeForEvent(event)); event 2005 ash/shelf/shelf_view.cc bool ShelfView::IsUsableEvent(const ui::Event& event) { event 2010 ash/shelf/shelf_view.cc base::TimeDelta(event.time_stamp() - closing_event_time_); event 193 ash/shelf/shelf_view.h void PrepareForDrag(Pointer pointer, const ui::LocatedEvent& event); event 196 ash/shelf/shelf_view.h void ContinueDrag(const ui::LocatedEvent& event); event 200 ash/shelf/shelf_view.h bool HandleRipOffDrag(const ui::LocatedEvent& event); event 261 ash/shelf/shelf_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 274 ash/shelf/shelf_view.h const ui::LocatedEvent& event) OVERRIDE; event 277 ash/shelf/shelf_view.h const ui::LocatedEvent& event) OVERRIDE; event 288 ash/shelf/shelf_view.h const ui::Event& event) OVERRIDE; event 297 ash/shelf/shelf_view.h const ui::Event& event); event 321 ash/shelf/shelf_view.h bool IsUsableEvent(const ui::Event& event); event 97 ash/shelf/shelf_widget.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 98 ash/shelf/shelf_widget.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 216 ash/shelf/shelf_widget.cc void DimmerView::DimmerEventFilter::OnMouseEvent(ui::MouseEvent* event) { event 217 ash/shelf/shelf_widget.cc if (event->type() != ui::ET_MOUSE_MOVED && event 218 ash/shelf/shelf_widget.cc event->type() != ui::ET_MOUSE_DRAGGED) event 220 ash/shelf/shelf_widget.cc bool inside = owner_->GetBoundsInScreen().Contains(event->root_location()); event 226 ash/shelf/shelf_widget.cc void DimmerView::DimmerEventFilter::OnTouchEvent(ui::TouchEvent* event) { event 228 ash/shelf/shelf_widget.cc if (event->type() != ui::ET_TOUCH_RELEASED && event 229 ash/shelf/shelf_widget.cc event->type() != ui::ET_TOUCH_CANCELLED) event 230 ash/shelf/shelf_widget.cc touch_inside = owner_->GetBoundsInScreen().Contains(event->root_location()); event 31 ash/shelf/shelf_window_watcher_item_delegate.cc bool ShelfWindowWatcherItemDelegate::ItemSelected(const ui::Event& event) { event 34 ash/shelf/shelf_window_watcher_item_delegate.cc if (event.type() & ui::ET_KEY_RELEASED) { event 28 ash/shelf/shelf_window_watcher_item_delegate.h virtual bool ItemSelected(const ui::Event& event) OVERRIDE; event 1090 ash/shell.cc bool Shell::CanAcceptEvent(const ui::Event& event) { event 1107 ash/shell.cc void Shell::OnEvent(ui::Event* event) { event 593 ash/shell.h virtual bool CanAcceptEvent(const ui::Event& event) OVERRIDE; event 597 ash/shell.h virtual void OnEvent(ui::Event* event) OVERRIDE; event 74 ash/shell/lock_view.cc const ui::Event& event) OVERRIDE { event 106 ash/shell/window_type_launcher.cc const ui::Event& event) OVERRIDE { event 281 ash/shell/window_type_launcher.cc bool WindowTypeLauncher::OnMousePressed(const ui::MouseEvent& event) { event 303 ash/shell/window_type_launcher.cc const ui::Event& event) { event 41 ash/shell/window_type_launcher.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 51 ash/shell/window_type_launcher.h const ui::Event& event) OVERRIDE; event 25 ash/shell/window_watcher_shelf_item_delegate.cc bool WindowWatcherShelfItemDelegate::ItemSelected(const ui::Event& event) { event 28 ash/shell/window_watcher_shelf_item_delegate.cc wm::MoveWindowToEventRoot(window, event); event 25 ash/shell/window_watcher_shelf_item_delegate.h virtual bool ItemSelected(const ui::Event& event) OVERRIDE; event 28 ash/sticky_keys/sticky_keys_controller.cc bool ShouldModifyMouseEvent(ui::MouseEvent* event) { event 29 ash/sticky_keys/sticky_keys_controller.cc ui::EventType type = event->type(); event 42 ash/sticky_keys/sticky_keys_controller.cc virtual void DispatchKeyEvent(ui::KeyEvent* event, event 45 ash/sticky_keys/sticky_keys_controller.cc virtual void DispatchMouseEvent(ui::MouseEvent* event, event 48 ash/sticky_keys/sticky_keys_controller.cc virtual void DispatchScrollEvent(ui::ScrollEvent* event, event 51 ash/sticky_keys/sticky_keys_controller.cc void DispatchEvent(ui::Event* event, aura::Window* target); event 62 ash/sticky_keys/sticky_keys_controller.cc void StickyKeysHandlerDelegateImpl::DispatchKeyEvent(ui::KeyEvent* event, event 64 ash/sticky_keys/sticky_keys_controller.cc DispatchEvent(event, target); event 67 ash/sticky_keys/sticky_keys_controller.cc void StickyKeysHandlerDelegateImpl::DispatchMouseEvent(ui::MouseEvent* event, event 71 ash/sticky_keys/sticky_keys_controller.cc if (event->IsMouseWheelEvent()) { event 72 ash/sticky_keys/sticky_keys_controller.cc ui::MouseWheelEvent new_event(event->native_event()); event 75 ash/sticky_keys/sticky_keys_controller.cc ui::MouseEvent new_event(event->native_event()); event 81 ash/sticky_keys/sticky_keys_controller.cc ui::ScrollEvent* event, event 83 ash/sticky_keys/sticky_keys_controller.cc DispatchEvent(event, target); event 86 ash/sticky_keys/sticky_keys_controller.cc void StickyKeysHandlerDelegateImpl::DispatchEvent(ui::Event* event, event 90 ash/sticky_keys/sticky_keys_controller.cc target->GetHost()->event_processor()->OnEventFromSource(event); event 144 ash/sticky_keys/sticky_keys_controller.cc bool StickyKeysController::HandleKeyEvent(ui::KeyEvent* event) { event 145 ash/sticky_keys/sticky_keys_controller.cc return shift_sticky_key_->HandleKeyEvent(event) || event 146 ash/sticky_keys/sticky_keys_controller.cc alt_sticky_key_->HandleKeyEvent(event) || event 147 ash/sticky_keys/sticky_keys_controller.cc altgr_sticky_key_->HandleKeyEvent(event) || event 148 ash/sticky_keys/sticky_keys_controller.cc ctrl_sticky_key_->HandleKeyEvent(event); event 151 ash/sticky_keys/sticky_keys_controller.cc bool StickyKeysController::HandleMouseEvent(ui::MouseEvent* event) { event 152 ash/sticky_keys/sticky_keys_controller.cc return shift_sticky_key_->HandleMouseEvent(event) || event 153 ash/sticky_keys/sticky_keys_controller.cc alt_sticky_key_->HandleMouseEvent(event) || event 154 ash/sticky_keys/sticky_keys_controller.cc altgr_sticky_key_->HandleMouseEvent(event) || event 155 ash/sticky_keys/sticky_keys_controller.cc ctrl_sticky_key_->HandleMouseEvent(event); event 158 ash/sticky_keys/sticky_keys_controller.cc bool StickyKeysController::HandleScrollEvent(ui::ScrollEvent* event) { event 159 ash/sticky_keys/sticky_keys_controller.cc return shift_sticky_key_->HandleScrollEvent(event) || event 160 ash/sticky_keys/sticky_keys_controller.cc alt_sticky_key_->HandleScrollEvent(event) || event 161 ash/sticky_keys/sticky_keys_controller.cc altgr_sticky_key_->HandleScrollEvent(event) || event 162 ash/sticky_keys/sticky_keys_controller.cc ctrl_sticky_key_->HandleScrollEvent(event); event 165 ash/sticky_keys/sticky_keys_controller.cc void StickyKeysController::OnKeyEvent(ui::KeyEvent* event) { event 167 ash/sticky_keys/sticky_keys_controller.cc if (event->type() == ui::ET_TRANSLATED_KEY_PRESS || event 168 ash/sticky_keys/sticky_keys_controller.cc event->type() == ui::ET_TRANSLATED_KEY_RELEASE) { event 173 ash/sticky_keys/sticky_keys_controller.cc if (HandleKeyEvent(event)) event 174 ash/sticky_keys/sticky_keys_controller.cc event->StopPropagation(); event 179 ash/sticky_keys/sticky_keys_controller.cc void StickyKeysController::OnMouseEvent(ui::MouseEvent* event) { event 181 ash/sticky_keys/sticky_keys_controller.cc if (HandleMouseEvent(event)) event 182 ash/sticky_keys/sticky_keys_controller.cc event->StopPropagation(); event 187 ash/sticky_keys/sticky_keys_controller.cc void StickyKeysController::OnScrollEvent(ui::ScrollEvent* event) { event 189 ash/sticky_keys/sticky_keys_controller.cc if (HandleScrollEvent(event)) event 190 ash/sticky_keys/sticky_keys_controller.cc event->StopPropagation(); event 239 ash/sticky_keys/sticky_keys_controller.cc bool StickyKeysHandler::HandleKeyEvent(ui::KeyEvent* event) { event 244 ash/sticky_keys/sticky_keys_controller.cc return HandleDisabledState(event); event 246 ash/sticky_keys/sticky_keys_controller.cc return HandleEnabledState(event); event 248 ash/sticky_keys/sticky_keys_controller.cc return HandleLockedState(event); event 254 ash/sticky_keys/sticky_keys_controller.cc bool StickyKeysHandler::HandleMouseEvent(ui::MouseEvent* event) { event 255 ash/sticky_keys/sticky_keys_controller.cc if (ShouldModifyMouseEvent(event)) event 259 ash/sticky_keys/sticky_keys_controller.cc || !ShouldModifyMouseEvent(event)) { event 265 ash/sticky_keys/sticky_keys_controller.cc AppendModifier(event); event 268 ash/sticky_keys/sticky_keys_controller.cc event->type() != ui::ET_MOUSE_PRESSED) { event 270 ash/sticky_keys/sticky_keys_controller.cc DispatchEventAndReleaseModifier(event); event 277 ash/sticky_keys/sticky_keys_controller.cc bool StickyKeysHandler::HandleScrollEvent(ui::ScrollEvent* event) { event 288 ash/sticky_keys/sticky_keys_controller.cc event->type() == ui::ET_SCROLL) { event 289 ash/sticky_keys/sticky_keys_controller.cc int offset = event->y_offset(); event 296 ash/sticky_keys/sticky_keys_controller.cc AppendModifier(event); event 302 ash/sticky_keys/sticky_keys_controller.cc (event->type() == ui::ET_SCROLL_FLING_START || direction_changed)) { event 305 ash/sticky_keys/sticky_keys_controller.cc DispatchEventAndReleaseModifier(event); event 313 ash/sticky_keys/sticky_keys_controller.cc StickyKeysHandler::TranslateKeyEvent(ui::KeyEvent* event) { event 315 ash/sticky_keys/sticky_keys_controller.cc if (event->key_code() == ui::VKEY_SHIFT || event 316 ash/sticky_keys/sticky_keys_controller.cc event->key_code() == ui::VKEY_LSHIFT || event 317 ash/sticky_keys/sticky_keys_controller.cc event->key_code() == ui::VKEY_RSHIFT) { event 319 ash/sticky_keys/sticky_keys_controller.cc } else if (event->key_code() == ui::VKEY_CONTROL || event 320 ash/sticky_keys/sticky_keys_controller.cc event->key_code() == ui::VKEY_LCONTROL || event 321 ash/sticky_keys/sticky_keys_controller.cc event->key_code() == ui::VKEY_RCONTROL) { event 323 ash/sticky_keys/sticky_keys_controller.cc } else if (event->key_code() == ui::VKEY_MENU || event 324 ash/sticky_keys/sticky_keys_controller.cc event->key_code() == ui::VKEY_LMENU || event 325 ash/sticky_keys/sticky_keys_controller.cc event->key_code() == ui::VKEY_RMENU) { event 327 ash/sticky_keys/sticky_keys_controller.cc } else if (event->key_code() == ui::VKEY_ALTGR) { event 330 ash/sticky_keys/sticky_keys_controller.cc return event->type() == ui::ET_KEY_PRESSED ? event 335 ash/sticky_keys/sticky_keys_controller.cc return event->type() == ui::ET_KEY_PRESSED ? event 338 ash/sticky_keys/sticky_keys_controller.cc return event->type() == ui::ET_KEY_PRESSED ? event 342 ash/sticky_keys/sticky_keys_controller.cc bool StickyKeysHandler::HandleDisabledState(ui::KeyEvent* event) { event 343 ash/sticky_keys/sticky_keys_controller.cc switch (TranslateKeyEvent(event)) { event 349 ash/sticky_keys/sticky_keys_controller.cc modifier_up_event_.reset(new ui::KeyEvent(*event)); event 368 ash/sticky_keys/sticky_keys_controller.cc bool StickyKeysHandler::HandleEnabledState(ui::KeyEvent* event) { event 369 ash/sticky_keys/sticky_keys_controller.cc switch (TranslateKeyEvent(event)) { event 379 ash/sticky_keys/sticky_keys_controller.cc AppendModifier(event); event 380 ash/sticky_keys/sticky_keys_controller.cc DispatchEventAndReleaseModifier(event); event 391 ash/sticky_keys/sticky_keys_controller.cc bool StickyKeysHandler::HandleLockedState(ui::KeyEvent* event) { event 392 ash/sticky_keys/sticky_keys_controller.cc switch (TranslateKeyEvent(event)) { event 400 ash/sticky_keys/sticky_keys_controller.cc AppendModifier(event); event 410 ash/sticky_keys/sticky_keys_controller.cc void StickyKeysHandler::DispatchEventAndReleaseModifier(ui::Event* event) { event 411 ash/sticky_keys/sticky_keys_controller.cc DCHECK(event->IsKeyEvent() || event 412 ash/sticky_keys/sticky_keys_controller.cc event->IsMouseEvent() || event 413 ash/sticky_keys/sticky_keys_controller.cc event->IsScrollEvent()); event 415 ash/sticky_keys/sticky_keys_controller.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 424 ash/sticky_keys/sticky_keys_controller.cc if (event->IsKeyEvent()) { event 425 ash/sticky_keys/sticky_keys_controller.cc delegate_->DispatchKeyEvent(static_cast<ui::KeyEvent*>(event), target); event 426 ash/sticky_keys/sticky_keys_controller.cc } else if (event->IsMouseEvent()) { event 427 ash/sticky_keys/sticky_keys_controller.cc delegate_->DispatchMouseEvent(static_cast<ui::MouseEvent*>(event), target); event 430 ash/sticky_keys/sticky_keys_controller.cc static_cast<ui::ScrollEvent*>(event), target); event 463 ash/sticky_keys/sticky_keys_controller.cc void StickyKeysHandler::AppendModifier(ui::KeyEvent* event) { event 465 ash/sticky_keys/sticky_keys_controller.cc XEvent* xev = event->native_event(); event 473 ash/sticky_keys/sticky_keys_controller.cc event->set_flags(event->flags() | modifier_flag_); event 474 ash/sticky_keys/sticky_keys_controller.cc event->set_character(ui::GetCharacterFromKeyCode(event->key_code(), event 475 ash/sticky_keys/sticky_keys_controller.cc event->flags())); event 476 ash/sticky_keys/sticky_keys_controller.cc event->NormalizeFlags(); event 479 ash/sticky_keys/sticky_keys_controller.cc void StickyKeysHandler::AppendModifier(ui::MouseEvent* event) { event 483 ash/sticky_keys/sticky_keys_controller.cc XEvent* xev = event->native_event(); event 508 ash/sticky_keys/sticky_keys_controller.cc event->set_flags(event->flags() | modifier_flag_); event 511 ash/sticky_keys/sticky_keys_controller.cc void StickyKeysHandler::AppendModifier(ui::ScrollEvent* event) { event 513 ash/sticky_keys/sticky_keys_controller.cc XEvent* xev = event->native_event(); event 525 ash/sticky_keys/sticky_keys_controller.cc event->set_flags(event->flags() | modifier_flag_); event 73 ash/sticky_keys/sticky_keys_controller.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 74 ash/sticky_keys/sticky_keys_controller.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 75 ash/sticky_keys/sticky_keys_controller.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 83 ash/sticky_keys/sticky_keys_controller.h bool HandleKeyEvent(ui::KeyEvent* event); event 86 ash/sticky_keys/sticky_keys_controller.h bool HandleMouseEvent(ui::MouseEvent* event); event 89 ash/sticky_keys/sticky_keys_controller.h bool HandleScrollEvent(ui::ScrollEvent* event); event 151 ash/sticky_keys/sticky_keys_controller.h virtual void DispatchKeyEvent(ui::KeyEvent* event, event 155 ash/sticky_keys/sticky_keys_controller.h virtual void DispatchMouseEvent(ui::MouseEvent* event, event 159 ash/sticky_keys/sticky_keys_controller.h virtual void DispatchScrollEvent(ui::ScrollEvent* event, event 169 ash/sticky_keys/sticky_keys_controller.h bool HandleKeyEvent(ui::KeyEvent* event); event 172 ash/sticky_keys/sticky_keys_controller.h bool HandleMouseEvent(ui::MouseEvent* event); event 175 ash/sticky_keys/sticky_keys_controller.h bool HandleScrollEvent(ui::ScrollEvent* event); event 192 ash/sticky_keys/sticky_keys_controller.h KeyEventType TranslateKeyEvent(ui::KeyEvent* event); event 195 ash/sticky_keys/sticky_keys_controller.h bool HandleDisabledState(ui::KeyEvent* event); event 198 ash/sticky_keys/sticky_keys_controller.h bool HandleEnabledState(ui::KeyEvent* event); event 201 ash/sticky_keys/sticky_keys_controller.h bool HandleLockedState(ui::KeyEvent* event); event 207 ash/sticky_keys/sticky_keys_controller.h void DispatchEventAndReleaseModifier(ui::Event* event); event 213 ash/sticky_keys/sticky_keys_controller.h void AppendModifier(ui::KeyEvent* event); event 214 ash/sticky_keys/sticky_keys_controller.h void AppendModifier(ui::MouseEvent* event); event 215 ash/sticky_keys/sticky_keys_controller.h void AppendModifier(ui::ScrollEvent* event); event 40 ash/sticky_keys/sticky_keys_overlay_unittest.cc ui::KeyEvent event(type, code, 0, false); event 41 ash/sticky_keys/sticky_keys_overlay_unittest.cc ui::Event::DispatcherApi dispatcher(&event); event 45 ash/sticky_keys/sticky_keys_overlay_unittest.cc GetHost()->event_processor()->OnEventFromSource(&event); event 46 ash/sticky_keys/sticky_keys_unittest.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE { event 47 ash/sticky_keys/sticky_keys_unittest.cc events_.push_back(new ui::KeyEvent(*event)); event 50 ash/sticky_keys/sticky_keys_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 51 ash/sticky_keys/sticky_keys_unittest.cc if (event->IsMouseWheelEvent()) { event 53 ash/sticky_keys/sticky_keys_unittest.cc new ui::MouseWheelEvent(*static_cast<ui::MouseWheelEvent*>(event))); event 55 ash/sticky_keys/sticky_keys_unittest.cc events_.push_back(new ui::MouseEvent(*event)); event 82 ash/sticky_keys/sticky_keys_unittest.cc virtual void DispatchKeyEvent(ui::KeyEvent* event, event 89 ash/sticky_keys/sticky_keys_unittest.cc if (event->type() == ui::ET_KEY_PRESSED && event 90 ash/sticky_keys/sticky_keys_unittest.cc event->key_code() == ui::VKEY_J && event 91 ash/sticky_keys/sticky_keys_unittest.cc event->flags() | ui::EF_CONTROL_DOWN) { event 95 ash/sticky_keys/sticky_keys_unittest.cc events_.push_back(new ui::KeyEvent(*event)); event 98 ash/sticky_keys/sticky_keys_unittest.cc virtual void DispatchMouseEvent(ui::MouseEvent* event, event 102 ash/sticky_keys/sticky_keys_unittest.cc new ui::MouseEvent(*event, target, target->GetRootWindow())); event 105 ash/sticky_keys/sticky_keys_unittest.cc virtual void DispatchScrollEvent(ui::ScrollEvent* event, event 107 ash/sticky_keys/sticky_keys_unittest.cc events_.push_back(new ui::ScrollEvent(event->native_event())); event 171 ash/sticky_keys/sticky_keys_unittest.cc ui::KeyEvent* event = new ui::KeyEvent(scoped_xevent_, false); event 172 ash/sticky_keys/sticky_keys_unittest.cc ui::Event::DispatcherApi dispatcher(event); event 174 ash/sticky_keys/sticky_keys_unittest.cc return event; event 192 ash/sticky_keys/sticky_keys_unittest.cc ui::MouseEvent* event = new ui::MouseEvent(scoped_xevent_); event 193 ash/sticky_keys/sticky_keys_unittest.cc ui::Event::DispatcherApi dispatcher(event); event 195 ash/sticky_keys/sticky_keys_unittest.cc return event; event 202 ash/sticky_keys/sticky_keys_unittest.cc ui::MouseWheelEvent* event = new ui::MouseWheelEvent(scoped_xevent_); event 203 ash/sticky_keys/sticky_keys_unittest.cc ui::Event::DispatcherApi dispatcher(event); event 205 ash/sticky_keys/sticky_keys_unittest.cc return event; event 215 ash/sticky_keys/sticky_keys_unittest.cc ui::ScrollEvent* event = new ui::ScrollEvent(scoped_xevent_); event 216 ash/sticky_keys/sticky_keys_unittest.cc ui::Event::DispatcherApi dispatcher(event); event 218 ash/sticky_keys/sticky_keys_unittest.cc return event; event 230 ash/sticky_keys/sticky_keys_unittest.cc ui::ScrollEvent* event = new ui::ScrollEvent(scoped_xevent_); event 231 ash/sticky_keys/sticky_keys_unittest.cc ui::Event::DispatcherApi dispatcher(event); event 233 ash/sticky_keys/sticky_keys_unittest.cc return event; event 239 ash/sticky_keys/sticky_keys_unittest.cc ui::KeyEvent* event = new ui::KeyEvent( event 242 ash/sticky_keys/sticky_keys_unittest.cc ui::Event::DispatcherApi dispatcher(event); event 244 ash/sticky_keys/sticky_keys_unittest.cc return event; event 249 ash/sticky_keys/sticky_keys_unittest.cc ui::MouseEvent* event = new ui::MouseEvent( event 255 ash/sticky_keys/sticky_keys_unittest.cc ui::Event::DispatcherApi dispatcher(event); event 257 ash/sticky_keys/sticky_keys_unittest.cc return event; event 262 ash/sticky_keys/sticky_keys_unittest.cc ui::MouseEvent* event = new ui::MouseEvent( event 268 ash/sticky_keys/sticky_keys_unittest.cc ui::Event::DispatcherApi dispatcher(event); event 270 ash/sticky_keys/sticky_keys_unittest.cc return event; event 290 ash/system/audio/volume_view.cc void VolumeView::ButtonPressed(views::Button* sender, const ui::Event& event) { event 322 ash/system/audio/volume_view.cc bool VolumeView::PerformAction(const ui::Event& event) { event 57 ash/system/audio/volume_view.h const ui::Event& event) OVERRIDE; event 66 ash/system/audio/volume_view.h virtual bool PerformAction(const ui::Event& event) OVERRIDE; event 383 ash/system/bluetooth/tray_bluetooth.cc const ui::Event& event) OVERRIDE { event 242 ash/system/chromeos/network/network_state_list_detailed_view.cc const ui::Event& event) { event 69 ash/system/chromeos/network/network_state_list_detailed_view.h const ui::Event& event) OVERRIDE; event 118 ash/system/chromeos/network/tray_sms.cc const ui::Event& event) OVERRIDE { event 22 ash/system/chromeos/power/user_activity_notifier.cc const ui::Event* event) { event 23 ash/system/chromeos/power/user_activity_notifier.cc if (!event || event->type() != ui::ET_KEY_PRESSED) event 26 ash/system/chromeos/power/user_activity_notifier.cc switch (static_cast<const ui::KeyEvent*>(event)->key_code()) { event 53 ash/system/chromeos/power/user_activity_notifier.cc void UserActivityNotifier::OnUserActivity(const ui::Event* event) { event 60 ash/system/chromeos/power/user_activity_notifier.cc NotifyUserActivity(GetUserActivityTypeForEvent(event)); event 26 ash/system/chromeos/power/user_activity_notifier.h virtual void OnUserActivity(const ui::Event* event) OVERRIDE; event 80 ash/system/chromeos/screen_security/screen_tray_item.cc const ui::Event& event) { event 54 ash/system/chromeos/screen_security/screen_tray_item.h const ui::Event& event) OVERRIDE; event 138 ash/system/chromeos/session/logout_button_tray.cc const ui::Event& event) { event 46 ash/system/chromeos/session/logout_button_tray.h const ui::Event& event) OVERRIDE; event 73 ash/system/chromeos/settings/tray_settings.cc virtual bool PerformAction(const ui::Event& event) OVERRIDE { event 109 ash/system/chromeos/tray_caps_lock.cc virtual bool PerformAction(const ui::Event& event) OVERRIDE { event 268 ash/system/chromeos/tray_display.cc virtual bool PerformAction(const ui::Event& event) OVERRIDE { event 51 ash/system/chromeos/tray_tracing.cc virtual bool PerformAction(const ui::Event& event) OVERRIDE { event 100 ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc bool VirtualKeyboardTray::PerformAction(const ui::Event& event) { event 106 ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc const ui::Event& event) { event 108 ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc PerformAction(event); event 34 ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h virtual bool PerformAction(const ui::Event& event) OVERRIDE; event 38 ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h const ui::Event& event) OVERRIDE; event 103 ash/system/date/date_default_view.cc const ui::Event& event) { event 36 ash/system/date/date_default_view.h const ui::Event& event) OVERRIDE; event 171 ash/system/date/date_view.cc bool DateView::PerformAction(const ui::Event& event) { event 179 ash/system/date/date_view.cc void DateView::OnMouseEntered(const ui::MouseEvent& event) { event 186 ash/system/date/date_view.cc void DateView::OnMouseExited(const ui::MouseEvent& event) { event 247 ash/system/date/date_view.cc bool TimeView::PerformAction(const ui::Event& event) { event 251 ash/system/date/date_view.cc bool TimeView::OnMousePressed(const ui::MouseEvent& event) { event 73 ash/system/date/date_view.h virtual bool PerformAction(const ui::Event& event) OVERRIDE; event 76 ash/system/date/date_view.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 77 ash/system/date/date_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 111 ash/system/date/date_view.h virtual bool PerformAction(const ui::Event& event) OVERRIDE; event 114 ash/system/date/date_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 254 ash/system/drive/tray_drive.cc const ui::Event& event) OVERRIDE { event 59 ash/system/overview/overview_button_tray.cc bool OverviewButtonTray::PerformAction(const ui::Event& event) { event 34 ash/system/overview/overview_button_tray.h virtual bool PerformAction(const ui::Event& event) OVERRIDE; event 57 ash/system/status_area_widget_delegate.cc void StatusAreaWidgetDelegate::OnGestureEvent(ui::GestureEvent* event) { event 58 ash/system/status_area_widget_delegate.cc if (gesture_handler_.ProcessGestureEvent(*event)) event 59 ash/system/status_area_widget_delegate.cc event->StopPropagation(); event 61 ash/system/status_area_widget_delegate.cc views::AccessiblePaneView::OnGestureEvent(event); event 43 ash/system/status_area_widget_delegate.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 38 ash/system/tray/actionable_view.cc bool ActionableView::OnKeyPressed(const ui::KeyEvent& event) { event 39 ash/system/tray/actionable_view.cc if (event.key_code() == ui::VKEY_SPACE || event 40 ash/system/tray/actionable_view.cc event.key_code() == ui::VKEY_RETURN) { event 41 ash/system/tray/actionable_view.cc return PerformAction(event); event 46 ash/system/tray/actionable_view.cc bool ActionableView::OnMousePressed(const ui::MouseEvent& event) { event 52 ash/system/tray/actionable_view.cc void ActionableView::OnMouseReleased(const ui::MouseEvent& event) { event 53 ash/system/tray/actionable_view.cc if (has_capture_ && GetLocalBounds().Contains(event.location())) event 54 ash/system/tray/actionable_view.cc PerformAction(event); event 88 ash/system/tray/actionable_view.cc void ActionableView::OnGestureEvent(ui::GestureEvent* event) { event 89 ash/system/tray/actionable_view.cc if (event->type() == ui::ET_GESTURE_TAP && PerformAction(*event)) event 90 ash/system/tray/actionable_view.cc event->SetHandled(); event 41 ash/system/tray/actionable_view.h virtual bool PerformAction(const ui::Event& event) = 0; event 45 ash/system/tray/actionable_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 46 ash/system/tray/actionable_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 47 ash/system/tray/actionable_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 55 ash/system/tray/actionable_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 132 ash/system/tray/hover_highlight_view.cc bool HoverHighlightView::PerformAction(const ui::Event& event) { event 160 ash/system/tray/hover_highlight_view.cc void HoverHighlightView::OnMouseEntered(const ui::MouseEvent& event) { event 167 ash/system/tray/hover_highlight_view.cc void HoverHighlightView::OnMouseExited(const ui::MouseEvent& event) { event 62 ash/system/tray/hover_highlight_view.h virtual bool PerformAction(const ui::Event& event) OVERRIDE; event 68 ash/system/tray/hover_highlight_view.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 69 ash/system/tray/hover_highlight_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 681 ash/system/tray/system_tray.cc bool SystemTray::PerformAction(const ui::Event& event) { event 688 ash/system/tray/system_tray.cc if (event.IsMouseEvent() || event.type() == ui::ET_GESTURE_TAP) { event 690 ash/system/tray/system_tray.cc static_cast<const ui::LocatedEvent&>(event); event 196 ash/system/tray/system_tray.h virtual bool PerformAction(const ui::Event& event) OVERRIDE; event 80 ash/system/tray/system_tray_bubble.cc virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE { event 85 ash/system/tray/system_tray_bubble.cc virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE { event 358 ash/system/tray/tray_background_view.cc void TrayBackgroundView::OnMouseEntered(const ui::MouseEvent& event) { event 367 ash/system/tray/tray_background_view.cc void TrayBackgroundView::OnMouseExited(const ui::MouseEvent& event) { event 392 ash/system/tray/tray_background_view.cc bool TrayBackgroundView::PerformAction(const ui::Event& event) { event 68 ash/system/tray/tray_background_view.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 69 ash/system/tray/tray_background_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 75 ash/system/tray/tray_background_view.h virtual bool PerformAction(const ui::Event& event) OVERRIDE; event 42 ash/system/tray/tray_event_filter.cc void TrayEventFilter::OnMouseEvent(ui::MouseEvent* event) { event 43 ash/system/tray/tray_event_filter.cc if (event->type() == ui::ET_MOUSE_PRESSED && event 44 ash/system/tray/tray_event_filter.cc ProcessLocatedEvent(event)) { event 45 ash/system/tray/tray_event_filter.cc event->StopPropagation(); event 49 ash/system/tray/tray_event_filter.cc void TrayEventFilter::OnTouchEvent(ui::TouchEvent* event) { event 50 ash/system/tray/tray_event_filter.cc if (event->type() == ui::ET_TOUCH_PRESSED && ProcessLocatedEvent(event)) event 51 ash/system/tray/tray_event_filter.cc event->StopPropagation(); event 54 ash/system/tray/tray_event_filter.cc bool TrayEventFilter::ProcessLocatedEvent(ui::LocatedEvent* event) { event 55 ash/system/tray/tray_event_filter.cc if (event->target()) { event 56 ash/system/tray/tray_event_filter.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 81 ash/system/tray/tray_event_filter.cc gfx::Point screen_point(event->root_location()); event 32 ash/system/tray/tray_event_filter.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 33 ash/system/tray/tray_event_filter.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 37 ash/system/tray/tray_event_filter.h bool ProcessLocatedEvent(ui::LocatedEvent* event); event 69 ash/system/tray/tray_item_more.cc bool TrayItemMore::PerformAction(const ui::Event& event) { event 41 ash/system/tray/tray_item_more.h virtual bool PerformAction(const ui::Event& event) OVERRIDE; event 131 ash/system/tray/tray_notification_view.cc const ui::Event& event) { event 135 ash/system/tray/tray_notification_view.cc bool TrayNotificationView::OnMousePressed(const ui::MouseEvent& event) { event 140 ash/system/tray/tray_notification_view.cc void TrayNotificationView::OnGestureEvent(ui::GestureEvent* event) { event 141 ash/system/tray/tray_notification_view.cc SlideOutView::OnGestureEvent(event); event 142 ash/system/tray/tray_notification_view.cc if (event->handled()) event 144 ash/system/tray/tray_notification_view.cc if (event->type() != ui::ET_GESTURE_TAP) event 147 ash/system/tray/tray_notification_view.cc event->SetHandled(); event 59 ash/system/tray/tray_notification_view.h const ui::Event& event) OVERRIDE; event 62 ash/system/tray/tray_notification_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 65 ash/system/tray/tray_notification_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 297 ash/system/tray_accessibility.cc const ui::Event& event) { event 82 ash/system/tray_accessibility.h const ui::Event& event) OVERRIDE; event 87 ash/system/tray_update.cc virtual bool PerformAction(const ui::Event& event) OVERRIDE { event 216 ash/system/user/tray_user.cc virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 217 ash/system/user/tray_user.cc virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 280 ash/system/user/tray_user.cc const ui::Event& event) OVERRIDE; event 339 ash/system/user/tray_user.cc const ui::Event& event) OVERRIDE; event 626 ash/system/user/tray_user.cc void UserCard::OnMouseEntered(const ui::MouseEvent& event) { event 634 ash/system/user/tray_user.cc void UserCard::OnMouseExited(const ui::MouseEvent& event) { event 761 ash/system/user/tray_user.cc void UserView::ButtonPressed(views::Button* sender, const ui::Event& event) { event 1044 ash/system/user/tray_user.cc void AddUserView::ButtonPressed(views::Button* sender, const ui::Event& event) { event 1046 ash/system/user/tray_user.cc listener_->ButtonPressed(this, event); event 484 ash/system/web_notification/web_notification_tray.cc bool WebNotificationTray::PerformAction(const ui::Event& event) { event 564 ash/system/web_notification/web_notification_tray.cc const ui::Event& event) { event 566 ash/system/web_notification/web_notification_tray.cc PerformAction(event); event 86 ash/system/web_notification/web_notification_tray.h virtual bool PerformAction(const ui::Event& event) OVERRIDE; event 100 ash/system/web_notification/web_notification_tray.h const ui::Event& event) OVERRIDE; event 146 ash/system/web_notification/web_notification_tray.h bool ShouldShowQuietModeMenu(const ui::Event& event); event 149 ash/system/web_notification/web_notification_tray.h void ShowQuietModeMenu(const ui::Event& event); event 20 ash/test/test_shelf_item_delegate.cc bool TestShelfItemDelegate::ItemSelected(const ui::Event& event) { event 23 ash/test/test_shelf_item_delegate.cc wm::MoveWindowToEventRoot(window_, event); event 26 ash/test/test_shelf_item_delegate.h virtual bool ItemSelected(const ui::Event& event) OVERRIDE; event 72 ash/touch/touch_hud_debug.cc int GetTrackingId(const ui::TouchEvent& event) { event 73 ash/touch/touch_hud_debug.cc if (!event.HasNativeEvent()) event 78 ash/touch/touch_hud_debug.cc if (manager->GetEventData(*event.native_event(), event 87 ash/touch/touch_hud_debug.cc int GetSourceDeviceId(const ui::TouchEvent& event) { event 88 ash/touch/touch_hud_debug.cc if (!event.HasNativeEvent()) event 91 ash/touch/touch_hud_debug.cc XEvent* xev = event.native_event(); event 458 ash/touch/touch_hud_debug.cc void TouchHudDebug::OnTouchEvent(ui::TouchEvent* event) { event 459 ash/touch/touch_hud_debug.cc if (event->touch_id() >= kMaxTouchPoints) event 462 ash/touch/touch_hud_debug.cc touch_log_->AddTouchPoint(*event); event 463 ash/touch/touch_hud_debug.cc canvas_->TouchPointAdded(event->touch_id()); event 464 ash/touch/touch_hud_debug.cc UpdateTouchPointLabel(event->touch_id()); event 62 ash/touch/touch_hud_debug.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 153 ash/touch/touch_hud_projection.cc void TouchHudProjection::OnTouchEvent(ui::TouchEvent* event) { event 154 ash/touch/touch_hud_projection.cc if (event->type() == ui::ET_TOUCH_PRESSED) { event 156 ash/touch/touch_hud_projection.cc point->UpdateTouch(*event); event 158 ash/touch/touch_hud_projection.cc points_.insert(std::make_pair(event->touch_id(), point)); event 167 ash/touch/touch_hud_projection.cc points_.find(event->touch_id()); event 169 ash/touch/touch_hud_projection.cc iter->second->UpdateTouch(*event); event 170 ash/touch/touch_hud_projection.cc if (event->type() == ui::ET_TOUCH_RELEASED || event 171 ash/touch/touch_hud_projection.cc event->type() == ui::ET_TOUCH_CANCELLED) event 30 ash/touch/touch_hud_projection.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 56 ash/touch/touch_observer_hud.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 295 ash/touch/touch_observer_hud_unittest.cc ui::TouchEvent event(type, location, touch_id, event_time); event 296 ash/touch/touch_observer_hud_unittest.cc GetInternalTouchHudProjection()->OnTouchEvent(&event); event 99 ash/touch/touch_uma.cc UMAEventType UMAEventTypeFromEvent(const ui::Event& event) { event 100 ash/touch/touch_uma.cc switch (event.type()) { event 117 ash/touch/touch_uma.cc static_cast<const ui::GestureEvent&>(event); event 128 ash/touch/touch_uma.cc static_cast<const ui::GestureEvent&>(event); event 153 ash/touch/touch_uma.cc static_cast<const ui::GestureEvent&>(event); event 166 ash/touch/touch_uma.cc static_cast<const ui::GestureEvent&>(event); event 201 ash/touch/touch_uma.cc const ui::GestureEvent& event) { event 203 ash/touch/touch_uma.cc UMAEventTypeFromEvent(event), event 206 ash/touch/touch_uma.cc GestureActionType action = FindGestureActionType(target, event); event 209 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_END && event 210 ash/touch/touch_uma.cc event.details().touch_points() == 2) { event 217 ash/touch/touch_uma.cc details->last_mt_time_ = event.time_stamp(); event 229 ash/touch/touch_uma.cc const ui::TouchEvent& event) { event 231 ash/touch/touch_uma.cc static_cast<int>(std::max(event.radius_x(), event.radius_y())), event 234 ash/touch/touch_uma.cc UpdateTouchState(event); event 250 ash/touch/touch_uma.cc gfx::Point position = event.root_location(); event 253 ash/touch/touch_uma.cc if (event.HasNativeEvent()) { event 255 ash/touch/touch_uma.cc XEvent* xevent = event.native_event(); event 266 ash/touch/touch_uma.cc position = ui::EventLocationFromNative(event.native_event()); event 269 ash/touch/touch_uma.cc position = ui::EventLocationFromNative(event.native_event()); event 285 ash/touch/touch_uma.cc if (event.type() == ui::ET_TOUCH_PRESSED) { event 289 ash/touch/touch_uma.cc details->last_start_time_[event.touch_id()] = event.time_stamp(); event 290 ash/touch/touch_uma.cc details->start_touch_position_[event.touch_id()] = event.root_location(); event 291 ash/touch/touch_uma.cc details->last_touch_position_[event.touch_id()] = event.location(); event 299 ash/touch/touch_uma.cc base::TimeDelta diff = event.time_stamp() - details->last_mt_time_; event 301 ash/touch/touch_uma.cc base::TimeDelta gap = event.time_stamp() - details->last_release_time_; event 312 ash/touch/touch_uma.cc } else if (event.type() == ui::ET_TOUCH_RELEASED) { event 319 ash/touch/touch_uma.cc if (details->last_start_time_.count(event.touch_id())) { event 320 ash/touch/touch_uma.cc base::TimeDelta duration = event.time_stamp() - event 321 ash/touch/touch_uma.cc details->last_start_time_[event.touch_id()]; event 328 ash/touch/touch_uma.cc gfx::Vector2d distance = event.root_location() - event 329 ash/touch/touch_uma.cc details->start_touch_position_[event.touch_id()]; event 339 ash/touch/touch_uma.cc details->last_start_time_.erase(event.touch_id()); event 340 ash/touch/touch_uma.cc details->last_move_time_.erase(event.touch_id()); event 341 ash/touch/touch_uma.cc details->start_touch_position_.erase(event.touch_id()); event 342 ash/touch/touch_uma.cc details->last_touch_position_.erase(event.touch_id()); event 343 ash/touch/touch_uma.cc details->last_release_time_ = event.time_stamp(); event 344 ash/touch/touch_uma.cc } else if (event.type() == ui::ET_TOUCH_MOVED) { event 346 ash/touch/touch_uma.cc if (details->last_touch_position_.count(event.touch_id())) { event 347 ash/touch/touch_uma.cc gfx::Point lastpos = details->last_touch_position_[event.touch_id()]; event 348 ash/touch/touch_uma.cc distance = abs(lastpos.x() - event.x()) + abs(lastpos.y() - event.y()); event 351 ash/touch/touch_uma.cc if (details->last_move_time_.count(event.touch_id())) { event 352 ash/touch/touch_uma.cc base::TimeDelta move_delay = event.time_stamp() - event 353 ash/touch/touch_uma.cc details->last_move_time_[event.touch_id()]; event 361 ash/touch/touch_uma.cc details->last_move_time_[event.touch_id()] = event.time_stamp(); event 362 ash/touch/touch_uma.cc details->last_touch_position_[event.touch_id()] = event.location(); event 364 ash/touch/touch_uma.cc float cur_dist = (details->start_touch_position_[event.touch_id()] - event 365 ash/touch/touch_uma.cc event.root_location()).LengthSquared(); event 380 ash/touch/touch_uma.cc void TouchUMA::UpdateTouchState(const ui::TouchEvent& event) { event 381 ash/touch/touch_uma.cc if (event.type() == ui::ET_TOUCH_PRESSED) { event 384 ash/touch/touch_uma.cc base::TimeDelta difference = event.time_stamp() - last_touch_down_time_; event 398 ash/touch/touch_uma.cc last_touch_down_time_ = event.time_stamp(); event 399 ash/touch/touch_uma.cc } else if (event.type() == ui::ET_TOUCH_RELEASED) { event 407 ash/touch/touch_uma.cc const ui::GestureEvent& event) { event 409 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_SCROLL_BEGIN) event 411 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_BEGIN) event 420 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_SCROLL_BEGIN) event 422 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_PINCH_BEGIN) event 429 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_PINCH_BEGIN) event 431 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_SCROLL_BEGIN) event 433 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_TAP) event 443 ash/touch/touch_uma.cc GetEventHandlerForPoint(event.location()); event 452 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_SCROLL_BEGIN) event 454 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_PINCH_BEGIN) event 456 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_TAP) event 463 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_SCROLL_BEGIN) event 465 ash/touch/touch_uma.cc if (event.type() == ui::ET_GESTURE_PINCH_BEGIN) event 57 ash/touch/touch_uma.h const ui::GestureEvent& event); event 60 ash/touch/touch_uma.h const ui::TouchEvent& event); event 68 ash/touch/touch_uma.h void UpdateTouchState(const ui::TouchEvent& event); event 70 ash/touch/touch_uma.h const ui::GestureEvent& event); event 285 ash/wm/app_list_controller.cc void AppListController::ProcessLocatedEvent(ui::LocatedEvent* event) { event 291 ash/wm/app_list_controller.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 320 ash/wm/app_list_controller.cc void AppListController::OnMouseEvent(ui::MouseEvent* event) { event 321 ash/wm/app_list_controller.cc if (event->type() == ui::ET_MOUSE_PRESSED) event 322 ash/wm/app_list_controller.cc ProcessLocatedEvent(event); event 325 ash/wm/app_list_controller.cc void AppListController::OnGestureEvent(ui::GestureEvent* event) { event 326 ash/wm/app_list_controller.cc if (event->type() == ui::ET_GESTURE_TAP_DOWN) event 327 ash/wm/app_list_controller.cc ProcessLocatedEvent(event); event 87 ash/wm/app_list_controller.h void ProcessLocatedEvent(ui::LocatedEvent* event); event 93 ash/wm/app_list_controller.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 94 ash/wm/app_list_controller.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 41 ash/wm/ash_native_cursor_manager_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 42 ash/wm/ash_native_cursor_manager_unittest.cc mouse_event_location_ = event->location(); event 43 ash/wm/ash_native_cursor_manager_unittest.cc event->SetHandled(); event 73 ash/wm/default_state.cc const WMEvent* event) { event 74 ash/wm/default_state.cc if (ProcessWorkspaceEvents(window_state, event)) event 77 ash/wm/default_state.cc if (ProcessCompoundEvents(window_state, event)) event 81 ash/wm/default_state.cc switch (event->type()) { event 101 ash/wm/default_state.cc SetBounds(window_state, static_cast<const SetBoundsEvent*>(event)); event 112 ash/wm/default_state.cc NOTREACHED() << "Compound event should not reach here:" << event; event 117 ash/wm/default_state.cc NOTREACHED() << "Workspace event should not reach here:" << event; event 124 ash/wm/default_state.cc gfx::Rect snapped_bounds = event->type() == WM_EVENT_SNAP_LEFT ? event 150 ash/wm/default_state.cc const WMEvent event(wm::WM_EVENT_DISPLAY_BOUNDS_CHANGED); event 151 ash/wm/default_state.cc window_state->OnWMEvent(&event); event 153 ash/wm/default_state.cc const WMEvent event(wm::WM_EVENT_WORKAREA_BOUNDS_CHANGED); event 154 ash/wm/default_state.cc window_state->OnWMEvent(&event); event 174 ash/wm/default_state.cc const WMEvent* event) { event 177 ash/wm/default_state.cc switch (event->type()) { event 180 ash/wm/default_state.cc const wm::WMEvent event(wm::WM_EVENT_TOGGLE_FULLSCREEN); event 181 ash/wm/default_state.cc window_state->OnWMEvent(&event); event 191 ash/wm/default_state.cc const wm::WMEvent event(wm::WM_EVENT_TOGGLE_FULLSCREEN); event 192 ash/wm/default_state.cc window_state->OnWMEvent(&event); event 295 ash/wm/default_state.cc NOTREACHED() << "Workspace event should not reach here:" << event; event 302 ash/wm/default_state.cc const WMEvent* event) { event 303 ash/wm/default_state.cc switch (event->type()) { event 404 ash/wm/default_state.cc const SetBoundsEvent* event) { event 406 ash/wm/default_state.cc window_state->SetBoundsDirect(event->requested_bounds()); event 410 ash/wm/default_state.cc gfx::Rect child_bounds(event->requested_bounds()); event 415 ash/wm/default_state.cc window_state->SetBoundsConstrained(event->requested_bounds()); event 23 ash/wm/default_state.h const WMEvent* event) OVERRIDE; event 33 ash/wm/default_state.h const WMEvent* event); event 37 ash/wm/default_state.h const WMEvent* event); event 247 ash/wm/gestures/long_press_affordance_handler.cc ui::GestureEvent* event) { event 251 ash/wm/gestures/long_press_affordance_handler.cc switch (event->type()) { event 254 ash/wm/gestures/long_press_affordance_handler.cc tap_down_location_ = event->root_location(); event 37 ash/wm/gestures/long_press_affordance_handler.h void ProcessEvent(aura::Window* target, ui::GestureEvent* event); event 41 ash/wm/gestures/overview_gesture_handler.cc bool OverviewGestureHandler::ProcessScrollEvent(const ui::ScrollEvent& event) { event 42 ash/wm/gestures/overview_gesture_handler.cc if (event.type() == ui::ET_SCROLL_FLING_START || event 43 ash/wm/gestures/overview_gesture_handler.cc event.type() == ui::ET_SCROLL_FLING_CANCEL || event 44 ash/wm/gestures/overview_gesture_handler.cc event.finger_count() != 3) { event 49 ash/wm/gestures/overview_gesture_handler.cc scroll_x_ += event.x_offset(); event 50 ash/wm/gestures/overview_gesture_handler.cc scroll_y_ += event.y_offset(); event 81 ash/wm/gestures/overview_gesture_handler.cc const ui::GestureEvent& event) { event 83 ash/wm/gestures/overview_gesture_handler.cc if (event.type() == ui::ET_GESTURE_BEGIN && event 84 ash/wm/gestures/overview_gesture_handler.cc event.details().touch_points() == 1) { event 85 ash/wm/gestures/overview_gesture_handler.cc gfx::Point point_in_screen(event.location()); event 86 ash/wm/gestures/overview_gesture_handler.cc aura::Window* target = static_cast<aura::Window*>(event.target()); event 95 ash/wm/gestures/overview_gesture_handler.cc event.type() != ui::ET_GESTURE_MULTIFINGER_SWIPE || event 96 ash/wm/gestures/overview_gesture_handler.cc !event.details().swipe_down() || event 97 ash/wm/gestures/overview_gesture_handler.cc event.details().touch_points() != 3) { event 30 ash/wm/gestures/overview_gesture_handler.h bool ProcessScrollEvent(const ui::ScrollEvent& event); event 34 ash/wm/gestures/overview_gesture_handler.h bool ProcessGestureEvent(const ui::GestureEvent& event); event 32 ash/wm/gestures/shelf_gesture_handler.cc bool ShelfGestureHandler::ProcessGestureEvent(const ui::GestureEvent& event) { event 45 ash/wm/gestures/shelf_gesture_handler.cc if (event.type() == ui::ET_GESTURE_WIN8_EDGE_SWIPE) { event 46 ash/wm/gestures/shelf_gesture_handler.cc shelf->OnGestureEdgeSwipe(event); event 56 ash/wm/gestures/shelf_gesture_handler.cc if (event.type() == ui::ET_GESTURE_SCROLL_BEGIN) { event 58 ash/wm/gestures/shelf_gesture_handler.cc shelf->StartGestureDrag(event); event 65 ash/wm/gestures/shelf_gesture_handler.cc if (event.type() == ui::ET_GESTURE_SCROLL_UPDATE) { event 67 ash/wm/gestures/shelf_gesture_handler.cc if (!tray_handler_->UpdateGestureDrag(event)) event 69 ash/wm/gestures/shelf_gesture_handler.cc } else if (shelf->UpdateGestureDrag(event) == event 79 ash/wm/gestures/shelf_gesture_handler.cc if (event.type() == ui::ET_GESTURE_SCROLL_END || event 80 ash/wm/gestures/shelf_gesture_handler.cc event.type() == ui::ET_SCROLL_FLING_START) { event 82 ash/wm/gestures/shelf_gesture_handler.cc tray_handler_->CompleteGestureDrag(event); event 86 ash/wm/gestures/shelf_gesture_handler.cc shelf->CompleteGestureDrag(event); event 28 ash/wm/gestures/shelf_gesture_handler.h bool ProcessGestureEvent(const ui::GestureEvent& event); event 45 ash/wm/gestures/tray_gesture_handler.cc bool TrayGestureHandler::UpdateGestureDrag(const ui::GestureEvent& event) { event 46 ash/wm/gestures/tray_gesture_handler.cc CHECK_EQ(ui::ET_GESTURE_SCROLL_UPDATE, event.type()); event 50 ash/wm/gestures/tray_gesture_handler.cc gesture_drag_amount_ += event.details().scroll_y(); event 67 ash/wm/gestures/tray_gesture_handler.cc void TrayGestureHandler::CompleteGestureDrag(const ui::GestureEvent& event) { event 78 ash/wm/gestures/tray_gesture_handler.cc if (event.type() == ui::ET_GESTURE_SCROLL_END) { event 82 ash/wm/gestures/tray_gesture_handler.cc } else if (event.type() == ui::ET_SCROLL_FLING_START) { event 86 ash/wm/gestures/tray_gesture_handler.cc event.details().velocity_y() > -kMinThresholdGestureFling) event 28 ash/wm/gestures/tray_gesture_handler.h bool UpdateGestureDrag(const ui::GestureEvent& event); event 30 ash/wm/gestures/tray_gesture_handler.h void CompleteGestureDrag(const ui::GestureEvent& event); event 98 ash/wm/immersive_fullscreen_controller.cc gfx::Point GetEventLocationInScreen(const ui::LocatedEvent& event) { event 99 ash/wm/immersive_fullscreen_controller.cc gfx::Point location_in_screen = event.location(); event 100 ash/wm/immersive_fullscreen_controller.cc aura::Window* target = static_cast<aura::Window*>(event.target()); event 354 ash/wm/immersive_fullscreen_controller.cc void ImmersiveFullscreenController::OnMouseEvent(ui::MouseEvent* event) { event 358 ash/wm/immersive_fullscreen_controller.cc if (event->type() != ui::ET_MOUSE_MOVED && event 359 ash/wm/immersive_fullscreen_controller.cc event->type() != ui::ET_MOUSE_PRESSED && event 360 ash/wm/immersive_fullscreen_controller.cc event->type() != ui::ET_MOUSE_RELEASED && event 361 ash/wm/immersive_fullscreen_controller.cc event->type() != ui::ET_MOUSE_CAPTURE_CHANGED) { event 370 ash/wm/immersive_fullscreen_controller.cc UpdateLocatedEventRevealedLock(event); event 371 ash/wm/immersive_fullscreen_controller.cc } else if (event->type() != ui::ET_MOUSE_CAPTURE_CHANGED) { event 374 ash/wm/immersive_fullscreen_controller.cc UpdateTopEdgeHoverTimer(event); event 378 ash/wm/immersive_fullscreen_controller.cc void ImmersiveFullscreenController::OnTouchEvent(ui::TouchEvent* event) { event 379 ash/wm/immersive_fullscreen_controller.cc if (!enabled_ || event->type() != ui::ET_TOUCH_PRESSED) event 387 ash/wm/immersive_fullscreen_controller.cc UpdateLocatedEventRevealedLock(event); event 390 ash/wm/immersive_fullscreen_controller.cc void ImmersiveFullscreenController::OnGestureEvent(ui::GestureEvent* event) { event 399 ash/wm/immersive_fullscreen_controller.cc switch (event->type()) { event 401 ash/wm/immersive_fullscreen_controller.cc if (ShouldHandleGestureEvent(GetEventLocationInScreen(*event))) { event 410 ash/wm/immersive_fullscreen_controller.cc if (UpdateRevealedLocksForSwipe(GetSwipeType(event))) event 411 ash/wm/immersive_fullscreen_controller.cc event->SetHandled(); event 552 ash/wm/immersive_fullscreen_controller.cc ui::MouseEvent* event) { event 561 ash/wm/immersive_fullscreen_controller.cc !native_window_->Contains(static_cast<aura::Window*>(event->target()))) { event 570 ash/wm/immersive_fullscreen_controller.cc gfx::Point location_in_screen = GetEventLocationInScreen(*event); event 605 ash/wm/immersive_fullscreen_controller.cc ui::LocatedEvent* event) { event 608 ash/wm/immersive_fullscreen_controller.cc DCHECK(!event || event->IsMouseEvent() || event->IsTouchEvent()); event 629 ash/wm/immersive_fullscreen_controller.cc if (event && event->type() != ui::ET_MOUSE_CAPTURE_CHANGED) { event 630 ash/wm/immersive_fullscreen_controller.cc location_in_screen = GetEventLocationInScreen(*event); event 643 ash/wm/immersive_fullscreen_controller.cc if ((!event || event->IsMouseEvent()) && event 658 ash/wm/immersive_fullscreen_controller.cc if (event && event->type() == ui::ET_MOUSE_MOVED) { event 852 ash/wm/immersive_fullscreen_controller.cc ImmersiveFullscreenController::GetSwipeType(ui::GestureEvent* event) const { event 853 ash/wm/immersive_fullscreen_controller.cc if (event->type() != ui::ET_GESTURE_SCROLL_UPDATE) event 856 ash/wm/immersive_fullscreen_controller.cc if (abs(event->details().scroll_y()) <= event 857 ash/wm/immersive_fullscreen_controller.cc kSwipeVerticalThresholdMultiplier * abs(event->details().scroll_x())) event 859 ash/wm/immersive_fullscreen_controller.cc if (event->details().scroll_y() < 0) event 861 ash/wm/immersive_fullscreen_controller.cc else if (event->details().scroll_y() > 0) event 127 ash/wm/immersive_fullscreen_controller.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 128 ash/wm/immersive_fullscreen_controller.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 129 ash/wm/immersive_fullscreen_controller.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 183 ash/wm/immersive_fullscreen_controller.h void UpdateTopEdgeHoverTimer(ui::MouseEvent* event); event 188 ash/wm/immersive_fullscreen_controller.h void UpdateLocatedEventRevealedLock(ui::LocatedEvent* event); event 223 ash/wm/immersive_fullscreen_controller.h SwipeType GetSwipeType(ui::GestureEvent* event) const; event 88 ash/wm/immersive_fullscreen_controller_unittest.cc virtual void OnEvent(ui::Event* event) OVERRIDE { event 89 ash/wm/immersive_fullscreen_controller_unittest.cc ui::test::TestEventHandler::OnEvent(event); event 90 ash/wm/immersive_fullscreen_controller_unittest.cc if (event->cancelable()) event 91 ash/wm/immersive_fullscreen_controller_unittest.cc event->SetHandled(); event 22 ash/wm/lock_state_observer.h virtual void OnLockStateEvent(EventType event) = 0; event 489 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc wm::WMEvent event(wm::WM_EVENT_TOGGLE_FULLSCREEN); event 490 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc window_state->OnWMEvent(&event); event 499 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc window_state->OnWMEvent(&event); event 116 ash/wm/maximize_mode/maximize_mode_window_state.cc const wm::WMEvent* event) { event 117 ash/wm/maximize_mode/maximize_mode_window_state.cc switch (event->type()) { event 143 ash/wm/maximize_mode/maximize_mode_window_state.cc (static_cast<const wm::SetBoundsEvent*>(event))->requested_bounds(); event 36 ash/wm/maximize_mode/maximize_mode_window_state.h const wm::WMEvent* event) OVERRIDE; event 23 ash/wm/overlay_event_filter.cc void OverlayEventFilter::OnKeyEvent(ui::KeyEvent* event) { event 31 ash/wm/overlay_event_filter.cc if (event->type() == ui::ET_TRANSLATED_KEY_PRESS || event 32 ash/wm/overlay_event_filter.cc event->type() == ui::ET_TRANSLATED_KEY_RELEASE) { event 36 ash/wm/overlay_event_filter.cc if (delegate_ && delegate_->IsCancelingKeyEvent(event)) event 41 ash/wm/overlay_event_filter.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 44 ash/wm/overlay_event_filter.cc event->StopPropagation(); event 32 ash/wm/overlay_event_filter.h virtual bool IsCancelingKeyEvent(ui::KeyEvent* event) = 0; event 55 ash/wm/overlay_event_filter.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 252 ash/wm/overview/window_overview.cc void WindowOverview::OnKeyEvent(ui::KeyEvent* event) { event 253 ash/wm/overview/window_overview.cc if (GetTargetedWindow(static_cast<aura::Window*>(event->target()))) event 254 ash/wm/overview/window_overview.cc event->StopPropagation(); event 255 ash/wm/overview/window_overview.cc if (event->type() != ui::ET_KEY_PRESSED) event 258 ash/wm/overview/window_overview.cc if (event->key_code() == ui::VKEY_ESCAPE) event 262 ash/wm/overview/window_overview.cc void WindowOverview::OnMouseEvent(ui::MouseEvent* event) { event 263 ash/wm/overview/window_overview.cc aura::Window* target = GetEventTarget(event); event 267 ash/wm/overview/window_overview.cc event->StopPropagation(); event 268 ash/wm/overview/window_overview.cc if (event->type() != ui::ET_MOUSE_RELEASED) event 274 ash/wm/overview/window_overview.cc void WindowOverview::OnScrollEvent(ui::ScrollEvent* event) { event 277 ash/wm/overview/window_overview.cc if (GetTargetedWindow(static_cast<aura::Window*>(event->target()))) event 278 ash/wm/overview/window_overview.cc event->SetHandled(); event 281 ash/wm/overview/window_overview.cc void WindowOverview::OnTouchEvent(ui::TouchEvent* event) { event 284 ash/wm/overview/window_overview.cc if (event->type() != ui::ET_TOUCH_PRESSED) event 287 ash/wm/overview/window_overview.cc aura::Window* target = GetEventTarget(event); event 296 ash/wm/overview/window_overview.cc event->SetHandled(); event 300 ash/wm/overview/window_overview.cc aura::Window* WindowOverview::GetEventTarget(ui::LocatedEvent* event) { event 301 ash/wm/overview/window_overview.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 305 ash/wm/overview/window_overview.cc if (!target->ContainsPoint(event->location())) event 62 ash/wm/overview/window_overview.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 63 ash/wm/overview/window_overview.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 64 ash/wm/overview/window_overview.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 65 ash/wm/overview/window_overview.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 70 ash/wm/overview/window_overview.h aura::Window* GetEventTarget(ui::LocatedEvent* event); event 85 ash/wm/overview/window_selector.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 104 ash/wm/overview/window_selector.cc void WindowSelectorEventFilter::OnKeyEvent(ui::KeyEvent* event) { event 106 ash/wm/overview/window_selector.cc if (event->key_code() == ui::VKEY_MENU && event 107 ash/wm/overview/window_selector.cc event->type() == ui::ET_KEY_RELEASED) { event 1082 ash/wm/overview/window_selector_unittest.cc ui::MouseEvent event(ui::ET_MOUSE_MOVED, points[p], points[p], event 1085 ash/wm/overview/window_selector_unittest.cc targeter->FindTargetForEvent(root_target, &event)); event 114 ash/wm/overview/window_selector_window.cc const ui::Event& event) { event 48 ash/wm/overview/window_selector_window.h const ui::Event& event) OVERRIDE; event 23 ash/wm/panels/panel_window_event_handler.cc void PanelWindowEventHandler::OnMouseEvent(ui::MouseEvent* event) { event 24 ash/wm/panels/panel_window_event_handler.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 25 ash/wm/panels/panel_window_event_handler.cc if (!event->handled() && event 26 ash/wm/panels/panel_window_event_handler.cc event->type() == ui::ET_MOUSE_PRESSED && event 27 ash/wm/panels/panel_window_event_handler.cc event->flags() & ui::EF_IS_DOUBLE_CLICK && event 28 ash/wm/panels/panel_window_event_handler.cc event->IsOnlyLeftMouseButton() && event 29 ash/wm/panels/panel_window_event_handler.cc target->delegate()->GetNonClientComponent(event->location()) == event 34 ash/wm/panels/panel_window_event_handler.cc event->StopPropagation(); event 39 ash/wm/panels/panel_window_event_handler.cc void PanelWindowEventHandler::OnGestureEvent(ui::GestureEvent* event) { event 40 ash/wm/panels/panel_window_event_handler.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 41 ash/wm/panels/panel_window_event_handler.cc if (!event->handled() && event 42 ash/wm/panels/panel_window_event_handler.cc event->type() == ui::ET_GESTURE_TAP && event 43 ash/wm/panels/panel_window_event_handler.cc event->details().tap_count() == 2 && event 44 ash/wm/panels/panel_window_event_handler.cc target->delegate()->GetNonClientComponent(event->location()) == event 49 ash/wm/panels/panel_window_event_handler.cc event->StopPropagation(); event 20 ash/wm/panels/panel_window_event_handler.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 21 ash/wm/panels/panel_window_event_handler.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 411 ash/wm/panels/panel_window_resizer_unittest.cc const wm::WMEvent event(wm::WM_EVENT_TOGGLE_FULLSCREEN); event 412 ash/wm/panels/panel_window_resizer_unittest.cc wm::GetWindowState(fullscreen.get())->OnWMEvent(&event); event 53 ash/wm/partial_screenshot_view.cc virtual bool IsCancelingKeyEvent(ui::KeyEvent* event) OVERRIDE { event 54 ash/wm/partial_screenshot_view.cc return event->key_code() == ui::VKEY_ESCAPE; event 174 ash/wm/partial_screenshot_view.cc const ui::MouseEvent& event) { event 192 ash/wm/partial_screenshot_view.cc bool PartialScreenshotView::OnMousePressed(const ui::MouseEvent& event) { event 199 ash/wm/partial_screenshot_view.cc OnSelectionStarted(event.location()); event 203 ash/wm/partial_screenshot_view.cc bool PartialScreenshotView::OnMouseDragged(const ui::MouseEvent& event) { event 204 ash/wm/partial_screenshot_view.cc OnSelectionChanged(event.location()); event 208 ash/wm/partial_screenshot_view.cc bool PartialScreenshotView::OnMouseWheel(const ui::MouseWheelEvent& event) { event 213 ash/wm/partial_screenshot_view.cc void PartialScreenshotView::OnMouseReleased(const ui::MouseEvent& event) { event 222 ash/wm/partial_screenshot_view.cc void PartialScreenshotView::OnGestureEvent(ui::GestureEvent* event) { event 223 ash/wm/partial_screenshot_view.cc switch(event->type()) { event 225 ash/wm/partial_screenshot_view.cc OnSelectionStarted(event->location()); event 228 ash/wm/partial_screenshot_view.cc OnSelectionChanged(event->location()); event 238 ash/wm/partial_screenshot_view.cc event->SetHandled(); event 51 ash/wm/partial_screenshot_view.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; event 53 ash/wm/partial_screenshot_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 54 ash/wm/partial_screenshot_view.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 55 ash/wm/partial_screenshot_view.h virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; event 56 ash/wm/partial_screenshot_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 58 ash/wm/partial_screenshot_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 53 ash/wm/resize_handle_window_targeter.cc ui::LocatedEvent* event) { event 59 ash/wm/resize_handle_window_targeter.cc event->IsTouchEvent()) { event 76 ash/wm/resize_handle_window_targeter.cc if (!bounds.Contains(event->location())) event 80 ash/wm/resize_handle_window_targeter.cc return aura::WindowTargeter::FindTargetForLocatedEvent(root, event); event 85 ash/wm/resize_handle_window_targeter.cc const ui::LocatedEvent& event) { event 93 ash/wm/resize_handle_window_targeter.cc return targeter->SubtreeShouldBeExploredForEvent(target, event); event 96 ash/wm/resize_handle_window_targeter.cc return aura::WindowTargeter::SubtreeShouldBeExploredForEvent(target, event); event 41 ash/wm/resize_handle_window_targeter.h ui::LocatedEvent* event) OVERRIDE; event 44 ash/wm/resize_handle_window_targeter.h const ui::LocatedEvent& event) OVERRIDE; event 32 ash/wm/system_gesture_event_filter.cc void SystemGestureEventFilter::OnMouseEvent(ui::MouseEvent* event) { event 34 ash/wm/system_gesture_event_filter.cc if (event->type() == ui::ET_MOUSE_PRESSED && event->native_event() && event 42 ash/wm/system_gesture_event_filter.cc void SystemGestureEventFilter::OnScrollEvent(ui::ScrollEvent* event) { event 44 ash/wm/system_gesture_event_filter.cc overview_gesture_handler_->ProcessScrollEvent(*event)) { event 45 ash/wm/system_gesture_event_filter.cc event->StopPropagation(); event 49 ash/wm/system_gesture_event_filter.cc void SystemGestureEventFilter::OnTouchEvent(ui::TouchEvent* event) { event 50 ash/wm/system_gesture_event_filter.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 51 ash/wm/system_gesture_event_filter.cc ash::TouchUMA::GetInstance()->RecordTouchEvent(target, *event); event 54 ash/wm/system_gesture_event_filter.cc void SystemGestureEventFilter::OnGestureEvent(ui::GestureEvent* event) { event 55 ash/wm/system_gesture_event_filter.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 56 ash/wm/system_gesture_event_filter.cc ash::TouchUMA::GetInstance()->RecordGestureEvent(target, *event); event 57 ash/wm/system_gesture_event_filter.cc long_press_affordance_->ProcessEvent(target, event); event 60 ash/wm/system_gesture_event_filter.cc overview_gesture_handler_->ProcessGestureEvent(*event)) { event 61 ash/wm/system_gesture_event_filter.cc event->StopPropagation(); event 65 ash/wm/system_gesture_event_filter.cc if (event->type() == ui::ET_GESTURE_WIN8_EDGE_SWIPE && event 66 ash/wm/system_gesture_event_filter.cc shelf_gesture_handler_->ProcessGestureEvent(*event)) { event 67 ash/wm/system_gesture_event_filter.cc event->StopPropagation(); event 27 ash/wm/system_gesture_event_filter.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 28 ash/wm/system_gesture_event_filter.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 29 ash/wm/system_gesture_event_filter.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 30 ash/wm/system_gesture_event_filter.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 21 ash/wm/system_modal_container_event_filter.cc void SystemModalContainerEventFilter::OnKeyEvent(ui::KeyEvent* event) { event 22 ash/wm/system_modal_container_event_filter.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 24 ash/wm/system_modal_container_event_filter.cc event->StopPropagation(); event 28 ash/wm/system_modal_container_event_filter.cc ui::MouseEvent* event) { event 29 ash/wm/system_modal_container_event_filter.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 31 ash/wm/system_modal_container_event_filter.cc event->StopPropagation(); event 24 ash/wm/system_modal_container_event_filter.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 25 ash/wm/system_modal_container_event_filter.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 109 ash/wm/system_modal_container_layout_manager_unittest.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE { event 78 ash/wm/toplevel_window_event_handler.cc int GetWindowComponent(aura::Window* window, const ui::LocatedEvent& event) { event 79 ash/wm/toplevel_window_event_handler.cc return window->delegate()->GetNonClientComponent(event.location()); event 165 ash/wm/toplevel_window_event_handler.cc void ToplevelWindowEventHandler::OnKeyEvent(ui::KeyEvent* event) { event 166 ash/wm/toplevel_window_event_handler.cc if (window_resizer_.get() && event->type() == ui::ET_KEY_PRESSED && event 167 ash/wm/toplevel_window_event_handler.cc event->key_code() == ui::VKEY_ESCAPE) { event 173 ash/wm/toplevel_window_event_handler.cc ui::MouseEvent* event) { event 174 ash/wm/toplevel_window_event_handler.cc if (event->handled()) event 176 ash/wm/toplevel_window_event_handler.cc if ((event->flags() & event 183 ash/wm/toplevel_window_event_handler.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 184 ash/wm/toplevel_window_event_handler.cc switch (event->type()) { event 186 ash/wm/toplevel_window_event_handler.cc HandleMousePressed(target, event); event 189 ash/wm/toplevel_window_event_handler.cc HandleDrag(target, event); event 193 ash/wm/toplevel_window_event_handler.cc HandleMouseReleased(target, event); event 196 ash/wm/toplevel_window_event_handler.cc HandleMouseMoved(target, event); event 199 ash/wm/toplevel_window_event_handler.cc HandleMouseExited(target, event); event 206 ash/wm/toplevel_window_event_handler.cc void ToplevelWindowEventHandler::OnGestureEvent(ui::GestureEvent* event) { event 207 ash/wm/toplevel_window_event_handler.cc if (event->handled()) event 209 ash/wm/toplevel_window_event_handler.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 221 ash/wm/toplevel_window_event_handler.cc if (event->details().touch_points() > 2) { event 224 ash/wm/toplevel_window_event_handler.cc event->StopPropagation(); event 229 ash/wm/toplevel_window_event_handler.cc switch (event->type()) { event 231 ash/wm/toplevel_window_event_handler.cc int component = GetWindowComponent(target, *event); event 248 ash/wm/toplevel_window_event_handler.cc (event->details().touch_points() == 1 || event 251 ash/wm/toplevel_window_event_handler.cc event->StopPropagation(); event 256 ash/wm/toplevel_window_event_handler.cc if (event->details().touch_points() == 1) { event 257 ash/wm/toplevel_window_event_handler.cc first_finger_hittest_ = GetWindowComponent(target, *event); event 266 ash/wm/toplevel_window_event_handler.cc event->StopPropagation(); event 269 ash/wm/toplevel_window_event_handler.cc int second_finger_hittest = GetWindowComponent(target, *event); event 273 ash/wm/toplevel_window_event_handler.cc event->details().bounding_box().CenterPoint(); event 276 ash/wm/toplevel_window_event_handler.cc event->StopPropagation(); event 289 ash/wm/toplevel_window_event_handler.cc int component = GetWindowComponent(target, *event); event 293 ash/wm/toplevel_window_event_handler.cc ConvertPointToParent(target, event->location())); event 296 ash/wm/toplevel_window_event_handler.cc event->StopPropagation(); event 306 ash/wm/toplevel_window_event_handler.cc switch (event->type()) { event 308 ash/wm/toplevel_window_event_handler.cc HandleDrag(target, event); event 309 ash/wm/toplevel_window_event_handler.cc event->StopPropagation(); event 318 ash/wm/toplevel_window_event_handler.cc event->StopPropagation(); event 326 ash/wm/toplevel_window_event_handler.cc if (GetWindowComponent(target, *event) != HTCAPTION || event 331 ash/wm/toplevel_window_event_handler.cc if (event->details().velocity_y() > kMinVertVelocityForWindowMinimize) { event 333 ash/wm/toplevel_window_event_handler.cc } else if (event->details().velocity_y() < event 336 ash/wm/toplevel_window_event_handler.cc } else if (event->details().velocity_x() > event 340 ash/wm/toplevel_window_event_handler.cc } else if (event->details().velocity_x() < event 345 ash/wm/toplevel_window_event_handler.cc event->StopPropagation(); event 353 ash/wm/toplevel_window_event_handler.cc if (event->details().swipe_down()) { event 355 ash/wm/toplevel_window_event_handler.cc } else if (event->details().swipe_up()) { event 357 ash/wm/toplevel_window_event_handler.cc } else if (event->details().swipe_right()) { event 364 ash/wm/toplevel_window_event_handler.cc event->StopPropagation(); event 464 ash/wm/toplevel_window_event_handler.cc ui::MouseEvent* event) { event 465 ash/wm/toplevel_window_event_handler.cc if (event->phase() != ui::EP_PRETARGET || !target->delegate()) event 471 ash/wm/toplevel_window_event_handler.cc int component = GetWindowComponent(target, *event); event 472 ash/wm/toplevel_window_event_handler.cc if ((event->flags() & event 476 ash/wm/toplevel_window_event_handler.cc ConvertPointToParent(target, event->location())); event 479 ash/wm/toplevel_window_event_handler.cc event->StopPropagation(); event 487 ash/wm/toplevel_window_event_handler.cc ui::MouseEvent* event) { event 488 ash/wm/toplevel_window_event_handler.cc if (event->phase() != ui::EP_PRETARGET) event 491 ash/wm/toplevel_window_event_handler.cc CompleteDrag(event->type() == ui::ET_MOUSE_RELEASED ? event 497 ash/wm/toplevel_window_event_handler.cc event->type() == ui::ET_MOUSE_CAPTURE_CHANGED && event 499 ash/wm/toplevel_window_event_handler.cc event->StopPropagation(); event 505 ash/wm/toplevel_window_event_handler.cc ui::LocatedEvent* event) { event 508 ash/wm/toplevel_window_event_handler.cc DCHECK(event->type() == ui::ET_MOUSE_DRAGGED || event 509 ash/wm/toplevel_window_event_handler.cc event->type() == ui::ET_TOUCH_MOVED || event 510 ash/wm/toplevel_window_event_handler.cc event->type() == ui::ET_GESTURE_SCROLL_UPDATE); event 514 ash/wm/toplevel_window_event_handler.cc if (event->phase() != ui::EP_PRETARGET) event 520 ash/wm/toplevel_window_event_handler.cc ConvertPointToParent(target, event->location()), event->flags()); event 521 ash/wm/toplevel_window_event_handler.cc event->StopPropagation(); event 526 ash/wm/toplevel_window_event_handler.cc ui::LocatedEvent* event) { event 530 ash/wm/toplevel_window_event_handler.cc if (event->phase() != ui::EP_POSTTARGET || !target->delegate()) event 538 ash/wm/toplevel_window_event_handler.cc if (event->flags() & ui::EF_IS_NON_CLIENT) { event 540 ash/wm/toplevel_window_event_handler.cc target->delegate()->GetNonClientComponent(event->location()); event 550 ash/wm/toplevel_window_event_handler.cc ui::LocatedEvent* event) { event 554 ash/wm/toplevel_window_event_handler.cc if (event->phase() != ui::EP_POSTTARGET) event 587 ash/wm/toplevel_window_event_handler.cc const wm::WMEvent event(wm::WM_EVENT_SNAP_LEFT); event 588 ash/wm/toplevel_window_event_handler.cc window_state->OnWMEvent(&event); event 594 ash/wm/toplevel_window_event_handler.cc const wm::WMEvent event(wm::WM_EVENT_SNAP_RIGHT); event 595 ash/wm/toplevel_window_event_handler.cc window_state->OnWMEvent(&event); event 42 ash/wm/toplevel_window_event_handler.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 43 ash/wm/toplevel_window_event_handler.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 44 ash/wm/toplevel_window_event_handler.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 74 ash/wm/toplevel_window_event_handler.h void HandleMousePressed(aura::Window* target, ui::MouseEvent* event); event 75 ash/wm/toplevel_window_event_handler.h void HandleMouseReleased(aura::Window* target, ui::MouseEvent* event); event 78 ash/wm/toplevel_window_event_handler.h void HandleDrag(aura::Window* target, ui::LocatedEvent* event); event 81 ash/wm/toplevel_window_event_handler.h void HandleMouseMoved(aura::Window* target, ui::LocatedEvent* event); event 84 ash/wm/toplevel_window_event_handler.h void HandleMouseExited(aura::Window* target, ui::LocatedEvent* event); event 78 ash/wm/window_manager_unittest.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE { event 79 ash/wm/window_manager_unittest.cc ui::test::TestEventHandler::OnKeyEvent(event); event 81 ash/wm/window_manager_unittest.cc event->SetHandled(); event 83 ash/wm/window_manager_unittest.cc event->StopPropagation(); event 86 ash/wm/window_manager_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 87 ash/wm/window_manager_unittest.cc ui::test::TestEventHandler::OnMouseEvent(event); event 89 ash/wm/window_manager_unittest.cc event->SetHandled(); event 91 ash/wm/window_manager_unittest.cc event->StopPropagation(); event 306 ash/wm/window_modality_controller_unittest.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE { event 308 ash/wm/window_modality_controller_unittest.cc last_event_type_ = event->type(); event 309 ash/wm/window_modality_controller_unittest.cc aura::test::TestWindowDelegate::OnTouchEvent(event); event 219 ash/wm/window_state.cc const WMEvent event(WM_EVENT_NORMAL); event 220 ash/wm/window_state.cc OnWMEvent(&event); event 224 ash/wm/window_state.cc void WindowState::OnWMEvent(const WMEvent* event) { event 225 ash/wm/window_state.cc current_state_->OnWMEvent(this, event); event 302 ash/wm/window_state.cc WMEvent event(WMEventTypeFromShowState(GetShowState())); event 303 ash/wm/window_state.cc OnWMEvent(&event); event 59 ash/wm/window_state.h virtual void OnWMEvent(WindowState* window_state, const WMEvent* event) = 0; event 136 ash/wm/window_state.h void OnWMEvent(const WMEvent* event); event 27 ash/wm/window_state_unittest.cc const WMEvent* event) OVERRIDE { event 79 ash/wm/window_util.cc wm::WMEvent event(wm::WM_EVENT_CENTER); event 80 ash/wm/window_util.cc wm::GetWindowState(window)->OnWMEvent(&event); event 136 ash/wm/window_util.cc bool MoveWindowToEventRoot(aura::Window* window, const ui::Event& event) { event 137 ash/wm/window_util.cc views::View* target = static_cast<views::View*>(event.target()); event 84 ash/wm/window_util.h const ui::Event& event); event 80 ash/wm/workspace/multi_window_resize_controller.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE { event 81 ash/wm/workspace/multi_window_resize_controller.cc gfx::Point location(event.location()); event 86 ash/wm/workspace/multi_window_resize_controller.cc virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE { event 87 ash/wm/workspace/multi_window_resize_controller.cc gfx::Point location(event.location()); event 89 ash/wm/workspace/multi_window_resize_controller.cc controller_->Resize(location, event.flags()); event 92 ash/wm/workspace/multi_window_resize_controller.cc virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE { event 99 ash/wm/workspace/multi_window_resize_controller.cc const ui::MouseEvent& event) OVERRIDE { event 24 ash/wm/workspace/workspace_event_handler.cc void WorkspaceEventHandler::OnMouseEvent(ui::MouseEvent* event) { event 25 ash/wm/workspace/workspace_event_handler.cc if (event->handled()) event 27 ash/wm/workspace/workspace_event_handler.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 28 ash/wm/workspace/workspace_event_handler.cc switch (event->type()) { event 31 ash/wm/workspace/workspace_event_handler.cc target->delegate()->GetNonClientComponent(event->location()); event 33 ash/wm/workspace/workspace_event_handler.cc event->location()); event 43 ash/wm/workspace/workspace_event_handler.cc if (event->flags() & ui::EF_IS_DOUBLE_CLICK && event 44 ash/wm/workspace/workspace_event_handler.cc event->IsOnlyLeftMouseButton() && event 45 ash/wm/workspace/workspace_event_handler.cc target->delegate()->GetNonClientComponent(event->location()) == event 51 ash/wm/workspace/workspace_event_handler.cc event->StopPropagation(); event 54 ash/wm/workspace/workspace_event_handler.cc HandleVerticalResizeDoubleClick(target_state, event); event 62 ash/wm/workspace/workspace_event_handler.cc void WorkspaceEventHandler::OnGestureEvent(ui::GestureEvent* event) { event 63 ash/wm/workspace/workspace_event_handler.cc if (event->handled()) event 65 ash/wm/workspace/workspace_event_handler.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 66 ash/wm/workspace/workspace_event_handler.cc if (event->type() == ui::ET_GESTURE_TAP && event 67 ash/wm/workspace/workspace_event_handler.cc target->delegate()->GetNonClientComponent(event->location()) == event 69 ash/wm/workspace/workspace_event_handler.cc if (event->details().tap_count() == 2) { event 78 ash/wm/workspace/workspace_event_handler.cc event->StopPropagation(); event 90 ash/wm/workspace/workspace_event_handler.cc ui::MouseEvent* event) { event 92 ash/wm/workspace/workspace_event_handler.cc if (event->flags() & ui::EF_IS_DOUBLE_CLICK) { event 94 ash/wm/workspace/workspace_event_handler.cc target->delegate()->GetNonClientComponent(event->location()); event 100 ash/wm/workspace/workspace_event_handler.cc event->StopPropagation(); event 106 ash/wm/workspace/workspace_event_handler.cc event->StopPropagation(); event 24 ash/wm/workspace/workspace_event_handler.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 25 ash/wm/workspace/workspace_event_handler.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 35 ash/wm/workspace/workspace_event_handler.h ui::MouseEvent* event); event 72 ash/wm/workspace/workspace_layout_manager.cc wm::WMEvent event(wm::WM_EVENT_ADDED_TO_WORKSPACE); event 73 ash/wm/workspace/workspace_layout_manager.cc window_state->OnWMEvent(&event); event 121 ash/wm/workspace/workspace_layout_manager.cc wm::SetBoundsEvent event(wm::WM_EVENT_SET_BOUNDS, requested_bounds); event 122 ash/wm/workspace/workspace_layout_manager.cc window_state->OnWMEvent(&event); event 134 ash/wm/workspace/workspace_layout_manager.cc const wm::WMEvent event(wm::WM_EVENT_WORKAREA_BOUNDS_CHANGED); event 135 ash/wm/workspace/workspace_layout_manager.cc AdjustAllWindowsBoundsForWorkAreaChange(&event); event 233 ash/wm/workspace/workspace_layout_manager.cc const wm::WMEvent* event) { event 234 ash/wm/workspace/workspace_layout_manager.cc DCHECK(event->type() == wm::WM_EVENT_DISPLAY_BOUNDS_CHANGED || event 235 ash/wm/workspace/workspace_layout_manager.cc event->type() == wm::WM_EVENT_WORKAREA_BOUNDS_CHANGED); event 244 ash/wm/workspace/workspace_layout_manager.cc if (event->type() == wm::WM_EVENT_WORKAREA_BOUNDS_CHANGED && event 256 ash/wm/workspace/workspace_layout_manager.cc wm::GetWindowState(*it)->OnWMEvent(event); event 103 ash/wm/workspace/workspace_layout_manager.h void AdjustAllWindowsBoundsForWorkAreaChange(const wm::WMEvent* event); event 437 ash/wm/workspace/workspace_window_resizer.cc const wm::WMEvent event(snap_type_ == SNAP_LEFT ? event 439 ash/wm/workspace/workspace_window_resizer.cc window_state()->OnWMEvent(&event); event 31 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java public boolean dispatchGenericMotionEvent(MotionEvent event) { event 32 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java return mCallback.dispatchGenericMotionEvent(event); event 36 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java public boolean dispatchKeyEvent(KeyEvent event) { event 37 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java return mCallback.dispatchKeyEvent(event); event 41 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java public boolean dispatchKeyShortcutEvent(KeyEvent event) { event 42 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java return mCallback.dispatchKeyShortcutEvent(event); event 46 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { event 47 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java return mCallback.dispatchPopulateAccessibilityEvent(event); event 51 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java public boolean dispatchTouchEvent(MotionEvent event) { event 52 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java return mCallback.dispatchTouchEvent(event); event 56 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java public boolean dispatchTrackballEvent(MotionEvent event) { event 57 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java return mCallback.dispatchTrackballEvent(event); event 50 base/android/java_handler_thread.cc jlong event) { event 54 base/android/java_handler_thread.cc reinterpret_cast<base::WaitableEvent*>(event)->Signal(); event 36 base/android/java_handler_thread.h void InitializeThread(JNIEnv* env, jobject obj, jlong event); event 257 base/debug/trace_event_memory.cc ScopeData& event = trace_memory_stack->scope_data[index]; event 258 base/debug/trace_event_memory.cc event.category = category; event 259 base/debug/trace_event_memory.cc event.name = name; event 834 base/debug/trace_event_unittest.cc int event = 0; event 836 base/debug/trace_event_unittest.cc EXPECT_TRUE(dict->GetInteger("args.event", &event)); event 837 base/debug/trace_event_unittest.cc results[thread][event] = true; event 842 base/debug/trace_event_unittest.cc for (int event = 0; event < num_events; event++) { event 843 base/debug/trace_event_unittest.cc EXPECT_TRUE(results[thread][event]); event 74 base/debug/trace_event_win.cc EtwMofEvent<5> event(kTraceEventClass32, event 77 base/debug/trace_event_win.cc event.SetField(0, name_len + 1, name); event 78 base/debug/trace_event_win.cc event.SetField(1, sizeof(id), &id); event 79 base/debug/trace_event_win.cc event.SetField(2, extra_len + 1, extra); event 92 base/debug/trace_event_win.cc event.SetField(3, sizeof(depth), &depth); event 93 base/debug/trace_event_win.cc event.SetField(4, sizeof(backtrace[0]) * depth, backtrace); event 97 base/debug/trace_event_win.cc Log(event.get()); event 76 base/debug/trace_event_win_unittest.cc static void ProcessEvent(EVENT_TRACE* event) { event 78 base/debug/trace_event_win_unittest.cc current_->Event(event->Header.Guid, event 79 base/debug/trace_event_win_unittest.cc event->Header.Class.Type, event 80 base/debug/trace_event_win_unittest.cc event->MofLength, event 81 base/debug/trace_event_win_unittest.cc event->MofData); event 93 base/files/file_path_watcher_kqueue.cc void HandleAttributesChange(const EventVector::iterator& event, event 100 base/files/file_path_watcher_kqueue.cc void HandleDeleteOrMoveChange(const EventVector::iterator& event, event 107 base/files/file_path_watcher_kqueue.cc void HandleCreateItemChange(const EventVector::iterator& event, event 122 base/files/file_path_watcher_kqueue.cc static void ReleaseEvent(struct kevent& event); event 134 base/files/file_path_watcher_kqueue.cc static bool IsKeventFileDescriptorOpen(const struct kevent& event) { event 135 base/files/file_path_watcher_kqueue.cc return event.ident != kNoFileDescriptor; event 138 base/files/file_path_watcher_kqueue.cc static EventData* EventDataForKevent(const struct kevent& event) { event 139 base/files/file_path_watcher_kqueue.cc return reinterpret_cast<EventData*>(event.udata); event 152 base/files/file_path_watcher_kqueue.cc void FilePathWatcherImpl::ReleaseEvent(struct kevent& event) { event 153 base/files/file_path_watcher_kqueue.cc CloseFileDescriptor(&event.ident); event 154 base/files/file_path_watcher_kqueue.cc EventData* entry = EventDataForKevent(event); event 156 base/files/file_path_watcher_kqueue.cc event.udata = NULL; event 192 base/files/file_path_watcher_kqueue.cc struct kevent event; event 193 base/files/file_path_watcher_kqueue.cc EV_SET(&event, fd, EVFILT_VNODE, (EV_ADD | EV_CLEAR | EV_RECEIPT), event 196 base/files/file_path_watcher_kqueue.cc events->push_back(event); event 229 base/files/file_path_watcher_kqueue.cc EventVector::iterator event = events_.begin(); event 230 base/files/file_path_watcher_kqueue.cc for (; event != events_.end(); ++event) { event 231 base/files/file_path_watcher_kqueue.cc if (event->ident == kevents[i].ident) { event 236 base/files/file_path_watcher_kqueue.cc if (event != events_.end()) { event 237 base/files/file_path_watcher_kqueue.cc EventData* event_data = EventDataForKevent(*event); event 254 base/files/file_path_watcher_kqueue.cc const EventVector::iterator& event, event 257 base/files/file_path_watcher_kqueue.cc EventVector::iterator next_event = event + 1; event 264 base/files/file_path_watcher_kqueue.cc EventVector::iterator local_event(event); event 278 base/files/file_path_watcher_kqueue.cc const EventVector::iterator& event, event 283 base/files/file_path_watcher_kqueue.cc EventVector::iterator local_event(event); event 294 base/files/file_path_watcher_kqueue.cc const EventVector::iterator& event, event 298 base/files/file_path_watcher_kqueue.cc EventVector::iterator next_event = event + 1; event 381 base/files/file_path_watcher_kqueue.cc EventVector::iterator event = events_.begin(); event 382 base/files/file_path_watcher_kqueue.cc for (; event != events_.end(); ++event) { event 383 base/files/file_path_watcher_kqueue.cc if (!IsKeventFileDescriptorOpen(*event) || event 384 base/files/file_path_watcher_kqueue.cc event->ident == updates[i].ident) { event 388 base/files/file_path_watcher_kqueue.cc if (event == events_.end() || !IsKeventFileDescriptorOpen(*event)) { event 398 base/files/file_path_watcher_kqueue.cc EventData* event_data = EventDataForKevent(*event); event 404 base/files/file_path_watcher_kqueue.cc HandleAttributesChange(event, &target_file_affected, &update_watches); event 407 base/files/file_path_watcher_kqueue.cc HandleDeleteOrMoveChange(event, &target_file_affected, &update_watches); event 410 base/files/file_path_watcher_kqueue.cc HandleCreateItemChange(event, &target_file_affected, &update_watches); event 56 base/files/file_path_watcher_linux.cc void OnInotifyEvent(const inotify_event* event); event 204 base/files/file_path_watcher_linux.cc inotify_event* event = reinterpret_cast<inotify_event*>(&buffer[i]); event 205 base/files/file_path_watcher_linux.cc size_t event_size = sizeof(inotify_event) + event->len; event 207 base/files/file_path_watcher_linux.cc reader->OnInotifyEvent(event); event 287 base/files/file_path_watcher_linux.cc void InotifyReader::OnInotifyEvent(const inotify_event* event) { event 288 base/files/file_path_watcher_linux.cc if (event->mask & IN_IGNORED) event 291 base/files/file_path_watcher_linux.cc FilePath::StringType child(event->len ? event->name : FILE_PATH_LITERAL("")); event 294 base/files/file_path_watcher_linux.cc for (WatcherSet::iterator watcher = watchers_[event->wd].begin(); event 295 base/files/file_path_watcher_linux.cc watcher != watchers_[event->wd].end(); event 297 base/files/file_path_watcher_linux.cc (*watcher)->OnFilePathChanged(event->wd, event 299 base/files/file_path_watcher_linux.cc event->mask & (IN_CREATE | IN_MOVED_TO)); event 59 base/logging_win.cc EtwMofEvent<1> event(kLogEventId, LOG_MESSAGE, level); event 60 base/logging_win.cc event.SetField(0, message.length() + 1 - message_start, event 63 base/logging_win.cc provider->Log(event.get()); event 74 base/logging_win.cc EtwMofEvent<5> event(kLogEventId, LOG_MESSAGE_FULL, level); event 79 base/logging_win.cc event.SetField(0, sizeof(depth), &depth); event 80 base/logging_win.cc event.SetField(1, sizeof(backtrace[0]) * depth, &backtrace); event 82 base/logging_win.cc event.SetField(2, sizeof(line), &line); event 84 base/logging_win.cc event.SetField(3, strlen(file) + 1, file); event 86 base/logging_win.cc event.SetField(4, message.length() + 1 - message_start, event 89 base/logging_win.cc provider->Log(event.get()); event 547 base/message_loop/message_loop.cc void MessageLoop::HistogramEvent(int event) { event 550 base/message_loop/message_loop.cc message_histogram_->Add(event); event 478 base/message_loop/message_loop.h void HistogramEvent(int event); event 271 base/message_loop/message_loop_unittest.cc HANDLE event, event 294 base/message_loop/message_loop_unittest.cc ASSERT_TRUE(SetEvent(event)); event 327 base/message_loop/message_loop_unittest.cc win::ScopedHandle event(CreateEvent(NULL, FALSE, FALSE, NULL)); event 331 base/message_loop/message_loop_unittest.cc event.Get(), event 336 base/message_loop/message_loop_unittest.cc WaitForSingleObject(event, INFINITE); event 371 base/message_loop/message_loop_unittest.cc win::ScopedHandle event(CreateEvent(NULL, FALSE, FALSE, NULL)); event 375 base/message_loop/message_loop_unittest.cc event.Get(), event 380 base/message_loop/message_loop_unittest.cc WaitForSingleObject(event, INFINITE); event 38 base/message_loop/message_pump_dispatcher.h virtual uint32_t Dispatch(const NativeEvent& event) = 0; event 63 base/message_loop/message_pump_glib_unittest.cc Event event = events_[0]; event 66 base/message_loop/message_pump_glib_unittest.cc if (!event.callback.is_null()) event 67 base/message_loop/message_pump_glib_unittest.cc event.callback.Run(); event 68 base/message_loop/message_pump_glib_unittest.cc else if (!event.task.is_null()) event 69 base/message_loop/message_pump_glib_unittest.cc event.task.Run(); event 113 base/message_loop/message_pump_glib_unittest.cc EventInjector::Event event = {future, callback, task}; event 114 base/message_loop/message_pump_glib_unittest.cc events_.push_back(event); event 17 base/message_loop/message_pump_gtk.cc ALLOW_UNUSED const char* EventToTypeString(const GdkEvent* event) { event 18 base/message_loop/message_pump_gtk.cc switch (event->type) { event 73 base/message_loop/message_pump_gtk.cc void MessagePumpGtk::DispatchEvents(GdkEvent* event) { event 75 base/message_loop/message_pump_gtk.cc "type", EventToTypeString(event)); event 77 base/message_loop/message_pump_gtk.cc WillProcessEvent(event); event 78 base/message_loop/message_pump_gtk.cc gtk_main_do_event(event); event 79 base/message_loop/message_pump_gtk.cc DidProcessEvent(event); event 102 base/message_loop/message_pump_gtk.cc void MessagePumpGtk::WillProcessEvent(GdkEvent* event) { event 105 base/message_loop/message_pump_gtk.cc WillProcessEvent(event)); event 108 base/message_loop/message_pump_gtk.cc void MessagePumpGtk::DidProcessEvent(GdkEvent* event) { event 111 base/message_loop/message_pump_gtk.cc DidProcessEvent(event)); event 115 base/message_loop/message_pump_gtk.cc void MessagePumpGtk::EventDispatcher(GdkEvent* event, gpointer data) { event 117 base/message_loop/message_pump_gtk.cc message_pump->DispatchEvents(event); event 19 base/message_loop/message_pump_gtk.h virtual void WillProcessEvent(GdkEvent* event) = 0; event 22 base/message_loop/message_pump_gtk.h virtual void DidProcessEvent(GdkEvent* event) = 0; event 36 base/message_loop/message_pump_gtk.h void DispatchEvents(GdkEvent* event); event 51 base/message_loop/message_pump_gtk.h void WillProcessEvent(GdkEvent* event); event 55 base/message_loop/message_pump_gtk.h void DidProcessEvent(GdkEvent* event); event 58 base/message_loop/message_pump_gtk.h static void EventDispatcher(GdkEvent* event, void* data); event 67 base/message_loop/message_pump_libevent.cc event* e = ReleaseEvent(); event 79 base/message_loop/message_pump_libevent.cc void MessagePumpLibevent::FileDescriptorWatcher::Init(event *e) { event 86 base/message_loop/message_pump_libevent.cc event *MessagePumpLibevent::FileDescriptorWatcher::ReleaseEvent() { event 87 base/message_loop/message_pump_libevent.cc struct event *e = event_; event 159 base/message_loop/message_pump_libevent.cc scoped_ptr<event> evt(controller->ReleaseEvent()); event 162 base/message_loop/message_pump_libevent.cc evt.reset(new event); event 225 base/message_loop/message_pump_libevent.cc scoped_ptr<event> timer_event(new event); event 330 base/message_loop/message_pump_libevent.cc wakeup_event_ = new event; event 18 base/message_loop/message_pump_libevent.h struct event; event 73 base/message_loop/message_pump_libevent.h void Init(event* e); event 76 base/message_loop/message_pump_libevent.h event* ReleaseEvent(); event 86 base/message_loop/message_pump_libevent.h event* event_; event 168 base/message_loop/message_pump_libevent.h event* wakeup_event_; event 35 base/message_loop/message_pump_observer.h virtual EventStatus WillProcessEvent(const NativeEvent& event) = 0; event 39 base/message_loop/message_pump_observer.h virtual void DidProcessEvent(const NativeEvent& event) = 0; event 40 base/message_loop/message_pump_ozone.h virtual uint32_t Dispatch(const NativeEvent& event) OVERRIDE; event 62 base/message_loop/message_pump_x11.cc int event, err; event 65 base/message_loop/message_pump_x11.cc if (!XQueryExtension(display, "XInputExtension", &xiopcode, &event, &err)) { event 96 base/message_loop/message_pump_x11.cc target = static_cast<XIDeviceEvent*>(xev->xcookie.data)->event; event 106 base/message_loop/message_pump_x11.cc int opcode, event, error; event 109 base/message_loop/message_pump_x11.cc if (!XkbQueryExtension(display, &opcode, &event, &error, &major, &minor)) { event 213 base/message_loop/message_pump_x11.cc XEvent event; event 225 base/message_loop/message_pump_x11.cc XWindowEvent(display, xid, StructureNotifyMask, &event); event 226 base/message_loop/message_pump_x11.cc ProcessXEvent(dispatcher, &event); event 227 base/message_loop/message_pump_x11.cc } while (event.type != MapNotify); event 87 base/message_loop/message_pump_x11.h void ProcessXEvent(MessagePumpDispatcher* dispatcher, XEvent* event); event 101 base/message_loop/message_pump_x11.h virtual uint32_t Dispatch(const NativeEvent& event) OVERRIDE; event 52 base/posix/unix_domain_socket_linux_unittest.cc WaitableEvent event(false, false); event 55 base/posix/unix_domain_socket_linux_unittest.cc Bind(&WaitableEvent::Signal, Unretained(&event))); event 56 base/posix/unix_domain_socket_linux_unittest.cc ASSERT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(5000))); event 15 base/power_monitor/power_monitor_device_source_android.cc void ProcessPowerEventHelper(PowerMonitorSource::PowerEvent event) { event 16 base/power_monitor/power_monitor_device_source_android.cc PowerMonitorSource::ProcessPowerEvent(event); event 12 base/power_monitor/power_monitor_device_source_win.cc void ProcessPowerEventHelper(PowerMonitorSource::PowerEvent event) { event 13 base/power_monitor/power_monitor_device_source_win.cc PowerMonitorSource::ProcessPowerEvent(event); event 48 base/prefs/pref_member_unittest.cc base::WaitableEvent event(true, false); event 52 base/prefs/pref_member_unittest.cc base::Bind(&GetPrefValueHelper::GetPrefValue, this, &event))); event 53 base/prefs/pref_member_unittest.cc event.Wait(); event 68 base/prefs/pref_member_unittest.cc void GetPrefValue(base::WaitableEvent* event) { event 70 base/prefs/pref_member_unittest.cc event->Signal(); event 119 base/process/kill_mac.cc struct kevent event = {0}; event 122 base/process/kill_mac.cc result = kevent(kq.get(), NULL, 0, &event, 1, &remaining_timespec); event 137 base/process/kill_mac.cc if ((event.fflags & NOTE_EXIT) && event 138 base/process/kill_mac.cc (event.ident == static_cast<uintptr_t>(child))) { event 145 base/process/kill_mac.cc << "): unexpected event: fflags=" << event.fflags event 146 base/process/kill_mac.cc << ", ident=" << event.ident; event 307 base/process/kill_posix.cc struct kevent event = {0}; event 319 base/process/kill_posix.cc result = kevent(kq.get(), NULL, 0, &event, 1, remaining_timespec_ptr); event 345 base/process/kill_posix.cc if (event.filter != EVFILT_PROC || event 346 base/process/kill_posix.cc (event.fflags & NOTE_EXIT) == 0 || event 347 base/process/kill_posix.cc event.ident != static_cast<uintptr_t>(handle)) { event 349 base/process/kill_posix.cc << "): unexpected event: filter=" << event.filter event 350 base/process/kill_posix.cc << ", fflags=" << event.fflags event 351 base/process/kill_posix.cc << ", ident=" << event.ident; event 411 base/process/process_util_unittest.cc base::WaitableEvent event(reinterpret_cast<HANDLE>(handle_value_uint64)); event 413 base/process/process_util_unittest.cc event.Signal(); event 426 base/process/process_util_unittest.cc base::WaitableEvent event( event 429 base/process/process_util_unittest.cc handles_to_inherit.push_back(event.handle()); event 435 base/process/process_util_unittest.cc base::Uint64ToString(reinterpret_cast<uint64>(event.handle()))); event 446 base/process/process_util_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::action_max_timeout())); event 15 base/synchronization/waitable_event_unittest.cc WaitableEvent event(true, false); event 17 base/synchronization/waitable_event_unittest.cc EXPECT_FALSE(event.IsSignaled()); event 19 base/synchronization/waitable_event_unittest.cc event.Signal(); event 20 base/synchronization/waitable_event_unittest.cc EXPECT_TRUE(event.IsSignaled()); event 21 base/synchronization/waitable_event_unittest.cc EXPECT_TRUE(event.IsSignaled()); event 23 base/synchronization/waitable_event_unittest.cc event.Reset(); event 24 base/synchronization/waitable_event_unittest.cc EXPECT_FALSE(event.IsSignaled()); event 25 base/synchronization/waitable_event_unittest.cc EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); event 27 base/synchronization/waitable_event_unittest.cc event.Signal(); event 28 base/synchronization/waitable_event_unittest.cc event.Wait(); event 29 base/synchronization/waitable_event_unittest.cc EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10))); event 33 base/synchronization/waitable_event_unittest.cc WaitableEvent event(false, false); event 35 base/synchronization/waitable_event_unittest.cc EXPECT_FALSE(event.IsSignaled()); event 37 base/synchronization/waitable_event_unittest.cc event.Signal(); event 38 base/synchronization/waitable_event_unittest.cc EXPECT_TRUE(event.IsSignaled()); event 39 base/synchronization/waitable_event_unittest.cc EXPECT_FALSE(event.IsSignaled()); event 41 base/synchronization/waitable_event_unittest.cc event.Reset(); event 42 base/synchronization/waitable_event_unittest.cc EXPECT_FALSE(event.IsSignaled()); event 43 base/synchronization/waitable_event_unittest.cc EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); event 45 base/synchronization/waitable_event_unittest.cc event.Signal(); event 46 base/synchronization/waitable_event_unittest.cc event.Wait(); event 47 base/synchronization/waitable_event_unittest.cc EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); event 49 base/synchronization/waitable_event_unittest.cc event.Signal(); event 50 base/synchronization/waitable_event_unittest.cc EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10))); event 74 base/synchronization/waitable_event_watcher.h bool StartWatching(WaitableEvent* event, const EventCallback& callback); event 68 base/synchronization/waitable_event_watcher_posix.cc virtual bool Fire(WaitableEvent* event) OVERRIDE { event 101 base/synchronization/waitable_event_watcher_posix.cc WaitableEvent* event) { event 107 base/synchronization/waitable_event_watcher_posix.cc callback.Run(event); event 127 base/synchronization/waitable_event_watcher_posix.cc WaitableEvent* event, event 150 base/synchronization/waitable_event_watcher_posix.cc base::Bind(&AsyncCallbackHelper, cancel_flag_, callback_, event); event 151 base/synchronization/waitable_event_watcher_posix.cc WaitableEvent::WaitableEventKernel* kernel = event->kernel_.get(); event 155 base/synchronization/waitable_event_watcher_posix.cc event_ = event; event 172 base/synchronization/waitable_event_watcher_posix.cc event->Enqueue(waiter_); event 30 base/synchronization/waitable_event_watcher_unittest.cc void QuitWhenSignaled(WaitableEvent* event) { event 49 base/synchronization/waitable_event_watcher_unittest.cc WaitableEvent event(true, false); event 54 base/synchronization/waitable_event_watcher_unittest.cc watcher.StartWatching(&event, Bind(&QuitWhenSignaled)); event 55 base/synchronization/waitable_event_watcher_unittest.cc EXPECT_EQ(&event, watcher.GetWatchedEvent()); event 57 base/synchronization/waitable_event_watcher_unittest.cc event.Signal(); event 68 base/synchronization/waitable_event_watcher_unittest.cc WaitableEvent event(true, false); event 72 base/synchronization/waitable_event_watcher_unittest.cc watcher.StartWatching(&event, Bind(&QuitWhenSignaled)); event 81 base/synchronization/waitable_event_watcher_unittest.cc WaitableEvent event(true, false); event 90 base/synchronization/waitable_event_watcher_unittest.cc watcher.StartWatching(&event, callback); event 92 base/synchronization/waitable_event_watcher_unittest.cc event.Signal(); event 109 base/synchronization/waitable_event_watcher_unittest.cc WaitableEvent event(true, false); event 115 base/synchronization/waitable_event_watcher_unittest.cc watcher.StartWatching(&event, Bind(&QuitWhenSignaled)); event 129 base/synchronization/waitable_event_watcher_unittest.cc WaitableEvent* event = new WaitableEvent(false, false); event 131 base/synchronization/waitable_event_watcher_unittest.cc watcher.StartWatching(event, Bind(&QuitWhenSignaled)); event 132 base/synchronization/waitable_event_watcher_unittest.cc delete event; event 21 base/synchronization/waitable_event_watcher_win.cc WaitableEvent* event, event 24 base/synchronization/waitable_event_watcher_win.cc event_ = event; event 25 base/synchronization/waitable_event_watcher_win.cc return watcher_.StartWatching(event->handle(), this); event 39 base/synchronization/waitable_event_watcher_win.cc WaitableEvent* event = event_; event 43 base/synchronization/waitable_event_watcher_win.cc DCHECK(event); event 45 base/synchronization/waitable_event_watcher_win.cc callback.Run(event); event 105 base/test/sequenced_task_runner_test_template.cc void PrintTo(const TaskEvent& event, std::ostream* os) { event 106 base/test/sequenced_task_runner_test_template.cc *os << "(i=" << event.i << ", type="; event 107 base/test/sequenced_task_runner_test_template.cc switch (event.type) { event 122 base/test/sequenced_task_runner_test_template.cc std::vector<TaskEvent>::const_iterator event; event 123 base/test/sequenced_task_runner_test_template.cc for (event = events.begin(); event != events.end(); ++event) { event 124 base/test/sequenced_task_runner_test_template.cc if (event->type == type) event 125 base/test/sequenced_task_runner_test_template.cc tasks.push_back(event->i); event 135 base/test/sequenced_task_runner_test_template.cc std::vector<TaskEvent>::const_iterator event; event 136 base/test/sequenced_task_runner_test_template.cc for (event = events.begin(); event != events.end(); ++event) { event 137 base/test/sequenced_task_runner_test_template.cc if (event->i == task_i) event 138 base/test/sequenced_task_runner_test_template.cc task_event_orders.push_back(event->type); event 177 base/test/sequenced_task_runner_test_template.cc std::vector<TaskEvent>::const_iterator event; event 178 base/test/sequenced_task_runner_test_template.cc for (event = events.begin(); event != events.end(); ++event) { event 182 base/test/sequenced_task_runner_test_template.cc switch (event->type) { event 186 base/test/sequenced_task_runner_test_template.cc current_task_i = event->i; event 196 base/test/sequenced_task_runner_test_template.cc switch (event->type) { event 198 base/test/sequenced_task_runner_test_template.cc if (event->i == current_task_i) event 205 base/test/sequenced_task_runner_test_template.cc if (event->i != current_task_i) event 214 base/test/sequenced_task_runner_test_template.cc << "Found event " << ::testing::PrintToString(*event) event 221 base/test/sequenced_task_runner_test_template.cc const int event_i = event - events.begin(); event 223 base/test/sequenced_task_runner_test_template.cc << "Spurious event " << ::testing::PrintToString(*event) event 103 base/test/sequenced_task_runner_test_template.h void PrintTo(const TaskEvent& event, std::ostream* os); event 243 base/test/trace_event_analyzer.cc bool Query::Evaluate(const TraceEvent& event) const { event 248 base/test/trace_event_analyzer.cc bool is_bool = GetAsDouble(event, &bool_value); event 254 base/test/trace_event_analyzer.cc bool is_str = GetAsString(event, &str_value); event 268 base/test/trace_event_analyzer.cc if (CompareAsDouble(event, &compare_result)) event 270 base/test/trace_event_analyzer.cc if (CompareAsString(event, &compare_result)) event 277 base/test/trace_event_analyzer.cc return left().Evaluate(event) && right().Evaluate(event); event 279 base/test/trace_event_analyzer.cc return left().Evaluate(event) || right().Evaluate(event); event 281 base/test/trace_event_analyzer.cc return !left().Evaluate(event); event 288 base/test/trace_event_analyzer.cc bool Query::CompareAsDouble(const TraceEvent& event, bool* result) const { event 290 base/test/trace_event_analyzer.cc if (!left().GetAsDouble(event, &lhs) || !right().GetAsDouble(event, &rhs)) event 317 base/test/trace_event_analyzer.cc bool Query::CompareAsString(const TraceEvent& event, bool* result) const { event 319 base/test/trace_event_analyzer.cc if (!left().GetAsString(event, &lhs) || !right().GetAsString(event, &rhs)) event 356 base/test/trace_event_analyzer.cc bool Query::EvaluateArithmeticOperator(const TraceEvent& event, event 363 base/test/trace_event_analyzer.cc if (!left().GetAsDouble(event, &lhs)) event 365 base/test/trace_event_analyzer.cc if (!is_unary_operator() && !right().GetAsDouble(event, &rhs)) event 394 base/test/trace_event_analyzer.cc bool Query::GetAsDouble(const TraceEvent& event, double* num) const { event 397 base/test/trace_event_analyzer.cc return EvaluateArithmeticOperator(event, num); event 399 base/test/trace_event_analyzer.cc return GetMemberValueAsDouble(event, num); event 408 base/test/trace_event_analyzer.cc bool Query::GetAsString(const TraceEvent& event, std::string* str) const { event 411 base/test/trace_event_analyzer.cc return GetMemberValueAsString(event, str); event 420 base/test/trace_event_analyzer.cc bool Query::GetMemberValueAsDouble(const TraceEvent& event, event 427 base/test/trace_event_analyzer.cc &event : event.other_event; event 480 base/test/trace_event_analyzer.cc *num = event.other_event ? 1.0 : 0.0; event 487 base/test/trace_event_analyzer.cc bool Query::GetMemberValueAsString(const TraceEvent& event, event 494 base/test/trace_event_analyzer.cc &event : event.other_event; event 657 base/test/trace_event_analyzer.cc TraceEvent event; event 658 base/test/trace_event_analyzer.cc if (event.SetFromJSON(item)) event 659 base/test/trace_event_analyzer.cc output->push_back(event); event 413 base/test/trace_event_analyzer.h bool Evaluate(const TraceEvent& event) const; event 493 base/test/trace_event_analyzer.h bool CompareAsDouble(const TraceEvent& event, bool* result) const; event 498 base/test/trace_event_analyzer.h bool CompareAsString(const TraceEvent& event, bool* result) const; event 502 base/test/trace_event_analyzer.h bool GetAsDouble(const TraceEvent& event, double* num) const; event 506 base/test/trace_event_analyzer.h bool GetAsString(const TraceEvent& event, std::string* str) const; event 509 base/test/trace_event_analyzer.h bool EvaluateArithmeticOperator(const TraceEvent& event, event 513 base/test/trace_event_analyzer.h bool GetMemberValueAsDouble(const TraceEvent& event, double* num) const; event 516 base/test/trace_event_analyzer.h bool GetMemberValueAsString(const TraceEvent& event, std::string* num) const; event 91 base/test/trace_event_analyzer_unittest.cc TraceEvent event; event 92 base/test/trace_event_analyzer_unittest.cc event.arg_numbers["false"] = 0.0; event 93 base/test/trace_event_analyzer_unittest.cc event.arg_numbers["true"] = 1.0; event 94 base/test/trace_event_analyzer_unittest.cc event.arg_numbers["int"] = static_cast<double>(int_num); event 95 base/test/trace_event_analyzer_unittest.cc event.arg_numbers["double"] = double_num; event 96 base/test/trace_event_analyzer_unittest.cc event.arg_strings["string"] = str; event 98 base/test/trace_event_analyzer_unittest.cc ASSERT_TRUE(event.HasNumberArg("false")); event 99 base/test/trace_event_analyzer_unittest.cc ASSERT_TRUE(event.HasNumberArg("true")); event 100 base/test/trace_event_analyzer_unittest.cc ASSERT_TRUE(event.HasNumberArg("int")); event 101 base/test/trace_event_analyzer_unittest.cc ASSERT_TRUE(event.HasNumberArg("double")); event 102 base/test/trace_event_analyzer_unittest.cc ASSERT_TRUE(event.HasStringArg("string")); event 103 base/test/trace_event_analyzer_unittest.cc ASSERT_FALSE(event.HasNumberArg("notfound")); event 104 base/test/trace_event_analyzer_unittest.cc ASSERT_FALSE(event.HasStringArg("notfound")); event 106 base/test/trace_event_analyzer_unittest.cc EXPECT_FALSE(event.GetKnownArgAsBool("false")); event 107 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event.GetKnownArgAsBool("true")); event 108 base/test/trace_event_analyzer_unittest.cc EXPECT_EQ(int_num, event.GetKnownArgAsInt("int")); event 109 base/test/trace_event_analyzer_unittest.cc EXPECT_EQ(double_num, event.GetKnownArgAsDouble("double")); event 110 base/test/trace_event_analyzer_unittest.cc EXPECT_STREQ(str, event.GetKnownArgAsString("string").c_str()); event 116 base/test/trace_event_analyzer_unittest.cc TraceEvent event; event 117 base/test/trace_event_analyzer_unittest.cc event.thread.process_id = 3; event 118 base/test/trace_event_analyzer_unittest.cc event.thread.thread_id = 4; event 119 base/test/trace_event_analyzer_unittest.cc event.timestamp = 1.5; event 120 base/test/trace_event_analyzer_unittest.cc event.phase = TRACE_EVENT_PHASE_BEGIN; event 121 base/test/trace_event_analyzer_unittest.cc event.category = "category"; event 122 base/test/trace_event_analyzer_unittest.cc event.name = "name"; event 123 base/test/trace_event_analyzer_unittest.cc event.id = "1"; event 124 base/test/trace_event_analyzer_unittest.cc event.arg_numbers["num"] = 7.0; event 125 base/test/trace_event_analyzer_unittest.cc event.arg_strings["str"] = "the string"; event 139 base/test/trace_event_analyzer_unittest.cc event.other_event = &other; event 140 base/test/trace_event_analyzer_unittest.cc ASSERT_TRUE(event.has_other_event()); event 141 base/test/trace_event_analyzer_unittest.cc double duration = event.GetAbsTimeToOtherEvent(); event 143 base/test/trace_event_analyzer_unittest.cc Query event_pid = Query::EventPidIs(event.thread.process_id); event 144 base/test/trace_event_analyzer_unittest.cc Query event_tid = Query::EventTidIs(event.thread.thread_id); event 145 base/test/trace_event_analyzer_unittest.cc Query event_time = Query::EventTimeIs(event.timestamp); event 147 base/test/trace_event_analyzer_unittest.cc Query event_phase = Query::EventPhaseIs(event.phase); event 148 base/test/trace_event_analyzer_unittest.cc Query event_category = Query::EventCategoryIs(event.category); event 149 base/test/trace_event_analyzer_unittest.cc Query event_name = Query::EventNameIs(event.name); event 150 base/test/trace_event_analyzer_unittest.cc Query event_id = Query::EventIdIs(event.id); event 154 base/test/trace_event_analyzer_unittest.cc (Query::EventArg("num") == Query::Double(event.arg_numbers["num"])); event 156 base/test/trace_event_analyzer_unittest.cc (Query::EventArg("str") == Query::String(event.arg_strings["str"])); event 172 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_pid.Evaluate(event)); event 173 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_tid.Evaluate(event)); event 174 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_time.Evaluate(event)); event 175 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_duration.Evaluate(event)); event 176 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_phase.Evaluate(event)); event 177 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_category.Evaluate(event)); event 178 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_name.Evaluate(event)); event 179 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_id.Evaluate(event)); event 180 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_has_arg1.Evaluate(event)); event 181 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_has_arg2.Evaluate(event)); event 182 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_arg1.Evaluate(event)); event 183 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_arg2.Evaluate(event)); event 184 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(event_has_other.Evaluate(event)); event 185 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(other_pid.Evaluate(event)); event 186 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(other_tid.Evaluate(event)); event 187 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(other_time.Evaluate(event)); event 188 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(other_phase.Evaluate(event)); event 189 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(other_category.Evaluate(event)); event 190 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(other_name.Evaluate(event)); event 191 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(other_id.Evaluate(event)); event 192 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(other_has_arg1.Evaluate(event)); event 193 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(other_has_arg2.Evaluate(event)); event 194 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(other_arg1.Evaluate(event)); event 195 base/test/trace_event_analyzer_unittest.cc EXPECT_TRUE(other_arg2.Evaluate(event)); event 707 base/test/trace_event_analyzer_unittest.cc TraceEvent event; event 708 base/test/trace_event_analyzer_unittest.cc event.timestamp = 0.0; event 717 base/test/trace_event_analyzer_unittest.cc event.timestamp += little_delta; event 718 base/test/trace_event_analyzer_unittest.cc events.push_back(event); event 729 base/test/trace_event_analyzer_unittest.cc event.timestamp += big_delta; event 730 base/test/trace_event_analyzer_unittest.cc events.push_back(event); event 749 base/test/trace_event_analyzer_unittest.cc event.timestamp += tiny_delta; event 750 base/test/trace_event_analyzer_unittest.cc events.push_back(event); event 764 base/test/trace_event_analyzer_unittest.cc few_event_ptrs.push_back(&event); event 765 base/test/trace_event_analyzer_unittest.cc few_event_ptrs.push_back(&event); event 767 base/test/trace_event_analyzer_unittest.cc few_event_ptrs.push_back(&event); event 31 base/threading/simple_thread_unittest.cc explicit WaitEventRunner(WaitableEvent* event) : event_(event) { } event 60 base/threading/simple_thread_unittest.cc int total, WaitableEvent* event) event 61 base/threading/simple_thread_unittest.cc : seq_(seq), total_(total), event_(event) { } event 102 base/threading/simple_thread_unittest.cc WaitableEvent event(true, false); event 104 base/threading/simple_thread_unittest.cc WaitEventRunner runner(&event); event 107 base/threading/simple_thread_unittest.cc EXPECT_FALSE(event.IsSignaled()); event 109 base/threading/simple_thread_unittest.cc event.Wait(); event 110 base/threading/simple_thread_unittest.cc EXPECT_TRUE(event.IsSignaled()); event 115 base/threading/simple_thread_unittest.cc WaitableEvent event(true, false); event 117 base/threading/simple_thread_unittest.cc WaitEventRunner runner(&event); event 121 base/threading/simple_thread_unittest.cc EXPECT_FALSE(event.IsSignaled()); event 127 base/threading/simple_thread_unittest.cc event.Wait(); event 129 base/threading/simple_thread_unittest.cc EXPECT_TRUE(event.IsSignaled()); event 159 base/threading/simple_thread_unittest.cc WaitableEvent event(true, false); event 161 base/threading/simple_thread_unittest.cc VerifyPoolRunner verifier(&seq2, 9, &event); event 45 base/threading/thread.cc WaitableEvent event; event 49 base/threading/thread.cc event(false, false) {} event 114 base/threading/thread.cc startup_data.event.Wait(); event 221 base/threading/thread.cc startup_data_->event.Signal(); event 159 base/threading/thread_perftest.cc void WaitAndSignalOnThread(size_t event) { event 160 base/threading/thread_perftest.cc size_t next_event = (event + 1) % events_.size(); event 163 base/threading/thread_perftest.cc events_[event]->Wait(); event 63 base/win/event_trace_consumer.h static void ProcessEvent(EVENT_TRACE* event) { event 76 base/win/event_trace_consumer.h static void WINAPI ProcessEventCallback(EVENT_TRACE* event) { event 77 base/win/event_trace_consumer.h ImplClass::ProcessEvent(event); event 54 base/win/event_trace_consumer_unittest.cc static void EnqueueEvent(EVENT_TRACE* event) { event 55 base/win/event_trace_consumer_unittest.cc events_.push_back(*event); event 58 base/win/event_trace_consumer_unittest.cc if (event->MofData != NULL && event->MofLength != 0) { event 59 base/win/event_trace_consumer_unittest.cc back.MofData = new char[event->MofLength]; event 60 base/win/event_trace_consumer_unittest.cc memcpy(back.MofData, event->MofData, event->MofLength); event 64 base/win/event_trace_consumer_unittest.cc static void ProcessEvent(EVENT_TRACE* event) { event 65 base/win/event_trace_consumer_unittest.cc EnqueueEvent(event); event 245 base/win/event_trace_consumer_unittest.cc EtwMofEvent<1> event(kTestEventType, 1, TRACE_LEVEL_ERROR); event 246 base/win/event_trace_consumer_unittest.cc EXPECT_EQ(ERROR_SUCCESS, provider.Log(&event.header)); event 346 base/win/event_trace_consumer_unittest.cc EtwMofEvent<1> event(kTestEventType, 1, TRACE_LEVEL_ERROR); event 349 base/win/event_trace_consumer_unittest.cc event.fields[0].DataPtr = reinterpret_cast<ULONG64>(kData); event 350 base/win/event_trace_consumer_unittest.cc event.fields[0].Length = sizeof(kData); event 353 base/win/event_trace_consumer_unittest.cc HRESULT hr = RoundTripEvent(&event.header, &trace); event 103 base/win/event_trace_provider.cc EtwMofEvent<1> event(event_class, type, level); event 105 base/win/event_trace_provider.cc event.fields[0].DataPtr = reinterpret_cast<ULONG64>(message); event 106 base/win/event_trace_provider.cc event.fields[0].Length = message ? event 109 base/win/event_trace_provider.cc return ::TraceEvent(session_handle_, &event.header); event 117 base/win/event_trace_provider.cc EtwMofEvent<1> event(event_class, type, level); event 119 base/win/event_trace_provider.cc event.fields[0].DataPtr = reinterpret_cast<ULONG64>(message); event 120 base/win/event_trace_provider.cc event.fields[0].Length = message ? event 123 base/win/event_trace_provider.cc return ::TraceEvent(session_handle_, &event.header); event 126 base/win/event_trace_provider.cc ULONG EtwTraceProvider::Log(EVENT_TRACE_HEADER* event) { event 127 base/win/event_trace_provider.cc if (enable_level_ < event->Class.Level) event 130 base/win/event_trace_provider.cc return ::TraceEvent(session_handle_, event); event 135 base/win/event_trace_provider.h ULONG Log(EVENT_TRACE_HEADER* event); event 43 base/win/object_watcher_unittest.cc HANDLE event = CreateEvent(NULL, TRUE, FALSE, NULL); event 46 base/win/object_watcher_unittest.cc bool ok = watcher.StartWatching(event, &delegate); event 48 base/win/object_watcher_unittest.cc EXPECT_EQ(event, watcher.GetWatchedObject()); event 50 base/win/object_watcher_unittest.cc SetEvent(event); event 55 base/win/object_watcher_unittest.cc CloseHandle(event); event 64 base/win/object_watcher_unittest.cc HANDLE event = CreateEvent(NULL, TRUE, FALSE, NULL); event 67 base/win/object_watcher_unittest.cc bool ok = watcher.StartWatching(event, &delegate); event 72 base/win/object_watcher_unittest.cc CloseHandle(event); event 84 base/win/object_watcher_unittest.cc HANDLE event = CreateEvent(NULL, TRUE, FALSE, NULL); event 86 base/win/object_watcher_unittest.cc bool ok = watcher.StartWatching(event, &delegate); event 89 base/win/object_watcher_unittest.cc SetEvent(event); event 101 base/win/object_watcher_unittest.cc CloseHandle(event); event 110 base/win/object_watcher_unittest.cc HANDLE event = CreateEvent(NULL, TRUE, TRUE, NULL); event 113 base/win/object_watcher_unittest.cc bool ok = watcher.StartWatching(event, &delegate); event 119 base/win/object_watcher_unittest.cc CloseHandle(event); event 126 base/win/object_watcher_unittest.cc HANDLE event = CreateEvent(NULL, TRUE, FALSE, NULL); // not signaled event 133 base/win/object_watcher_unittest.cc watcher.StartWatching(event, &delegate); event 136 base/win/object_watcher_unittest.cc CloseHandle(event); event 150 cc/animation/layer_animation_controller.cc AnimationEvent event(AnimationEvent::PropertyUpdate, event 155 cc/animation/layer_animation_controller.cc event.opacity = animation->curve()->ToFloatAnimationCurve()->GetValue( event 157 cc/animation/layer_animation_controller.cc event.is_impl_only = true; event 158 cc/animation/layer_animation_controller.cc events->push_back(event); event 163 cc/animation/layer_animation_controller.cc AnimationEvent event(AnimationEvent::PropertyUpdate, event 168 cc/animation/layer_animation_controller.cc event.transform = event 170 cc/animation/layer_animation_controller.cc event.is_impl_only = true; event 171 cc/animation/layer_animation_controller.cc events->push_back(event); event 176 cc/animation/layer_animation_controller.cc AnimationEvent event(AnimationEvent::PropertyUpdate, event 181 cc/animation/layer_animation_controller.cc event.filters = animation->curve()->ToFilterAnimationCurve()->GetValue( event 183 cc/animation/layer_animation_controller.cc event.is_impl_only = true; event 184 cc/animation/layer_animation_controller.cc events->push_back(event); event 283 cc/animation/layer_animation_controller.cc const AnimationEvent& event) { event 285 cc/animation/layer_animation_controller.cc event.monotonic_time * base::Time::kMicrosecondsPerSecond); event 286 cc/animation/layer_animation_controller.cc if (event.is_impl_only) { event 288 cc/animation/layer_animation_controller.cc OnAnimationStarted(event)); event 291 cc/animation/layer_animation_controller.cc event.target_property); event 297 cc/animation/layer_animation_controller.cc if (active_animations_[i]->group() == event.group_id && event 298 cc/animation/layer_animation_controller.cc active_animations_[i]->target_property() == event.target_property && event 301 cc/animation/layer_animation_controller.cc active_animations_[i]->set_start_time(event.monotonic_time); event 304 cc/animation/layer_animation_controller.cc OnAnimationStarted(event)); event 307 cc/animation/layer_animation_controller.cc monotonic_time, event.target_property); event 315 cc/animation/layer_animation_controller.cc const AnimationEvent& event) { event 317 cc/animation/layer_animation_controller.cc event.monotonic_time * base::Time::kMicrosecondsPerSecond); event 318 cc/animation/layer_animation_controller.cc if (event.is_impl_only) { event 321 cc/animation/layer_animation_controller.cc event.target_property); event 326 cc/animation/layer_animation_controller.cc if (active_animations_[i]->group() == event.group_id && event 327 cc/animation/layer_animation_controller.cc active_animations_[i]->target_property() == event.target_property) { event 331 cc/animation/layer_animation_controller.cc monotonic_time, event.target_property); event 339 cc/animation/layer_animation_controller.cc const AnimationEvent& event) { event 341 cc/animation/layer_animation_controller.cc if (active_animations_[i]->group() == event.group_id && event 342 cc/animation/layer_animation_controller.cc active_animations_[i]->target_property() == event.target_property) { event 344 cc/animation/layer_animation_controller.cc event.monotonic_time); event 350 cc/animation/layer_animation_controller.cc const AnimationEvent& event) { event 351 cc/animation/layer_animation_controller.cc switch (event.target_property) { event 353 cc/animation/layer_animation_controller.cc NotifyObserversOpacityAnimated(event.opacity); event 356 cc/animation/layer_animation_controller.cc NotifyObserversTransformAnimated(event.transform); event 86 cc/animation/layer_animation_controller.h void NotifyAnimationStarted(const AnimationEvent& event); event 87 cc/animation/layer_animation_controller.h void NotifyAnimationFinished(const AnimationEvent& event); event 88 cc/animation/layer_animation_controller.h void NotifyAnimationAborted(const AnimationEvent& event); event 89 cc/animation/layer_animation_controller.h void NotifyAnimationPropertyUpdate(const AnimationEvent& event); event 339 cc/animation/layer_animation_controller_unittest.cc const AnimationEvent* event = 0; event 342 cc/animation/layer_animation_controller_unittest.cc event = &(*events)[i]; event 344 cc/animation/layer_animation_controller_unittest.cc return event; event 366 cc/animation/layer_animation_controller_unittest.cc const AnimationEvent* event = GetMostRecentPropertyUpdateEvent(events.get()); event 367 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 372 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); event 373 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 494 cc/animation/layer_animation_controller_unittest.cc const AnimationEvent* event = GetMostRecentPropertyUpdateEvent(events.get()); event 495 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 502 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); event 503 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 509 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); event 510 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 611 cc/animation/layer_animation_controller_unittest.cc const AnimationEvent* event = GetMostRecentPropertyUpdateEvent(events.get()); event 612 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 624 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); event 625 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 631 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); event 632 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 689 cc/animation/layer_animation_controller_unittest.cc const AnimationEvent* event = GetMostRecentPropertyUpdateEvent(events.get()); event 690 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 702 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); event 703 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 709 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); event 710 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 745 cc/animation/layer_animation_controller_unittest.cc const AnimationEvent* event = GetMostRecentPropertyUpdateEvent(events.get()); event 746 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 752 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); event 753 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 759 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); event 760 cc/animation/layer_animation_controller_unittest.cc EXPECT_FALSE(event); event 14 cc/animation/layer_animation_event_observer.h virtual void OnAnimationStarted(const AnimationEvent& event) = 0; event 83 cc/layers/delegated_frame_resource_collection_unittest.cc base::WaitableEvent* event) { event 85 cc/layers/delegated_frame_resource_collection_unittest.cc if (event) event 86 cc/layers/delegated_frame_resource_collection_unittest.cc event->Wait(); event 103 cc/layers/delegated_frame_resource_collection_unittest.cc base::WaitableEvent event(false, false); event 115 cc/layers/delegated_frame_resource_collection_unittest.cc &event)); event 130 cc/layers/delegated_frame_resource_collection_unittest.cc event.Signal(); event 579 cc/layers/texture_layer_unittest.cc base::WaitableEvent event(manual_reset, initially_signaled); event 582 cc/layers/texture_layer_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&event))); event 583 cc/layers/texture_layer_unittest.cc event.Wait(); event 711 cc/resources/picture_layer_tiling.cc const EdgeEvent& event = events[event_index]; event 717 cc/resources/picture_layer_tiling.cc if (delta > event.distance) event 718 cc/resources/picture_layer_tiling.cc delta = event.distance; event 721 cc/resources/picture_layer_tiling.cc --*event.num_edges; event 745 cc/resources/picture_layer_tiling.cc if (delta < event.distance) event 105 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuButtonHelper.java public boolean onTouch(View view, MotionEvent event) { event 106 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuButtonHelper.java if (event.getActionMasked() == MotionEvent.ACTION_CANCEL || event 107 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuButtonHelper.java event.getActionMasked() == MotionEvent.ACTION_UP) { event 112 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuButtonHelper.java boolean isTouchEventConsumed = mAppMenuGestureDetector.onTouchEvent(event); event 119 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuButtonHelper.java isTouchEventConsumed |= dragHelper.handleDragging(event); event 85 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java public boolean onTouch(View view, MotionEvent event) { event 86 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java return handleDragging(event); event 198 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java boolean handleDragging(MotionEvent event) { event 205 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java final float rawX = event.getRawX(); event 206 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java final float rawY = event.getRawY(); event 209 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java final int eventActionMasked = event.getActionMasked(); event 237 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java getEdgeSwipeInSlop(event)) { event 435 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java private float getEdgeSwipeInSlop(MotionEvent event) { event 444 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java float additionalEdgeSwipeInSlop = ((mHardwareMenuButtonUpTime - event.getEventTime() event 336 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java protected void onViewPressed(MotionEvent event) { event 338 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java mInitialXForHighlight = event.getRawX(); event 469 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java public boolean onTouchEvent(MotionEvent event) { event 470 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java int action = event.getActionMasked(); event 474 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java float xDifference = Math.abs(event.getRawX() - mInitialXForHighlight); event 482 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java return super.onTouchEvent(event); event 216 chrome/android/java/src/org/chromium/chrome/browser/banners/SwipableOverlayView.java public boolean onTouchEvent(MotionEvent event) { event 217 chrome/android/java/src/org/chromium/chrome/browser/banners/SwipableOverlayView.java if (mGestureDetector.onTouchEvent(event)) return true; event 220 chrome/android/java/src/org/chromium/chrome/browser/banners/SwipableOverlayView.java int action = event.getActionMasked(); event 610 chrome/android/java/src/org/chromium/chrome/browser/banners/SwipableOverlayView.java protected abstract void onViewPressed(MotionEvent event); event 139 chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReportingView.java protected void onViewPressed(MotionEvent event) { event 88 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java public boolean onTouchEvent(MotionEvent event) { event 144 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java public boolean onTouchEvent(MotionEvent event) { event 25 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java public static boolean isGoDown(KeyEvent event) { event 26 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java return isActionDown(event) && (event.getKeyCode() == KeyEvent.KEYCODE_DPAD_DOWN event 27 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java || (!event.isNumLockOn() && event.getKeyCode() == KeyEvent.KEYCODE_NUMPAD_2)); event 35 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java public static boolean isGoUp(KeyEvent event) { event 36 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java return isActionDown(event) && (event.getKeyCode() == KeyEvent.KEYCODE_DPAD_UP event 37 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java || (!event.isNumLockOn() && event.getKeyCode() == KeyEvent.KEYCODE_NUMPAD_8)); event 45 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java public static boolean isGoRight(KeyEvent event) { event 46 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java return isActionDown(event) && (event.getKeyCode() == KeyEvent.KEYCODE_DPAD_RIGHT event 47 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java || (!event.isNumLockOn() && event.getKeyCode() == KeyEvent.KEYCODE_NUMPAD_6)); event 55 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java public static boolean isGoUpOrDown(KeyEvent event) { event 56 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java return isGoDown(event) || isGoUp(event); event 64 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java public static boolean isEnter(KeyEvent event) { event 65 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java return isActionUp(event) && (event.getKeyCode() == KeyEvent.KEYCODE_ENTER event 66 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java || event.getKeyCode() == KeyEvent.KEYCODE_NUMPAD_ENTER); event 74 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java public static boolean isActionDown(KeyEvent event) { event 75 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java return event.getAction() == KeyEvent.ACTION_DOWN; event 83 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java public static boolean isActionUp(KeyEvent event) { event 84 chrome/android/java/src/org/chromium/chrome/browser/util/KeyNavigationUtil.java return event.getAction() == KeyEvent.ACTION_UP; event 190 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java public boolean onKeyUp(int keyCode, KeyEvent event) { event 199 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java return super.onKeyUp(keyCode, event); event 274 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java public boolean onKeyDown(int keyCode, KeyEvent event) { event 275 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java if (keyCode == KeyEvent.KEYCODE_MENU && event.getRepeatCount() == 0) { event 279 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java return super.onKeyDown(keyCode, event); event 97 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { event 98 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java if ((actionId != EditorInfo.IME_ACTION_GO) && (event == null || event 99 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java event.getKeyCode() != KeyEvent.KEYCODE_ENTER || event 100 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java event.getKeyCode() != KeyEvent.ACTION_DOWN)) { event 132 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java public boolean onTouch(View view, MotionEvent event) { event 133 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java return mAppMenuButtonHelper != null && mAppMenuButtonHelper.onTouch(view, event); event 19 chrome/browser/accessibility/accessibility_events.cc ui::AXEvent event, event 24 chrome/browser/accessibility/accessibility_events.cc event, event 30 chrome/browser/accessibility/accessibility_events.cc ui::AXEvent event, event 35 chrome/browser/accessibility/accessibility_events.cc event, event 41 chrome/browser/accessibility/accessibility_events.cc ui::AXEvent event, event 46 chrome/browser/accessibility/accessibility_events.cc event, event 25 chrome/browser/accessibility/accessibility_events.h ui::AXEvent event, event 29 chrome/browser/accessibility/accessibility_events.h ui::AXEvent event, event 33 chrome/browser/accessibility/accessibility_events.h ui::AXEvent event, event 77 chrome/browser/accessibility/accessibility_extension_api.cc ui::AXEvent event, event 80 chrome/browser/accessibility/accessibility_extension_api.cc control_event_callback_.Run(event, info); event 82 chrome/browser/accessibility/accessibility_extension_api.cc if (event == ui::AX_EVENT_ALERT) event 87 chrome/browser/accessibility/accessibility_extension_api.cc ui::AXEvent event, event 89 chrome/browser/accessibility/accessibility_extension_api.cc switch (event) { event 107 chrome/browser/accessibility/accessibility_extension_api.cc ui::AXEvent event, event 110 chrome/browser/accessibility/accessibility_extension_api.cc control_event_callback_.Run(event, info); event 112 chrome/browser/accessibility/accessibility_extension_api.cc switch (event) { event 200 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<extensions::Event> event(new extensions::Event(event_name, event 203 chrome/browser/accessibility/accessibility_extension_api.cc extension_misc::kChromeVoxExtensionId, event.Pass()); event 212 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 215 chrome/browser/accessibility/accessibility_extension_api.cc BroadcastEvent(event.Pass()); event 50 chrome/browser/accessibility/accessibility_extension_api.h void HandleWindowEvent(ui::AXEvent event, event 54 chrome/browser/accessibility/accessibility_extension_api.h void HandleMenuEvent(ui::AXEvent event, event 58 chrome/browser/accessibility/accessibility_extension_api.h void HandleControlEvent(ui::AXEvent event, event 15 chrome/browser/android/banners/app_banner_utilities.cc void TrackDismissEvent(int event) { event 20 chrome/browser/android/banners/app_banner_utilities.cc DCHECK(std::find(codes.begin(), codes.end(), event) != codes.end()); event 21 chrome/browser/android/banners/app_banner_utilities.cc UMA_HISTOGRAM_CUSTOM_ENUMERATION("AppBanners.DismissEvent", event, codes); event 24 chrome/browser/android/banners/app_banner_utilities.cc void TrackDisplayEvent(int event) { event 29 chrome/browser/android/banners/app_banner_utilities.cc DCHECK(std::find(codes.begin(), codes.end(), event) != codes.end()); event 30 chrome/browser/android/banners/app_banner_utilities.cc UMA_HISTOGRAM_CUSTOM_ENUMERATION("AppBanners.DisplayEvent", event, codes); event 33 chrome/browser/android/banners/app_banner_utilities.cc void TrackInstallEvent(int event) { event 38 chrome/browser/android/banners/app_banner_utilities.cc DCHECK(std::find(codes.begin(), codes.end(), event) != codes.end()); event 39 chrome/browser/android/banners/app_banner_utilities.cc UMA_HISTOGRAM_CUSTOM_ENUMERATION("AppBanners.InstallEvent", event, codes); event 11 chrome/browser/android/banners/app_banner_utilities.h void TrackDisplayEvent(int event); event 12 chrome/browser/android/banners/app_banner_utilities.h void TrackDismissEvent(int event); event 13 chrome/browser/android/banners/app_banner_utilities.h void TrackInstallEvent(int event); event 183 chrome/browser/apps/ephemeral_app_browsertest.cc scoped_ptr<Event> event(new Event(alarms::OnAlarm::kEventName, event 186 chrome/browser/apps/ephemeral_app_browsertest.cc event_router->DispatchEventToExtension(app_id, event.Pass()); event 366 chrome/browser/autofill/autofill_interactive_uitest.cc bool HandleKeyPressEvent(const content::NativeWebKeyboardEvent& event) { event 372 chrome/browser/autofill/autofill_interactive_uitest.cc content::NativeWebKeyboardEvent event; event 373 chrome/browser/autofill/autofill_interactive_uitest.cc event.windowsKeyCode = key; event 374 chrome/browser/autofill/autofill_interactive_uitest.cc event.type = blink::WebKeyboardEvent::RawKeyDown; event 379 chrome/browser/autofill/autofill_interactive_uitest.cc GetRenderViewHost()->ForwardKeyboardEvent(event); event 306 chrome/browser/browser_process_impl.cc static void Signal(base::WaitableEvent* event) { event 307 chrome/browser/browser_process_impl.cc event->Signal(); event 498 chrome/browser/browsing_data/browsing_data_remover.cc base::WaitableEvent* event = event 504 chrome/browser/browsing_data/browsing_data_remover.cc watcher_.StartWatching(event, watcher_callback); event 75 chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.cc void KioskModeIdleAppNameNotification::OnUserActivity(const ui::Event* event) { event 33 chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.h virtual void OnUserActivity(const ui::Event* event) OVERRIDE; event 62 chrome/browser/chromeos/device_uma.cc const base::NativeEvent& event) { event 63 chrome/browser/chromeos/device_uma.cc CheckIncomingEvent(event); event 68 chrome/browser/chromeos/device_uma.cc const base::NativeEvent& event) { event 98 chrome/browser/chromeos/device_uma.cc void DeviceUMA::CheckIncomingEvent(const base::NativeEvent& event) { event 99 chrome/browser/chromeos/device_uma.cc switch (event->type) { event 101 chrome/browser/chromeos/device_uma.cc if (ui::DeviceDataManager::GetInstance()->IsXIDeviceEvent(event) && event 102 chrome/browser/chromeos/device_uma.cc ui::IsTouchpadEvent(event)) event 103 chrome/browser/chromeos/device_uma.cc CheckTouchpadEvent(event); event 37 chrome/browser/chromeos/device_uma.h const base::NativeEvent& event) OVERRIDE; event 38 chrome/browser/chromeos/device_uma.h virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; event 41 chrome/browser/chromeos/device_uma.h void CheckTouchpadEvent(const base::NativeEvent& event); event 44 chrome/browser/chromeos/device_uma.h void CheckIncomingEvent(const base::NativeEvent& event); event 180 chrome/browser/chromeos/events/event_rewriter.cc void EventRewriter::RewriteForTesting(XEvent* event) { event 181 chrome/browser/chromeos/events/event_rewriter.cc Rewrite(event); event 197 chrome/browser/chromeos/events/event_rewriter.cc const base::NativeEvent& event) { event 198 chrome/browser/chromeos/events/event_rewriter.cc XEvent* xevent = event; event 218 chrome/browser/chromeos/events/event_rewriter.cc void EventRewriter::DidProcessEvent(const base::NativeEvent& event) { event 271 chrome/browser/chromeos/events/event_rewriter.cc bool EventRewriter::TopRowKeysAreFunctionKeys(XEvent* event) const { event 340 chrome/browser/chromeos/events/event_rewriter.cc void EventRewriter::Rewrite(XEvent* event) { event 343 chrome/browser/chromeos/events/event_rewriter.cc if (event->xkey.send_event) event 349 chrome/browser/chromeos/events/event_rewriter.cc event)) { event 353 chrome/browser/chromeos/events/event_rewriter.cc RewriteModifiers(event); event 354 chrome/browser/chromeos/events/event_rewriter.cc RewriteNumPadKeys(event); event 355 chrome/browser/chromeos/events/event_rewriter.cc RewriteExtendedKeys(event); event 356 chrome/browser/chromeos/events/event_rewriter.cc RewriteFunctionKeys(event); event 430 chrome/browser/chromeos/events/event_rewriter.cc bool EventRewriter::RewriteModifiers(XEvent* event) { event 431 chrome/browser/chromeos/events/event_rewriter.cc DCHECK(event->type == KeyPress || event->type == KeyRelease); event 449 chrome/browser/chromeos/events/event_rewriter.cc XKeyEvent* xkey = &event->xkey; event 451 chrome/browser/chromeos/events/event_rewriter.cc ui::KeyboardCode original_keycode = ui::KeyboardCodeFromNative(event); event 507 chrome/browser/chromeos/events/event_rewriter.cc int flags = ui::EventFlagsFromNative(event); event 522 chrome/browser/chromeos/events/event_rewriter.cc if (event->type == KeyPress && event 531 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, remapped_native_keycode, remapped_native_modifiers); event 535 chrome/browser/chromeos/events/event_rewriter.cc bool EventRewriter::RewriteNumPadKeys(XEvent* event) { event 536 chrome/browser/chromeos/events/event_rewriter.cc DCHECK(event->type == KeyPress || event->type == KeyRelease); event 538 chrome/browser/chromeos/events/event_rewriter.cc XKeyEvent* xkey = &event->xkey; event 542 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, NativeKeySymToNativeKeycode(XK_KP_0), event 547 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, NativeKeySymToNativeKeycode(XK_KP_Decimal), event 552 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, NativeKeySymToNativeKeycode(XK_KP_1), event 557 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, NativeKeySymToNativeKeycode(XK_KP_2), event 562 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, NativeKeySymToNativeKeycode(XK_KP_3), event 567 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, NativeKeySymToNativeKeycode(XK_KP_4), event 572 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, NativeKeySymToNativeKeycode(XK_KP_5), event 577 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, NativeKeySymToNativeKeycode(XK_KP_6), event 582 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, NativeKeySymToNativeKeycode(XK_KP_7), event 587 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, NativeKeySymToNativeKeycode(XK_KP_8), event 592 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, NativeKeySymToNativeKeycode(XK_KP_9), event 602 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, xkey->keycode, xkey->state | Mod2Mask); event 611 chrome/browser/chromeos/events/event_rewriter.cc bool EventRewriter::RewriteExtendedKeys(XEvent* event) { event 612 chrome/browser/chromeos/events/event_rewriter.cc DCHECK(event->type == KeyPress || event->type == KeyRelease); event 613 chrome/browser/chromeos/events/event_rewriter.cc XKeyEvent* xkey = &event->xkey; event 727 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, event 733 chrome/browser/chromeos/events/event_rewriter.cc bool EventRewriter::RewriteFunctionKeys(XEvent* event) { event 734 chrome/browser/chromeos/events/event_rewriter.cc DCHECK(event->type == KeyPress || event->type == KeyRelease); event 735 chrome/browser/chromeos/events/event_rewriter.cc XKeyEvent* xkey = &event->xkey; event 745 chrome/browser/chromeos/events/event_rewriter.cc bool top_row_keys_are_special_keys = !TopRowKeysAreFunctionKeys(event); event 843 chrome/browser/chromeos/events/event_rewriter.cc OverwriteEvent(event, event 849 chrome/browser/chromeos/events/event_rewriter.cc void EventRewriter::RewriteLocatedEvent(XEvent* event) { event 850 chrome/browser/chromeos/events/event_rewriter.cc DCHECK_EQ(GenericEvent, event->type); event 851 chrome/browser/chromeos/events/event_rewriter.cc XIDeviceEvent* xievent = static_cast<XIDeviceEvent*>(event->xcookie.data); event 879 chrome/browser/chromeos/events/event_rewriter.cc void EventRewriter::OverwriteEvent(XEvent* event, event 882 chrome/browser/chromeos/events/event_rewriter.cc DCHECK(event->type == KeyPress || event->type == KeyRelease); event 883 chrome/browser/chromeos/events/event_rewriter.cc XKeyEvent* xkey = &event->xkey; event 44 chrome/browser/chromeos/events/event_rewriter.h void RewriteForTesting(XEvent* event); event 70 chrome/browser/chromeos/events/event_rewriter.h const base::NativeEvent& event) OVERRIDE; event 71 chrome/browser/chromeos/events/event_rewriter.h virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; event 99 chrome/browser/chromeos/events/event_rewriter.h bool TopRowKeysAreFunctionKeys(XEvent* event) const; event 129 chrome/browser/chromeos/events/event_rewriter.h void Rewrite(XEvent* event); event 133 chrome/browser/chromeos/events/event_rewriter.h bool RewriteModifiers(XEvent* event); event 138 chrome/browser/chromeos/events/event_rewriter.h bool RewriteFnKey(XEvent* event); event 142 chrome/browser/chromeos/events/event_rewriter.h bool RewriteNumPadKeys(XEvent* event); event 158 chrome/browser/chromeos/events/event_rewriter.h bool RewriteExtendedKeys(XEvent* event); event 163 chrome/browser/chromeos/events/event_rewriter.h bool RewriteFunctionKeys(XEvent* event); event 166 chrome/browser/chromeos/events/event_rewriter.h void RewriteLocatedEvent(XEvent* event); event 169 chrome/browser/chromeos/events/event_rewriter.h void OverwriteEvent(XEvent* event, event 193 chrome/browser/chromeos/events/event_rewriter_unittest.cc ui::MouseEvent* event) { event 194 chrome/browser/chromeos/events/event_rewriter_unittest.cc XEvent* xevent = event->native_event(); event 196 chrome/browser/chromeos/events/event_rewriter_unittest.cc *event = ui::MouseEvent(xevent); event 2340 chrome/browser/chromeos/events/event_rewriter_unittest.cc bool RewriteFunctionKeys(XEvent* event) { event 2341 chrome/browser/chromeos/events/event_rewriter_unittest.cc return rewriter_.RewriteFunctionKeys(event); event 38 chrome/browser/chromeos/events/keyboard_driven_event_rewriter.cc XEvent* event) { event 42 chrome/browser/chromeos/events/keyboard_driven_event_rewriter.cc return RewriteEvent(event); event 45 chrome/browser/chromeos/events/keyboard_driven_event_rewriter.cc bool KeyboardDrivenEventRewriter::RewriteForTesting(XEvent* event) { event 46 chrome/browser/chromeos/events/keyboard_driven_event_rewriter.cc return RewriteEvent(event); event 49 chrome/browser/chromeos/events/keyboard_driven_event_rewriter.cc bool KeyboardDrivenEventRewriter::RewriteEvent(XEvent* event) { event 50 chrome/browser/chromeos/events/keyboard_driven_event_rewriter.cc int flags = ui::EventFlagsFromNative(event); event 53 chrome/browser/chromeos/events/keyboard_driven_event_rewriter.cc ui::KeyboardCode key_code = ui::KeyboardCodeFromNative(event); event 64 chrome/browser/chromeos/events/keyboard_driven_event_rewriter.cc XKeyEvent* xkey = &(event->xkey); event 25 chrome/browser/chromeos/events/keyboard_driven_event_rewriter.h bool RewriteIfKeyboardDrivenOnLoginScreen(XEvent* event); event 28 chrome/browser/chromeos/events/keyboard_driven_event_rewriter.h bool RewriteForTesting(XEvent* event); event 31 chrome/browser/chromeos/events/keyboard_driven_event_rewriter.h bool RewriteEvent(XEvent* event); event 80 chrome/browser/chromeos/events/system_key_event_listener.cc const base::NativeEvent& event) { event 81 chrome/browser/chromeos/events/system_key_event_listener.cc return ProcessedXEvent(event) ? base::EVENT_HANDLED : base::EVENT_CONTINUE; event 84 chrome/browser/chromeos/events/system_key_event_listener.cc void SystemKeyEventListener::DidProcessEvent(const base::NativeEvent& event) { event 35 chrome/browser/chromeos/events/system_key_event_listener.h const base::NativeEvent& event) OVERRIDE; event 36 chrome/browser/chromeos/events/system_key_event_listener.h virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; event 19 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc XIHierarchyEvent* event, event 21 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc if (!(event->flags & (XISlaveAdded | XISlaveRemoved))) event 25 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc for (int i = 0; i < event->num_info; ++i) { event 26 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc XIHierarchyInfo* info = &event->info[i]; event 86 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc const base::NativeEvent& event) { event 90 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc ProcessedXEvent(event); event 95 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc const base::NativeEvent& event) { event 105 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc XIHierarchyEvent* event = static_cast<XIHierarchyEvent*>(cookie->data); event 106 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc HandleHierarchyChangedEvent(event, &observer_list_); event 107 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc if (event->flags & XIDeviceEnabled || event->flags & XIDeviceDisabled) event 41 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.h const base::NativeEvent& event) OVERRIDE; event 42 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.h virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; event 244 chrome/browser/chromeos/extensions/file_manager/event_router.cc file_browser_private::MountCompletedEvent event; event 245 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.event_type = event_type; event 246 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.status = MountErrorToMountCompletedStatus(error); event 248 chrome/browser/chromeos/extensions/file_manager/event_router.cc profile, volume_info, &event.volume_metadata); event 249 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.is_remounting = is_remounting; event 254 chrome/browser/chromeos/extensions/file_manager/event_router.cc file_browser_private::OnMountCompleted::Create(event)); event 649 chrome/browser/chromeos/extensions/file_manager/event_router.cc file_browser_private::DriveSyncErrorEvent event; event 652 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.type = event 656 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.type = event 660 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.type = event 664 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.file_url = util::ConvertDrivePathToFileSystemUrl( event 669 chrome/browser/chromeos/extensions/file_manager/event_router.cc file_browser_private::OnDriveSyncError::Create(event)); event 730 chrome/browser/chromeos/extensions/file_manager/event_router.cc file_browser_private::FileWatchEvent event; event 731 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.event_type = watcher_error event 735 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.entry.additional_properties.SetString( event 737 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.entry.additional_properties.SetString( event 739 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.entry.additional_properties.SetString( event 741 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.entry.additional_properties.SetBoolean("fileIsDirectory", event 746 chrome/browser/chromeos/extensions/file_manager/event_router.cc file_browser_private::OnDirectoryChanged::Create(event)); event 782 chrome/browser/chromeos/extensions/file_manager/event_router.cc file_browser_private::DeviceEvent event; event 783 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.type = type; event 784 chrome/browser/chromeos/extensions/file_manager/event_router.cc event.device_path = device_path; event 787 chrome/browser/chromeos/extensions/file_manager/event_router.cc file_browser_private::OnDeviceChanged::Create(event)); event 46 chrome/browser/chromeos/extensions/input_method_event_router.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 48 chrome/browser/chromeos/extensions/input_method_event_router.cc event->restrict_to_browser_context = context_; event 49 chrome/browser/chromeos/extensions/input_method_event_router.cc router->BroadcastEvent(event.Pass()); event 18 chrome/browser/chromeos/extensions/media_player_event_router.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 21 chrome/browser/chromeos/extensions/media_player_event_router.cc event.Pass()); event 274 chrome/browser/chromeos/extensions/screenlock_private_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 278 chrome/browser/chromeos/extensions/screenlock_private_api.cc ->BroadcastEvent(event.Pass()); event 309 chrome/browser/chromeos/extensions/screenlock_private_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 313 chrome/browser/chromeos/extensions/screenlock_private_api.cc ->BroadcastEvent(event.Pass()); event 394 chrome/browser/chromeos/file_manager/file_browser_handlers.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 396 chrome/browser/chromeos/file_manager/file_browser_handlers.cc event->restrict_to_browser_context = profile_; event 397 chrome/browser/chromeos/file_manager/file_browser_handlers.cc event_router->DispatchEventToExtension(extension_->id(), event.Pass()); event 69 chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc chromeos::disks::DiskMountManager::MountEvent event, event 75 chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc switch (event) { event 99 chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc chromeos::disks::DiskMountManager::DiskEvent event, event 104 chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc chromeos::disks::DiskMountManager::DeviceEvent event, event 109 chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc chromeos::disks::DiskMountManager::FormatEvent event, event 39 chrome/browser/chromeos/file_manager/mounted_disk_monitor.h chromeos::disks::DiskMountManager::DiskEvent event, event 42 chrome/browser/chromeos/file_manager/mounted_disk_monitor.h chromeos::disks::DiskMountManager::DeviceEvent event, event 45 chrome/browser/chromeos/file_manager/mounted_disk_monitor.h chromeos::disks::DiskMountManager::MountEvent event, event 50 chrome/browser/chromeos/file_manager/mounted_disk_monitor.h chromeos::disks::DiskMountManager::FormatEvent event, event 462 chrome/browser/chromeos/file_manager/volume_manager.cc chromeos::disks::DiskMountManager::DiskEvent event, event 470 chrome/browser/chromeos/file_manager/volume_manager.cc switch (event) { event 516 chrome/browser/chromeos/file_manager/volume_manager.cc chromeos::disks::DiskMountManager::DeviceEvent event, event 519 chrome/browser/chromeos/file_manager/volume_manager.cc DVLOG(1) << "OnDeviceEvent: " << event << ", " << device_path; event 521 chrome/browser/chromeos/file_manager/volume_manager.cc switch (event) { event 538 chrome/browser/chromeos/file_manager/volume_manager.cc chromeos::disks::DiskMountManager::MountEvent event, event 549 chrome/browser/chromeos/file_manager/volume_manager.cc if ((event == chromeos::disks::DiskMountManager::MOUNTING && event 551 chrome/browser/chromeos/file_manager/volume_manager.cc (event == chromeos::disks::DiskMountManager::UNMOUNTING && event 568 chrome/browser/chromeos/file_manager/volume_manager.cc switch (event) { event 583 chrome/browser/chromeos/file_manager/volume_manager.cc chromeos::disks::DiskMountManager::FormatEvent event, event 587 chrome/browser/chromeos/file_manager/volume_manager.cc DVLOG(1) << "OnDeviceEvent: " << event << ", " << error_code event 590 chrome/browser/chromeos/file_manager/volume_manager.cc switch (event) { event 157 chrome/browser/chromeos/file_manager/volume_manager.h chromeos::disks::DiskMountManager::DiskEvent event, event 160 chrome/browser/chromeos/file_manager/volume_manager.h chromeos::disks::DiskMountManager::DeviceEvent event, event 163 chrome/browser/chromeos/file_manager/volume_manager.h chromeos::disks::DiskMountManager::MountEvent event, event 168 chrome/browser/chromeos/file_manager/volume_manager.h chromeos::disks::DiskMountManager::FormatEvent event, event 64 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc Event event; event 65 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.type = Event::DISK_ADDED; event 66 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.device_path = disk.device_path(); // Keep only device_path. event 67 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.mounting = mounting; event 68 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc events_.push_back(event); event 73 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc Event event; event 74 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.type = Event::DISK_REMOVED; event 75 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.device_path = disk.device_path(); // Keep only device_path. event 76 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc events_.push_back(event); event 80 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc Event event; event 81 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.type = Event::DEVICE_ADDED; event 82 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.device_path = device_path; event 83 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc events_.push_back(event); event 87 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc Event event; event 88 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.type = Event::DEVICE_REMOVED; event 89 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.device_path = device_path; event 90 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc events_.push_back(event); event 96 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc Event event; event 97 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.type = Event::VOLUME_MOUNTED; event 98 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.device_path = volume_info.source_path.AsUTF8Unsafe(); event 99 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.mount_error = error_code; event 100 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.is_remounting = is_remounting; event 101 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc events_.push_back(event); event 106 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc Event event; event 107 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.type = Event::VOLUME_UNMOUNTED; event 108 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.device_path = volume_info.source_path.AsUTF8Unsafe(); event 109 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.mount_error = error_code; event 110 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc events_.push_back(event); event 115 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc Event event; event 116 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.type = Event::FORMAT_STARTED; event 117 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.device_path = device_path; event 118 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.success = success; event 119 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc events_.push_back(event); event 124 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc Event event; event 125 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.type = Event::FORMAT_COMPLETED; event 126 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.device_path = device_path; event 127 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.success = success; event 128 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc events_.push_back(event); event 192 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc LoggingObserver::Event event = observer.events()[0]; event 193 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::VOLUME_MOUNTED, event.type); event 195 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.device_path); event 196 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(chromeos::MOUNT_ERROR_NONE, event.mount_error); event 197 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_FALSE(event.is_remounting); event 202 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event = observer.events()[1]; event 203 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::VOLUME_UNMOUNTED, event.type); event 205 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event.device_path); event 206 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(chromeos::MOUNT_ERROR_NONE, event.mount_error); event 267 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 268 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::DISK_ADDED, event.type); event 269 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 270 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_TRUE(event.mounting); event 300 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 301 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::DISK_ADDED, event.type); event 302 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 303 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_FALSE(event.mounting); event 323 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 324 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::DISK_ADDED, event.type); event 325 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 326 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_FALSE(event.mounting); event 348 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 349 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::DISK_ADDED, event.type); event 350 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 351 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_FALSE(event.mounting); event 370 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 371 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::DISK_REMOVED, event.type); event 372 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 394 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 395 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::DISK_REMOVED, event.type); event 396 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 429 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 430 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::DEVICE_ADDED, event.type); event 431 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 444 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 445 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::DEVICE_REMOVED, event.type); event 446 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 479 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc LoggingObserver::Event event = observer.events()[0]; event 480 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::VOLUME_MOUNTED, event.type); event 481 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 482 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(chromeos::MOUNT_ERROR_NONE, event.mount_error); event 483 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_FALSE(event.is_remounting); event 490 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event = observer.events()[1]; event 491 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::VOLUME_UNMOUNTED, event.type); event 492 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 493 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(chromeos::MOUNT_ERROR_NONE, event.mount_error); event 540 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 541 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::VOLUME_MOUNTED, event.type); event 542 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 543 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(chromeos::MOUNT_ERROR_NONE, event.mount_error); event 544 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_TRUE(event.is_remounting); event 579 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 580 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::FORMAT_STARTED, event.type); event 581 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 582 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_TRUE(event.success); event 597 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 598 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::FORMAT_STARTED, event.type); event 599 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 600 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_FALSE(event.success); event 615 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 616 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::FORMAT_COMPLETED, event.type); event 617 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 618 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_TRUE(event.success); event 642 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; event 643 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(LoggingObserver::Event::FORMAT_COMPLETED, event.type); event 644 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ("device1", event.device_path); event 645 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_FALSE(event.success); event 67 chrome/browser/chromeos/first_run/first_run_view.cc const blink::WebGestureEvent& event) { event 69 chrome/browser/chromeos/first_run/first_run_view.cc return event.type == blink::WebGestureEvent::GesturePinchBegin || event 70 chrome/browser/chromeos/first_run/first_run_view.cc event.type == blink::WebGestureEvent::GesturePinchUpdate || event 71 chrome/browser/chromeos/first_run/first_run_view.cc event.type == blink::WebGestureEvent::GesturePinchEnd; event 47 chrome/browser/chromeos/first_run/first_run_view.h const blink::WebGestureEvent& event) OVERRIDE; event 24 chrome/browser/chromeos/idle_detector.cc void IdleDetector::OnUserActivity(const ui::Event* event) { event 27 chrome/browser/chromeos/idle_detector.h virtual void OnUserActivity(const ui::Event* event) OVERRIDE; event 59 chrome/browser/chromeos/imageburner/burn_device_handler.cc void BurnDeviceHandler::OnDiskEvent(DiskMountManager::DiskEvent event, event 65 chrome/browser/chromeos/imageburner/burn_device_handler.cc switch (event) { event 78 chrome/browser/chromeos/imageburner/burn_device_handler.cc void BurnDeviceHandler::OnDeviceEvent(DiskMountManager::DeviceEvent event, event 84 chrome/browser/chromeos/imageburner/burn_device_handler.cc DiskMountManager::MountEvent event, event 90 chrome/browser/chromeos/imageburner/burn_device_handler.cc void BurnDeviceHandler::OnFormatEvent(DiskMountManager::FormatEvent event, event 48 chrome/browser/chromeos/imageburner/burn_device_handler.h disks::DiskMountManager::DiskEvent event, event 51 chrome/browser/chromeos/imageburner/burn_device_handler.h disks::DiskMountManager::DeviceEvent event, event 54 chrome/browser/chromeos/imageburner/burn_device_handler.h disks::DiskMountManager::MountEvent event, event 58 chrome/browser/chromeos/imageburner/burn_device_handler.h disks::DiskMountManager::FormatEvent event, event 504 chrome/browser/chromeos/imageburner/burn_manager.cc void BurnManager::UpdateBurnStatus(BurnEvent event, event 509 chrome/browser/chromeos/imageburner/burn_manager.cc if (event == BURN_FAIL || event == BURN_SUCCESS) { event 517 chrome/browser/chromeos/imageburner/burn_manager.cc if (block_burn_signals_ && event == BURN_UPDATE) event 521 chrome/browser/chromeos/imageburner/burn_manager.cc switch (event) { event 38 chrome/browser/chromeos/input_method/accessibility.cc AccessibilityAlertInfo event(ProfileManager::GetActiveUserProfile(), event 41 chrome/browser/chromeos/input_method/accessibility.cc ui::AX_EVENT_ALERT, &event); event 231 chrome/browser/chromeos/input_method/input_method_engine.cc const KeyboardEvent& event = events[i]; event 233 chrome/browser/chromeos/input_method/input_method_engine.cc (event.type == "keyup") ? ui::ET_KEY_RELEASED : ui::ET_KEY_PRESSED; event 241 chrome/browser/chromeos/input_method/input_method_engine.cc conv->CodeToNativeKeycode(event.code.c_str()); event 245 chrome/browser/chromeos/input_method/input_method_engine.cc const std::string code = event.code; event 247 chrome/browser/chromeos/input_method/input_method_engine.cc flags |= event.alt_key ? ui::EF_ALT_DOWN : ui::EF_NONE; event 248 chrome/browser/chromeos/input_method/input_method_engine.cc flags |= event.ctrl_key ? ui::EF_CONTROL_DOWN : ui::EF_NONE; event 249 chrome/browser/chromeos/input_method/input_method_engine.cc flags |= event.shift_key ? ui::EF_SHIFT_DOWN : ui::EF_NONE; event 250 chrome/browser/chromeos/input_method/input_method_engine.cc flags |= event.caps_lock ? ui::EF_CAPS_LOCK_DOWN : ui::EF_NONE; event 524 chrome/browser/chromeos/input_method/input_method_engine.cc const ui::KeyEvent& event, event 526 chrome/browser/chromeos/input_method/input_method_engine.cc DCHECK(event.type() == ui::ET_KEY_RELEASED || event 527 chrome/browser/chromeos/input_method/input_method_engine.cc event.type() == ui::ET_KEY_PRESSED); event 529 chrome/browser/chromeos/input_method/input_method_engine.cc ext_event->type = (event.type() == ui::ET_KEY_RELEASED) ? "keyup" : "keydown"; event 531 chrome/browser/chromeos/input_method/input_method_engine.cc ext_event->code = event.code(); event 532 chrome/browser/chromeos/input_method/input_method_engine.cc ext_event->alt_key = event.IsAltDown(); event 533 chrome/browser/chromeos/input_method/input_method_engine.cc ext_event->ctrl_key = event.IsControlDown(); event 534 chrome/browser/chromeos/input_method/input_method_engine.cc ext_event->shift_key = event.IsShiftDown(); event 535 chrome/browser/chromeos/input_method/input_method_engine.cc ext_event->caps_lock = event.IsCapsLockDown(); event 538 chrome/browser/chromeos/input_method/input_method_engine.cc if (event.HasNativeEvent()) { event 539 chrome/browser/chromeos/input_method/input_method_engine.cc const base::NativeEvent& native_event = event.native_event(); event 553 chrome/browser/chromeos/input_method/input_method_engine.cc x11_keysym = ui::XKeysymForWindowsKeyCode(event.key_code(), event 554 chrome/browser/chromeos/input_method/input_method_engine.cc event.IsShiftDown()); event 150 chrome/browser/chromeos/input_method/input_method_engine_interface.h const KeyboardEvent& event, event 71 chrome/browser/chromeos/kiosk_mode/kiosk_mode_idle_logout.cc void KioskModeIdleLogout::OnUserActivity(const ui::Event* event) { event 37 chrome/browser/chromeos/kiosk_mode/kiosk_mode_idle_logout.h virtual void OnUserActivity(const ui::Event* event) OVERRIDE; event 260 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc void KioskModeScreensaver::OnUserActivity(const ui::Event* event) { event 28 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.h virtual void OnUserActivity(const ui::Event* event) OVERRIDE; event 1116 chrome/browser/chromeos/login/existing_user_controller.cc AccessibilityAlertInfo event(ProfileHelper::GetSigninProfile(), alert_text); event 1118 chrome/browser/chromeos/login/existing_user_controller.cc ui::AX_EVENT_VALUE_CHANGED, &event); event 23 chrome/browser/chromeos/login/input_events_blocker.cc void InputEventsBlocker::OnKeyEvent(ui::KeyEvent* event) { event 24 chrome/browser/chromeos/login/input_events_blocker.cc event->StopPropagation(); event 27 chrome/browser/chromeos/login/input_events_blocker.cc void InputEventsBlocker::OnMouseEvent(ui::MouseEvent* event) { event 28 chrome/browser/chromeos/login/input_events_blocker.cc event->StopPropagation(); event 31 chrome/browser/chromeos/login/input_events_blocker.cc void InputEventsBlocker::OnTouchEvent(ui::TouchEvent* event) { event 32 chrome/browser/chromeos/login/input_events_blocker.cc event->StopPropagation(); event 35 chrome/browser/chromeos/login/input_events_blocker.cc void InputEventsBlocker::OnGestureEvent(ui::GestureEvent* event) { event 36 chrome/browser/chromeos/login/input_events_blocker.cc event->StopPropagation(); event 21 chrome/browser/chromeos/login/input_events_blocker.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 22 chrome/browser/chromeos/login/input_events_blocker.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 23 chrome/browser/chromeos/login/input_events_blocker.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 24 chrome/browser/chromeos/login/input_events_blocker.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 19 chrome/browser/chromeos/login/keyboard_driven_oobe_key_handler.cc void KeyboardDrivenOobeKeyHandler::OnKeyEvent(ui::KeyEvent* event) { event 20 chrome/browser/chromeos/login/keyboard_driven_oobe_key_handler.cc if (event->key_code() == ui::VKEY_F6) { event 22 chrome/browser/chromeos/login/keyboard_driven_oobe_key_handler.cc event->StopPropagation(); event 22 chrome/browser/chromeos/login/keyboard_driven_oobe_key_handler.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 449 chrome/browser/chromeos/login/screen_locker.cc const ash::wm::WMEvent event(ash::wm::WM_EVENT_TOGGLE_FULLSCREEN); event 450 chrome/browser/chromeos/login/screen_locker.cc active_window_state->OnWMEvent(&event); event 32 chrome/browser/chromeos/login/screens/network_screen_browsertest.cc const ui::Event& event) OVERRIDE {} event 249 chrome/browser/chromeos/login/simple_web_view_dialog.cc const ui::Event& event) { event 64 chrome/browser/chromeos/login/simple_web_view_dialog.h const ui::Event& event) OVERRIDE; event 414 chrome/browser/chromeos/login/webui_login_display.cc void WebUILoginDisplay::OnUserActivity(const ui::Event* event) { event 101 chrome/browser/chromeos/login/webui_login_display.h virtual void OnUserActivity(const ui::Event* event) OVERRIDE; event 362 chrome/browser/chromeos/login/webui_login_view.cc const NativeWebKeyboardEvent& event) { event 368 chrome/browser/chromeos/login/webui_login_view.cc unhandled_keyboard_event_handler_.HandleKeyboardEvent(event, event 375 chrome/browser/chromeos/login/webui_login_view.cc if (event.type == blink::WebInputEvent::KeyDown) { event 412 chrome/browser/chromeos/login/webui_login_view.cc const blink::WebGestureEvent& event) { event 414 chrome/browser/chromeos/login/webui_login_view.cc return event.type == blink::WebGestureEvent::GesturePinchBegin || event 415 chrome/browser/chromeos/login/webui_login_view.cc event.type == blink::WebGestureEvent::GesturePinchUpdate || event 416 chrome/browser/chromeos/login/webui_login_view.cc event.type == blink::WebGestureEvent::GesturePinchEnd; event 131 chrome/browser/chromeos/login/webui_login_view.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 141 chrome/browser/chromeos/login/webui_login_view.h const blink::WebGestureEvent& event) OVERRIDE; event 322 chrome/browser/chromeos/login/webui_screen_locker.cc ash::LockStateObserver::EventType event) { event 323 chrome/browser/chromeos/login/webui_screen_locker.cc if (event == ash::LockStateObserver::EVENT_LOCK_ANIMATION_FINISHED) { event 115 chrome/browser/chromeos/login/webui_screen_locker.h ash::LockStateObserver::EventType event) OVERRIDE; event 219 chrome/browser/chromeos/options/network_config_view.cc const ui::Event& event) { event 74 chrome/browser/chromeos/options/network_config_view.h views::Button* sender, const ui::Event& event) OVERRIDE; event 343 chrome/browser/chromeos/options/vpn_config_view.cc const ui::Event& event) { event 59 chrome/browser/chromeos/options/vpn_config_view.h const ui::Event& event) OVERRIDE; event 620 chrome/browser/chromeos/options/wifi_config_view.cc const ui::Event& event) { event 70 chrome/browser/chromeos/options/wifi_config_view.h const ui::Event& event) OVERRIDE; event 132 chrome/browser/chromeos/options/wimax_config_view.cc const ui::Event& event) { event 46 chrome/browser/chromeos/options/wimax_config_view.h const ui::Event& event) OVERRIDE; event 85 chrome/browser/chromeos/policy/recommendation_restorer.cc void RecommendationRestorer::OnUserActivity(const ui::Event* event) { event 45 chrome/browser/chromeos/policy/recommendation_restorer.h virtual void OnUserActivity(const ui::Event* event) OVERRIDE; event 110 chrome/browser/chromeos/session_length_limiter.cc void SessionLengthLimiter::OnUserActivity(const ui::Event* event) { event 41 chrome/browser/chromeos/session_length_limiter.h virtual void OnUserActivity(const ui::Event* event) OVERRIDE; event 243 chrome/browser/chromeos/system/automatic_reboot_manager.cc void AutomaticRebootManager::OnUserActivity(const ui::Event* event) { event 107 chrome/browser/chromeos/system/automatic_reboot_manager.h virtual void OnUserActivity(const ui::Event* event) OVERRIDE; event 93 chrome/browser/chromeos/timezone/timezone_request.cc void RecordUmaEvent(TimeZoneRequestEvent event) { event 95 chrome/browser/chromeos/timezone/timezone_request.cc "TimeZone.TimeZoneRequest.Event", event, TIMEZONE_REQUEST_EVENT_COUNT); event 107 chrome/browser/component_updater/component_updater_ping_manager.cc std::string event("<event eventtype=\"14\""); event 108 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&event, " eventresult=\"%d\"", metrics.error == 0); event 109 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&event, event 112 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&event, " errorcode=\"%d\"", metrics.error); event 113 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&event, " url=\"%s\"", metrics.url.spec().c_str()); event 117 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&event, " downloaded=\"%s\"", event 121 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&event, " total=\"%s\"", event 126 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&event, " download_time_ms=\"%s\"", event 129 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&event, "/>"); event 131 chrome/browser/component_updater/component_updater_ping_manager.cc download_events += event; event 244 chrome/browser/component_updater/component_updater_service.cc void NotifyComponentObservers(ComponentObserver::Events event, event 936 chrome/browser/component_updater/component_updater_service.cc ComponentObserver::Events event, int extra) const { event 941 chrome/browser/component_updater/component_updater_service.cc observer->OnEvent(event, 0); event 91 chrome/browser/component_updater/component_updater_service.h virtual void OnEvent(Events event, int extra) = 0; event 165 chrome/browser/component_updater/test/component_updater_service_unittest.h MOCK_METHOD2(OnEvent, void(Events event, int extra)); event 894 chrome/browser/devtools/devtools_window.cc const content::NativeWebKeyboardEvent& event, event 899 chrome/browser/devtools/devtools_window.cc return inspected_window->PreHandleKeyboardEvent(event, event 908 chrome/browser/devtools/devtools_window.cc const content::NativeWebKeyboardEvent& event) { event 910 chrome/browser/devtools/devtools_window.cc if (event.windowsKeyCode == 0x08) { event 916 chrome/browser/devtools/devtools_window.cc inspected_window->HandleKeyboardEvent(event); event 950 chrome/browser/devtools/devtools_window.cc const blink::WebGestureEvent& event) { event 952 chrome/browser/devtools/devtools_window.cc return event.type == blink::WebGestureEvent::GesturePinchBegin || event 953 chrome/browser/devtools/devtools_window.cc event.type == blink::WebGestureEvent::GesturePinchUpdate || event 954 chrome/browser/devtools/devtools_window.cc event.type == blink::WebGestureEvent::GesturePinchEnd; event 279 chrome/browser/devtools/devtools_window.h const content::NativeWebKeyboardEvent& event, event 283 chrome/browser/devtools/devtools_window.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 296 chrome/browser/devtools/devtools_window.h const blink::WebGestureEvent& event) OVERRIDE; event 94 chrome/browser/extensions/api/activity_log_private/activity_log_private_api.cc scoped_ptr<Event> event( event 97 chrome/browser/extensions/api/activity_log_private/activity_log_private_api.cc event->restrict_to_browser_context = browser_context_; event 99 chrome/browser/extensions/api/activity_log_private/activity_log_private_api.cc event.Pass()); event 50 chrome/browser/extensions/api/alarms/alarm_manager.cc scoped_ptr<Event> event(new Event(alarms::OnAlarm::kEventName, event 54 chrome/browser/extensions/api/alarms/alarm_manager.cc ->DispatchEventToExtension(extension_id, event.Pass()); event 44 chrome/browser/extensions/api/audio/audio_api.cc scoped_ptr<Event> event(new Event( event 48 chrome/browser/extensions/api/audio/audio_api.cc event.Pass()); event 49 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc scoped_ptr<Event> event(new Event(event_name, args.Pass())); event 50 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc event->restrict_to_browser_context = context; event 51 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc ExtensionSystem::Get(context)->event_router()->BroadcastEvent(event.Pass()); event 77 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc const content::AXEventNotificationDetails& event = *iter; event 78 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc int process_id = event.process_id; event 79 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc int routing_id = event.routing_id; event 91 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc for (size_t i = 0; i < event.nodes.size(); i++) { event 92 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc const ui::AXNodeData& node = event.nodes[i]; event 40 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc bt_private::PairingEvent event; event 42 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_REQUESTPINCODE, &event); event 43 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc DispatchPairingEvent(event); event 48 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc bt_private::PairingEvent event; event 50 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_REQUESTPASSKEY, &event); event 51 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc DispatchPairingEvent(event); event 57 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc bt_private::PairingEvent event; event 59 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_DISPLAYPINCODE, &event); event 60 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc event.pincode.reset(new std::string(pincode)); event 61 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc DispatchPairingEvent(event); event 67 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc bt_private::PairingEvent event; event 69 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_DISPLAYPASSKEY, &event); event 70 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc event.passkey.reset(new int(passkey)); event 71 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc DispatchPairingEvent(event); event 76 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc bt_private::PairingEvent event; event 78 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_KEYSENTERED, &event); event 79 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc event.entered_key.reset(new int(entered)); event 80 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc DispatchPairingEvent(event); event 86 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc bt_private::PairingEvent event; event 88 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_CONFIRMPASSKEY, &event); event 89 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc event.passkey.reset(new int(passkey)); event 90 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc DispatchPairingEvent(event); event 95 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc bt_private::PairingEvent event; event 97 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_REQUESTAUTHORIZATION, &event); event 98 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc DispatchPairingEvent(event); event 105 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc scoped_ptr<Event> event( event 109 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc ->DispatchEventToExtension(extension_id_, event.Pass()); event 210 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc scoped_ptr<Event> event(new Event( event 214 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc ->DispatchEventToExtension(extension_id, event.Pass()); event 380 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc scoped_ptr<Event> event(new Event( event 384 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc event.Pass()); event 395 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc scoped_ptr<Event> event(new Event(event_name, args.Pass())); event 397 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc event.Pass()); event 41 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc scoped_ptr<extensions::Event> event) OVERRIDE { event 43 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc event_ = event.Pass(); event 212 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc fake_event_router->event()->event_name.c_str()); event 214 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc base::ListValue* event_args = fake_event_router->event()->event_args.get(); event 248 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc EXPECT_TRUE(fake_event_router->event() == NULL); event 263 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc scoped_ptr<Event> event(new Event(event_name, args.Pass())); event 264 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc ExtensionSystem::Get(profile_)->event_router()->BroadcastEvent(event.Pass()); event 43 chrome/browser/extensions/api/braille_display_private/braille_controller.h virtual void OnKeyEvent(const KeyEvent& event) {} event 334 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc scoped_ptr<KeyEvent> event = MapKeyCode(code); event 335 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc if (event) event 336 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc DispatchKeyEvent(event.Pass()); event 340 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc void BrailleControllerImpl::DispatchKeyEvent(scoped_ptr<KeyEvent> event) { event 346 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Passed(&event))); event 349 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc VLOG(1) << "Dispatching key event: " << *event->ToValue(); event 350 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc FOR_EACH_OBSERVER(BrailleObserver, observers_, OnKeyEvent(*event)); event 65 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.h void DispatchKeyEvent(scoped_ptr<KeyEvent> event); event 34 chrome/browser/extensions/api/braille_display_private/braille_display_private_api.cc virtual void BroadcastEvent(scoped_ptr<Event> event) OVERRIDE; event 66 chrome/browser/extensions/api/braille_display_private/braille_display_private_api.cc scoped_ptr<Event> event(new Event( event 69 chrome/browser/extensions/api/braille_display_private/braille_display_private_api.cc event_delegate_->BroadcastEvent(event.Pass()); event 77 chrome/browser/extensions/api/braille_display_private/braille_display_private_api.cc scoped_ptr<Event> event(new Event( event 79 chrome/browser/extensions/api/braille_display_private/braille_display_private_api.cc event_delegate_->BroadcastEvent(event.Pass()); event 135 chrome/browser/extensions/api/braille_display_private/braille_display_private_api.cc scoped_ptr<Event> event) { event 136 chrome/browser/extensions/api/braille_display_private/braille_display_private_api.cc ExtensionSystem::Get(profile_)->event_router()->BroadcastEvent(event.Pass()); event 57 chrome/browser/extensions/api/braille_display_private/braille_display_private_api.h virtual void BroadcastEvent(scoped_ptr<Event> event) = 0; event 241 chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc virtual void BroadcastEvent(scoped_ptr<Event> event) OVERRIDE { event 87 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc scoped_ptr<Event> event(new Event(OnError::kEventName, results.Pass())); event 90 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc ->DispatchEventToExtension(socket->owner_extension_id(), event.Pass()); event 102 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc scoped_ptr<Event> event(new Event(OnMessage::kEventName, results.Pass())); event 105 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc ->DispatchEventToExtension(socket->owner_extension_id(), event.Pass()); event 483 chrome/browser/extensions/api/cast_streaming/performance_test.cc const trace_analyzer::TraceEvent *event = capture_events[i]; event 484 chrome/browser/extensions/api/cast_streaming/performance_test.cc times.push_back(event->timestamp); // begin capture event 485 chrome/browser/extensions/api/cast_streaming/performance_test.cc event = event->other_event; event 486 chrome/browser/extensions/api/cast_streaming/performance_test.cc if (!event) { event 489 chrome/browser/extensions/api/cast_streaming/performance_test.cc times.push_back(event->timestamp); // end capture (with timestamp) event 491 chrome/browser/extensions/api/cast_streaming/performance_test.cc prev_events.push_back(event); event 493 chrome/browser/extensions/api/cast_streaming/performance_test.cc event = FindNextEvent(*event_maps[j].first, event 496 chrome/browser/extensions/api/cast_streaming/performance_test.cc if (!event) { event 499 chrome/browser/extensions/api/cast_streaming/performance_test.cc prev_events.push_back(event); event 500 chrome/browser/extensions/api/cast_streaming/performance_test.cc times.push_back(event->timestamp); event 502 chrome/browser/extensions/api/cast_streaming/performance_test.cc if (event) { event 142 chrome/browser/extensions/api/cookies/cookies_api.cc scoped_ptr<Event> event(new Event(event_name, event_args.Pass())); event 143 chrome/browser/extensions/api/cookies/cookies_api.cc event->restrict_to_browser_context = context; event 144 chrome/browser/extensions/api/cookies/cookies_api.cc event->event_url = cookie_domain; event 145 chrome/browser/extensions/api/cookies/cookies_api.cc router->BroadcastEvent(event.Pass()); event 394 chrome/browser/extensions/api/debugger/debugger_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 396 chrome/browser/extensions/api/debugger/debugger_api.cc event->restrict_to_browser_context = profile_; event 398 chrome/browser/extensions/api/debugger/debugger_api.cc DispatchEventToExtension(extension_id_, event.Pass()); event 445 chrome/browser/extensions/api/debugger/debugger_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 447 chrome/browser/extensions/api/debugger/debugger_api.cc event->restrict_to_browser_context = profile_; event 449 chrome/browser/extensions/api/debugger/debugger_api.cc DispatchEventToExtension(extension_id_, event.Pass()); event 260 chrome/browser/extensions/api/developer_private/developer_private_api.cc scoped_ptr<Event> event(new Event(event_name, args.Pass())); event 261 chrome/browser/extensions/api/developer_private/developer_private_api.cc ExtensionSystem::Get(profile)->event_router()->BroadcastEvent(event.Pass()); event 109 chrome/browser/extensions/api/dial/dial_api.cc scoped_ptr<Event> event( event 112 chrome/browser/extensions/api/dial/dial_api.cc BroadcastEvent(event.Pass()); event 141 chrome/browser/extensions/api/dial/dial_api.cc scoped_ptr<Event> event(new Event(dial::OnError::kEventName, results.Pass())); event 143 chrome/browser/extensions/api/dial/dial_api.cc BroadcastEvent(event.Pass()); event 1870 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 1877 chrome/browser/extensions/api/downloads/downloads_api.cc event->restrict_to_browser_context = event 1879 chrome/browser/extensions/api/downloads/downloads_api.cc event->will_dispatch_callback = will_dispatch_callback; event 1881 chrome/browser/extensions/api/downloads/downloads_api.cc BroadcastEvent(event.Pass()); event 356 chrome/browser/extensions/api/extension_action/extension_action_api.cc scoped_ptr<Event> event(new Event(event_name, event_args.Pass())); event 357 chrome/browser/extensions/api/extension_action/extension_action_api.cc event->restrict_to_browser_context = context; event 358 chrome/browser/extensions/api/extension_action/extension_action_api.cc event->user_gesture = EventRouter::USER_GESTURE_ENABLED; event 360 chrome/browser/extensions/api/extension_action/extension_action_api.cc extension_id, event.Pass()); event 87 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc scoped_ptr<Event> event(new Event( event 89 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc event->restrict_to_browser_context = browser_context_; event 95 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc ->DispatchEventToExtension(kFeedbackExtensionId, event.Pass()); event 223 chrome/browser/extensions/api/gcm/gcm_api.cc scoped_ptr<Event> event(new Event( event 228 chrome/browser/extensions/api/gcm/gcm_api.cc app_id, event.Pass()); event 232 chrome/browser/extensions/api/gcm/gcm_api.cc scoped_ptr<Event> event(new Event( event 237 chrome/browser/extensions/api/gcm/gcm_api.cc app_id, event.Pass()); event 248 chrome/browser/extensions/api/gcm/gcm_api.cc scoped_ptr<Event> event(new Event( event 253 chrome/browser/extensions/api/gcm/gcm_api.cc app_id, event.Pass()); event 197 chrome/browser/extensions/api/history/history_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 199 chrome/browser/extensions/api/history/history_api.cc event->restrict_to_browser_context = profile; event 201 chrome/browser/extensions/api/history/history_api.cc BroadcastEvent(event.Pass()); event 65 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc scoped_ptr<Event> event(new Event(kEventName, args.Pass())); event 66 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc router->BroadcastEvent(event.Pass()); event 59 chrome/browser/extensions/api/identity/account_tracker_unittest.cc bool operator==(const TrackingEvent& event) const { event 60 chrome/browser/extensions/api/identity/account_tracker_unittest.cc return type_ == event.type_ && account_key_ == event.account_key_ && event 61 chrome/browser/extensions/api/identity/account_tracker_unittest.cc gaia_id_ == event.gaia_id_; event 206 chrome/browser/extensions/api/identity/identity_api.cc scoped_ptr<Event> event(new Event(api::identity::OnSignInChanged::kEventName, event 211 chrome/browser/extensions/api/identity/identity_api.cc event.Pass()); event 89 chrome/browser/extensions/api/identity/web_auth_flow.cc scoped_ptr<Event> event( event 91 chrome/browser/extensions/api/identity/web_auth_flow.cc event->restrict_to_browser_context = profile_; event 103 chrome/browser/extensions/api/identity/web_auth_flow.cc extension_misc::kIdentityApiUiAppId, event.Pass()); event 56 chrome/browser/extensions/api/idle/idle_manager.cc scoped_ptr<Event> event(new Event(idle::OnStateChanged::kEventName, event 58 chrome/browser/extensions/api/idle/idle_manager.cc event->restrict_to_browser_context = profile_; event 60 chrome/browser/extensions/api/idle/idle_manager.cc extension_id, event.Pass()); event 150 chrome/browser/extensions/api/image_writer_private/operation_manager.cc scoped_ptr<Event> event(new Event( event 154 chrome/browser/extensions/api/image_writer_private/operation_manager.cc DispatchEventToExtension(extension_id, event.Pass()); event 161 chrome/browser/extensions/api/image_writer_private/operation_manager.cc scoped_ptr<Event> event(new Event( event 165 chrome/browser/extensions/api/image_writer_private/operation_manager.cc DispatchEventToExtension(extension_id, event.Pass()); event 184 chrome/browser/extensions/api/image_writer_private/operation_manager.cc scoped_ptr<Event> event(new Event( event 188 chrome/browser/extensions/api/image_writer_private/operation_manager.cc DispatchEventToExtension(extension_id, event.Pass()); event 33 chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc scoped_ptr<extensions::Event> event) OVERRIDE { event 77 chrome/browser/extensions/api/input_ime/input_ime_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 79 chrome/browser/extensions/api/input_ime/input_ime_api.cc event->restrict_to_browser_context = profile; event 81 chrome/browser/extensions/api/input_ime/input_ime_api.cc DispatchEventToExtension(extension_id, event.Pass()); event 169 chrome/browser/extensions/api/input_ime/input_ime_api.cc const InputMethodEngineInterface::KeyboardEvent& event, event 188 chrome/browser/extensions/api/input_ime/input_ime_api.cc key_data_value.type = input_ime::KeyboardEvent::ParseType(event.type); event 190 chrome/browser/extensions/api/input_ime/input_ime_api.cc if (!event.extension_id.empty()) event 191 chrome/browser/extensions/api/input_ime/input_ime_api.cc key_data_value.extension_id.reset(new std::string(event.extension_id)); event 192 chrome/browser/extensions/api/input_ime/input_ime_api.cc key_data_value.key = event.key; event 193 chrome/browser/extensions/api/input_ime/input_ime_api.cc key_data_value.code = event.code; event 194 chrome/browser/extensions/api/input_ime/input_ime_api.cc key_data_value.alt_key.reset(new bool(event.alt_key)); event 195 chrome/browser/extensions/api/input_ime/input_ime_api.cc key_data_value.ctrl_key.reset(new bool(event.ctrl_key)); event 196 chrome/browser/extensions/api/input_ime/input_ime_api.cc key_data_value.shift_key.reset(new bool(event.shift_key)); event 197 chrome/browser/extensions/api/input_ime/input_ime_api.cc key_data_value.caps_lock.reset(new bool(event.caps_lock)); event 548 chrome/browser/extensions/api/input_ime/input_ime_api.cc chromeos::InputMethodEngine::KeyboardEvent event; event 549 chrome/browser/extensions/api/input_ime/input_ime_api.cc event.type = input_ime::KeyboardEvent::ToString(key_data[i]->type); event 550 chrome/browser/extensions/api/input_ime/input_ime_api.cc event.key = key_data[i]->key; event 551 chrome/browser/extensions/api/input_ime/input_ime_api.cc event.code = key_data[i]->code; event 553 chrome/browser/extensions/api/input_ime/input_ime_api.cc event.alt_key = *(key_data[i]->alt_key); event 555 chrome/browser/extensions/api/input_ime/input_ime_api.cc event.ctrl_key = *(key_data[i]->ctrl_key); event 557 chrome/browser/extensions/api/input_ime/input_ime_api.cc event.shift_key = *(key_data[i]->shift_key); event 559 chrome/browser/extensions/api/input_ime/input_ime_api.cc event.caps_lock = *(key_data[i]->caps_lock); event 560 chrome/browser/extensions/api/input_ime/input_ime_api.cc key_data_out.push_back(event); event 394 chrome/browser/extensions/api/location/location_manager.cc scoped_ptr<Event> event(new Event(event_name, args.Pass())); event 397 chrome/browser/extensions/api/location/location_manager.cc DispatchEventToExtension(extension_id, event.Pass()); event 135 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc scoped_ptr<Event> event(new Event(events::kOnAddNetInternalsEntries, event 138 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc *ix, event.Pass()); event 716 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<Event> event(new Event(event_name, args.Pass())); event 717 chrome/browser/extensions/api/management/management_api.cc ExtensionSystem::Get(profile)->event_router()->BroadcastEvent(event.Pass()); event 143 chrome/browser/extensions/api/mdns/mdns_api.cc scoped_ptr<Event> event( event 145 chrome/browser/extensions/api/mdns/mdns_api.cc event->restrict_to_browser_context = browser_context_; event 146 chrome/browser/extensions/api/mdns/mdns_api.cc event->filter_info.SetServiceType(service_type); event 148 chrome/browser/extensions/api/mdns/mdns_api.cc VLOG(1) << "Broadcasting OnServiceList event: " << event.get(); event 154 chrome/browser/extensions/api/mdns/mdns_api.cc ->BroadcastEvent(event.Pass()); event 362 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc scoped_ptr<extensions::Event> event( event 364 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc router->DispatchEventToExtension(extension_id, event.Pass()); event 49 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_event_router.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 59 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_event_router.cc router->DispatchEventToExtension(*it, event.Pass()); event 196 chrome/browser/extensions/api/notifications/notifications_api.cc scoped_ptr<Event> event(new Event(name, args.Pass())); event 198 chrome/browser/extensions/api/notifications/notifications_api.cc extension_id_, event.Pass()); event 102 chrome/browser/extensions/api/omnibox/omnibox_api.cc scoped_ptr<Event> event(new Event( event 105 chrome/browser/extensions/api/omnibox/omnibox_api.cc event->restrict_to_browser_context = profile; event 107 chrome/browser/extensions/api/omnibox/omnibox_api.cc DispatchEventToExtension(extension_id, event.Pass()); event 122 chrome/browser/extensions/api/omnibox/omnibox_api.cc scoped_ptr<Event> event(new Event(omnibox::OnInputChanged::kEventName, event 124 chrome/browser/extensions/api/omnibox/omnibox_api.cc event->restrict_to_browser_context = profile; event 126 chrome/browser/extensions/api/omnibox/omnibox_api.cc DispatchEventToExtension(extension_id, event.Pass()); event 155 chrome/browser/extensions/api/omnibox/omnibox_api.cc scoped_ptr<Event> event(new Event(omnibox::OnInputEntered::kEventName, event 157 chrome/browser/extensions/api/omnibox/omnibox_api.cc event->restrict_to_browser_context = profile; event 159 chrome/browser/extensions/api/omnibox/omnibox_api.cc DispatchEventToExtension(extension_id, event.Pass()); event 170 chrome/browser/extensions/api/omnibox/omnibox_api.cc scoped_ptr<Event> event(new Event( event 173 chrome/browser/extensions/api/omnibox/omnibox_api.cc event->restrict_to_browser_context = profile; event 175 chrome/browser/extensions/api/omnibox/omnibox_api.cc DispatchEventToExtension(extension_id, event.Pass()); event 146 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc scoped_ptr<Event> event(new Event(event_name, args_copy.Pass())); event 147 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc router->DispatchEventToExtension(extension_id, event.Pass()); event 136 chrome/browser/extensions/api/preference/preference_helpers.cc scoped_ptr<Event> event(new Event(event_name, args_copy.Pass())); event 137 chrome/browser/extensions/api/preference/preference_helpers.cc event->restrict_to_browser_context = restrict_to_profile; event 138 chrome/browser/extensions/api/preference/preference_helpers.cc router->DispatchEventToExtension(extension_id, event.Pass()); event 301 chrome/browser/extensions/api/processes/processes_api.cc std::string event(keys::kOnCreated); event 302 chrome/browser/extensions/api/processes/processes_api.cc if (!HasEventListeners(event)) event 423 chrome/browser/extensions/api/processes/processes_api.cc std::string event(keys::kOnUnresponsive); event 424 chrome/browser/extensions/api/processes/processes_api.cc if (!HasEventListeners(event)) event 474 chrome/browser/extensions/api/processes/processes_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 478 chrome/browser/extensions/api/processes/processes_api.cc ->BroadcastEvent(event.Pass()); event 79 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 81 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc event->restrict_to_browser_context = profile_; event 83 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc extension_id, event.Pass()); event 116 chrome/browser/extensions/api/runtime/runtime_api.cc scoped_ptr<Event> event(new Event(runtime::OnStartup::kEventName, event 118 chrome/browser/extensions/api/runtime/runtime_api.cc system->event_router()->DispatchEventToExtension(extension_id, event.Pass()); event 332 chrome/browser/extensions/api/runtime/runtime_api.cc scoped_ptr<Event> event(new Event(runtime::OnInstalled::kEventName, event 335 chrome/browser/extensions/api/runtime/runtime_api.cc event.Pass()); event 350 chrome/browser/extensions/api/runtime/runtime_api.cc scoped_ptr<Event> event(new Event(runtime::OnUpdateAvailable::kEventName, event 352 chrome/browser/extensions/api/runtime/runtime_api.cc system->event_router()->DispatchEventToExtension(extension_id, event.Pass()); event 364 chrome/browser/extensions/api/runtime/runtime_api.cc scoped_ptr<Event> event(new Event( event 366 chrome/browser/extensions/api/runtime/runtime_api.cc system->event_router()->BroadcastEvent(event.Pass()); event 378 chrome/browser/extensions/api/runtime/runtime_api.cc scoped_ptr<Event> event( event 383 chrome/browser/extensions/api/runtime/runtime_api.cc system->event_router()->DispatchEventToExtension(app_id, event.Pass()); event 101 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc scoped_ptr<extensions::Event> event( event 103 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc PostEvent(params, event.Pass()); event 112 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc scoped_ptr<extensions::Event> event( event 114 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc PostEvent(params, event.Pass()); event 131 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc scoped_ptr<extensions::Event> event) { event 139 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc base::Passed(event.Pass()))); event 145 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc scoped_ptr<extensions::Event> event) { event 154 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc router->DispatchEventToExtension(extension_id, event.Pass()); event 62 chrome/browser/extensions/api/serial/serial_event_dispatcher.h scoped_ptr<extensions::Event> event); event 66 chrome/browser/extensions/api/serial/serial_event_dispatcher.h scoped_ptr<extensions::Event> event); event 85 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc scoped_ptr<Event> event(new Event( event 89 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc event->restrict_to_browser_context = profile_; event 92 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc extension_id_, event.Pass()); event 87 chrome/browser/extensions/api/streams_private/streams_private_api.cc scoped_ptr<Event> event( event 92 chrome/browser/extensions/api/streams_private/streams_private_api.cc extension_id, event.Pass()); event 173 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc scoped_ptr<Event> event( event 178 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc DispatchEventToExtension(test_extension_id_, event.Pass()); event 127 chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.cc scoped_ptr<Event> event(new Event(event_name, values.Pass())); event 128 chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.cc event->restrict_to_browser_context = browser_context_; event 132 chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.cc event_router->BroadcastEvent(event.Pass()); event 140 chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.cc event_router->DispatchEventToExtension(extension_id, event.Pass()); event 89 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc scoped_ptr<Event> event(new Event( event 94 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc extension_->id(), event.Pass()); event 331 chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc scoped_ptr<Event> event(new Event(tab_capture::OnStatusChanged::kEventName, event 333 chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc event->restrict_to_browser_context = profile_; event 335 chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc router->DispatchEventToExtension(request->extension_id, event.Pass()); event 196 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<Event> event(new Event(tabs::OnCreated::kEventName, args.Pass())); event 197 chrome/browser/extensions/api/tabs/tabs_event_router.cc event->restrict_to_browser_context = profile; event 198 chrome/browser/extensions/api/tabs/tabs_event_router.cc event->user_gesture = EventRouter::USER_GESTURE_NOT_ENABLED; event 199 chrome/browser/extensions/api/tabs/tabs_event_router.cc event->will_dispatch_callback = event 201 chrome/browser/extensions/api/tabs/tabs_event_router.cc ExtensionSystem::Get(profile)->event_router()->BroadcastEvent(event.Pass()); event 424 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<Event> event(new Event(event_name, args.Pass())); event 425 chrome/browser/extensions/api/tabs/tabs_event_router.cc event->restrict_to_browser_context = profile; event 426 chrome/browser/extensions/api/tabs/tabs_event_router.cc event->user_gesture = user_gesture; event 427 chrome/browser/extensions/api/tabs/tabs_event_router.cc ExtensionSystem::Get(profile)->event_router()->BroadcastEvent(event.Pass()); event 465 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<Event> event( event 467 chrome/browser/extensions/api/tabs/tabs_event_router.cc event->restrict_to_browser_context = profile; event 468 chrome/browser/extensions/api/tabs/tabs_event_router.cc event->user_gesture = EventRouter::USER_GESTURE_NOT_ENABLED; event 469 chrome/browser/extensions/api/tabs/tabs_event_router.cc event->will_dispatch_callback = event 473 chrome/browser/extensions/api/tabs/tabs_event_router.cc ExtensionSystem::Get(profile)->event_router()->BroadcastEvent(event.Pass()); event 149 chrome/browser/extensions/api/tabs/windows_event_router.cc scoped_ptr<Event> event(new Event(windows::OnFocusChanged::kEventName, event 151 chrome/browser/extensions/api/tabs/windows_event_router.cc event->will_dispatch_callback = event 155 chrome/browser/extensions/api/tabs/windows_event_router.cc ExtensionSystem::Get(profile_)->event_router()->BroadcastEvent(event.Pass()); event 161 chrome/browser/extensions/api/tabs/windows_event_router.cc scoped_ptr<Event> event(new Event(event_name, args.Pass())); event 162 chrome/browser/extensions/api/tabs/windows_event_router.cc event->restrict_to_browser_context = profile; event 163 chrome/browser/extensions/api/tabs/windows_event_router.cc ExtensionSystem::Get(profile)->event_router()->BroadcastEvent(event.Pass()); event 67 chrome/browser/extensions/api/terminal/terminal_private_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 70 chrome/browser/extensions/api/terminal/terminal_private_api.cc DispatchEventToExtension(extension_id, event.Pass()); event 50 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc scoped_ptr<Event> event(new Event(event_name, args.Pass())); event 51 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc event->restrict_to_browser_context = profile; event 52 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc event->filter_info = info; event 53 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc ExtensionSystem::Get(profile)->event_router()->BroadcastEvent(event.Pass()); event 386 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 390 chrome/browser/extensions/api/web_request/web_request_api.cc event_router->DispatchEventToExtension(extension_id, event.Pass()); event 488 chrome/browser/extensions/api/web_request/web_request_api.cc EventTypes event; event 538 chrome/browser/extensions/api/web_request/web_request_api.cc event(kInvalidEvent), event 720 chrome/browser/extensions/api/web_request/web_request_api.cc blocked_requests_[request->identifier()].event = kOnBeforeRequest; event 777 chrome/browser/extensions/api/web_request/web_request_api.cc blocked_requests_[request->identifier()].event = kOnBeforeSendHeaders; event 875 chrome/browser/extensions/api/web_request/web_request_api.cc blocked_requests_[request->identifier()].event = kOnHeadersReceived; event 940 chrome/browser/extensions/api/web_request/web_request_api.cc blocked_requests_[request->identifier()].event = kOnAuthRequired; event 1545 chrome/browser/extensions/api/web_request/web_request_api.cc switch (blocked_request->event) { event 1803 chrome/browser/extensions/api/web_request/web_request_api.cc GetRequestStageAsString(blocked_request.event)); event 1838 chrome/browser/extensions/api/web_request/web_request_api.cc if (blocked_request.event == kOnBeforeRequest) { event 1845 chrome/browser/extensions/api/web_request/web_request_api.cc } else if (blocked_request.event == kOnBeforeSendHeaders) { event 1852 chrome/browser/extensions/api/web_request/web_request_api.cc } else if (blocked_request.event == kOnHeadersReceived) { event 1861 chrome/browser/extensions/api/web_request/web_request_api.cc } else if (blocked_request.event == kOnAuthRequired) { event 94 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc scoped_ptr<Event> event( event 96 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc router->DispatchEventToExtension(extension_id, event.Pass()); event 125 chrome/browser/extensions/event_router_forwarder.cc scoped_ptr<Event> event(new Event(event_name, event_args.Pass())); event 126 chrome/browser/extensions/event_router_forwarder.cc event->restrict_to_browser_context = restrict_to_profile; event 127 chrome/browser/extensions/event_router_forwarder.cc event->event_url = event_url; event 129 chrome/browser/extensions/event_router_forwarder.cc ExtensionSystem::Get(profile)->event_router()->BroadcastEvent(event.Pass()); event 132 chrome/browser/extensions/event_router_forwarder.cc DispatchEventToExtension(extension_id, event.Pass()); event 119 chrome/browser/extensions/extension_keybinding_registry.cc scoped_ptr<Event> event(new Event("commands.onCommand", args.Pass())); event 120 chrome/browser/extensions/extension_keybinding_registry.cc event->restrict_to_browser_context = profile_; event 121 chrome/browser/extensions/extension_keybinding_registry.cc event->user_gesture = EventRouter::USER_GESTURE_ENABLED; event 123 chrome/browser/extensions/extension_keybinding_registry.cc DispatchEventToExtension(extension_id, event.Pass()); event 55 chrome/browser/extensions/extension_messages_apitest.cc base::DictionaryValue* event = new base::DictionaryValue(); event 56 chrome/browser/extensions/extension_messages_apitest.cc event->SetBoolean("lastMessage", last_message); event 57 chrome/browser/extensions/extension_messages_apitest.cc event->SetString("data", data); event 59 chrome/browser/extensions/extension_messages_apitest.cc arguments->Append(event); event 66 chrome/browser/extensions/extension_messages_apitest.cc scoped_ptr<Event> event(new Event("test.onMessage", event_args.Pass())); event 67 chrome/browser/extensions/extension_messages_apitest.cc event->restrict_to_browser_context = profile; event 68 chrome/browser/extensions/extension_messages_apitest.cc event->event_url = event_url; event 69 chrome/browser/extensions/extension_messages_apitest.cc return event.Pass(); event 111 chrome/browser/extensions/extension_view_host.cc const content::NativeWebKeyboardEvent& event) { event 115 chrome/browser/extensions/extension_view_host.cc return browser->HandleKeyboardEvent(source, event); event 122 chrome/browser/extensions/extension_view_host.cc view_->HandleKeyboardEvent(event); event 194 chrome/browser/extensions/extension_view_host.cc const NativeWebKeyboardEvent& event, event 197 chrome/browser/extensions/extension_view_host.cc event.type == NativeWebKeyboardEvent::RawKeyDown && event 198 chrome/browser/extensions/extension_view_host.cc event.windowsKeyCode == ui::VKEY_ESCAPE) { event 207 chrome/browser/extensions/extension_view_host.cc return browser->PreHandleKeyboardEvent(source, event, is_keyboard_shortcut); event 215 chrome/browser/extensions/extension_view_host.cc const NativeWebKeyboardEvent& event) { event 217 chrome/browser/extensions/extension_view_host.cc if (event.type == NativeWebKeyboardEvent::RawKeyDown && event 218 chrome/browser/extensions/extension_view_host.cc event.windowsKeyCode == ui::VKEY_ESCAPE) { event 223 chrome/browser/extensions/extension_view_host.cc UnhandledKeyboardEvent(source, event); event 228 chrome/browser/extensions/extension_view_host.cc const blink::WebGestureEvent& event) { event 230 chrome/browser/extensions/extension_view_host.cc return event.type == blink::WebGestureEvent::GesturePinchBegin || event 231 chrome/browser/extensions/extension_view_host.cc event.type == blink::WebGestureEvent::GesturePinchUpdate || event 232 chrome/browser/extensions/extension_view_host.cc event.type == blink::WebGestureEvent::GesturePinchEnd; event 73 chrome/browser/extensions/extension_view_host.h const content::NativeWebKeyboardEvent& event); event 87 chrome/browser/extensions/extension_view_host.h const content::NativeWebKeyboardEvent& event, event 91 chrome/browser/extensions/extension_view_host.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 94 chrome/browser/extensions/extension_view_host.h const blink::WebGestureEvent& event) OVERRIDE; event 30 chrome/browser/extensions/extension_view_host_mac.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 71 chrome/browser/extensions/global_shortcut_listener_mac.h CGEventTapProxy proxy, CGEventType type, CGEventRef event, void* refcon); event 75 chrome/browser/extensions/global_shortcut_listener_mac.h EventHandlerCallRef next_handler, EventRef event, void* user_data); event 103 chrome/browser/extensions/global_shortcut_listener_x11.cc uint32_t GlobalShortcutListenerX11::Dispatch(const base::NativeEvent& event) { event 104 chrome/browser/extensions/global_shortcut_listener_x11.cc if (event->type == KeyPress) event 105 chrome/browser/extensions/global_shortcut_listener_x11.cc OnXKeyPressEvent(event); event 36 chrome/browser/extensions/global_shortcut_listener_x11.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; event 704 chrome/browser/extensions/menu_manager.cc scoped_ptr<Event> event( event 708 chrome/browser/extensions/menu_manager.cc event->restrict_to_browser_context = profile; event 709 chrome/browser/extensions/menu_manager.cc event->user_gesture = EventRouter::USER_GESTURE_ENABLED; event 710 chrome/browser/extensions/menu_manager.cc event_router->DispatchEventToExtension(item->extension_id(), event.Pass()); event 714 chrome/browser/extensions/menu_manager.cc scoped_ptr<Event> event( event 718 chrome/browser/extensions/menu_manager.cc event->restrict_to_browser_context = profile; event 719 chrome/browser/extensions/menu_manager.cc event->user_gesture = EventRouter::USER_GESTURE_ENABLED; event 721 chrome/browser/extensions/menu_manager.cc event->filter_info.SetInstanceID(webview_guest->view_instance_id()); event 722 chrome/browser/extensions/menu_manager.cc event_router->DispatchEventToExtension(item->extension_id(), event.Pass()); event 469 chrome/browser/extensions/menu_manager_unittest.cc scoped_ptr<Event> event) { event 471 chrome/browser/extensions/menu_manager_unittest.cc event->event_name, event 472 chrome/browser/extensions/menu_manager_unittest.cc event->event_args.release(), event 473 chrome/browser/extensions/menu_manager_unittest.cc event->restrict_to_browser_context, event 474 chrome/browser/extensions/menu_manager_unittest.cc event->event_url, event 475 chrome/browser/extensions/menu_manager_unittest.cc event->user_gesture); event 103 chrome/browser/extensions/permissions_updater.cc scoped_ptr<Event> event(new Event(event_name, value.Pass())); event 104 chrome/browser/extensions/permissions_updater.cc event->restrict_to_browser_context = profile_; event 106 chrome/browser/extensions/permissions_updater.cc DispatchEventToExtension(extension_id, event.Pass()); event 332 chrome/browser/first_run/try_chrome_dialog_view.cc const ui::Event& event) { event 107 chrome/browser/first_run/try_chrome_dialog_view.h const ui::Event& event) OVERRIDE; event 57 chrome/browser/geolocation/geolocation_infobar_delegate.cc void RecordUmaEvent(GeolocationInfoBarDelegateEvent event) { event 59 chrome/browser/geolocation/geolocation_infobar_delegate.cc event, GEOLOCATION_INFO_BAR_DELEGATE_EVENT_COUNT); event 31 chrome/browser/geolocation/geolocation_infobar_delegate_android.cc void RecordUmaEvent(GeolocationInfoBarDelegateAndroidEvent event) { event 33 chrome/browser/geolocation/geolocation_infobar_delegate_android.cc event, GEOLOCATION_INFO_BAR_DELEGATE_ANDROID_EVENT_COUNT); event 72 chrome/browser/global_keyboard_shortcuts_mac.h unichar KeyCharacterForEvent(NSEvent* event); event 191 chrome/browser/guestview/guestview.cc void GuestView::DispatchEvent(Event* event) { event 196 chrome/browser/guestview/guestview.cc pending_events_.push(event); event 206 chrome/browser/guestview/guestview.cc args->Append(event->GetArguments().release()); event 210 chrome/browser/guestview/guestview.cc event->name(), args.Pass(), event 213 chrome/browser/guestview/guestview.cc delete event; event 221 chrome/browser/guestview/guestview.cc Event* event = pending_events_.front(); event 223 chrome/browser/guestview/guestview.cc DispatchEvent(event); event 122 chrome/browser/guestview/guestview.h void DispatchEvent(Event* event); event 368 chrome/browser/guestview/webview/webview_guest.cc const content::NativeWebKeyboardEvent& event) { event 369 chrome/browser/guestview/webview/webview_guest.cc if (event.type != blink::WebInputEvent::RawKeyDown) event 373 chrome/browser/guestview/webview/webview_guest.cc if (event.modifiers != blink::WebInputEvent::MetaKey) event 376 chrome/browser/guestview/webview/webview_guest.cc if (event.windowsKeyCode == ui::VKEY_OEM_4) { event 381 chrome/browser/guestview/webview/webview_guest.cc if (event.windowsKeyCode == ui::VKEY_OEM_6) { event 386 chrome/browser/guestview/webview/webview_guest.cc if (event.windowsKeyCode == ui::VKEY_BROWSER_BACK) { event 391 chrome/browser/guestview/webview/webview_guest.cc if (event.windowsKeyCode == ui::VKEY_BROWSER_FORWARD) { event 68 chrome/browser/guestview/webview/webview_guest.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 302 chrome/browser/jankometer_win.cc const base::NativeEvent& event) OVERRIDE { event 314 chrome/browser/jankometer_win.cc DWORD cur_message_issue_time = static_cast<DWORD>(event.time); event 323 chrome/browser/jankometer_win.cc virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE { event 225 chrome/browser/mac/relauncher.cc struct kevent event; event 226 chrome/browser/mac/relauncher.cc int events = kevent(kq.get(), NULL, 0, &event, 1, NULL); event 236 chrome/browser/mac/relauncher.cc if (event.filter != EVFILT_PROC || event 237 chrome/browser/mac/relauncher.cc event.fflags != NOTE_EXIT || event 238 chrome/browser/mac/relauncher.cc event.ident != static_cast<uintptr_t>(parent_pid)) { event 239 chrome/browser/mac/relauncher.cc LOG(ERROR) << "kevent (monitor): unexpected event, filter " << event.filter event 240 chrome/browser/mac/relauncher.cc << ", fflags " << event.fflags << ", ident " << event.ident; event 199 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::WaitableEvent event(true, false /* initially_signalled */); event 202 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&event))); event 203 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc event.Wait(); event 167 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::WaitableEvent event(true, false /* initially_signalled */); event 170 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&event))); event 171 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc event.Wait(); event 17 chrome/browser/metrics/thread_watcher_android_unittest.cc void OnThreadWatcherTask(base::WaitableEvent* event) { event 18 chrome/browser/metrics/thread_watcher_android_unittest.cc event->Signal(); event 21 chrome/browser/metrics/thread_watcher_android_unittest.cc void PostAndWaitForWatchdogThread(base::WaitableEvent* event) { event 24 chrome/browser/metrics/thread_watcher_android_unittest.cc base::Bind(&OnThreadWatcherTask, event), event 27 chrome/browser/metrics/thread_watcher_android_unittest.cc EXPECT_TRUE(event->TimedWait(base::TimeDelta::FromSeconds(1))); event 69 chrome/browser/notifications/balloon_collection_impl.h const base::NativeEvent& event) OVERRIDE; event 70 chrome/browser/notifications/balloon_collection_impl.h virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; event 72 chrome/browser/notifications/balloon_collection_impl.h virtual void WillProcessEvent(GdkEvent* event) OVERRIDE; event 73 chrome/browser/notifications/balloon_collection_impl.h virtual void DidProcessEvent(GdkEvent* event) OVERRIDE; event 805 chrome/browser/notifications/desktop_notification_service.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 809 chrome/browser/notifications/desktop_notification_service.cc DispatchEventToExtension(notifier_id.id, event.Pass()); event 420 chrome/browser/notifications/message_center_settings_controller.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 422 chrome/browser/notifications/message_center_settings_controller.cc event_router->DispatchEventToExtension(extension_id, event.Pass()); event 136 chrome/browser/password_manager/native_backend_kwallet_x.cc base::WaitableEvent event(false, false); event 142 chrome/browser/password_manager/native_backend_kwallet_x.cc optional_bus, &event, &success)); event 146 chrome/browser/password_manager/native_backend_kwallet_x.cc event.Wait(); event 151 chrome/browser/password_manager/native_backend_kwallet_x.cc base::WaitableEvent* event, event 174 chrome/browser/password_manager/native_backend_kwallet_x.cc event->Signal(); event 79 chrome/browser/password_manager/native_backend_kwallet_x.h base::WaitableEvent* event, event 207 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::WaitableEvent event(false, false); event 209 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind(ThreadDone, &event)); event 210 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc event.Wait(); event 215 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc static void ThreadDone(base::WaitableEvent* event) { event 216 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc event->Signal(); event 119 chrome/browser/password_manager/password_generation_interactive_uitest.cc content::NativeWebKeyboardEvent event; event 120 chrome/browser/password_manager/password_generation_interactive_uitest.cc event.windowsKeyCode = key; event 121 chrome/browser/password_manager/password_generation_interactive_uitest.cc event.type = blink::WebKeyboardEvent::RawKeyDown; event 122 chrome/browser/password_manager/password_generation_interactive_uitest.cc GetRenderViewHost()->ForwardKeyboardEvent(event); event 120 chrome/browser/performance_monitor/database.cc bool Database::AddEvent(const Event& event) { event 124 chrome/browser/performance_monitor/database.cc base::JSONWriter::Write(event.data(), &value); event 125 chrome/browser/performance_monitor/database.cc std::string key = key_builder_->CreateEventKey(event.time(), event.type()); event 180 chrome/browser/performance_monitor/database.cc scoped_ptr<Event> event = EventFromJSON(it->value().ToString()); event 181 chrome/browser/performance_monitor/database.cc if (!event.get()) { event 188 chrome/browser/performance_monitor/database.cc events.push_back(linked_ptr<Event>(event.release())); event 129 chrome/browser/performance_monitor/database.h bool AddEvent(const Event& event); event 295 chrome/browser/performance_monitor/performance_monitor.cc scoped_ptr<Event> event = event 298 chrome/browser/performance_monitor/performance_monitor.cc database_->AddEvent(*event.get()); event 322 chrome/browser/performance_monitor/performance_monitor.cc scoped_ptr<Event> event = util::CreateChromeUpdateEvent( event 324 chrome/browser/performance_monitor/performance_monitor.cc database_->AddEvent(*event.get()); event 329 chrome/browser/performance_monitor/performance_monitor.cc void PerformanceMonitor::AddEvent(scoped_ptr<Event> event) { event 337 chrome/browser/performance_monitor/performance_monitor.cc base::Passed(&event))); event 340 chrome/browser/performance_monitor/performance_monitor.cc void PerformanceMonitor::AddEventOnBackgroundThread(scoped_ptr<Event> event) { event 341 chrome/browser/performance_monitor/performance_monitor.cc database_->AddEvent(*event.get()); event 137 chrome/browser/performance_monitor/performance_monitor.h void AddEvent(scoped_ptr<Event> event); event 139 chrome/browser/performance_monitor/performance_monitor.h void AddEventOnBackgroundThread(scoped_ptr<Event> event); event 112 chrome/browser/performance_monitor/performance_monitor_browsertest.cc void CheckEventType(int expected_event_type, const linked_ptr<Event>& event) { event 114 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(event->data()->GetInteger("eventType", &event_type)); event 116 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_EQ(expected_event_type, event->type()); event 37 chrome/browser/performance_monitor/performance_monitor_util.cc events::ExtensionEvent event; event 38 chrome/browser/performance_monitor/performance_monitor_util.cc event.event_type = type; event 39 chrome/browser/performance_monitor/performance_monitor_util.cc event.time = static_cast<double>(time.ToInternalValue()); event 40 chrome/browser/performance_monitor/performance_monitor_util.cc event.extension_id = id; event 41 chrome/browser/performance_monitor/performance_monitor_util.cc event.extension_name = name; event 42 chrome/browser/performance_monitor/performance_monitor_util.cc event.extension_url = url; event 43 chrome/browser/performance_monitor/performance_monitor_util.cc event.extension_location = location; event 44 chrome/browser/performance_monitor/performance_monitor_util.cc event.extension_version = version; event 45 chrome/browser/performance_monitor/performance_monitor_util.cc event.extension_description = description; event 46 chrome/browser/performance_monitor/performance_monitor_util.cc scoped_ptr<base::DictionaryValue> value = event.ToValue(); event 54 chrome/browser/performance_monitor/performance_monitor_util.cc events::RendererFailure event; event 55 chrome/browser/performance_monitor/performance_monitor_util.cc event.event_type = type; event 56 chrome/browser/performance_monitor/performance_monitor_util.cc event.time = static_cast<double>(time.ToInternalValue()); event 57 chrome/browser/performance_monitor/performance_monitor_util.cc event.url = url; event 58 chrome/browser/performance_monitor/performance_monitor_util.cc scoped_ptr<base::DictionaryValue> value = event.ToValue(); event 64 chrome/browser/performance_monitor/performance_monitor_util.cc events::UncleanExit event; event 65 chrome/browser/performance_monitor/performance_monitor_util.cc event.event_type = EVENT_UNCLEAN_EXIT; event 66 chrome/browser/performance_monitor/performance_monitor_util.cc event.time = static_cast<double>(time.ToInternalValue()); event 67 chrome/browser/performance_monitor/performance_monitor_util.cc event.profile_name = profile_name; event 68 chrome/browser/performance_monitor/performance_monitor_util.cc scoped_ptr<base::DictionaryValue> value = event.ToValue(); event 76 chrome/browser/performance_monitor/performance_monitor_util.cc events::ChromeUpdate event; event 77 chrome/browser/performance_monitor/performance_monitor_util.cc event.event_type = EVENT_CHROME_UPDATE; event 78 chrome/browser/performance_monitor/performance_monitor_util.cc event.time = static_cast<double>(time.ToInternalValue()); event 79 chrome/browser/performance_monitor/performance_monitor_util.cc event.previous_version = previous_version; event 80 chrome/browser/performance_monitor/performance_monitor_util.cc event.current_version = current_version; event 81 chrome/browser/performance_monitor/performance_monitor_util.cc scoped_ptr<base::DictionaryValue> value = event.ToValue(); event 814 chrome/browser/prerender/prerender_contents.cc void PrerenderContents::RecordCookieEvent(CookieEvent event, event 829 chrome/browser/prerender/prerender_contents.cc if (event == COOKIE_EVENT_SEND && earliest_create_date > start_time_) event 835 chrome/browser/prerender/prerender_contents.cc if (event == COOKIE_EVENT_SEND) { event 841 chrome/browser/prerender/prerender_contents.cc if (event == COOKIE_EVENT_SEND) { event 857 chrome/browser/prerender/prerender_contents.cc if (event == COOKIE_EVENT_SEND) { event 294 chrome/browser/prerender/prerender_contents.h void RecordCookieEvent(CookieEvent event, event 46 chrome/browser/prerender/prerender_events.cc const char* NameFromPrerenderEvent(PrerenderEvent event) { event 47 chrome/browser/prerender/prerender_events.cc DCHECK(static_cast<int>(event) >= 0 && event 48 chrome/browser/prerender/prerender_events.cc event <= PRERENDER_EVENT_MAX); event 49 chrome/browser/prerender/prerender_events.cc return kEventNames[event]; event 40 chrome/browser/prerender/prerender_events.h const char* NameFromPrerenderEvent(PrerenderEvent event); event 402 chrome/browser/prerender/prerender_histograms.cc PrerenderEvent event) const { event 403 chrome/browser/prerender/prerender_histograms.cc DCHECK_LT(event, PRERENDER_EVENT_MAX); event 406 chrome/browser/prerender/prerender_histograms.cc UMA_HISTOGRAM_ENUMERATION(name, event, PRERENDER_EVENT_MAX)); event 104 chrome/browser/prerender/prerender_histograms.h void RecordEvent(Origin origin, uint8 experiment_id, PrerenderEvent event) event 1039 chrome/browser/prerender/prerender_local_predictor.cc PrerenderLocalPredictor::Event event) const { event 1041 chrome/browser/prerender/prerender_local_predictor.cc event, PrerenderLocalPredictor::EVENT_MAX_VALUE); event 172 chrome/browser/prerender/prerender_local_predictor.h void RecordEvent(Event event) const; event 1127 chrome/browser/prerender/prerender_manager.cc void PrerenderManager::PendingSwap::RecordEvent(PrerenderEvent event) const { event 1128 chrome/browser/prerender/prerender_manager.cc manager_->RecordEvent(prerender_data_->contents(), event); event 1734 chrome/browser/prerender/prerender_manager.cc PrerenderEvent event) const { event 1736 chrome/browser/prerender/prerender_manager.cc histograms_->RecordEvent(ORIGIN_NONE, kNoExperiment, event); event 1739 chrome/browser/prerender/prerender_manager.cc event); event 1748 chrome/browser/prerender/prerender_manager.cc PrerenderContents::CookieEvent event, event 1770 chrome/browser/prerender/prerender_manager.cc if (event == PrerenderContents::COOKIE_EVENT_SEND) { event 1781 chrome/browser/prerender/prerender_manager.cc prerender_contents->RecordCookieEvent(event, event 348 chrome/browser/prerender/prerender_manager.h PrerenderContents::CookieEvent event, event 484 chrome/browser/prerender/prerender_manager.h void RecordEvent(PrerenderEvent event) const; event 641 chrome/browser/prerender/prerender_manager.h void RecordEvent(PrerenderContents* contents, PrerenderEvent event) const; event 227 chrome/browser/prerender/prerender_tab_helper.cc void PrerenderTabHelper::RecordEvent(PrerenderTabHelper::Event event) const { event 229 chrome/browser/prerender/prerender_tab_helper.cc event, PrerenderTabHelper::EVENT_MAX_VALUE); event 233 chrome/browser/prerender/prerender_tab_helper.cc PrerenderTabHelper::Event event, const GURL& url) { event 247 chrome/browser/prerender/prerender_tab_helper.cc event, event 253 chrome/browser/prerender/prerender_tab_helper.cc PrerenderTabHelper::Event event, event 257 chrome/browser/prerender/prerender_tab_helper.cc RecordEvent(event); event 87 chrome/browser/prerender/prerender_tab_helper.h void RecordEvent(Event event) const; event 88 chrome/browser/prerender/prerender_tab_helper.h void RecordEventIfLoggedInURL(Event event, const GURL& url); event 89 chrome/browser/prerender/prerender_tab_helper.h void RecordEventIfLoggedInURLResult(Event event, scoped_ptr<bool> is_present, event 181 chrome/browser/printing/print_preview_dialog_controller.cc const NativeWebKeyboardEvent& event) OVERRIDE; event 199 chrome/browser/printing/print_preview_dialog_controller.cc const NativeWebKeyboardEvent& event) { event 205 chrome/browser/printing/print_preview_dialog_controller.cc current_browser->window()->HandleKeyboardEvent(event); event 41 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.h - (BOOL)handleEvent:(NSEvent*)event; event 69 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc blink::WebMouseWheelEvent event; event 70 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc event.type = blink::WebInputEvent::MouseWheel; event 71 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc event.phase = phase; event 72 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc event.deltaX = dx; event 73 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc event.deltaY = dy; event 74 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc event.wheelTicksY = -2; event 75 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc event.hasPreciseScrollingDeltas = 1; event 76 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc GetWebContents()->GetRenderViewHost()->ForwardWheelEvent(event); event 97 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.h - (BOOL)handleEvent:(NSEvent*)event; event 104 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.h - (void)touchesBeganWithEvent:(NSEvent*)event; event 105 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.h - (void)touchesMovedWithEvent:(NSEvent*)event; event 106 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.h - (void)touchesCancelledWithEvent:(NSEvent*)event; event 107 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.h - (void)touchesEndedWithEvent:(NSEvent*)event; event 108 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.h - (void)beginGestureWithEvent:(NSEvent*)event; event 109 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.h - (void)endGestureWithEvent:(NSEvent*)event; event 532 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc void SafeBrowsingBlockingPage::RecordUserAction(BlockingPageEvent event) { event 554 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc switch (event) { event 622 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc NOTREACHED() << "Unexpected event: " << event; event 631 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc if (event == PROCEED || event == DONT_PROCEED) { event 635 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc if (event == PROCEED) { event 644 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc if (event == PROCEED) { event 665 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc switch (event) { event 681 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc NOTREACHED() << "Unexpected event: " << event; event 120 chrome/browser/safe_browsing/safe_browsing_blocking_page.h void RecordUserAction(BlockingPageEvent event); event 167 chrome/browser/speech/extension_api/tts_engine_extension_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 169 chrome/browser/speech/extension_api/tts_engine_extension_api.cc event->restrict_to_browser_context = utterance->profile(); event 171 chrome/browser/speech/extension_api/tts_engine_extension_api.cc DispatchEventToExtension(utterance->extension_id(), event.Pass()); event 176 chrome/browser/speech/extension_api/tts_engine_extension_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 178 chrome/browser/speech/extension_api/tts_engine_extension_api.cc event->restrict_to_browser_context = utterance->profile(); event 180 chrome/browser/speech/extension_api/tts_engine_extension_api.cc DispatchEventToExtension(utterance->extension_id(), event.Pass()); event 185 chrome/browser/speech/extension_api/tts_engine_extension_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 188 chrome/browser/speech/extension_api/tts_engine_extension_api.cc event->restrict_to_browser_context = profile; event 191 chrome/browser/speech/extension_api/tts_engine_extension_api.cc event_router->DispatchEventToExtension(id, event.Pass()); event 197 chrome/browser/speech/extension_api/tts_engine_extension_api.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 200 chrome/browser/speech/extension_api/tts_engine_extension_api.cc event->restrict_to_browser_context = profile; event 203 chrome/browser/speech/extension_api/tts_engine_extension_api.cc event_router->DispatchEventToExtension(id, event.Pass()); event 211 chrome/browser/speech/extension_api/tts_engine_extension_api.cc base::DictionaryValue* event; event 212 chrome/browser/speech/extension_api/tts_engine_extension_api.cc EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(1, &event)); event 216 chrome/browser/speech/extension_api/tts_engine_extension_api.cc event->GetString(constants::kEventTypeKey, &event_type)); event 219 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (event->HasKey(constants::kCharIndexKey)) { event 221 chrome/browser/speech/extension_api/tts_engine_extension_api.cc event->GetInteger(constants::kCharIndexKey, &char_index)); event 264 chrome/browser/speech/extension_api/tts_engine_extension_api.cc event->GetString(constants::kErrorMessageKey, &error_message); event 128 chrome/browser/speech/extension_api/tts_extension_api.cc scoped_ptr<extensions::Event> event( event 130 chrome/browser/speech/extension_api/tts_extension_api.cc event->restrict_to_browser_context = utterance->profile(); event 131 chrome/browser/speech/extension_api/tts_extension_api.cc event->event_url = utterance->src_url(); event 133 chrome/browser/speech/extension_api/tts_extension_api.cc DispatchEventToExtension(utterance->src_extension_id(), event.Pass()); event 192 chrome/browser/speech/tts_win.cc SPEVENT event; event 193 chrome/browser/speech/tts_win.cc while (S_OK == speech_synthesizer_->GetEvents(1, &event, NULL)) { event 194 chrome/browser/speech/tts_win.cc if (event.ulStreamNum != stream_number_) event 197 chrome/browser/speech/tts_win.cc switch (event.eEventId) { event 212 chrome/browser/speech/tts_win.cc char_position_ = static_cast<ULONG>(event.lParam) - prefix_len_; event 218 chrome/browser/speech/tts_win.cc char_position_ = static_cast<ULONG>(event.lParam) - prefix_len_; event 60 chrome/browser/spellchecker/spellcheck_service_browsertest.cc base::WaitableEvent event(true, false); event 61 chrome/browser/spellchecker/spellcheck_service_browsertest.cc SpellcheckService::AttachStatusEvent(&event); event 96 chrome/browser/ssl/ssl_blocking_page.cc void RecordSSLBlockingPageEventStats(SSLBlockingPageEvent event) { event 98 chrome/browser/ssl/ssl_blocking_page.cc event, event 44 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc ACTION_P(WaitOnEvent, event) { event 45 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc event->Wait(); event 48 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc ACTION_P(SignalEvent, event) { event 49 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc event->Signal(); event 42 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc ACTION_P(WaitOnEvent, event) { event 43 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc event->Wait(); event 46 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc ACTION_P(SignalEvent, event) { event 47 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc event->Signal(); event 322 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::ProtocolEvent& event) { event 325 chrome/browser/sync/glue/sync_backend_host_core.cc scoped_ptr<syncer::ProtocolEvent> event_clone(event.Clone()); event 105 chrome/browser/sync/glue/sync_backend_host_core.h virtual void OnProtocolEvent(const syncer::ProtocolEvent& event) OVERRIDE; event 779 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ProtocolEvent* event) { event 780 chrome/browser/sync/glue/sync_backend_host_impl.cc scoped_ptr<syncer::ProtocolEvent> scoped_event(event); event 176 chrome/browser/sync/glue/sync_backend_host_impl.h void HandleProtocolEventOnFrontendLoop(syncer::ProtocolEvent* event); event 59 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc ACTION_P(Signal, event) { event 60 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc event->Signal(); event 569 chrome/browser/sync/profile_sync_service.cc const syncer::ProtocolEvent& event) { event 572 chrome/browser/sync/profile_sync_service.cc OnProtocolEvent(event)); event 377 chrome/browser/sync/profile_sync_service.h virtual void OnProtocolEvent(const syncer::ProtocolEvent& event) OVERRIDE; event 118 chrome/browser/sync/profile_sync_service_autofill_unittest.cc void RunAndSignal(const base::Closure& cb, WaitableEvent* event) { event 120 chrome/browser/sync/profile_sync_service_autofill_unittest.cc event->Signal(); event 282 chrome/browser/sync/profile_sync_service_autofill_unittest.cc WaitableEvent event(true, false); event 291 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Bind(&RunAndSignal, notify_cb, &event)); event 292 chrome/browser/sync/profile_sync_service_autofill_unittest.cc event.Wait(); event 296 chrome/browser/sync/profile_sync_service_autofill_unittest.cc WaitableEvent event(true, false); event 305 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Bind(&RunAndSignal, notify_cb, &event)); event 306 chrome/browser/sync/profile_sync_service_autofill_unittest.cc event.Wait(); event 19 chrome/browser/sync/protocol_event_observer.h virtual void OnProtocolEvent(const syncer::ProtocolEvent& event) = 0; event 45 chrome/browser/sync/test/integration/autofill_helper.cc ACTION_P(SignalEvent, event) { event 46 chrome/browser/sync/test/integration/autofill_helper.cc event->Signal(); event 27 chrome/browser/sync/test/integration/typed_urls_helper.cc explicit FlushHistoryDBQueueTask(base::WaitableEvent* event) event 28 chrome/browser/sync/test/integration/typed_urls_helper.cc : wait_event_(event) {} event 45 chrome/browser/sync/test/integration/typed_urls_helper.cc GetTypedUrlsTask(history::URLRows* rows, base::WaitableEvent* event) event 46 chrome/browser/sync/test/integration/typed_urls_helper.cc : rows_(rows), wait_event_(event) {} event 70 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent* event) event 71 chrome/browser/sync/test/integration/typed_urls_helper.cc : url_(url), row_(row), wait_event_(event), found_(found) {} event 96 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent* event) event 97 chrome/browser/sync/test/integration/typed_urls_helper.cc : id_(id), visits_(visits), wait_event_(event) {} event 120 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent* event) event 121 chrome/browser/sync/test/integration/typed_urls_helper.cc : visits_(visits), wait_event_(event) {} event 21 chrome/browser/sync_file_system/logger_unittest.cc bool ContainsString(std::string contains_string, EventLogger::Event event) { event 22 chrome/browser/sync_file_system/logger_unittest.cc return event.what.find(contains_string) != std::string::npos; event 161 chrome/browser/ui/app_list/search/people/people_result.cc scoped_ptr<extensions::Event> event( event 169 chrome/browser/ui/app_list/search/people/people_result.cc hangouts_extension_id_, event.Pass()); event 181 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc scoped_ptr<extensions::Event> event(new extensions::Event( event 184 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc event->restrict_to_browser_context = context; event 185 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc router->DispatchEventToExtension(kVirtualKeyboardExtensionID, event.Pass()); event 178 chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc AccessibilityAlertInfo event( event 181 chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc ui::AX_EVENT_ALERT, &event); event 195 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc bool AppShortcutLauncherItemController::ItemSelected(const ui::Event& event) { event 198 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc if (event.type() == ui::ET_KEY_RELEASED) { event 46 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h virtual bool ItemSelected(const ui::Event& event) OVERRIDE; event 176 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc bool AppWindowLauncherItemController::ItemSelected(const ui::Event& event) { event 186 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc ash::wm::MoveWindowToEventRoot(panel_window, event)) { event 200 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc event.type() == ui::ET_KEY_RELEASED) { event 205 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc const ui::Event& event) { event 206 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc if (event.flags() & ui::EF_CONTROL_DOWN) { event 213 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc if (event.type() & ui::ET_KEY_RELEASED) { event 39 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h virtual bool ItemSelected(const ui::Event& event) OVERRIDE; event 235 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc virtual bool ItemSelected(const ui::Event& event) OVERRIDE { return false; } event 2255 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const ui::MouseEvent& event) { event 2259 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return !view_->HitTestInput(popup_input_type_, event.location()); event 2624 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const content::NativeWebKeyboardEvent& event) { event 2626 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return popup_controller_->HandleKeyPressEvent(event); event 149 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 167 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual bool ShouldRepostEvent(const ui::MouseEvent& event) OVERRIDE; event 103 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc const blink::WebGestureEvent& event) { event 105 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc return event.type == blink::WebGestureEvent::GesturePinchBegin || event 106 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc event.type == blink::WebGestureEvent::GesturePinchUpdate || event 107 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc event.type == blink::WebGestureEvent::GesturePinchEnd; event 46 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h const blink::WebGestureEvent& event) OVERRIDE; event 170 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h const content::NativeWebKeyboardEvent& event) = 0; event 256 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const content::NativeWebKeyboardEvent& event) { event 257 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc switch (event.windowsKeyCode) { event 274 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc return (event.modifiers & content::NativeWebKeyboardEvent::ShiftKey) && event 324 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const ui::MouseEvent& event) { event 325 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc return delegate_->ShouldRepostEvent(event); event 57 chrome/browser/ui/autofill/autofill_popup_controller_impl.h bool HandleKeyPressEvent(const content::NativeWebKeyboardEvent& event); event 80 chrome/browser/ui/autofill/autofill_popup_controller_impl.h virtual bool ShouldRepostEvent(const ui::MouseEvent& event) OVERRIDE; event 45 chrome/browser/ui/autofill/autofill_popup_view_delegate.h virtual bool ShouldRepostEvent(const ui::MouseEvent& event) = 0; event 70 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h bool(const content::NativeWebKeyboardEvent& event)); event 109 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc const content::NativeWebKeyboardEvent& event) { event 110 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc switch (event.windowsKeyCode) { event 307 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc const ui::MouseEvent& event) { event 92 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h virtual bool ShouldRepostEvent(const ui::MouseEvent& event) OVERRIDE; event 110 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h bool HandleKeyPressEvent(const content::NativeWebKeyboardEvent& event); event 1139 chrome/browser/ui/browser.cc const NativeWebKeyboardEvent& event, event 1143 chrome/browser/ui/browser.cc if (event.windowsKeyCode == 27 && event 1147 chrome/browser/ui/browser.cc return window()->PreHandleKeyboardEvent(event, is_keyboard_shortcut); event 1151 chrome/browser/ui/browser.cc const NativeWebKeyboardEvent& event) { event 1152 chrome/browser/ui/browser.cc window()->HandleKeyboardEvent(event); event 1196 chrome/browser/ui/browser.cc const blink::WebGestureEvent& event) { event 1199 chrome/browser/ui/browser.cc return event.type == blink::WebGestureEvent::GesturePinchBegin || event 1200 chrome/browser/ui/browser.cc event.type == blink::WebGestureEvent::GesturePinchUpdate || event 1201 chrome/browser/ui/browser.cc event.type == blink::WebGestureEvent::GesturePinchEnd; event 438 chrome/browser/ui/browser.h const content::NativeWebKeyboardEvent& event, event 442 chrome/browser/ui/browser.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 455 chrome/browser/ui/browser.h const blink::WebGestureEvent& event) OVERRIDE; event 268 chrome/browser/ui/browser_command_controller.cc const content::NativeWebKeyboardEvent& event) { event 279 chrome/browser/ui/browser_command_controller.cc static_cast<ui::KeyboardCode>(event.windowsKeyCode); event 295 chrome/browser/ui/browser_command_controller.cc if (delegate && event.os_event && delegate->MatchEvent(*event.os_event, NULL)) event 45 chrome/browser/ui/browser_command_controller.h const content::NativeWebKeyboardEvent& event); event 307 chrome/browser/ui/browser_window.h const content::NativeWebKeyboardEvent& event, event 313 chrome/browser/ui/browser_window.h const content::NativeWebKeyboardEvent& event) = 0; event 39 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h - (BOOL)handledByExtensionCommand:(NSEvent*)event; event 102 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h bool HandledByExtensionCommand(NSEvent* event); event 123 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 33 chrome/browser/ui/cocoa/autofill/autofill_input_field.h - (KeyEventHandled)keyEvent:(NSEvent*)event forInput:(id)sender; event 408 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h - (BOOL)isEventAnExitEvent:(NSEvent*)event; event 31 chrome/browser/ui/cocoa/bookmarks/bookmark_button.h - (void)mouseEnteredButton:(id)button event:(NSEvent*)event; event 32 chrome/browser/ui/cocoa/bookmarks/bookmark_button.h - (void)mouseExitedButton:(id)button event:(NSEvent*)event; event 249 chrome/browser/ui/cocoa/bookmarks/bookmark_button.h - (void)beginDrag:(NSEvent*)event; event 134 chrome/browser/ui/cocoa/browser_window_cocoa.h const content::NativeWebKeyboardEvent& event, event 137 chrome/browser/ui/cocoa/browser_window_cocoa.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 311 chrome/browser/ui/cocoa/browser_window_controller.h - (BOOL)handledByExtensionCommand:(NSEvent*)event; event 21 chrome/browser/ui/cocoa/browser_window_utils.h + (BOOL)shouldHandleKeyboardEvent:(const content::NativeWebKeyboardEvent&)event; event 25 chrome/browser/ui/cocoa/browser_window_utils.h + (int)getCommandId:(const content::NativeWebKeyboardEvent&)event; event 28 chrome/browser/ui/cocoa/browser_window_utils.h + (BOOL)handleKeyboardEvent:(NSEvent*)event event 27 chrome/browser/ui/cocoa/chrome_event_processing_window.h - (BOOL)redispatchKeyEvent:(NSEvent*)event; event 33 chrome/browser/ui/cocoa/chrome_event_processing_window.h - (BOOL)handleExtraWindowKeyboardShortcut:(NSEvent*)event; event 37 chrome/browser/ui/cocoa/chrome_event_processing_window.h - (BOOL)handleDelayedWindowKeyboardShortcut:(NSEvent*)event; event 41 chrome/browser/ui/cocoa/chrome_event_processing_window.h - (BOOL)handleExtraBrowserKeyboardShortcut:(NSEvent*)event; event 29 chrome/browser/ui/cocoa/confirm_quit_panel_controller.h + (BOOL)eventTriggersFeature:(NSEvent*)event; event 24 chrome/browser/ui/cocoa/download/download_item_button.h - (void)beginDrag:(NSEvent*)event; event 128 chrome/browser/ui/cocoa/draggable_button_mixin.h - (DraggableButtonResult)mouseDownImpl:(NSEvent*)event; event 129 chrome/browser/ui/cocoa/draggable_button_mixin.h - (DraggableButtonResult)mouseUpImpl:(NSEvent*)event; event 51 chrome/browser/ui/cocoa/extensions/extension_keybinding_registry_cocoa.h bool ProcessKeyEvent(const content::NativeWebKeyboardEvent& event); event 151 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h - (NSMenu*)decorationMenuForEvent:(NSEvent*)event; event 114 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h - (void)handleFocusEvent:(NSEvent*)event event 15 chrome/browser/ui/cocoa/nsmenuitem_additions.h - (BOOL)cr_firesForKeyEvent:(NSEvent*)event; event 19 chrome/browser/ui/cocoa/nsmenuitem_additions.h - (BOOL)cr_firesForKeyEventIfEnabled:(NSEvent*)event; event 92 chrome/browser/ui/cocoa/panels/mouse_drag_controller.h - (void)mouseDown:(NSEvent*)event; event 93 chrome/browser/ui/cocoa/panels/mouse_drag_controller.h - (void)mouseDragged:(NSEvent*)event; event 94 chrome/browser/ui/cocoa/panels/mouse_drag_controller.h - (void)mouseUp:(NSEvent*)event; event 45 chrome/browser/ui/cocoa/panels/panel_cocoa.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 26 chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.h - (void)maybeStartDrag:(NSEvent*)event forTab:(TabController*)tab; event 69 chrome/browser/ui/fullscreen/fullscreen_controller_state_interactive_browsertest.cc #define TEST_EVENT(state, event) \ event 71 chrome/browser/ui/fullscreen/fullscreen_controller_state_interactive_browsertest.cc DISABLED_##state##__##event##__Empty) { \ event 74 chrome/browser/ui/fullscreen/fullscreen_controller_state_interactive_browsertest.cc DISABLED_##state##__##event) { \ event 77 chrome/browser/ui/fullscreen/fullscreen_controller_state_interactive_browsertest.cc ASSERT_NO_FATAL_FAILURE(TestStateAndEvent(state, event)) \ event 209 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc for (int event = 0; event < NUM_EVENTS; ++event) { event 210 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc EXPECT_NE(transition_table_[source][event], STATE_INVALID); event 211 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc EXPECT_GE(transition_table_[source][event], 0); event 212 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc EXPECT_LT(transition_table_[source][event], NUM_STATES); event 218 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc for (int event = 0; event < NUM_EVENTS; ++event) { event 220 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc static_cast<Event>(event))) event 222 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc State destination = transition_table_[source][event]; event 223 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc state_transitions_[source][destination].event = static_cast<Event>(event); event 255 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc const char* FullscreenControllerStateTest::GetEventString(Event event) { event 256 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc switch (event) { event 269 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc NOTREACHED() << "No string for event " << event; event 337 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc return InvokeEvent(next.event); event 344 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc bool FullscreenControllerStateTest::InvokeEvent(Event event) { event 355 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc State next_state = transition_table_[source_state][event]; event 357 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc EXPECT_FALSE(ShouldSkipStateAndEventPair(source_state, event)) event 366 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc << std::setw(kMaxStateNameLength) << GetEventString(event) event 372 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc switch (event) { event 392 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc ToggleFullscreenModeForTab(active_tab, event == TAB_FULLSCREEN_TRUE); event 434 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc << GetEventString(event) << GetAndClearDebugLog(); event 616 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc Event event = static_cast<Event>(event_int); event 617 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc State next_state_candidate = transition_table_[source][event]; event 619 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc if (ShouldSkipStateAndEventPair(source, event)) event 627 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc result.event = event; event 648 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc Event event) { event 654 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc (event == TAB_FULLSCREEN_TRUE || event == TAB_FULLSCREEN_FALSE)) event 656 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc if (state == STATE_TO_NORMAL && event == TAB_FULLSCREEN_TRUE) event 662 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc event == METRO_SNAP_TRUE || event 663 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc event == METRO_SNAP_FALSE) event 672 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc event == TOGGLE_FULLSCREEN_CHROME) { event 680 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc bool FullscreenControllerStateTest::ShouldSkipTest(State state, Event event) { event 684 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc event == METRO_SNAP_TRUE || event 685 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc event == METRO_SNAP_FALSE) { event 694 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc event == TOGGLE_FULLSCREEN_CHROME) { event 711 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc if (ShouldSkipStateAndEventPair(state, event)) { event 714 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc << GetEventString(event) << ").\n"; event 717 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc << GetEventString(event) << ")."; event 725 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc Event event) { event 726 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc if (ShouldSkipTest(state, event)) event 741 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc ASSERT_TRUE(InvokeEvent(event)) << GetAndClearDebugLog(); event 787 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc Event event = static_cast<Event>(event_int); event 790 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc << std::string(GetStateString(transition_table_[state][event])) + "," event 792 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc << GetEventString(event) << "\n"; event 812 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc << std::string(GetEventString(info.event)) + "," event 85 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.h static const char* GetEventString(Event event); event 113 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.h virtual bool InvokeEvent(Event event); event 156 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.h : event(EVENT_INVALID), event 159 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.h Event event; // The |Event| that will cause the state transition. event 174 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.h virtual bool ShouldSkipStateAndEventPair(State state, Event event); event 177 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.h virtual bool ShouldSkipTest(State state, Event event); event 180 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.h virtual void TestStateAndEvent(State state, Event event); event 225 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc virtual bool ShouldSkipStateAndEventPair(State state, Event event) OVERRIDE; event 295 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc State state, Event event) { event 305 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc event == TOGGLE_FULLSCREEN) event 310 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc event); event 338 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc #define TEST_EVENT(state, event) \ event 339 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc TEST_F(FullscreenControllerStateUnitTest, state##__##event) { \ event 341 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc ASSERT_NO_FATAL_FAILURE(TestStateAndEvent(state, event)) \ event 418 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc GdkEvent* event) { event 427 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc GdkEventConfigure* event) { event 433 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc bounds_.SetRect(event->x, event->y, event->width, event->height); event 510 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc GdkEventWindowState* event) { event 511 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc state_ = event->new_window_state; event 535 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc GdkEventMotion* event) { event 550 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc bool has_hit_edge = GetWindowEdge(static_cast<int>(event->x), event 551 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc static_cast<int>(event->y), &edge); event 569 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc GdkEventButton* event) { event 577 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Point point(static_cast<int>(event->x_root - win_x), event 578 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc static_cast<int>(event->y_root - win_y)); event 581 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc draggable_region_ && draggable_region_->contains(event->x, event->y); event 583 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc if (event->button == 1) { event 584 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc if (GDK_BUTTON_PRESS == event->type) { event 592 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gtk_window_begin_resize_drag(window_, edge, event->button, event 593 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc static_cast<gint>(event->x_root), event 594 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc static_cast<gint>(event->y_root), event 595 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc event->time); event 599 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc window_, bounds_, event); event 601 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc } else if (GDK_2BUTTON_PRESS == event->type) { event 613 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc } else if (event->button == 2) { event 692 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc const content::NativeWebKeyboardEvent& event) { event 81 chrome/browser/ui/gtk/apps/native_app_window_gtk.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 110 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc GdkEventConfigure* event) { event 116 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc GdkEventButton* event) { event 118 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc if (event->button != 1) event 121 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc controller_->SetSelectionAtPoint(gfx::Point(event->x, event->y)); event 127 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc GdkEventExpose* event) { event 129 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 138 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc gfx::Rect damage_rect(event->area); event 158 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc GdkEventCrossing* event) { event 165 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc GdkEventMotion* event) { event 166 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc controller_->SetSelectionAtPoint(gfx::Point(event->x, event->y)); event 49 chrome/browser/ui/gtk/avatar_menu_button_gtk.cc GdkEventButton* event) { event 50 chrome/browser/ui/gtk/avatar_menu_button_gtk.cc if (event->button != 1) event 69 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc GdkEventButton* event) { event 75 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc GdkEventKey* event) { event 76 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc if (event->keyval == GDK_Return || event 77 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc event->keyval == GDK_ISO_Enter || event 78 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc event->keyval == GDK_KP_Enter) { event 99 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc GdkEventFocus* event) { event 107 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc GdkEventFocus* event) { event 115 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc GdkEventCrossing* event) { event 116 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc if (event->detail == GDK_NOTIFY_INFERIOR) event 127 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc GdkEventCrossing* event) { event 128 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc if (event->detail == GDK_NOTIFY_INFERIOR) event 163 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc GdkEventExpose* event) { event 171 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc &event->area, widget, NULL, event 100 chrome/browser/ui/gtk/back_forward_button_gtk.cc GdkEventButton* event) { event 101 chrome/browser/ui/gtk/back_forward_button_gtk.cc if (event->button == 3) event 102 chrome/browser/ui/gtk/back_forward_button_gtk.cc ShowBackForwardMenu(event->button, event->time); event 104 chrome/browser/ui/gtk/back_forward_button_gtk.cc if (event->button != 1) event 107 chrome/browser/ui/gtk/back_forward_button_gtk.cc y_position_of_last_press_ = static_cast<int>(event->y); event 112 chrome/browser/ui/gtk/back_forward_button_gtk.cc event->button, event 113 chrome/browser/ui/gtk/back_forward_button_gtk.cc event->time), event 119 chrome/browser/ui/gtk/back_forward_button_gtk.cc GdkEventMotion* event) { event 128 chrome/browser/ui/gtk/back_forward_button_gtk.cc if (event->y - y_position_of_last_press_ < drag_min_distance) event 133 chrome/browser/ui/gtk/back_forward_button_gtk.cc ShowBackForwardMenu(/* button */ 1, event->time); event 406 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GdkEvent* event = gtk_get_current_event(); event 407 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc current_menu_->Popup(button, event->button.button, event->button.time); event 408 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gdk_event_free(event); event 1132 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GdkEventButton* event) { event 1159 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Point(event->x_root, event->y_root), event 1160 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc event->time); event 1164 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GdkEventButton* event) { event 1165 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc last_pressed_coordinates_ = gfx::Point(event->x, event->y); event 1167 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (event->button == 3 && gtk_widget_get_visible(bookmark_hbox_)) { event 1171 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc PopupMenuForNode(sender, node, event); event 1275 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GdkEvent* event = gtk_get_current_event(); event 1276 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (event->button.button == 1 || event 1277 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc (event->button.button == 2 && sender == overflow_button_)) { event 1280 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc } else if (event->button.button == 2) { event 1285 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gdk_event_free(event); event 1432 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GdkEventExpose* event) { event 1444 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 1450 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_util::DrawThemedToolbarBackground(widget, cr, event, tabstrip_origin, event 1458 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::CanvasSkiaPaint canvas(event, true); event 249 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h GdkEventButton* event); event 361 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc GdkEventExpose* event) { event 365 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc gfx::CanvasSkiaPaint canvas(event); event 609 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc GdkEvent* event) { event 641 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc GdkEventButton* event) { event 642 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc if (event->button == 3) { event 645 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc menu_controller_->RunMenu(gfx::Point(event->x_root, event->y_root), event 646 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc event->time); event 216 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc GdkEventButton* event) { event 218 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc if (!((event->button == 2 && event->type == GDK_BUTTON_RELEASE) || event 219 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc (event->button == 3 && event->type == GDK_BUTTON_PRESS))) { event 229 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc event); event 250 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc if (event->button == 2 && node && node->is_folder()) { event 255 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc } else if (event->button == 3) { event 278 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc context_menu_->PopupAsContext(gfx::Point(event->x_root, event->y_root), event 279 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc event->time); event 288 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc GdkEventButton* event) { event 298 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc if (event->button == 1 || event->button == 2) { event 300 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc event_utils::DispositionFromGdkState(event->state); event 311 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc if (event->button == 1) { event 324 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc GtkWidget* sender, GdkEventButton* event) { event 326 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc if (event->button == 1) event 134 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc GdkEventExpose* event, event 137 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc cairo_t* cr = gdk_cairo_create(event->window); event 138 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 152 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gfx::CanvasSkiaPaint canvas(event, false); event 316 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc GdkEventButton* event, event 318 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (event->button != 3) event 326 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc menu->PopupForWidget(widget, event->button, event->time); event 337 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc GdkEventExpose* event, event 347 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::CanvasSkiaPaint canvas(event, false); event 978 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc GtkWidget* widget, GdkEventMotion* event) { event 979 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (!(event->state & GDK_BUTTON1_MASK)) event 986 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc distance_dragged = -event->x; event 990 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc distance_dragged = event->x - widget_allocation.width; event 1012 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc GtkWidget* gripper, GdkEventCrossing* event) { event 1019 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc GtkWidget* gripper, GdkEventCrossing* event) { event 1020 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (!(event->state & GDK_BUTTON1_MASK)) event 1026 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc GtkWidget* gripper, GdkEventButton* event) { event 1031 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::Point release_point(event->x, event->y); event 1047 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc GtkWidget* gripper, GdkEventButton* event) { event 1054 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc GtkWidget* overflow, GdkEventButton* event) { event 1087 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc GtkWidget* overflow, GdkEventButton* event) { event 1088 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (event->button != 3) event 1117 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc menu->PopupAsContext(gfx::Point(event->x_root, event->y_root), event 1118 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc event->time); event 104 chrome/browser/ui/gtk/browser_titlebar.cc gboolean OnMouseMoveEvent(GtkWidget* widget, GdkEventMotion* event, event 872 chrome/browser/ui/gtk/browser_titlebar.cc GdkEvent* event = gtk_get_current_event(); event 873 chrome/browser/ui/gtk/browser_titlebar.cc if (event->button.button == 1) { event 891 chrome/browser/ui/gtk/browser_titlebar.cc if (event->button.button == 3) { event 894 chrome/browser/ui/gtk/browser_titlebar.cc } else if (event->button.button == 2) { event 901 chrome/browser/ui/gtk/browser_titlebar.cc gdk_event_free(event); event 917 chrome/browser/ui/gtk/browser_titlebar.cc GdkEventWindowState* event) { event 924 chrome/browser/ui/gtk/browser_titlebar.cc gboolean BrowserTitlebar::OnScroll(GtkWidget* widget, GdkEventScroll* event) { event 927 chrome/browser/ui/gtk/browser_titlebar.cc if (event->direction == GDK_SCROLL_LEFT || event 928 chrome/browser/ui/gtk/browser_titlebar.cc event->direction == GDK_SCROLL_UP) { event 950 chrome/browser/ui/gtk/browser_titlebar.cc GdkEventButton* event) { event 951 chrome/browser/ui/gtk/browser_titlebar.cc if (event->button != 1) event 961 chrome/browser/ui/gtk/browser_titlebar.cc favicon_menu_->PopupForWidget(app_mode_favicon_, event->button, event->time); event 967 chrome/browser/ui/gtk/browser_titlebar.cc GdkEventButton* event) { event 968 chrome/browser/ui/gtk/browser_titlebar.cc if (event->button != 1) event 974 chrome/browser/ui/gtk/browser_titlebar.cc rect.set_x(event->x); event 981 chrome/browser/ui/gtk/browser_titlebar.cc void BrowserTitlebar::ShowContextMenu(GdkEventButton* event) { event 987 chrome/browser/ui/gtk/browser_titlebar.cc context_menu_->PopupAsContext(gfx::Point(event->x_root, event->y_root), event 988 chrome/browser/ui/gtk/browser_titlebar.cc event->time); event 77 chrome/browser/ui/gtk/browser_titlebar.h void ShowContextMenu(GdkEventButton* event); event 631 chrome/browser/ui/gtk/browser_toolbar_gtk.cc GdkEventButton* event) { event 632 chrome/browser/ui/gtk/browser_toolbar_gtk.cc if (event->button != 1) event 639 chrome/browser/ui/gtk/browser_toolbar_gtk.cc wrench_menu_->PopupForWidget(button, event->button, event->time); event 156 chrome/browser/ui/gtk/browser_window_gtk.cc int GetCustomCommandId(GdkEventKey* event) { event 158 chrome/browser/ui/gtk/browser_window_gtk.cc guint modifier = event->state & gtk_accelerator_get_default_mod_mask(); event 159 chrome/browser/ui/gtk/browser_window_gtk.cc switch (event->keyval) { event 184 chrome/browser/ui/gtk/browser_window_gtk.cc int GetPreHandleCommandId(GdkEventKey* event) { event 186 chrome/browser/ui/gtk/browser_window_gtk.cc guint modifier = event->state & gtk_accelerator_get_default_mod_mask(); event 187 chrome/browser/ui/gtk/browser_window_gtk.cc switch (event->keyval) { event 332 chrome/browser/ui/gtk/browser_window_gtk.cc GdkEventExpose* event) { event 337 chrome/browser/ui/gtk/browser_window_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 341 chrome/browser/ui/gtk/browser_window_gtk.cc DrawPopupFrame(cr, widget, event); event 343 chrome/browser/ui/gtk/browser_window_gtk.cc DrawCustomFrame(cr, widget, event); event 506 chrome/browser/ui/gtk/browser_window_gtk.cc GdkEventExpose* event) { event 518 chrome/browser/ui/gtk/browser_window_gtk.cc cairo_rectangle(cr, event->area.x, event->area.y, event 519 chrome/browser/ui/gtk/browser_window_gtk.cc event->area.width, event->area.height); event 525 chrome/browser/ui/gtk/browser_window_gtk.cc GdkEventExpose* event) { event 533 chrome/browser/ui/gtk/browser_window_gtk.cc if (event->area.y < surface->Height()) { event 538 chrome/browser/ui/gtk/browser_window_gtk.cc cairo_rectangle(cr, event->area.x, event->area.y, event 539 chrome/browser/ui/gtk/browser_window_gtk.cc event->area.width, surface->Height() - event->area.y); event 1100 chrome/browser/ui/gtk/browser_window_gtk.cc const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) { event 1101 chrome/browser/ui/gtk/browser_window_gtk.cc GdkEventKey* os_event = &event.os_event->key; event 1103 chrome/browser/ui/gtk/browser_window_gtk.cc if (!os_event || event.type != blink::WebInputEvent::RawKeyDown) event 1155 chrome/browser/ui/gtk/browser_window_gtk.cc if (browser_->command_controller()->IsReservedCommandOrKey(id, event) && event 1156 chrome/browser/ui/gtk/browser_window_gtk.cc !event.match_edit_command) { event 1168 chrome/browser/ui/gtk/browser_window_gtk.cc const NativeWebKeyboardEvent& event) { event 1169 chrome/browser/ui/gtk/browser_window_gtk.cc GdkEventKey* os_event = &event.os_event->key; event 1171 chrome/browser/ui/gtk/browser_window_gtk.cc if (!os_event || event.type != blink::WebInputEvent::RawKeyDown) event 1356 chrome/browser/ui/gtk/browser_window_gtk.cc GdkEventConfigure* event) { event 1357 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect bounds(event->x, event->y, event->width, event->height); event 1406 chrome/browser/ui/gtk/browser_window_gtk.cc GdkEventWindowState* event) { event 1407 chrome/browser/ui/gtk/browser_window_gtk.cc state_ = event->new_window_state; event 1409 chrome/browser/ui/gtk/browser_window_gtk.cc if (event->changed_mask & GDK_WINDOW_STATE_MAXIMIZED) { event 1425 chrome/browser/ui/gtk/browser_window_gtk.cc GdkEvent* event) { event 2017 chrome/browser/ui/gtk/browser_window_gtk.cc gboolean BrowserWindowGtk::OnKeyPress(GtkWidget* widget, GdkEventKey* event) { event 2018 chrome/browser/ui/gtk/browser_window_gtk.cc if (extension_keybinding_registry_->HasPriorityHandler(event)) event 2030 chrome/browser/ui/gtk/browser_window_gtk.cc int command_id = GetCustomCommandId(event); event 2032 chrome/browser/ui/gtk/browser_window_gtk.cc command_id = GetPreHandleCommandId(event); event 2039 chrome/browser/ui/gtk/browser_window_gtk.cc if (!gtk_window_propagate_key_event(GTK_WINDOW(widget), event)) { event 2040 chrome/browser/ui/gtk/browser_window_gtk.cc if (!gtk_window_activate_key(GTK_WINDOW(widget), event)) { event 2041 chrome/browser/ui/gtk/browser_window_gtk.cc gtk_bindings_activate_event(GTK_OBJECT(widget), event); event 2045 chrome/browser/ui/gtk/browser_window_gtk.cc bool rv = gtk_window_propagate_key_event(GTK_WINDOW(widget), event); event 2054 chrome/browser/ui/gtk/browser_window_gtk.cc GdkEventMotion* event) { event 2058 chrome/browser/ui/gtk/browser_window_gtk.cc if (!UseCustomFrame() || event->window != gtk_widget_get_window(widget)) { event 2069 chrome/browser/ui/gtk/browser_window_gtk.cc bool has_hit_edge = GetWindowEdge(static_cast<int>(event->x), event 2070 chrome/browser/ui/gtk/browser_window_gtk.cc static_cast<int>(event->y), &edge); event 2092 chrome/browser/ui/gtk/browser_window_gtk.cc GdkEventButton* event) { event 2094 chrome/browser/ui/gtk/browser_window_gtk.cc if (event->type == GDK_BUTTON_PRESS) { event 2095 chrome/browser/ui/gtk/browser_window_gtk.cc if (event->button == 8) { event 2098 chrome/browser/ui/gtk/browser_window_gtk.cc } else if (event->button == 9) { event 2113 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Point point(static_cast<int>(event->x_root - win_x), event 2114 chrome/browser/ui/gtk/browser_window_gtk.cc static_cast<int>(event->y_root - win_y)); event 2128 chrome/browser/ui/gtk/browser_window_gtk.cc if (event->button == 1) { event 2129 chrome/browser/ui/gtk/browser_window_gtk.cc if (GDK_BUTTON_PRESS == event->type) { event 2138 chrome/browser/ui/gtk/browser_window_gtk.cc window_, bounds_, event); event 2140 chrome/browser/ui/gtk/browser_window_gtk.cc gtk_window_begin_resize_drag(window_, edge, event->button, event 2141 chrome/browser/ui/gtk/browser_window_gtk.cc static_cast<gint>(event->x_root), event 2142 chrome/browser/ui/gtk/browser_window_gtk.cc static_cast<gint>(event->y_root), event 2143 chrome/browser/ui/gtk/browser_window_gtk.cc event->time); event 2146 chrome/browser/ui/gtk/browser_window_gtk.cc } else if (GDK_2BUTTON_PRESS == event->type) { event 2157 chrome/browser/ui/gtk/browser_window_gtk.cc } else if (event->button == 2) { event 2162 chrome/browser/ui/gtk/browser_window_gtk.cc } else if (event->button == 3) { event 2164 chrome/browser/ui/gtk/browser_window_gtk.cc titlebar_->ShowContextMenu(event); event 2173 chrome/browser/ui/gtk/browser_window_gtk.cc GdkEventFocus* event) { event 2179 chrome/browser/ui/gtk/browser_window_gtk.cc GdkEventFocus* event) { event 169 chrome/browser/ui/gtk/browser_window_gtk.h const content::NativeWebKeyboardEvent& event, event 172 chrome/browser/ui/gtk/browser_window_gtk.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 354 chrome/browser/ui/gtk/browser_window_gtk.h void DrawCustomFrame(cairo_t* cr, GtkWidget* widget, GdkEventExpose* event); event 357 chrome/browser/ui/gtk/browser_window_gtk.h void DrawPopupFrame(cairo_t* cr, GtkWidget* widget, GdkEventExpose* event); event 702 chrome/browser/ui/gtk/bubble/bubble_gtk.cc GdkEventButton* event) { event 708 chrome/browser/ui/gtk/bubble/bubble_gtk.cc if (event->window == gdk_window && event 709 chrome/browser/ui/gtk/bubble/bubble_gtk.cc (mask_region_ && gdk_region_point_in(mask_region_, event->x, event->y))) { event 714 chrome/browser/ui/gtk/bubble/bubble_gtk.cc if (event->window != gdk_window && event 715 chrome/browser/ui/gtk/bubble/bubble_gtk.cc gdk_window_get_toplevel(event->window) == gdk_window) { event 769 chrome/browser/ui/gtk/bubble/bubble_gtk.cc GdkEventConfigure* event) { event 776 chrome/browser/ui/gtk/bubble/bubble_gtk.cc gboolean BubbleGtk::OnToplevelUnmap(GtkWidget* widget, GdkEvent* event) { event 336 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc GdkEventButton* event) { event 217 chrome/browser/ui/gtk/custom_button.cc GdkEventCrossing* event) { event 224 chrome/browser/ui/gtk/custom_button.cc GdkEventCrossing* event) { event 226 chrome/browser/ui/gtk/custom_button.cc if (event->state & (GDK_BUTTON1_MASK | GDK_BUTTON2_MASK | GDK_BUTTON3_MASK)) event 21 chrome/browser/ui/gtk/custom_drag.cc GdkEvent* event = gtk_get_current_event(); event 22 chrome/browser/ui/gtk/custom_drag.cc gtk_drag_begin(drag_widget_, list, action, 1, event); event 23 chrome/browser/ui/gtk/custom_drag.cc if (event) event 24 chrome/browser/ui/gtk/custom_drag.cc gdk_event_free(event); event 847 chrome/browser/ui/gtk/download/download_item_gtk.cc GdkEventButton* event) { event 848 chrome/browser/ui/gtk/download/download_item_gtk.cc if (event->type == GDK_BUTTON_PRESS && event->button == 3) { event 849 chrome/browser/ui/gtk/download/download_item_gtk.cc ShowPopupMenu(NULL, event); event 856 chrome/browser/ui/gtk/download/download_item_gtk.cc GdkEventExpose* event) { event 863 chrome/browser/ui/gtk/download/download_item_gtk.cc gfx::CanvasSkiaPaint canvas(event, false); event 903 chrome/browser/ui/gtk/download/download_item_gtk.cc GdkEventButton* event) { event 904 chrome/browser/ui/gtk/download/download_item_gtk.cc if (event->type == GDK_BUTTON_PRESS && event->button == 1) { event 905 chrome/browser/ui/gtk/download/download_item_gtk.cc ShowPopupMenu(button, event); event 914 chrome/browser/ui/gtk/download/download_item_gtk.cc GdkEventButton* event) { event 923 chrome/browser/ui/gtk/download/download_item_gtk.cc menu_->Popup(button, event); event 927 chrome/browser/ui/gtk/download/download_item_gtk.cc GdkEventExpose* event) { event 108 chrome/browser/ui/gtk/download/download_item_gtk.h void ShowPopupMenu(GtkWidget* button, GdkEventButton* event); event 23 chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc GdkEventButton* event) { event 31 chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc menu_->PopupForWidget(widget, event->button, event->time); event 33 chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc menu_->PopupAsContext(gfx::Point(event->x_root, event->y_root), event 34 chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc event->time); event 23 chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h void Popup(GtkWidget* widget, GdkEventButton* event); event 348 chrome/browser/ui/gtk/download/download_shelf_gtk.cc void DownloadShelfGtk::WillProcessEvent(GdkEvent* event) { event 351 chrome/browser/ui/gtk/download/download_shelf_gtk.cc void DownloadShelfGtk::DidProcessEvent(GdkEvent* event) { event 354 chrome/browser/ui/gtk/download/download_shelf_gtk.cc switch (event->type) { event 357 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gfx::Point(event->motion.x_root, event->motion.y_root); event 361 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gfx::Point(event->crossing.x_root, event->crossing.y_root); event 66 chrome/browser/ui/gtk/download/download_shelf_gtk.h virtual void WillProcessEvent(GdkEvent* event) OVERRIDE; event 67 chrome/browser/ui/gtk/download/download_shelf_gtk.h virtual void DidProcessEvent(GdkEvent* event) OVERRIDE; event 33 chrome/browser/ui/gtk/event_utils.cc GdkEvent* event = gtk_get_current_event(); event 34 chrome/browser/ui/gtk/event_utils.cc if (!event) { event 39 chrome/browser/ui/gtk/event_utils.cc guint state = event->button.state; event 40 chrome/browser/ui/gtk/event_utils.cc gdk_event_free(event); event 47 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc const GdkEventKey* event) const { event 52 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc event->keyval, static_cast<GdkModifierType>(event->state)); event 54 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.h gboolean HasPriorityHandler(const GdkEventKey* event) const; event 680 chrome/browser/ui/gtk/find_bar_gtk.cc bool FindBarGtk::MaybeForwardKeyEventToRenderer(GdkEventKey* event) { event 681 chrome/browser/ui/gtk/find_bar_gtk.cc switch (event->keyval) { event 689 chrome/browser/ui/gtk/find_bar_gtk.cc if ((event->state & gtk_accelerator_get_default_mod_mask()) == event 708 chrome/browser/ui/gtk/find_bar_gtk.cc NativeWebKeyboardEvent wke(reinterpret_cast<GdkEvent*>(event)); event 802 chrome/browser/ui/gtk/find_bar_gtk.cc gboolean FindBarGtk::OnKeyPressEvent(GtkWidget* widget, GdkEventKey* event, event 804 chrome/browser/ui/gtk/find_bar_gtk.cc if (find_bar->MaybeForwardKeyEventToRenderer(event)) { event 806 chrome/browser/ui/gtk/find_bar_gtk.cc } else if (GDK_Escape == event->keyval) { event 811 chrome/browser/ui/gtk/find_bar_gtk.cc } else if (GDK_Return == event->keyval || event 812 chrome/browser/ui/gtk/find_bar_gtk.cc GDK_KP_Enter == event->keyval) { event 813 chrome/browser/ui/gtk/find_bar_gtk.cc if ((event->state & gtk_accelerator_get_default_mod_mask()) == event 821 chrome/browser/ui/gtk/find_bar_gtk.cc bool forward = (event->state & gtk_accelerator_get_default_mod_mask()) != event 825 chrome/browser/ui/gtk/find_bar_gtk.cc } else if (GDK_F3 == event->keyval) { event 832 chrome/browser/ui/gtk/find_bar_gtk.cc bool forward = (event->state & gtk_accelerator_get_default_mod_mask()) != event 841 chrome/browser/ui/gtk/find_bar_gtk.cc gboolean FindBarGtk::OnKeyReleaseEvent(GtkWidget* widget, GdkEventKey* event, event 843 chrome/browser/ui/gtk/find_bar_gtk.cc return find_bar->MaybeForwardKeyEventToRenderer(event); event 861 chrome/browser/ui/gtk/find_bar_gtk.cc GdkEventExpose* event, event 875 chrome/browser/ui/gtk/find_bar_gtk.cc &event->area, &rec); event 1011 chrome/browser/ui/gtk/find_bar_gtk.cc GdkEvent* event = gtk_get_current_event(); event 1012 chrome/browser/ui/gtk/find_bar_gtk.cc if (event) { event 1013 chrome/browser/ui/gtk/find_bar_gtk.cc if ((event->type == GDK_KEY_PRESS || event->type == GDK_KEY_RELEASE) && event 1014 chrome/browser/ui/gtk/find_bar_gtk.cc bar->MaybeForwardKeyEventToRenderer(&(event->key))) { event 1018 chrome/browser/ui/gtk/find_bar_gtk.cc gdk_event_free(event); event 1026 chrome/browser/ui/gtk/find_bar_gtk.cc gboolean FindBarGtk::OnFocusIn(GtkWidget* entry, GdkEventFocus* event) { event 1036 chrome/browser/ui/gtk/find_bar_gtk.cc gboolean FindBarGtk::OnFocusOut(GtkWidget* entry, GdkEventFocus* event) { event 90 chrome/browser/ui/gtk/find_bar_gtk.h bool MaybeForwardKeyEventToRenderer(GdkEventKey* event); event 130 chrome/browser/ui/gtk/find_bar_gtk.h static gboolean OnKeyPressEvent(GtkWidget* widget, GdkEventKey* event, event 132 chrome/browser/ui/gtk/find_bar_gtk.h static gboolean OnKeyReleaseEvent(GtkWidget* widget, GdkEventKey* event, event 139 chrome/browser/ui/gtk/find_bar_gtk.h static gboolean OnExpose(GtkWidget* widget, GdkEventExpose* event, event 144 chrome/browser/ui/gtk/find_bar_gtk.h GdkEventExpose* event, event 40 chrome/browser/ui/gtk/gtk_chrome_button.cc GdkEventExpose* event); event 92 chrome/browser/ui/gtk/gtk_chrome_button.cc GdkEventExpose* event) { event 106 chrome/browser/ui/gtk/gtk_chrome_button.cc (widget, event); event 127 chrome/browser/ui/gtk/gtk_chrome_button.cc event); event 138 chrome/browser/ui/gtk/gtk_chrome_link_button.cc GdkEventExpose* event) { event 163 chrome/browser/ui/gtk/gtk_chrome_link_button.cc gtk_container_propagate_expose(GTK_CONTAINER(widget), label, event); event 172 chrome/browser/ui/gtk/gtk_chrome_link_button.cc &event->area, widget, NULL, event 33 chrome/browser/ui/gtk/gtk_custom_menu.cc GdkEvent* event) { event 34 chrome/browser/ui/gtk/gtk_custom_menu.cc GtkWidget* menu_item = gtk_get_event_widget(event); event 48 chrome/browser/ui/gtk/gtk_custom_menu.cc GdkEventButton* event) { event 50 chrome/browser/ui/gtk/gtk_custom_menu.cc GTK_MENU_SHELL(widget), reinterpret_cast<GdkEvent*>(event)); event 59 chrome/browser/ui/gtk/gtk_custom_menu.cc button_press_event(widget, event); event 66 chrome/browser/ui/gtk/gtk_custom_menu.cc GdkEventButton* event) { event 68 chrome/browser/ui/gtk/gtk_custom_menu.cc GTK_MENU_SHELL(widget), reinterpret_cast<GdkEvent*>(event)); event 83 chrome/browser/ui/gtk/gtk_custom_menu.cc button_release_event(widget, event); event 89 chrome/browser/ui/gtk/gtk_custom_menu.cc GdkEventMotion* event) { event 91 chrome/browser/ui/gtk/gtk_custom_menu.cc GTK_MENU_SHELL(widget), (GdkEvent*)event); event 94 chrome/browser/ui/gtk/gtk_custom_menu.cc event->x, event->y); event 98 chrome/browser/ui/gtk/gtk_custom_menu.cc motion_notify_event(widget, event); event 102 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GdkEventExpose* event); event 104 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GdkEventExpose* event, event 175 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GdkEventExpose* event) { event 183 chrome/browser/ui/gtk/gtk_custom_menu_item.cc event); event 190 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GdkEventExpose* event, event 233 chrome/browser/ui/gtk/gtk_custom_menu_item.cc event); event 237 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GdkEventExpose* event, event 245 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_custom_menu_item_expose_button(widget, event, current_item); event 270 chrome/browser/ui/gtk/gtk_custom_menu_item.cc &event->area, widget, "button", event 284 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_custom_menu_item_expose_button(widget, event, selected); event 1143 chrome/browser/ui/gtk/gtk_theme_service.cc GdkEventExpose* event) { event 1149 chrome/browser/ui/gtk/gtk_theme_service.cc gdk_cairo_rectangle(cr, &event->area); event 75 chrome/browser/ui/gtk/gtk_util.cc gboolean OnMouseButtonPressed(GtkWidget* widget, GdkEventButton* event, event 77 chrome/browser/ui/gtk/gtk_util.cc if (event->type == GDK_BUTTON_PRESS) { event 84 chrome/browser/ui/gtk/gtk_util.cc if (button_mask & (1 << event->button)) event 91 chrome/browser/ui/gtk/gtk_util.cc gboolean OnMouseButtonReleased(GtkWidget* widget, GdkEventButton* event, event 94 chrome/browser/ui/gtk/gtk_util.cc if (button_mask && (1 << event->button)) event 268 chrome/browser/ui/gtk/gtk_util.cc GdkEventExpose* event, event 274 chrome/browser/ui/gtk/gtk_util.cc event); event 726 chrome/browser/ui/gtk/gtk_util.cc GdkEventExpose* event, event 747 chrome/browser/ui/gtk/gtk_util.cc event->area.x + event->area.width - tabstrip_origin.x(), event 748 chrome/browser/ui/gtk/gtk_util.cc event->area.y + event->area.height - tabstrip_origin.y()); event 202 chrome/browser/ui/gtk/gtk_util.h GdkEventExpose* event, event 140 chrome/browser/ui/gtk/gtk_window_util.cc GdkEventButton* event) { event 149 chrome/browser/ui/gtk/gtk_window_util.cc DCHECK(event->type == GDK_BUTTON_PRESS); event 150 chrome/browser/ui/gtk/gtk_window_util.cc DCHECK(event->button == 1); event 160 chrome/browser/ui/gtk/gtk_window_util.cc guint32 click_time = event->time - last_click_time; event 161 chrome/browser/ui/gtk/gtk_window_util.cc int click_move_x = abs(event->x - last_click_x); event 162 chrome/browser/ui/gtk/gtk_window_util.cc int click_move_y = abs(event->y - last_click_y); event 164 chrome/browser/ui/gtk/gtk_window_util.cc last_click_time = event->time; event 165 chrome/browser/ui/gtk/gtk_window_util.cc last_click_x = static_cast<int>(event->x); event 166 chrome/browser/ui/gtk/gtk_window_util.cc last_click_y = static_cast<int>(event->y); event 176 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_begin_move_drag(window, event->button, event 177 chrome/browser/ui/gtk/gtk_window_util.cc static_cast<gint>(event->x_root), event 178 chrome/browser/ui/gtk/gtk_window_util.cc static_cast<gint>(event->y_root), event 179 chrome/browser/ui/gtk/gtk_window_util.cc event->time); event 47 chrome/browser/ui/gtk/gtk_window_util.h GdkEventButton* event); event 95 chrome/browser/ui/gtk/hover_controller_gtk.cc GdkEventCrossing* event) { event 102 chrome/browser/ui/gtk/hover_controller_gtk.cc GdkEventCrossing* event) { event 104 chrome/browser/ui/gtk/hover_controller_gtk.cc if (event->state & (GDK_BUTTON1_MASK | GDK_BUTTON2_MASK | GDK_BUTTON3_MASK)) { event 217 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc GdkEventButton* event) { event 218 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc if (event->button != 1) event 235 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc GdkEventExpose* event) { event 240 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc PaintInfobarBitsOn(sender, event, this); event 283 chrome/browser/ui/gtk/infobars/infobar_gtk.cc GdkEventExpose* event) { event 292 chrome/browser/ui/gtk/infobars/infobar_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 323 chrome/browser/ui/gtk/infobars/infobar_gtk.cc PaintInfobarBitsOn(sender, event, this); event 991 chrome/browser/ui/gtk/location_bar_view_gtk.cc GdkEventExpose* event) { event 998 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::CanvasSkiaPaint canvas(event, /*opaque=*/false); event 1049 chrome/browser/ui/gtk/location_bar_view_gtk.cc GdkEventButton* event) { event 1052 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (event->button == 1) { event 1060 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (event->x == 0 && event->y == 0) event 1072 chrome/browser/ui/gtk/location_bar_view_gtk.cc } else if (event->button == 2) { event 1077 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::Point(event->x, event->y))) { event 1147 chrome/browser/ui/gtk/location_bar_view_gtk.cc GdkEventButton* event) { event 1148 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (event->button == 1 && GetWebContents()) { event 1158 chrome/browser/ui/gtk/location_bar_view_gtk.cc GtkWidget* widget, GdkEventButton* event) { event 1159 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (event->button == 1 && GetWebContents()) { event 1179 chrome/browser/ui/gtk/location_bar_view_gtk.cc GdkEventButton* event) { event 1180 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (event->button != 1) event 1667 chrome/browser/ui/gtk/location_bar_view_gtk.cc GtkWidget* sender, GdkEvent* event) { event 1673 chrome/browser/ui/gtk/location_bar_view_gtk.cc GtkWidget* sender, GdkEventExpose* event) { event 1684 chrome/browser/ui/gtk/location_bar_view_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 1809 chrome/browser/ui/gtk/location_bar_view_gtk.cc GdkEventButton event = {}; event 1810 chrome/browser/ui/gtk/location_bar_view_gtk.cc event.type = GDK_BUTTON_PRESS; event 1811 chrome/browser/ui/gtk/location_bar_view_gtk.cc event.button = 1; event 1812 chrome/browser/ui/gtk/location_bar_view_gtk.cc OnButtonPressed(widget(), &event); event 1889 chrome/browser/ui/gtk/location_bar_view_gtk.cc GdkEventButton* event) { event 1893 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (event->type != GDK_BUTTON_PRESS) event 1914 chrome/browser/ui/gtk/location_bar_view_gtk.cc switch (controller->OnClicked(extension->id(), event->button)) { event 1931 chrome/browser/ui/gtk/location_bar_view_gtk.cc context_menu_->PopupForWidget(sender, event->button, event->time); event 1940 chrome/browser/ui/gtk/location_bar_view_gtk.cc GdkEventExpose* event) { event 1954 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::CanvasSkiaPaint canvas(event, false); event 1976 chrome/browser/ui/gtk/location_bar_view_gtk.cc GdkEventButton event = {}; event 1977 chrome/browser/ui/gtk/location_bar_view_gtk.cc event.type = GDK_BUTTON_PRESS; event 1978 chrome/browser/ui/gtk/location_bar_view_gtk.cc event.button = 1; event 1979 chrome/browser/ui/gtk/location_bar_view_gtk.cc return view->OnButtonPressed(view->widget(), &event); event 761 chrome/browser/ui/gtk/menu_gtk.cc GdkEvent* event = gtk_get_current_event(); event 764 chrome/browser/ui/gtk/menu_gtk.cc if (event && event->type == GDK_BUTTON_RELEASE) event 765 chrome/browser/ui/gtk/menu_gtk.cc event_flags = event_utils::EventFlagsFromGdkState(event->button.state); event 768 chrome/browser/ui/gtk/menu_gtk.cc if (event) event 769 chrome/browser/ui/gtk/menu_gtk.cc gdk_event_free(event); event 784 chrome/browser/ui/gtk/menu_gtk.cc gboolean MenuGtk::OnMenuFocusOut(GtkWidget* widget, GdkEventFocus* event) { event 45 chrome/browser/ui/gtk/notifications/balloon_collection_gtk.cc void BalloonCollectionImpl::WillProcessEvent(GdkEvent* event) { event 48 chrome/browser/ui/gtk/notifications/balloon_collection_gtk.cc void BalloonCollectionImpl::DidProcessEvent(GdkEvent* event) { event 49 chrome/browser/ui/gtk/notifications/balloon_collection_gtk.cc switch (event->type) { event 400 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc GdkEventExpose* event) { event 403 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 424 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gboolean BalloonViewImpl::OnExpose(GtkWidget* sender, GdkEventExpose* event) { event 427 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 454 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc GdkEventButton* event) { event 456 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc options_menu_->PopupForWidget(widget, event->button, event->time); event 558 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc GdkEventMotion* event) { event 563 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc size_t line = LineFromY(static_cast<int>(event->y)); event 568 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc if (!ignore_mouse_drag_ && (event->state & GDK_BUTTON1_MASK)) event 574 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc GdkEventButton* event) { event 580 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc size_t line = LineFromY(static_cast<int>(event->y)); event 582 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc if (event->button == 1) event 588 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc GdkEventButton* event) { event 598 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc size_t line = LineFromY(static_cast<int>(event->y)); event 599 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc switch (event->button) { event 614 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc GdkEventExpose* event) { event 618 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect window_rect = GetWindowRect(event->window); event 619 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect damage_rect = gfx::Rect(event->area); event 629 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 807 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gboolean OmniboxViewGtk::HandleKeyPress(GtkWidget* widget, GdkEventKey* event) { event 863 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc enter_was_pressed_ = event->keyval == GDK_Return || event 864 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc event->keyval == GDK_ISO_Enter || event 865 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc event->keyval == GDK_KP_Enter; event 870 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc tab_was_pressed_ = (event->keyval == GDK_Tab || event 871 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc event->keyval == GDK_ISO_Left_Tab || event 872 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc event->keyval == GDK_KP_Tab) && event 873 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc !(event->state & GDK_CONTROL_MASK); event 875 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc shift_was_pressed_ = event->state & GDK_SHIFT_MASK; event 877 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc delete_was_pressed_ = event->keyval == GDK_Delete || event 878 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc event->keyval == GDK_KP_Delete; event 898 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gboolean result = klass->key_press_event(widget, event); event 909 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc bool alt_held = (event->state & GDK_MOD1_MASK); event 912 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc } else if (!result && event->keyval == GDK_Escape && event 913 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc (event->state & gtk_accelerator_get_default_mod_mask()) == 0) { event 918 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc } else if (event->keyval == GDK_Control_L || event->keyval == GDK_Control_R) { event 923 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc } else if (!text_changed_ && event->keyval == GDK_Delete && event 924 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc event->state & GDK_SHIFT_MASK) { event 950 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GdkEventKey* event) { event 954 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (event->keyval == GDK_Control_L || event->keyval == GDK_Control_R) { event 957 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GdkDisplay* display = gdk_window_get_display(event->window); event 971 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GdkEventButton* event) { event 973 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (event->type != GDK_BUTTON_PRESS) event 982 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (event->button == 1 || event->button == 2) event 985 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (event->button == 1) { event 991 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc } else if (event->button == 2) { event 1001 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GdkEventButton* event) { event 1002 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (event->button != 1) event 1013 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc klass->button_release_event(text_view_, event); event 1025 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GdkEventFocus* event) { event 1047 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GdkEventFocus* event) { event 1771 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GdkEventExpose* event) { event 146 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc void PanelDragGtk::InitialWindowEdgeMousePress(GdkEventButton* event, event 152 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc GrabPointerAndKeyboard(event, cursor); event 155 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc void PanelDragGtk::InitialTitlebarMousePress(GdkEventButton* event, event 161 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc GrabPointerAndKeyboard(event, gfx::GetCursor(GDK_FLEUR)); // Drag cursor. event 164 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc void PanelDragGtk::GrabPointerAndKeyboard(GdkEventButton* event, event 168 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc initial_mouse_down_ = gdk_event_copy(reinterpret_cast<GdkEvent*>(event)); event 182 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc event->time); event 184 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc gdk_keyboard_grab(gdk_window, TRUE, event->time); event 238 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc GdkEventMotion* event) { event 250 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc gdk_event_get_root_coords(reinterpret_cast<GdkEvent*>(event), event 281 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc GdkEventButton* event) { event 287 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc GdkEventButton* event) { event 290 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc if (event->button == 1) { event 294 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc reinterpret_cast<GdkEvent*>(event)); event 305 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc GdkEventKey* event) { event 311 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc GdkEventKey* event) { event 321 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc switch (event->keyval) { event 336 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc GdkEventGrabBroken* event) { event 34 chrome/browser/ui/gtk/panels/panel_drag_gtk.h void InitialWindowEdgeMousePress(GdkEventButton* event, GdkCursor* cursor, event 42 chrome/browser/ui/gtk/panels/panel_drag_gtk.h void InitialTitlebarMousePress(GdkEventButton* event, event 73 chrome/browser/ui/gtk/panels/panel_drag_gtk.h void GrabPointerAndKeyboard(GdkEventButton* event, event 397 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkEventConfigure* event) { event 401 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Size new_size(event->width, event->height); event 426 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkEventWindowState* event) { event 427 chrome/browser/ui/gtk/panels/panel_gtk.cc is_minimized_ = event->new_window_state & GDK_WINDOW_STATE_ICONIFIED; event 477 chrome/browser/ui/gtk/panels/panel_gtk.cc gboolean PanelGtk::OnKeyPress(GtkWidget* widget, GdkEventKey* event) { event 485 chrome/browser/ui/gtk/panels/panel_gtk.cc if (!gtk_window_propagate_key_event(GTK_WINDOW(widget), event)) { event 486 chrome/browser/ui/gtk/panels/panel_gtk.cc if (!gtk_window_activate_key(GTK_WINDOW(widget), event)) { event 487 chrome/browser/ui/gtk/panels/panel_gtk.cc gtk_bindings_activate_event(GTK_OBJECT(widget), event); event 564 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkEventExpose* event) { event 567 chrome/browser/ui/gtk/panels/panel_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 585 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_rectangle(cr, event->area.x, event->area.y, event 586 chrome/browser/ui/gtk/panels/panel_gtk.cc event->area.width, event->area.height); event 596 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, event->area.width - 3, 0); event 597 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, event->area.width - 2, 1); event 598 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, event->area.width - 1, 1); event 599 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, event->area.width - 1, 2); event 600 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, event->area.width - 1, 3); event 601 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, event->area.width - 1, event->area.height - 1); event 602 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, 0, event->area.height - 1); event 627 chrome/browser/ui/gtk/panels/panel_gtk.cc GtkWidget* widget, GdkEventButton* event) { event 628 chrome/browser/ui/gtk/panels/panel_gtk.cc if (event->button != 1) event 630 chrome/browser/ui/gtk/panels/panel_gtk.cc if (event->type != GDK_BUTTON_PRESS) event 658 chrome/browser/ui/gtk/panels/panel_gtk.cc drag_helper_->InitialTitlebarMousePress(event, titlebar_->widget()); event 663 chrome/browser/ui/gtk/panels/panel_gtk.cc GtkWidget* widget, GdkEventButton* event) { event 664 chrome/browser/ui/gtk/panels/panel_gtk.cc if (event->button != 1) event 667 chrome/browser/ui/gtk/panels/panel_gtk.cc panel_->OnTitlebarClicked((event->state & GDK_CONTROL_MASK) ? event 673 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkEventMotion* event) { event 676 chrome/browser/ui/gtk/panels/panel_gtk.cc if (event->window != gtk_widget_get_window(widget)) { event 687 chrome/browser/ui/gtk/panels/panel_gtk.cc bool has_hit_edge = GetWindowEdge(static_cast<int>(event->x), event 688 chrome/browser/ui/gtk/panels/panel_gtk.cc static_cast<int>(event->y), &edge); event 703 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkEventButton* event) { event 704 chrome/browser/ui/gtk/panels/panel_gtk.cc if (event->button != 1 || event->type != GDK_BUTTON_PRESS) event 719 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Point point(static_cast<int>(event->x_root - win_x), event 720 chrome/browser/ui/gtk/panels/panel_gtk.cc static_cast<int>(event->y_root - win_y)); event 728 chrome/browser/ui/gtk/panels/panel_gtk.cc drag_helper_->InitialWindowEdgeMousePress(event, cursor, edge); event 762 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkEvent* event) { event 990 chrome/browser/ui/gtk/panels/panel_gtk.cc const NativeWebKeyboardEvent& event) { event 991 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkEventKey* os_event = &event.os_event->key; event 992 chrome/browser/ui/gtk/panels/panel_gtk.cc if (os_event && event.type == blink::WebInputEvent::RawKeyDown) event 1139 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkEvent* event = gdk_event_new(GDK_BUTTON_PRESS); event 1140 chrome/browser/ui/gtk/panels/panel_gtk.cc event->button.button = 1; event 1141 chrome/browser/ui/gtk/panels/panel_gtk.cc event->button.x_root = mouse_location.x(); event 1142 chrome/browser/ui/gtk/panels/panel_gtk.cc event->button.y_root = mouse_location.y(); event 1144 chrome/browser/ui/gtk/panels/panel_gtk.cc event->button.state |= GDK_CONTROL_MASK; event 1146 chrome/browser/ui/gtk/panels/panel_gtk.cc NULL, reinterpret_cast<GdkEventButton*>(event)); event 1147 chrome/browser/ui/gtk/panels/panel_gtk.cc gdk_event_free(event); event 1153 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkEvent* event = gdk_event_new(GDK_BUTTON_RELEASE); event 1154 chrome/browser/ui/gtk/panels/panel_gtk.cc event->button.button = 1; event 1156 chrome/browser/ui/gtk/panels/panel_gtk.cc event->button.state |= GDK_CONTROL_MASK; event 1159 chrome/browser/ui/gtk/panels/panel_gtk.cc NULL, reinterpret_cast<GdkEventButton*>(event)); event 1162 chrome/browser/ui/gtk/panels/panel_gtk.cc NULL, reinterpret_cast<GdkEventButton*>(event)); event 1164 chrome/browser/ui/gtk/panels/panel_gtk.cc gdk_event_free(event); event 1171 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkEvent* event = gdk_event_new(GDK_MOTION_NOTIFY); event 1172 chrome/browser/ui/gtk/panels/panel_gtk.cc event->motion.x_root = mouse_location.x(); event 1173 chrome/browser/ui/gtk/panels/panel_gtk.cc event->motion.y_root = mouse_location.y(); event 1175 chrome/browser/ui/gtk/panels/panel_gtk.cc NULL, reinterpret_cast<GdkEventMotion*>(event)); event 1176 chrome/browser/ui/gtk/panels/panel_gtk.cc gdk_event_free(event); event 66 chrome/browser/ui/gtk/panels/panel_gtk.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 178 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc GdkEvent* event) { event 194 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc GdkEventWindowState* event) { event 195 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc bool is_minimized = event->new_window_state & GDK_WINDOW_STATE_ICONIFIED; event 270 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc GdkEvent* event = gtk_get_current_event(); event 271 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc DCHECK(event && event->type == GDK_BUTTON_RELEASE); event 275 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc (event->button.state & GDK_CONTROL_MASK) ? event 279 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc (event->button.state & GDK_CONTROL_MASK) ? event 284 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc gdk_event_free(event); event 308 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc GdkEvent* event = gdk_event_new(GDK_ENTER_NOTIFY); event 309 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.window = event 311 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.send_event = FALSE; event 312 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.subwindow = gtk_widget_get_window(close_button()->widget()); event 313 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.time = gtk_util::XTimeNow(); event 314 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.x = x; event 315 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.y = y; event 316 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.x_root = widget_allocation.x; event 317 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.y_root = widget_allocation.y; event 318 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.mode = GDK_CROSSING_NORMAL; event 319 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.detail = GDK_NOTIFY_ANCESTOR; event 320 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.focus = true; event 321 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.state = 0; event 324 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc "enter-notify-event", event, event 142 chrome/browser/ui/gtk/password_generation_bubble_gtk.cc GdkEvent* event) { event 303 chrome/browser/ui/gtk/reload_button_gtk.cc GdkEventButton* event) { event 307 chrome/browser/ui/gtk/reload_button_gtk.cc if (event->button == 3) event 308 chrome/browser/ui/gtk/reload_button_gtk.cc ShowReloadMenu(event->button, event->time); event 310 chrome/browser/ui/gtk/reload_button_gtk.cc if (event->button != 1) event 313 chrome/browser/ui/gtk/reload_button_gtk.cc y_position_of_last_press_ = static_cast<int>(event->y); event 318 chrome/browser/ui/gtk/reload_button_gtk.cc event->button, event 319 chrome/browser/ui/gtk/reload_button_gtk.cc event->time), event 325 chrome/browser/ui/gtk/reload_button_gtk.cc GdkEventMotion* event) { event 334 chrome/browser/ui/gtk/reload_button_gtk.cc if (event->y - y_position_of_last_press_ < drag_min_distance) event 339 chrome/browser/ui/gtk/reload_button_gtk.cc ShowReloadMenu(/* button */ 1, event->time); event 83 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc GdkEventButton* event = view->GetLastMouseDown(); event 84 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc triggering_event_time_ = event ? event->time : GDK_CURRENT_TIME; event 204 chrome/browser/ui/gtk/rounded_window.cc GdkEventExpose* event) { event 228 chrome/browser/ui/gtk/rounded_window.cc GdkDrawable* drawable = GDK_DRAWABLE(event->window); event 230 chrome/browser/ui/gtk/rounded_window.cc gdk_gc_set_clip_rectangle(gc, &event->area); event 166 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc GtkWidget* window, GdkEvent* event) { event 190 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc GdkEventConfigure* event) { event 192 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc if (event->width == current_width_ && event->height == current_height_) event 195 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc current_width_ = event->width; event 196 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc current_height_ = event->height; event 276 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc GdkEventButton* event) { event 278 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc event->button, event 279 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc event->x_root, event 280 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc event->y_root, event 281 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc event->time); event 366 chrome/browser/ui/gtk/status_bubble_gtk.cc GdkEventCrossing* event) { event 368 chrome/browser/ui/gtk/status_bubble_gtk.cc MouseMoved(gfx::Point(event->x_root, event->y_root), false); event 373 chrome/browser/ui/gtk/status_bubble_gtk.cc GdkEventMotion* event) { event 374 chrome/browser/ui/gtk/status_bubble_gtk.cc MouseMoved(gfx::Point(event->x_root, event->y_root), false); event 382 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gboolean DraggedViewGtk::OnExpose(GtkWidget* widget, GdkEventExpose* event) { event 116 chrome/browser/ui/gtk/tabs/tab_gtk.cc gboolean TabGtk::OnButtonPressEvent(GtkWidget* widget, GdkEventButton* event) { event 119 chrome/browser/ui/gtk/tabs/tab_gtk.cc if (event->button == 1 && event->type == GDK_BUTTON_PRESS) { event 124 chrome/browser/ui/gtk/tabs/tab_gtk.cc if (event->state & GDK_CONTROL_MASK) event 126 chrome/browser/ui/gtk/tabs/tab_gtk.cc else if (event->state & GDK_SHIFT_MASK) event 135 chrome/browser/ui/gtk/tabs/tab_gtk.cc last_mouse_down_ = gdk_event_copy(reinterpret_cast<GdkEvent*>(event)); event 136 chrome/browser/ui/gtk/tabs/tab_gtk.cc } else if (event->button == 3) { event 141 chrome/browser/ui/gtk/tabs/tab_gtk.cc menu_controller_->RunMenu(gfx::Point(event->x_root, event->y_root), event 142 chrome/browser/ui/gtk/tabs/tab_gtk.cc event->time); event 150 chrome/browser/ui/gtk/tabs/tab_gtk.cc GdkEventButton* event) { event 151 chrome/browser/ui/gtk/tabs/tab_gtk.cc if (event->button == 1) { event 152 chrome/browser/ui/gtk/tabs/tab_gtk.cc if (IsActive() && !(event->state & (GDK_SHIFT_MASK | GDK_CONTROL_MASK))) { event 168 chrome/browser/ui/gtk/tabs/tab_gtk.cc if (event->button == 2 && event 169 chrome/browser/ui/gtk/tabs/tab_gtk.cc event->x >= 0 && event->y >= 0 && event 170 chrome/browser/ui/gtk/tabs/tab_gtk.cc event->x < allocation.width && event 171 chrome/browser/ui/gtk/tabs/tab_gtk.cc event->y < allocation.height) { event 218 chrome/browser/ui/gtk/tabs/tab_gtk.cc void TabGtk::WillProcessEvent(GdkEvent* event) { event 222 chrome/browser/ui/gtk/tabs/tab_gtk.cc void TabGtk::DidProcessEvent(GdkEvent* event) { event 223 chrome/browser/ui/gtk/tabs/tab_gtk.cc if (!(event->type == GDK_MOTION_NOTIFY || event->type == GDK_LEAVE_NOTIFY || event 224 chrome/browser/ui/gtk/tabs/tab_gtk.cc event->type == GDK_ENTER_NOTIFY)) { event 237 chrome/browser/ui/gtk/tabs/tab_gtk.cc gdk_event_get_root_coords(event, &new_x, &new_y); event 130 chrome/browser/ui/gtk/tabs/tab_gtk.h virtual void WillProcessEvent(GdkEvent* event) OVERRIDE; event 131 chrome/browser/ui/gtk/tabs/tab_gtk.h virtual void DidProcessEvent(GdkEvent* event) OVERRIDE; event 852 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc void TabRendererGtk::PaintTab(GtkWidget* widget, GdkEventExpose* event) { event 854 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 861 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc cairo_matrix_init_translate(&cairo_matrix, event->area.x, event->area.y); event 865 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc background_offset_x_ = event->area.x; event 1134 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc GdkEventButton* event) { event 1135 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc if (event->button == 2) { event 1144 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc GdkEventExpose* event) { event 1147 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc PaintTab(widget, event); event 1149 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc close_button_->widget(), event); event 1168 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc GdkEventCrossing* event) { event 1175 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc GdkEventCrossing* event) { event 302 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h void PaintTab(GtkWidget* widget, GdkEventExpose* event); event 1319 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::WillProcessEvent(GdkEvent* event) { event 1323 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::DidProcessEvent(GdkEvent* event) { event 1324 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc switch (event->type) { event 1827 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc GdkEventExpose* event) { event 1837 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 2017 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gboolean TabStripGtk::OnExpose(GtkWidget* widget, GdkEventExpose* event) { event 2020 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (gdk_region_empty(event->region)) event 2027 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gdk_region_get_rectangles(event->region, &rects, &num_rects); event 2032 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc PaintOnlyFavicons(event, tabs_to_repaint); event 2052 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc event->area.width = bounds_.width(); event 2061 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc event->area.width += event->area.x; event 2064 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc event->area.x = 0; event 2065 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc event->area.y = 0; event 2066 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc event->area.height = bounds_.height(); event 2067 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gdk_region_union_with_rect(event->region, &event->area); event 2071 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc newtab_button_->widget(), event); event 2083 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc tab->widget(), event); event 2092 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc selected_tab->widget(), event); event 2179 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc GdkEvent* event = gtk_get_current_event(); event 2180 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc DCHECK_EQ(event->type, GDK_BUTTON_RELEASE); event 2181 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc int mouse_button = event->button.button; event 2182 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gdk_event_free(event); event 2238 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::PaintOnlyFavicons(GdkEventExpose* event, event 2240 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc cairo_t* cr = gdk_cairo_create(GDK_DRAWABLE(event->window)); event 166 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h virtual void WillProcessEvent(GdkEvent* event) OVERRIDE; event 167 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h virtual void DidProcessEvent(GdkEvent* event) OVERRIDE; event 291 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h void PaintOnlyFavicons(GdkEventExpose* event, event 923 chrome/browser/ui/gtk/task_manager_gtk.cc GdkEventButton* event) { event 926 chrome/browser/ui/gtk/task_manager_gtk.cc if (event->button == 3) { event 927 chrome/browser/ui/gtk/task_manager_gtk.cc ShowContextMenu(gfx::Point(event->x_root, event->y_root), event 928 chrome/browser/ui/gtk/task_manager_gtk.cc event->time); event 194 chrome/browser/ui/gtk/web_dialog_gtk.cc const NativeWebKeyboardEvent& event) { event 195 chrome/browser/ui/gtk/web_dialog_gtk.cc GdkEventKey* os_event = &event.os_event->key; event 196 chrome/browser/ui/gtk/web_dialog_gtk.cc if (!os_event || event.type == blink::WebInputEvent::Char) event 54 chrome/browser/ui/gtk/web_dialog_gtk.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 130 chrome/browser/ui/gtk/website_settings/permission_selector.cc GdkEventButton* event) { event 131 chrome/browser/ui/gtk/website_settings/permission_selector.cc if (event->button != 1) event 133 chrome/browser/ui/gtk/website_settings/permission_selector.cc menu_->PopupForWidget(button, event->button, event->time); event 626 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc GtkWidget* widget, GdkEvent* event) { event 634 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc GtkWidget* widget, GdkEventExpose* event) { event 650 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc GtkWidget* widget, GdkEventExpose* event) { event 689 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc if (gdk_rectangle_intersect(&left_tiling_area, &event->area, event 701 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc if (gdk_rectangle_intersect(&right_tiling_area, &event->area, event 226 chrome/browser/ui/gtk/zoom_bubble_gtk.cc GdkEventCrossing* event) { event 233 chrome/browser/ui/gtk/zoom_bubble_gtk.cc GdkEventCrossing* event) { event 37 chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc int opcode, event, error; event 40 chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc has_xkb_ = XkbQueryExtension(gfx::GetXDisplay(), &opcode, &event, &error, event 50 chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc const ui::Event& event, event 52 chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc CHECK(event.IsKeyEvent()); event 54 chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc const ui::KeyEvent& key_event = static_cast<const ui::KeyEvent&>(event); event 55 chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.h bool MatchEvent(const ui::Event& event, event 679 chrome/browser/ui/libgtk2ui/gtk2_ui.cc bool Gtk2UI::MatchEvent(const ui::Event& event, event 685 chrome/browser/ui/libgtk2ui/gtk2_ui.cc return key_bindings_handler_->MatchEvent(event, commands); event 117 chrome/browser/ui/libgtk2ui/gtk2_ui.h const ui::Event& event, event 83 chrome/browser/ui/libgtk2ui/menu_util.cc GdkEvent* event = gtk_get_current_event(); event 86 chrome/browser/ui/libgtk2ui/menu_util.cc if (event && event->type == GDK_BUTTON_RELEASE) event 87 chrome/browser/ui/libgtk2ui/menu_util.cc event_flags = EventFlagsFromGdkState(event->button.state); event 90 chrome/browser/ui/libgtk2ui/menu_util.cc if (event) event 91 chrome/browser/ui/libgtk2ui/menu_util.cc gdk_event_free(event); event 77 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc GdkEvent* event = gdk_event_new(event_type); event 78 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc event->key.type = event_type; event 79 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc event->key.window = window; event 81 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc event->key.send_event = xkey.send_event; event 82 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc event->key.time = xkey.time; event 83 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc event->key.state = xkey.state; event 84 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc event->key.keyval = keysym; event 85 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc event->key.length = 0; event 86 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc event->key.string = NULL; event 87 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc event->key.hardware_keycode = xkey.keycode; event 88 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc event->key.group = keyboard_group; event 89 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc event->key.is_modifier = is_modifier; event 90 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc return event; event 159 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc GdkEvent* event = GdkEventFromXKeyEvent( event 162 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc if (!event) { event 168 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc gtk_im_context_set_client_window(gtk_context_, event->key.window); event 173 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc gdk_window_get_origin(event->key.window, &x, &y); event 181 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc commit_signal_trap_.StartTrap(event->key.keyval); event 183 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc &event->key); event 185 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc gdk_event_free(event); event 173 chrome/browser/ui/network_profile_bubble.cc void NetworkProfileBubble::RecordUmaEvent(MetricNetworkedProfileCheck event) { event 175 chrome/browser/ui/network_profile_bubble.cc event, event 67 chrome/browser/ui/network_profile_bubble.h static void RecordUmaEvent(MetricNetworkedProfileCheck event); event 55 chrome/browser/ui/panels/native_panel.h const content::NativeWebKeyboardEvent& event) = 0; event 664 chrome/browser/ui/panels/panel.cc void Panel::HandleKeyboardEvent(const content::NativeWebKeyboardEvent& event) { event 665 chrome/browser/ui/panels/panel.cc native_panel_->HandlePanelKeyboardEvent(event); event 247 chrome/browser/ui/panels/panel.h void HandleKeyboardEvent(const content::NativeWebKeyboardEvent& event); event 188 chrome/browser/ui/panels/panel_host.cc const content::NativeWebKeyboardEvent& event) { event 189 chrome/browser/ui/panels/panel_host.cc return panel_->HandleKeyboardEvent(event); event 74 chrome/browser/ui/panels/panel_host.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 258 chrome/browser/ui/search/search_ipc_router.cc void SearchIPCRouter::OnLogEvent(int page_id, NTPLoggingEventType event) const { event 266 chrome/browser/ui/search/search_ipc_router.cc delegate_->OnLogEvent(event); event 63 chrome/browser/ui/search/search_ipc_router.h virtual void OnLogEvent(NTPLoggingEventType event) = 0; event 193 chrome/browser/ui/search/search_ipc_router.h void OnLogEvent(int page_id, NTPLoggingEventType event) const; event 54 chrome/browser/ui/search/search_ipc_router_unittest.cc MOCK_METHOD1(OnLogEvent, void(NTPLoggingEventType event)); event 536 chrome/browser/ui/search/search_tab_helper.cc void SearchTabHelper::OnLogEvent(NTPLoggingEventType event) { event 538 chrome/browser/ui/search/search_tab_helper.cc web_contents())->LogEvent(event); event 170 chrome/browser/ui/search/search_tab_helper.h virtual void OnLogEvent(NTPLoggingEventType event) OVERRIDE; event 52 chrome/browser/ui/search/search_tab_helper_unittest.cc MOCK_METHOD1(OnLogEvent, void(NTPLoggingEventType event)); event 228 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::AXEvent event, event 232 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc SendControlAccessibilityNotification(event, &info); event 238 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::AXEvent event, event 241 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc SendControlAccessibilityNotification(event, &info); event 247 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::AXEvent event, event 250 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc SendMenuAccessibilityNotification(event, &info); event 256 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::AXEvent event, event 280 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc SendControlAccessibilityNotification(event, &info); event 286 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::AXEvent event, event 289 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc SendControlAccessibilityNotification(event, &info); event 295 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::AXEvent event, event 334 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc SendControlAccessibilityNotification(event, &info); event 340 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::AXEvent event, event 350 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc SendControlAccessibilityNotification(event, &info); event 356 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::AXEvent event, event 365 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc SendControlAccessibilityNotification(event, &info); event 371 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::AXEvent event, event 382 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc SendControlAccessibilityNotification(event, &info); event 388 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::AXEvent event, event 404 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc SendWindowAccessibilityNotification(event, &info); event 410 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::AXEvent event, event 423 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc SendControlAccessibilityNotification(event, &info); event 429 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::AXEvent event, event 438 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc SendControlAccessibilityNotification(event, &info); event 77 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event); event 83 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event); event 89 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event, event 93 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event, event 97 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event, event 101 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event, event 105 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event, event 109 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event, event 113 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event, event 117 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event, event 121 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event, event 125 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event, event 129 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event, event 133 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h ui::AXEvent event, event 173 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc virtual void OnControlEvent(ui::AXEvent event, event 310 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc const ui::Event& event) { event 61 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h const ui::Event& event) OVERRIDE; event 79 chrome/browser/ui/views/ash/tab_scrubber.cc void TabScrubber::OnScrollEvent(ui::ScrollEvent* event) { event 80 chrome/browser/ui/views/ash/tab_scrubber.cc if (event->type() == ui::ET_SCROLL_FLING_CANCEL || event 81 chrome/browser/ui/views/ash/tab_scrubber.cc event->type() == ui::ET_SCROLL_FLING_START) { event 87 chrome/browser/ui/views/ash/tab_scrubber.cc if (event->finger_count() != 3) event 109 chrome/browser/ui/views/ash/tab_scrubber.cc event->StopPropagation(); event 111 chrome/browser/ui/views/ash/tab_scrubber.cc float x_offset = event->x_offset(); event 54 chrome/browser/ui/views/ash/tab_scrubber.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 354 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const ui::Event& event) OVERRIDE { event 863 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const ui::MouseEvent& event) { event 864 chrome/browser/ui/views/autofill/autofill_dialog_views.cc SetActive(ShouldForwardEvent(event)); event 868 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const ui::MouseEvent& event) { event 869 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (!ShouldForwardEvent(event)) event 873 chrome/browser/ui/views/autofill/autofill_dialog_views.cc proxy_button_->OnMouseEntered(ProxyEvent(event)); event 878 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const ui::MouseEvent& event) { event 880 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (!ShouldForwardEvent(event)) event 883 chrome/browser/ui/views/autofill/autofill_dialog_views.cc proxy_button_->OnMouseExited(ProxyEvent(event)); event 888 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const ui::MouseEvent& event) { event 889 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (!ShouldForwardEvent(event)) event 892 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return proxy_button_->OnMousePressed(ProxyEvent(event)); event 896 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const ui::MouseEvent& event) { event 897 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (!ShouldForwardEvent(event)) event 900 chrome/browser/ui/views/autofill/autofill_dialog_views.cc proxy_button_->OnMouseReleased(ProxyEvent(event)); event 904 chrome/browser/ui/views/autofill/autofill_dialog_views.cc ui::GestureEvent* event) { event 905 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (!ShouldForwardEvent(*event)) event 908 chrome/browser/ui/views/autofill/autofill_dialog_views.cc proxy_button_->OnGestureEvent(event); event 939 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const ui::MouseEvent& event) { event 940 chrome/browser/ui/views/autofill/autofill_dialog_views.cc ui::MouseEvent event_copy = event; event 946 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const ui::LocatedEvent& event) { event 948 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return forward_mouse_events_ || event.y() <= child_at(0)->bounds().bottom(); event 1658 chrome/browser/ui/views/autofill/autofill_dialog_views.cc content::NativeWebKeyboardEvent event(©); event 1659 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return delegate_->HandleKeyPressEventInInput(event); event 310 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 311 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 312 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 313 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 314 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 315 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 321 chrome/browser/ui/views/autofill/autofill_dialog_views.h static ui::MouseEvent ProxyEvent(const ui::MouseEvent& event); event 324 chrome/browser/ui/views/autofill/autofill_dialog_views.h bool ShouldForwardEvent(const ui::LocatedEvent& event); event 128 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc bool AutofillPopupBaseView::OnMouseDragged(const ui::MouseEvent& event) { event 129 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc if (HitTestPoint(event.location())) { event 130 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc SetSelection(event.location()); event 142 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc void AutofillPopupBaseView::OnMouseExited(const ui::MouseEvent& event) { event 152 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc void AutofillPopupBaseView::OnMouseMoved(const ui::MouseEvent& event) { event 153 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc if (HitTestPoint(event.location())) event 154 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc SetSelection(event.location()); event 159 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc bool AutofillPopupBaseView::OnMousePressed(const ui::MouseEvent& event) { event 160 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc if (HitTestPoint(event.location())) event 166 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc gfx::Point screen_loc = event.location(); event 169 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc ui::MouseEvent mouse_event = event; event 186 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc void AutofillPopupBaseView::OnMouseReleased(const ui::MouseEvent& event) { event 194 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location())) event 195 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc AcceptSelection(event.location()); event 198 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc void AutofillPopupBaseView::OnGestureEvent(ui::GestureEvent* event) { event 199 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc switch (event->type()) { event 203 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc if (HitTestPoint(event->location())) event 204 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc SetSelection(event->location()); event 210 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc if (HitTestPoint(event->location())) event 211 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc AcceptSelection(event->location()); event 222 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc event->SetHandled(); event 273 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc bool AutofillPopupBaseView::ShouldRepostEvent(const ui::MouseEvent& event) { event 274 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc return delegate_->ShouldRepostEvent(event); event 53 chrome/browser/ui/views/autofill/autofill_popup_base_view.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 54 chrome/browser/ui/views/autofill/autofill_popup_base_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 55 chrome/browser/ui/views/autofill/autofill_popup_base_view.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 56 chrome/browser/ui/views/autofill/autofill_popup_base_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 57 chrome/browser/ui/views/autofill/autofill_popup_base_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 58 chrome/browser/ui/views/autofill/autofill_popup_base_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 80 chrome/browser/ui/views/autofill/autofill_popup_base_view.h bool ShouldRepostEvent(const ui::MouseEvent& event); event 72 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc void SimulateGesture(ui::GestureEvent* event) { event 73 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc view_->OnGestureEvent(event); event 72 chrome/browser/ui/views/autofill/tooltip_icon.cc void TooltipIcon::OnMouseEntered(const ui::MouseEvent& event) { event 78 chrome/browser/ui/views/autofill/tooltip_icon.cc void TooltipIcon::OnMouseExited(const ui::MouseEvent& event) { event 82 chrome/browser/ui/views/autofill/tooltip_icon.cc void TooltipIcon::OnGestureEvent(ui::GestureEvent* event) { event 83 chrome/browser/ui/views/autofill/tooltip_icon.cc if (event->type() == ui::ET_GESTURE_TAP) { event 85 chrome/browser/ui/views/autofill/tooltip_icon.cc event->SetHandled(); event 34 chrome/browser/ui/views/autofill/tooltip_icon.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 35 chrome/browser/ui/views/autofill/tooltip_icon.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 36 chrome/browser/ui/views/autofill/tooltip_icon.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 103 chrome/browser/ui/views/avatar_label.cc bool AvatarLabel::OnMousePressed(const ui::MouseEvent& event) { event 104 chrome/browser/ui/views/avatar_label.cc if (!LabelButton::OnMousePressed(event)) event 23 chrome/browser/ui/views/avatar_label.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 155 chrome/browser/ui/views/avatar_menu_bubble_view.cc virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 156 chrome/browser/ui/views/avatar_menu_bubble_view.cc virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 174 chrome/browser/ui/views/avatar_menu_bubble_view.cc void EditProfileLink::OnMouseEntered(const ui::MouseEvent& event) { event 175 chrome/browser/ui/views/avatar_menu_bubble_view.cc views::Link::OnMouseEntered(event); event 180 chrome/browser/ui/views/avatar_menu_bubble_view.cc void EditProfileLink::OnMouseExited(const ui::MouseEvent& event) { event 181 chrome/browser/ui/views/avatar_menu_bubble_view.cc views::Link::OnMouseExited(event); event 225 chrome/browser/ui/views/avatar_menu_bubble_view.cc virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 226 chrome/browser/ui/views/avatar_menu_bubble_view.cc virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 345 chrome/browser/ui/views/avatar_menu_bubble_view.cc void ProfileItemView::OnMouseEntered(const ui::MouseEvent& event) { event 346 chrome/browser/ui/views/avatar_menu_bubble_view.cc views::CustomButton::OnMouseEntered(event); event 350 chrome/browser/ui/views/avatar_menu_bubble_view.cc void ProfileItemView::OnMouseExited(const ui::MouseEvent& event) { event 351 chrome/browser/ui/views/avatar_menu_bubble_view.cc views::CustomButton::OnMouseExited(event); event 655 chrome/browser/ui/views/avatar_menu_bubble_view.cc const ui::Event& event) { event 671 chrome/browser/ui/views/avatar_menu_bubble_view.cc i, ui::DispositionFromEventFlags(event.flags()) == NEW_WINDOW, event 68 chrome/browser/ui/views/avatar_menu_bubble_view.h const ui::Event& event) OVERRIDE; event 809 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::OnDragEntered(const DropTargetEvent& event) { event 812 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int BookmarkBarView::OnDragUpdated(const DropTargetEvent& event) { event 817 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (drop_info_->x == event.x() && drop_info_->y == event.y())) { event 822 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc drop_info_->x = event.x(); event 823 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc drop_info_->y = event.y(); event 826 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc CalculateDropLocation(event, drop_info_->data, &location); event 879 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int BookmarkBarView::OnPerformDrop(const DropTargetEvent& event) { event 1171 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const ui::Event& event) { event 1173 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc ui::DispositionFromEventFlags(event.flags()); event 1513 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::CalculateDropLocation(const DropTargetEvent& event, event 1527 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int mirrored_x = GetMirroredXInView(event.x()); event 1544 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc event.source_operations(), ops); event 1605 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc profile, event, data, parent, parent->child_count()); event 1612 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc location->operation = chrome::GetBookmarkDropOperation(profile, event, event 177 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; event 178 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; event 180 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; event 242 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h const ui::Event& event) OVERRIDE; event 335 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h void CalculateDropLocation(const ui::DropTargetEvent& event, event 1747 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE { event 311 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc const ui::Event& event) { event 86 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h const ui::Event& event) OVERRIDE; event 79 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc const ui::DropTargetEvent& event, event 95 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc return GetPreferredBookmarkDropOperation(event.source_operations(), event 35 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.h const ui::DropTargetEvent& event, event 174 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc const ui::Event& event) { event 107 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h const ui::Event& event) OVERRIDE; event 125 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc const ui::DropTargetEvent& event, event 127 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc return menu_delegate_->GetDropOperation(item, event, position); event 132 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc const ui::DropTargetEvent& event) { event 133 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc int result = menu_delegate_->OnPerformDrop(menu, position, event); event 93 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h const ui::DropTargetEvent& event, event 97 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h const ui::DropTargetEvent& event) OVERRIDE; event 147 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc const ui::Event& event) { event 148 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc return (event.flags() & ui::EF_LEFT_MOUSE_BUTTON) && event 149 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc ui::DispositionFromEventFlags(event.flags()) == NEW_BACKGROUND_TAB; event 200 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc const ui::DropTargetEvent& event, event 234 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc return chrome::GetBookmarkDropOperation(profile_, event, drop_data_, event 241 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc const ui::DropTargetEvent& event) { event 108 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h const ui::DropTargetEvent& event, event 112 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h const ui::DropTargetEvent& event); event 261 chrome/browser/ui/views/collected_cookies_views.cc const ui::Event& event) { event 58 chrome/browser/ui/views/collected_cookies_views.h const ui::Event& event) OVERRIDE; event 195 chrome/browser/ui/views/conflicting_module_view_win.cc const ui::Event& event) { event 49 chrome/browser/ui/views/conflicting_module_view_win.h const ui::Event& event) OVERRIDE; event 54 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc const content::NativeWebKeyboardEvent& event) OVERRIDE { event 56 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc event, view_->GetFocusManager()); event 75 chrome/browser/ui/views/content_setting_bubble_contents.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 76 chrome/browser/ui/views/content_setting_bubble_contents.cc virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 77 chrome/browser/ui/views/content_setting_bubble_contents.cc virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; event 96 chrome/browser/ui/views/content_setting_bubble_contents.cc const ui::MouseEvent& event) { event 97 chrome/browser/ui/views/content_setting_bubble_contents.cc return event.IsLeftMouseButton() || event.IsMiddleMouseButton(); event 101 chrome/browser/ui/views/content_setting_bubble_contents.cc const ui::MouseEvent& event) { event 102 chrome/browser/ui/views/content_setting_bubble_contents.cc if ((event.IsLeftMouseButton() || event.IsMiddleMouseButton()) && event 103 chrome/browser/ui/views/content_setting_bubble_contents.cc HitTestPoint(event.location())) { event 104 chrome/browser/ui/views/content_setting_bubble_contents.cc parent_->LinkClicked(link_, event.flags()); event 109 chrome/browser/ui/views/content_setting_bubble_contents.cc const ui::MouseEvent& event) { event 405 chrome/browser/ui/views/content_setting_bubble_contents.cc const ui::Event& event) { event 73 chrome/browser/ui/views/content_setting_bubble_contents.h const ui::Event& event) OVERRIDE; event 406 chrome/browser/ui/views/create_application_shortcut_view.cc const ui::Event& event) { event 62 chrome/browser/ui/views/create_application_shortcut_view.h const ui::Event& event) OVERRIDE; event 112 chrome/browser/ui/views/critical_notification_bubble_view.cc views::Button* sender, const ui::Event& event) { event 29 chrome/browser/ui/views/critical_notification_bubble_view.h const ui::Event& event) OVERRIDE; event 94 chrome/browser/ui/views/desktop_media_picker_views.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 131 chrome/browser/ui/views/desktop_media_picker_views.cc virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 322 chrome/browser/ui/views/desktop_media_picker_views.cc bool DesktopMediaSourceView::OnMousePressed(const ui::MouseEvent& event) { event 323 chrome/browser/ui/views/desktop_media_picker_views.cc if (event.GetClickCount() == 1) { event 325 chrome/browser/ui/views/desktop_media_picker_views.cc } else if (event.GetClickCount() == 2) { event 392 chrome/browser/ui/views/desktop_media_picker_views.cc bool DesktopMediaListView::OnKeyPressed(const ui::KeyEvent& event) { event 394 chrome/browser/ui/views/desktop_media_picker_views.cc switch (event.key_code()) { event 404 chrome/browser/ui/views/download/download_item_view.cc bool DownloadItemView::OnMousePressed(const ui::MouseEvent& event) { event 405 chrome/browser/ui/views/download/download_item_view.cc HandlePressEvent(event, event.IsOnlyLeftMouseButton()); event 410 chrome/browser/ui/views/download/download_item_view.cc bool DownloadItemView::OnMouseDragged(const ui::MouseEvent& event) { event 417 chrome/browser/ui/views/download/download_item_view.cc drag_start_point_ = event.location(); event 428 chrome/browser/ui/views/download/download_item_view.cc } else if (ExceededDragThreshold(event.location() - drag_start_point_)) { event 434 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::OnMouseReleased(const ui::MouseEvent& event) { event 435 chrome/browser/ui/views/download/download_item_view.cc HandleClickEvent(event, event.IsOnlyLeftMouseButton()); event 451 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::OnMouseMoved(const ui::MouseEvent& event) { event 456 chrome/browser/ui/views/download/download_item_view.cc bool on_body = !InDropDownButtonXCoordinateRange(event.x()); event 460 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::OnMouseExited(const ui::MouseEvent& event) { event 468 chrome/browser/ui/views/download/download_item_view.cc bool DownloadItemView::OnKeyPressed(const ui::KeyEvent& event) { event 473 chrome/browser/ui/views/download/download_item_view.cc if (event.key_code() == ui::VKEY_SPACE || event 474 chrome/browser/ui/views/download/download_item_view.cc event.key_code() == ui::VKEY_RETURN) { event 507 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::OnGestureEvent(ui::GestureEvent* event) { event 508 chrome/browser/ui/views/download/download_item_view.cc if (event->type() == ui::ET_GESTURE_TAP_DOWN) { event 509 chrome/browser/ui/views/download/download_item_view.cc HandlePressEvent(*event, true); event 510 chrome/browser/ui/views/download/download_item_view.cc event->SetHandled(); event 514 chrome/browser/ui/views/download/download_item_view.cc if (event->type() == ui::ET_GESTURE_TAP) { event 515 chrome/browser/ui/views/download/download_item_view.cc HandleClickEvent(*event, true); event 516 chrome/browser/ui/views/download/download_item_view.cc event->SetHandled(); event 521 chrome/browser/ui/views/download/download_item_view.cc views::View::OnGestureEvent(event); event 534 chrome/browser/ui/views/download/download_item_view.cc const ui::Event& event) { event 1008 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::HandlePressEvent(const ui::LocatedEvent& event, event 1019 chrome/browser/ui/views/download/download_item_view.cc if (InDropDownButtonXCoordinateRange(event.x())) { event 1034 chrome/browser/ui/views/download/download_item_view.cc ShowContextMenuImpl(event.location(), ui::MENU_SOURCE_KEYBOARD); event 1043 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::HandleClickEvent(const ui::LocatedEvent& event, event 1052 chrome/browser/ui/views/download/download_item_view.cc InDropDownButtonXCoordinateRange(event.x()) || event 80 chrome/browser/ui/views/download/download_item_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 81 chrome/browser/ui/views/download/download_item_view.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 82 chrome/browser/ui/views/download/download_item_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 84 chrome/browser/ui/views/download/download_item_view.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 85 chrome/browser/ui/views/download/download_item_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 86 chrome/browser/ui/views/download/download_item_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 93 chrome/browser/ui/views/download/download_item_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 102 chrome/browser/ui/views/download/download_item_view.h const ui::Event& event) OVERRIDE; event 170 chrome/browser/ui/views/download/download_item_view.h void HandlePressEvent(const ui::LocatedEvent& event, bool active_event); event 171 chrome/browser/ui/views/download/download_item_view.h void HandleClickEvent(const ui::LocatedEvent& event, bool active_event); event 361 chrome/browser/ui/views/download/download_shelf_view.cc views::Button* button, const ui::Event& event) { event 80 chrome/browser/ui/views/download/download_shelf_view.h const ui::Event& event) OVERRIDE; event 11 chrome/browser/ui/views/event_utils.cc bool IsPossibleDispositionEvent(const ui::Event& event) { event 12 chrome/browser/ui/views/event_utils.cc return event.IsMouseEvent() && (event.flags() & event 18 chrome/browser/ui/views/event_utils.h CHROME_VIEWS_EXPORT bool IsPossibleDispositionEvent(const ui::Event& event); event 222 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc const ui::Event& event) { event 68 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.h const ui::Event& event) OVERRIDE; event 198 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc const ui::DropTargetEvent& event, event 206 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc if (!drop_data.Read(event.data())) event 219 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc const ui::DropTargetEvent& event) { event 221 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc if (!drop_data.Read(event.data())) event 72 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h const ui::DropTargetEvent& event, event 76 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h const ui::DropTargetEvent& event) OVERRIDE; event 146 chrome/browser/ui/views/extensions/bundle_installed_bubble.cc const ui::Event& event) OVERRIDE { event 165 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc const ui::Event& event) OVERRIDE; event 321 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc const ui::Event& event) OVERRIDE; event 1093 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc const ui::Event& event) { event 1294 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc views::Button* sender, const ui::Event& event) { event 239 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc const ui::Event& event) OVERRIDE { event 237 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc const ui::Event& event) { event 160 chrome/browser/ui/views/extensions/extension_message_bubble_view.h const ui::Event& event) OVERRIDE; event 64 chrome/browser/ui/views/extensions/extension_view_views.cc gfx::NativeCursor ExtensionViewViews::GetCursor(const ui::MouseEvent& event) { event 109 chrome/browser/ui/views/extensions/extension_view_views.cc const content::NativeWebKeyboardEvent& event) { event 110 chrome/browser/ui/views/extensions/extension_view_views.cc unhandled_keyboard_event_handler_.HandleKeyboardEvent(event, event 40 chrome/browser/ui/views/extensions/extension_view_views.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; event 66 chrome/browser/ui/views/extensions/extension_view_views.h void HandleKeyboardEvent(const content::NativeWebKeyboardEvent& event); event 55 chrome/browser/ui/views/extensions/media_galleries_dialog_views.h const ui::Event& event) OVERRIDE; event 235 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc const ui::Event& event) { event 55 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.h const ui::Event& event) OVERRIDE; event 79 chrome/browser/ui/views/find_bar_host.cc NativeWebKeyboardEvent event = GetKeyboardEvent(contents, key_event); event 80 chrome/browser/ui/views/find_bar_host.cc render_view_host->ForwardKeyboardEvent(event); event 360 chrome/browser/ui/views/find_bar_view.cc views::Button* sender, const ui::Event& event) { event 371 chrome/browser/ui/views/find_bar_view.cc if (event.IsMouseEvent()) { event 482 chrome/browser/ui/views/find_bar_view.cc const ui::MouseEvent& event) { event 77 chrome/browser/ui/views/find_bar_view.h const ui::Event& event) OVERRIDE; event 108 chrome/browser/ui/views/find_bar_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 235 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc const ui::Event& event) { event 55 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h const ui::Event& event) OVERRIDE; event 21 chrome/browser/ui/views/frame/browser_command_handler_x11.cc void BrowserCommandHandlerX11::OnMouseEvent(ui::MouseEvent* event) { event 22 chrome/browser/ui/views/frame/browser_command_handler_x11.cc if (event->type() != ui::ET_MOUSE_PRESSED) event 24 chrome/browser/ui/views/frame/browser_command_handler_x11.cc XEvent* xevent = event->native_event(); event 44 chrome/browser/ui/views/frame/browser_command_handler_x11.cc event->SetHandled(); event 19 chrome/browser/ui/views/frame/browser_command_handler_x11.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 58 chrome/browser/ui/views/frame/browser_root_view.cc void BrowserRootView::OnDragEntered(const ui::DropTargetEvent& event) { event 59 chrome/browser/ui/views/frame/browser_root_view.cc if (ShouldForwardToTabStrip(event)) { event 62 chrome/browser/ui/views/frame/browser_root_view.cc MapEventToTabStrip(event, event.data())); event 67 chrome/browser/ui/views/frame/browser_root_view.cc int BrowserRootView::OnDragUpdated(const ui::DropTargetEvent& event) { event 68 chrome/browser/ui/views/frame/browser_root_view.cc if (ShouldForwardToTabStrip(event)) { event 70 chrome/browser/ui/views/frame/browser_root_view.cc MapEventToTabStrip(event, event.data())); event 90 chrome/browser/ui/views/frame/browser_root_view.cc int BrowserRootView::OnPerformDrop(const ui::DropTargetEvent& event) { event 100 chrome/browser/ui/views/frame/browser_root_view.cc if (!event.data().GetURLAndTitle( event 104 chrome/browser/ui/views/frame/browser_root_view.cc if (GetPasteAndGoURL(event.data(), &url)) event 114 chrome/browser/ui/views/frame/browser_root_view.cc MapEventToTabStrip(event, mapped_data)); event 122 chrome/browser/ui/views/frame/browser_root_view.cc bool BrowserRootView::OnMouseWheel(const ui::MouseWheelEvent& event) { event 126 chrome/browser/ui/views/frame/browser_root_view.cc views::View* hit_view = GetEventHandlerForPoint(event.location()); event 130 chrome/browser/ui/views/frame/browser_root_view.cc int scroll_offset = abs(event.y_offset()) > abs(event.x_offset()) ? event 131 chrome/browser/ui/views/frame/browser_root_view.cc event.y_offset() : -event.x_offset(); event 148 chrome/browser/ui/views/frame/browser_root_view.cc return RootView::OnMouseWheel(event); event 151 chrome/browser/ui/views/frame/browser_root_view.cc void BrowserRootView::DispatchGestureEvent(ui::GestureEvent* event) { event 152 chrome/browser/ui/views/frame/browser_root_view.cc if (event->type() == ui::ET_GESTURE_TAP && event 153 chrome/browser/ui/views/frame/browser_root_view.cc event->location().y() <= 0 && event 154 chrome/browser/ui/views/frame/browser_root_view.cc event->location().x() <= browser_view_->GetBounds().width()) { event 158 chrome/browser/ui/views/frame/browser_root_view.cc RootView::DispatchGestureEvent(event); event 162 chrome/browser/ui/views/frame/browser_root_view.cc const ui::DropTargetEvent& event) { event 170 chrome/browser/ui/views/frame/browser_root_view.cc return event.y() < tab_loc_in_host.y() + tabstrip()->height(); event 174 chrome/browser/ui/views/frame/browser_root_view.cc const ui::DropTargetEvent& event, event 176 chrome/browser/ui/views/frame/browser_root_view.cc gfx::Point tab_strip_loc(event.location()); event 179 chrome/browser/ui/views/frame/browser_root_view.cc event.source_operations()); event 36 chrome/browser/ui/views/frame/browser_root_view.h virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; event 37 chrome/browser/ui/views/frame/browser_root_view.h virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; event 39 chrome/browser/ui/views/frame/browser_root_view.h virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; event 41 chrome/browser/ui/views/frame/browser_root_view.h virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; event 44 chrome/browser/ui/views/frame/browser_root_view.h virtual void DispatchGestureEvent(ui::GestureEvent* event) OVERRIDE; event 48 chrome/browser/ui/views/frame/browser_root_view.h bool ShouldForwardToTabStrip(const ui::DropTargetEvent& event); event 53 chrome/browser/ui/views/frame/browser_root_view.h const ui::DropTargetEvent& event, event 1325 chrome/browser/ui/views/frame/browser_view.cc bool BrowserView::PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, event 1329 chrome/browser/ui/views/frame/browser_view.cc if ((event.type != blink::WebInputEvent::RawKeyDown) && event 1330 chrome/browser/ui/views/frame/browser_view.cc (event.type != blink::WebInputEvent::KeyUp)) { event 1341 chrome/browser/ui/views/frame/browser_view.cc static_cast<ui::KeyboardCode>(event.windowsKeyCode), event 1342 chrome/browser/ui/views/frame/browser_view.cc content::GetModifiersFromNativeWebKeyboardEvent(event)); event 1343 chrome/browser/ui/views/frame/browser_view.cc if (event.type == blink::WebInputEvent::KeyUp) event 1381 chrome/browser/ui/views/frame/browser_view.cc if (controller->IsReservedCommandOrKey(id, event)) { event 1388 chrome/browser/ui/views/frame/browser_view.cc if (event.type == blink::WebInputEvent::RawKeyDown) event 1399 chrome/browser/ui/views/frame/browser_view.cc void BrowserView::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) { event 1400 chrome/browser/ui/views/frame/browser_view.cc unhandled_keyboard_event_handler_.HandleKeyboardEvent(event, event 364 chrome/browser/ui/views/frame/browser_view.h const content::NativeWebKeyboardEvent& event, event 367 chrome/browser/ui/views/frame/browser_view.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 287 chrome/browser/ui/views/frame/glass_browser_frame_view.cc const ui::Event& event) { event 51 chrome/browser/ui/views/frame/glass_browser_frame_view.h const ui::Event& event) OVERRIDE; event 364 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc const ui::Event& event) { event 66 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual void ButtonPressed(views::Button* sender, const ui::Event& event) event 103 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc const ui::Event& event) OVERRIDE; event 204 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc const ui::Event& event) { event 170 chrome/browser/ui/views/global_error_bubble_view.cc const ui::Event& event) { event 29 chrome/browser/ui/views/global_error_bubble_view.h const ui::Event& event) OVERRIDE; event 363 chrome/browser/ui/views/hung_renderer_view.cc views::Button* sender, const ui::Event& event) { event 134 chrome/browser/ui/views/hung_renderer_view.h const ui::Event& event) OVERRIDE; event 144 chrome/browser/ui/views/infobars/after_translate_infobar.cc const ui::Event& event) { event 150 chrome/browser/ui/views/infobars/after_translate_infobar.cc TranslateInfoBarBase::ButtonPressed(sender, event); event 32 chrome/browser/ui/views/infobars/after_translate_infobar.h const ui::Event& event) OVERRIDE; event 147 chrome/browser/ui/views/infobars/before_translate_infobar.cc const ui::Event& event) { event 161 chrome/browser/ui/views/infobars/before_translate_infobar.cc TranslateInfoBarBase::ButtonPressed(sender, event); event 31 chrome/browser/ui/views/infobars/before_translate_infobar.h const ui::Event& event) OVERRIDE; event 93 chrome/browser/ui/views/infobars/confirm_infobar.cc const ui::Event& event) { event 104 chrome/browser/ui/views/infobars/confirm_infobar.cc InfoBarView::ButtonPressed(sender, event); event 35 chrome/browser/ui/views/infobars/confirm_infobar.h const ui::Event& event) OVERRIDE; event 329 chrome/browser/ui/views/infobars/infobar_view.cc const ui::Event& event) { event 86 chrome/browser/ui/views/infobars/infobar_view.h const ui::Event& event) OVERRIDE; event 55 chrome/browser/ui/views/infobars/translate_message_infobar.cc const ui::Event& event) { event 61 chrome/browser/ui/views/infobars/translate_message_infobar.cc TranslateInfoBarBase::ButtonPressed(sender, event); event 23 chrome/browser/ui/views/infobars/translate_message_infobar.h const ui::Event& event) OVERRIDE; event 64 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc void JavascriptAppModalEventBlockerX11::OnKeyEvent(ui::KeyEvent* event) { event 65 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc if (ShouldStopPropagationTo(event->target())) event 66 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc event->StopPropagation(); event 69 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc void JavascriptAppModalEventBlockerX11::OnMouseEvent(ui::MouseEvent* event) { event 70 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc if (event->type() != ui::ET_MOUSE_CAPTURE_CHANGED && event 71 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc ShouldStopPropagationTo(event->target())) { event 72 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc if (event->type() == ui::ET_MOUSE_PRESSED) event 74 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc event->StopPropagation(); event 78 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc void JavascriptAppModalEventBlockerX11::OnScrollEvent(ui::ScrollEvent* event) { event 79 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc if (ShouldStopPropagationTo(event->target())) event 80 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc event->StopPropagation(); event 83 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc void JavascriptAppModalEventBlockerX11::OnTouchEvent(ui::TouchEvent* event) { event 84 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc if (event->type() != ui::ET_TOUCH_CANCELLED && event 85 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc ShouldStopPropagationTo(event->target())) { event 86 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc if (event->type() == ui::ET_TOUCH_PRESSED) event 88 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.cc event->StopPropagation(); event 31 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 32 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 33 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 34 chrome/browser/ui/views/javascript_app_modal_event_blocker_x11.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 36 chrome/browser/ui/views/location_bar/bubble_icon_view.cc bool BubbleIconView::OnMousePressed(const ui::MouseEvent& event) { event 45 chrome/browser/ui/views/location_bar/bubble_icon_view.cc void BubbleIconView::OnMouseReleased(const ui::MouseEvent& event) { event 54 chrome/browser/ui/views/location_bar/bubble_icon_view.cc if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location())) { event 60 chrome/browser/ui/views/location_bar/bubble_icon_view.cc bool BubbleIconView::OnKeyPressed(const ui::KeyEvent& event) { event 61 chrome/browser/ui/views/location_bar/bubble_icon_view.cc if (event.key_code() == ui::VKEY_SPACE || event 62 chrome/browser/ui/views/location_bar/bubble_icon_view.cc event.key_code() == ui::VKEY_RETURN) { event 70 chrome/browser/ui/views/location_bar/bubble_icon_view.cc void BubbleIconView::OnGestureEvent(ui::GestureEvent* event) { event 71 chrome/browser/ui/views/location_bar/bubble_icon_view.cc if (event->type() == ui::ET_GESTURE_TAP) { event 74 chrome/browser/ui/views/location_bar/bubble_icon_view.cc event->SetHandled(); event 34 chrome/browser/ui/views/location_bar/bubble_icon_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 35 chrome/browser/ui/views/location_bar/bubble_icon_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 36 chrome/browser/ui/views/location_bar/bubble_icon_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 39 chrome/browser/ui/views/location_bar/bubble_icon_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 192 chrome/browser/ui/views/location_bar/content_setting_image_view.cc bool ContentSettingImageView::OnMousePressed(const ui::MouseEvent& event) { event 198 chrome/browser/ui/views/location_bar/content_setting_image_view.cc void ContentSettingImageView::OnMouseReleased(const ui::MouseEvent& event) { event 199 chrome/browser/ui/views/location_bar/content_setting_image_view.cc if (HitTestPoint(event.location())) event 203 chrome/browser/ui/views/location_bar/content_setting_image_view.cc void ContentSettingImageView::OnGestureEvent(ui::GestureEvent* event) { event 204 chrome/browser/ui/views/location_bar/content_setting_image_view.cc if (event->type() == ui::ET_GESTURE_TAP) event 206 chrome/browser/ui/views/location_bar/content_setting_image_view.cc if ((event->type() == ui::ET_GESTURE_TAP) || event 207 chrome/browser/ui/views/location_bar/content_setting_image_view.cc (event->type() == ui::ET_GESTURE_TAP_DOWN)) event 208 chrome/browser/ui/views/location_bar/content_setting_image_view.cc event->SetHandled(); event 73 chrome/browser/ui/views/location_bar/content_setting_image_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 74 chrome/browser/ui/views/location_bar/content_setting_image_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 75 chrome/browser/ui/views/location_bar/content_setting_image_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 35 chrome/browser/ui/views/location_bar/ev_bubble_view.cc bool EVBubbleView::OnMousePressed(const ui::MouseEvent& event) { event 41 chrome/browser/ui/views/location_bar/ev_bubble_view.cc void EVBubbleView::OnMouseReleased(const ui::MouseEvent& event) { event 42 chrome/browser/ui/views/location_bar/ev_bubble_view.cc page_info_helper_.ProcessEvent(event); event 45 chrome/browser/ui/views/location_bar/ev_bubble_view.cc void EVBubbleView::OnGestureEvent(ui::GestureEvent* event) { event 46 chrome/browser/ui/views/location_bar/ev_bubble_view.cc if (event->type() == ui::ET_GESTURE_TAP) { event 47 chrome/browser/ui/views/location_bar/ev_bubble_view.cc page_info_helper_.ProcessEvent(*event); event 48 chrome/browser/ui/views/location_bar/ev_bubble_view.cc event->SetHandled(); event 24 chrome/browser/ui/views/location_bar/ev_bubble_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 25 chrome/browser/ui/views/location_bar/ev_bubble_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 28 chrome/browser/ui/views/location_bar/ev_bubble_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 103 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc void IconLabelBubbleView::OnMouseEntered(const ui::MouseEvent& event) { event 109 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc void IconLabelBubbleView::OnMouseExited(const ui::MouseEvent& event) { event 52 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 53 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 18 chrome/browser/ui/views/location_bar/location_bar_decoration_view.cc bool LocationBarDecorationView::OnMousePressed(const ui::MouseEvent& event) { event 19 chrome/browser/ui/views/location_bar/location_bar_decoration_view.cc if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location())) { event 28 chrome/browser/ui/views/location_bar/location_bar_decoration_view.cc void LocationBarDecorationView::OnMouseReleased(const ui::MouseEvent& event) { event 29 chrome/browser/ui/views/location_bar/location_bar_decoration_view.cc if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location()) && event 35 chrome/browser/ui/views/location_bar/location_bar_decoration_view.cc bool LocationBarDecorationView::OnKeyPressed(const ui::KeyEvent& event) { event 36 chrome/browser/ui/views/location_bar/location_bar_decoration_view.cc if (event.key_code() == ui::VKEY_SPACE || event 37 chrome/browser/ui/views/location_bar/location_bar_decoration_view.cc event.key_code() == ui::VKEY_RETURN) { event 45 chrome/browser/ui/views/location_bar/location_bar_decoration_view.cc void LocationBarDecorationView::OnGestureEvent(ui::GestureEvent* event) { event 46 chrome/browser/ui/views/location_bar/location_bar_decoration_view.cc if (event->type() == ui::ET_GESTURE_TAP) { event 48 chrome/browser/ui/views/location_bar/location_bar_decoration_view.cc event->SetHandled(); event 26 chrome/browser/ui/views/location_bar/location_bar_decoration_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 27 chrome/browser/ui/views/location_bar/location_bar_decoration_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 28 chrome/browser/ui/views/location_bar/location_bar_decoration_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 29 chrome/browser/ui/views/location_bar/location_bar_decoration_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 1270 chrome/browser/ui/views/location_bar/location_bar_view.cc const ui::Event& event) { event 1279 chrome/browser/ui/views/location_bar/location_bar_view.cc ui::DispositionFromEventFlags(event.flags()), false); event 278 chrome/browser/ui/views/location_bar/location_bar_view.h const ui::Event& event) OVERRIDE; event 22 chrome/browser/ui/views/location_bar/location_icon_view.cc bool LocationIconView::OnMousePressed(const ui::MouseEvent& event) { event 23 chrome/browser/ui/views/location_bar/location_icon_view.cc if (event.IsOnlyMiddleMouseButton() && event 39 chrome/browser/ui/views/location_bar/location_icon_view.cc void LocationIconView::OnMouseReleased(const ui::MouseEvent& event) { event 40 chrome/browser/ui/views/location_bar/location_icon_view.cc if (event.IsOnlyMiddleMouseButton()) event 42 chrome/browser/ui/views/location_bar/location_icon_view.cc OnClickOrTap(event); event 45 chrome/browser/ui/views/location_bar/location_icon_view.cc void LocationIconView::OnGestureEvent(ui::GestureEvent* event) { event 46 chrome/browser/ui/views/location_bar/location_icon_view.cc if (event->type() != ui::ET_GESTURE_TAP) event 48 chrome/browser/ui/views/location_bar/location_icon_view.cc OnClickOrTap(*event); event 49 chrome/browser/ui/views/location_bar/location_icon_view.cc event->SetHandled(); event 52 chrome/browser/ui/views/location_bar/location_icon_view.cc void LocationIconView::OnClickOrTap(const ui::LocatedEvent& event) { event 61 chrome/browser/ui/views/location_bar/location_icon_view.cc page_info_helper_.ProcessEvent(event); event 22 chrome/browser/ui/views/location_bar/location_icon_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 23 chrome/browser/ui/views/location_bar/location_icon_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 26 chrome/browser/ui/views/location_bar/location_icon_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 36 chrome/browser/ui/views/location_bar/location_icon_view.h void OnClickOrTap(const ui::LocatedEvent& event); event 59 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc bool OpenPDFInReaderView::OnMousePressed(const ui::MouseEvent& event) { event 64 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc void OpenPDFInReaderView::OnMouseReleased(const ui::MouseEvent& event) { event 65 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location())) event 69 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc bool OpenPDFInReaderView::OnKeyPressed(const ui::KeyEvent& event) { event 70 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc if (event.key_code() != ui::VKEY_SPACE && event 71 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc event.key_code() != ui::VKEY_RETURN) { event 33 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 34 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 35 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 366 chrome/browser/ui/views/location_bar/origin_chip_view.cc const ui::Event& event) { event 368 chrome/browser/ui/views/location_bar/origin_chip_view.cc if (event.IsMouseEvent() || (event.type() == ui::ET_GESTURE_TAP)) { event 371 chrome/browser/ui/views/location_bar/origin_chip_view.cc static_cast<const ui::LocatedEvent&>(event); event 82 chrome/browser/ui/views/location_bar/origin_chip_view.h const ui::Event& event) OVERRIDE; event 120 chrome/browser/ui/views/location_bar/page_action_image_view.cc bool PageActionImageView::OnMousePressed(const ui::MouseEvent& event) { event 127 chrome/browser/ui/views/location_bar/page_action_image_view.cc void PageActionImageView::OnMouseReleased(const ui::MouseEvent& event) { event 128 chrome/browser/ui/views/location_bar/page_action_image_view.cc if (!HitTestPoint(event.location())) event 131 chrome/browser/ui/views/location_bar/page_action_image_view.cc if (event.IsRightMouseButton()) { event 140 chrome/browser/ui/views/location_bar/page_action_image_view.cc bool PageActionImageView::OnKeyPressed(const ui::KeyEvent& event) { event 141 chrome/browser/ui/views/location_bar/page_action_image_view.cc if (event.key_code() == ui::VKEY_SPACE || event 142 chrome/browser/ui/views/location_bar/page_action_image_view.cc event.key_code() == ui::VKEY_RETURN) { event 53 chrome/browser/ui/views/location_bar/page_action_image_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 54 chrome/browser/ui/views/location_bar/page_action_image_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 55 chrome/browser/ui/views/location_bar/page_action_image_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 25 chrome/browser/ui/views/location_bar/page_info_helper.cc void PageInfoHelper::ProcessEvent(const ui::LocatedEvent& event) { event 26 chrome/browser/ui/views/location_bar/page_info_helper.cc if (!owner_->HitTestPoint(event.location())) event 26 chrome/browser/ui/views/location_bar/page_info_helper.h void ProcessEvent(const ui::LocatedEvent& event); event 183 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc void ZoomBubbleView::OnMouseEntered(const ui::MouseEvent& event) { event 188 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc void ZoomBubbleView::OnMouseExited(const ui::MouseEvent& event) { event 193 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc void ZoomBubbleView::OnGestureEvent(ui::GestureEvent* event) { event 195 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc event->type() != ui::ET_GESTURE_TAP) { event 202 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc event->SetHandled(); event 206 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc const ui::Event& event) { event 73 chrome/browser/ui/views/location_bar/zoom_bubble_view.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 74 chrome/browser/ui/views/location_bar/zoom_bubble_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 77 chrome/browser/ui/views/location_bar/zoom_bubble_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 81 chrome/browser/ui/views/location_bar/zoom_bubble_view.h const ui::Event& event) OVERRIDE; event 55 chrome/browser/ui/views/location_bar/zoom_view.cc bool ZoomView::OnMousePressed(const ui::MouseEvent& event) { event 60 chrome/browser/ui/views/location_bar/zoom_view.cc void ZoomView::OnMouseReleased(const ui::MouseEvent& event) { event 61 chrome/browser/ui/views/location_bar/zoom_view.cc if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location())) event 65 chrome/browser/ui/views/location_bar/zoom_view.cc bool ZoomView::OnKeyPressed(const ui::KeyEvent& event) { event 66 chrome/browser/ui/views/location_bar/zoom_view.cc if (event.key_code() != ui::VKEY_SPACE && event 67 chrome/browser/ui/views/location_bar/zoom_view.cc event.key_code() != ui::VKEY_RETURN) { event 75 chrome/browser/ui/views/location_bar/zoom_view.cc void ZoomView::OnGestureEvent(ui::GestureEvent* event) { event 76 chrome/browser/ui/views/location_bar/zoom_view.cc if (event->type() == ui::ET_GESTURE_TAP) { event 78 chrome/browser/ui/views/location_bar/zoom_view.cc event->SetHandled(); event 35 chrome/browser/ui/views/location_bar/zoom_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 36 chrome/browser/ui/views/location_bar/zoom_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 37 chrome/browser/ui/views/location_bar/zoom_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 40 chrome/browser/ui/views/location_bar/zoom_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 115 chrome/browser/ui/views/network_profile_bubble_view.cc const ui::Event& event) { event 35 chrome/browser/ui/views/network_profile_bubble_view.h const ui::Event& event) OVERRIDE; event 48 chrome/browser/ui/views/notifications/balloon_collection_views.cc const base::NativeEvent& event) { event 52 chrome/browser/ui/views/notifications/balloon_collection_views.cc void BalloonCollectionImpl::DidProcessEvent(const base::NativeEvent& event) { event 54 chrome/browser/ui/views/notifications/balloon_collection_views.cc switch (event.message) { event 64 chrome/browser/ui/views/notifications/balloon_collection_views.cc switch (ui::EventTypeFromNative(event)) { event 316 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const ui::MouseEvent& event) { event 318 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc if (event.IsLeftMouseButton() || event.IsMiddleMouseButton()) event 319 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc UpdateLineEvent(event, event.IsLeftMouseButton()); event 324 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const ui::MouseEvent& event) { event 325 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc if (event.IsLeftMouseButton() || event.IsMiddleMouseButton()) event 326 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc UpdateLineEvent(event, !ignore_mouse_drag_ && event.IsLeftMouseButton()); event 331 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const ui::MouseEvent& event) { event 337 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc if (event.IsOnlyMiddleMouseButton() || event.IsOnlyLeftMouseButton()) { event 338 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc OpenSelectedLine(event, event.IsOnlyLeftMouseButton() ? CURRENT_TAB : event 348 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const ui::MouseEvent& event) { event 349 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc model_->SetHoveredLine(GetIndexForPoint(event.location())); event 353 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const ui::MouseEvent& event) { event 354 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc model_->SetHoveredLine(GetIndexForPoint(event.location())); event 358 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const ui::MouseEvent& event) { event 362 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc void OmniboxPopupContentsView::OnGestureEvent(ui::GestureEvent* event) { event 363 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc switch (event->type()) { event 367 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc UpdateLineEvent(*event, true); event 371 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc OpenSelectedLine(*event, CURRENT_TAB); event 376 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc event->SetHandled(); event 493 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const ui::LocatedEvent& event, event 495 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc size_t index = GetIndexForPoint(event.location()); event 502 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const ui::LocatedEvent& event, event 504 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc size_t index = GetIndexForPoint(event.location()); event 58 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 59 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 60 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 62 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 63 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 64 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 67 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 126 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h void UpdateLineEvent(const ui::LocatedEvent& event, event 131 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h void OpenSelectedLine(const ui::LocatedEvent& event, event 212 chrome/browser/ui/views/omnibox/omnibox_view_views.cc bool OmniboxViewViews::OnMousePressed(const ui::MouseEvent& event) { event 214 chrome/browser/ui/views/omnibox/omnibox_view_views.cc (event.IsOnlyLeftMouseButton() || event.IsOnlyRightMouseButton()) && event 230 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return views::Textfield::OnMousePressed(event); event 233 chrome/browser/ui/views/omnibox/omnibox_view_views.cc bool OmniboxViewViews::OnMouseDragged(const ui::MouseEvent& event) { event 234 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (ExceededDragThreshold(event.location() - last_click_location())) event 236 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return views::Textfield::OnMouseDragged(event); event 239 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::OnMouseReleased(const ui::MouseEvent& event) { event 240 chrome/browser/ui/views/omnibox/omnibox_view_views.cc views::Textfield::OnMouseReleased(event); event 241 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (event.IsOnlyLeftMouseButton() || event.IsOnlyRightMouseButton()) { event 257 chrome/browser/ui/views/omnibox/omnibox_view_views.cc bool OmniboxViewViews::OnKeyPressed(const ui::KeyEvent& event) { event 260 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (event.IsUnicodeKeyCode()) event 261 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return views::Textfield::OnKeyPressed(event); event 263 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const bool shift = event.IsShiftDown(); event 264 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const bool control = event.IsControlDown(); event 265 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const bool alt = event.IsAltDown() || event.IsAltGrDown(); event 266 chrome/browser/ui/views/omnibox/omnibox_view_views.cc switch (event.key_code()) { event 317 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return views::Textfield::OnKeyPressed(event) || HandleEarlyTabActions(event); event 320 chrome/browser/ui/views/omnibox/omnibox_view_views.cc bool OmniboxViewViews::OnKeyReleased(const ui::KeyEvent& event) { event 322 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (event.key_code() == ui::VKEY_CONTROL) event 324 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return views::Textfield::OnKeyReleased(event); event 327 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::OnGestureEvent(ui::GestureEvent* event) { event 328 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (!HasFocus() && event->type() == ui::ET_GESTURE_TAP_DOWN) { event 336 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (select_all_on_gesture_tap_ && event->type() == ui::ET_GESTURE_TAP) event 339 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (event->type() == ui::ET_GESTURE_TAP || event 340 chrome/browser/ui/views/omnibox/omnibox_view_views.cc event->type() == ui::ET_GESTURE_TAP_CANCEL || event 341 chrome/browser/ui/views/omnibox/omnibox_view_views.cc event->type() == ui::ET_GESTURE_TWO_FINGER_TAP || event 342 chrome/browser/ui/views/omnibox/omnibox_view_views.cc event->type() == ui::ET_GESTURE_SCROLL_BEGIN || event 343 chrome/browser/ui/views/omnibox/omnibox_view_views.cc event->type() == ui::ET_GESTURE_PINCH_BEGIN || event 344 chrome/browser/ui/views/omnibox/omnibox_view_views.cc event->type() == ui::ET_GESTURE_LONG_PRESS || event 345 chrome/browser/ui/views/omnibox/omnibox_view_views.cc event->type() == ui::ET_GESTURE_LONG_TAP) { event 349 chrome/browser/ui/views/omnibox/omnibox_view_views.cc views::Textfield::OnGestureEvent(event); event 359 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const ui::KeyEvent& event) { event 360 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (views::FocusManager::IsTabTraversalKeyEvent(event) && event 361 chrome/browser/ui/views/omnibox/omnibox_view_views.cc ((model()->is_keyword_hint() && !event.IsShiftDown()) || event 365 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return Textfield::SkipDefaultKeyEventProcessing(event); event 373 chrome/browser/ui/views/omnibox/omnibox_view_views.cc bool OmniboxViewViews::HandleEarlyTabActions(const ui::KeyEvent& event) { event 376 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (views::FocusManager::IsTabTraversalKeyEvent(event)) { event 377 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (model()->is_keyword_hint() && !event.IsShiftDown()) { event 382 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (event.IsShiftDown() && event 387 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnUpOrDownKeyPressed(event.IsShiftDown() ? -1 : 1); event 823 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const ui::KeyEvent& event) { event 826 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (event.key_code() == ui::VKEY_BACK) { event 836 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (event.key_code() == ui::VKEY_DELETE && !event.IsAltDown()) { event 846 chrome/browser/ui/views/omnibox/omnibox_view_views.cc event.key_code() == ui::VKEY_RIGHT) || event 848 chrome/browser/ui/views/omnibox/omnibox_view_views.cc event.key_code() == ui::VKEY_LEFT)) { event 67 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 68 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 69 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 70 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 71 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual bool OnKeyReleased(const ui::KeyEvent& event) OVERRIDE; event 72 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 75 chrome/browser/ui/views/omnibox/omnibox_view_views.h const ui::KeyEvent& event) OVERRIDE; event 182 chrome/browser/ui/views/omnibox/omnibox_view_views.h bool HandleEarlyTabActions(const ui::KeyEvent& event); event 67 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc const ui::Event& event) { event 32 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.h const ui::Event& event) OVERRIDE; event 233 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc views::Button* sender, const ui::Event& event) { event 234 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc if (event.IsMouseEvent() && event 235 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc !(static_cast<const ui::MouseEvent*>(&event))->IsOnlyLeftMouseButton()) { event 53 chrome/browser/ui/views/outdated_upgrade_bubble_view.h const ui::Event& event) OVERRIDE; event 565 chrome/browser/ui/views/panels/panel_frame_view.cc bool PanelFrameView::OnMousePressed(const ui::MouseEvent& event) { event 566 chrome/browser/ui/views/panels/panel_frame_view.cc if (event.IsOnlyLeftMouseButton()) { event 569 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Point mouse_location = event.location(); event 578 chrome/browser/ui/views/panels/panel_frame_view.cc return NonClientFrameView::OnMousePressed(event); event 581 chrome/browser/ui/views/panels/panel_frame_view.cc bool PanelFrameView::OnMouseDragged(const ui::MouseEvent& event) { event 591 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Point mouse_location = event.location(); event 597 chrome/browser/ui/views/panels/panel_frame_view.cc return NonClientFrameView::OnMouseDragged(event); event 600 chrome/browser/ui/views/panels/panel_frame_view.cc void PanelFrameView::OnMouseReleased(const ui::MouseEvent& event) { event 602 chrome/browser/ui/views/panels/panel_frame_view.cc event.IsControlDown() ? panel::APPLY_TO_ALL : panel::NO_MODIFIER)) event 604 chrome/browser/ui/views/panels/panel_frame_view.cc NonClientFrameView::OnMouseReleased(event); event 614 chrome/browser/ui/views/panels/panel_frame_view.cc const ui::Event& event) { event 619 chrome/browser/ui/views/panels/panel_frame_view.cc event.IsControlDown() ? panel::APPLY_TO_ALL : panel::NO_MODIFIER; event 76 chrome/browser/ui/views/panels/panel_frame_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 77 chrome/browser/ui/views/panels/panel_frame_view.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 78 chrome/browser/ui/views/panels/panel_frame_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 82 chrome/browser/ui/views/panels/panel_frame_view.h virtual void ButtonPressed(views::Button* sender, const ui::Event& event) event 571 chrome/browser/ui/views/panels/panel_view.cc const content::NativeWebKeyboardEvent& event) { event 577 chrome/browser/ui/views/panels/panel_view.cc static_cast<ui::KeyboardCode>(event.windowsKeyCode), event 578 chrome/browser/ui/views/panels/panel_view.cc content::GetModifiersFromNativeWebKeyboardEvent(event)); event 579 chrome/browser/ui/views/panels/panel_view.cc if (event.type == blink::WebInputEvent::KeyUp) event 63 chrome/browser/ui/views/panels/panel_view.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 217 chrome/browser/ui/views/password_generation_bubble_view.cc const ui::Event& event) { event 64 chrome/browser/ui/views/password_generation_bubble_view.h const ui::Event& event) OVERRIDE; event 175 chrome/browser/ui/views/passwords/manage_password_item_view.cc const ui::Event& event) { event 45 chrome/browser/ui/views/passwords/manage_password_item_view.h const ui::Event& event) OVERRIDE; event 400 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc const ui::Event& event) { event 104 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h const ui::Event& event) OVERRIDE; event 68 chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc void ManagePasswordsIconView::OnGestureEvent(ui::GestureEvent* event) { event 69 chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc if (event->type() == ui::ET_GESTURE_TAP) { event 74 chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc event->SetHandled(); event 78 chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc bool ManagePasswordsIconView::OnMousePressed(const ui::MouseEvent& event) { event 83 chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc void ManagePasswordsIconView::OnMouseReleased(const ui::MouseEvent& event) { event 84 chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location())) { event 41 chrome/browser/ui/views/passwords/manage_passwords_icon_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 42 chrome/browser/ui/views/passwords/manage_passwords_icon_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 43 chrome/browser/ui/views/passwords/manage_passwords_icon_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 193 chrome/browser/ui/views/profile_chooser_view.cc virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE { event 198 chrome/browser/ui/views/profile_chooser_view.cc virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE { event 257 chrome/browser/ui/views/profile_chooser_view.cc const ui::Event& event) OVERRIDE { event 267 chrome/browser/ui/views/profile_chooser_view.cc virtual bool OnKeyReleased(const ui::KeyEvent& event) OVERRIDE { event 558 chrome/browser/ui/views/profile_chooser_view.cc const ui::Event& event) { event 601 chrome/browser/ui/views/profile_chooser_view.cc ui::DispositionFromEventFlags(event.flags()) == NEW_WINDOW, event 103 chrome/browser/ui/views/profile_chooser_view.h const ui::Event& event) OVERRIDE; event 384 chrome/browser/ui/views/profile_reset_bubble_view.cc const ui::Event& event) { event 74 chrome/browser/ui/views/profile_reset_bubble_view.h const ui::Event& event) OVERRIDE; event 192 chrome/browser/ui/views/sad_tab_view.cc const ui::Event& event) { event 48 chrome/browser/ui/views/sad_tab_view.h const ui::Event& event) OVERRIDE; event 105 chrome/browser/ui/views/screen_capture_notification_ui_views.cc const ui::Event& event) OVERRIDE; event 315 chrome/browser/ui/views/screen_capture_notification_ui_views.cc const ui::Event& event) { event 62 chrome/browser/ui/views/speech_recognition_bubble_views.cc const ui::Event& event) OVERRIDE; event 218 chrome/browser/ui/views/speech_recognition_bubble_views.cc const ui::Event& event) { event 264 chrome/browser/ui/views/ssl_client_certificate_selector.cc views::Button* sender, const ui::Event& event) { event 70 chrome/browser/ui/views/ssl_client_certificate_selector.h const ui::Event& event) OVERRIDE; event 378 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc const ui::Event& event) { event 83 chrome/browser/ui/views/sync/one_click_signin_bubble_view.h const ui::Event& event) OVERRIDE; event 152 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc const ui::MouseEvent event(ui::ET_MOUSE_PRESSED, event 155 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc listener->ButtonPressed(view->ok_button_, event); event 170 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc const ui::MouseEvent event(ui::ET_MOUSE_PRESSED, event 173 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc listener->ButtonPressed(view->ok_button_, event); event 190 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc const ui::MouseEvent event(ui::ET_MOUSE_PRESSED, event 193 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc listener->ButtonPressed(view->undo_button_, event); event 256 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc const ui::Event& event) { event 65 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h virtual void ButtonPressed(views::Button*, const ui::Event& event) OVERRIDE; event 378 chrome/browser/ui/views/tabs/tab.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE { event 379 chrome/browser/ui/views/tabs/tab.cc tab_->controller_->OnMouseEventInTab(this, event); event 381 chrome/browser/ui/views/tabs/tab.cc bool handled = ImageButton::OnMousePressed(event); event 384 chrome/browser/ui/views/tabs/tab.cc return event.IsOnlyMiddleMouseButton() ? false : handled; event 387 chrome/browser/ui/views/tabs/tab.cc virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE { event 388 chrome/browser/ui/views/tabs/tab.cc tab_->controller_->OnMouseEventInTab(this, event); event 389 chrome/browser/ui/views/tabs/tab.cc CustomButton::OnMouseMoved(event); event 392 chrome/browser/ui/views/tabs/tab.cc virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE { event 393 chrome/browser/ui/views/tabs/tab.cc tab_->controller_->OnMouseEventInTab(this, event); event 394 chrome/browser/ui/views/tabs/tab.cc CustomButton::OnMouseReleased(event); event 397 chrome/browser/ui/views/tabs/tab.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 400 chrome/browser/ui/views/tabs/tab.cc ImageButton::OnGestureEvent(event); event 401 chrome/browser/ui/views/tabs/tab.cc event->SetHandled(); event 735 chrome/browser/ui/views/tabs/tab.cc void Tab::ButtonPressed(views::Button* sender, const ui::Event& event) { event 737 chrome/browser/ui/views/tabs/tab.cc (event.type() == ui::ET_MOUSE_RELEASED && event 738 chrome/browser/ui/views/tabs/tab.cc (event.flags() & ui::EF_FROM_TOUCH) == 0) ? CLOSE_TAB_FROM_MOUSE : event 742 chrome/browser/ui/views/tabs/tab.cc if (event.type() == ui::ET_GESTURE_TAP) event 950 chrome/browser/ui/views/tabs/tab.cc bool Tab::OnMousePressed(const ui::MouseEvent& event) { event 951 chrome/browser/ui/views/tabs/tab.cc controller_->OnMouseEventInTab(this, event); event 954 chrome/browser/ui/views/tabs/tab.cc if (event.IsOnlyLeftMouseButton() || event 955 chrome/browser/ui/views/tabs/tab.cc (event.IsOnlyRightMouseButton() && event.flags() & ui::EF_FROM_TOUCH)) { event 962 chrome/browser/ui/views/tabs/tab.cc ui::MouseEvent event_in_parent(event, static_cast<View*>(this), parent()); event 964 chrome/browser/ui/views/tabs/tab.cc if (event.IsShiftDown() && event.IsControlDown()) { event 966 chrome/browser/ui/views/tabs/tab.cc } else if (event.IsShiftDown()) { event 968 chrome/browser/ui/views/tabs/tab.cc } else if (event.IsControlDown()) { event 987 chrome/browser/ui/views/tabs/tab.cc bool Tab::OnMouseDragged(const ui::MouseEvent& event) { event 988 chrome/browser/ui/views/tabs/tab.cc controller_->ContinueDrag(this, event); event 992 chrome/browser/ui/views/tabs/tab.cc void Tab::OnMouseReleased(const ui::MouseEvent& event) { event 993 chrome/browser/ui/views/tabs/tab.cc controller_->OnMouseEventInTab(this, event); event 1006 chrome/browser/ui/views/tabs/tab.cc if (event.IsMiddleMouseButton()) { event 1007 chrome/browser/ui/views/tabs/tab.cc if (HitTestPoint(event.location())) { event 1014 chrome/browser/ui/views/tabs/tab.cc Tab* closest_tab = controller_->GetTabAt(this, event.location()); event 1018 chrome/browser/ui/views/tabs/tab.cc } else if (event.IsOnlyLeftMouseButton() && !event.IsShiftDown() && event 1019 chrome/browser/ui/views/tabs/tab.cc !event.IsControlDown()) { event 1031 chrome/browser/ui/views/tabs/tab.cc void Tab::OnMouseEntered(const ui::MouseEvent& event) { event 1035 chrome/browser/ui/views/tabs/tab.cc void Tab::OnMouseMoved(const ui::MouseEvent& event) { event 1036 chrome/browser/ui/views/tabs/tab.cc hover_controller_.SetLocation(event.location()); event 1037 chrome/browser/ui/views/tabs/tab.cc controller_->OnMouseEventInTab(this, event); event 1040 chrome/browser/ui/views/tabs/tab.cc void Tab::OnMouseExited(const ui::MouseEvent& event) { event 1044 chrome/browser/ui/views/tabs/tab.cc void Tab::OnGestureEvent(ui::GestureEvent* event) { event 1045 chrome/browser/ui/views/tabs/tab.cc switch (event->type()) { event 1047 chrome/browser/ui/views/tabs/tab.cc if (event->details().touch_points() != 1) event 1051 chrome/browser/ui/views/tabs/tab.cc ui::GestureEvent event_in_parent(*event, static_cast<View*>(this), event 1058 chrome/browser/ui/views/tabs/tab.cc gfx::Point loc(event->location()); event 1071 chrome/browser/ui/views/tabs/tab.cc controller_->ContinueDrag(this, *event); event 1077 chrome/browser/ui/views/tabs/tab.cc event->SetHandled(); event 157 chrome/browser/ui/views/tabs/tab.h const ui::Event& event) OVERRIDE; event 176 chrome/browser/ui/views/tabs/tab.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 177 chrome/browser/ui/views/tabs/tab.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 178 chrome/browser/ui/views/tabs/tab.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 180 chrome/browser/ui/views/tabs/tab.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 181 chrome/browser/ui/views/tabs/tab.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 182 chrome/browser/ui/views/tabs/tab.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 186 chrome/browser/ui/views/tabs/tab.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 65 chrome/browser/ui/views/tabs/tab_controller.h const ui::LocatedEvent& event, event 70 chrome/browser/ui/views/tabs/tab_controller.h const ui::LocatedEvent& event) = 0; event 82 chrome/browser/ui/views/tabs/tab_controller.h const ui::MouseEvent& event) = 0; event 497 chrome/browser/ui/views/tabs/tab_drag_controller.cc const base::NativeEvent& event) { event 501 chrome/browser/ui/views/tabs/tab_drag_controller.cc void TabDragController::DidProcessEvent(const base::NativeEvent& event) { event 506 chrome/browser/ui/views/tabs/tab_drag_controller.cc if (ui::EventTypeFromNative(event) == ui::ET_KEY_PRESSED && event 507 chrome/browser/ui/views/tabs/tab_drag_controller.cc ui::KeyboardCodeFromNative(event) == ui::VKEY_ESCAPE) { event 243 chrome/browser/ui/views/tabs/tab_drag_controller.h const base::NativeEvent& event) OVERRIDE; event 244 chrome/browser/ui/views/tabs/tab_drag_controller.h virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; event 298 chrome/browser/ui/views/tabs/tab_strip.cc const ui::LocatedEvent& event) { event 299 chrome/browser/ui/views/tabs/tab_strip.cc return event.IsGestureEvent() ? TabDragController::EVENT_SOURCE_TOUCH : event 328 chrome/browser/ui/views/tabs/tab_strip.cc virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 333 chrome/browser/ui/views/tabs/tab_strip.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 399 chrome/browser/ui/views/tabs/tab_strip.cc void NewTabButton::OnMouseReleased(const ui::MouseEvent& event) { event 400 chrome/browser/ui/views/tabs/tab_strip.cc if (event.IsOnlyRightMouseButton()) { event 401 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point point = event.location(); event 413 chrome/browser/ui/views/tabs/tab_strip.cc views::ImageButton::OnMouseReleased(event); event 423 chrome/browser/ui/views/tabs/tab_strip.cc void NewTabButton::OnGestureEvent(ui::GestureEvent* event) { event 426 chrome/browser/ui/views/tabs/tab_strip.cc views::ImageButton::OnGestureEvent(event); event 427 chrome/browser/ui/views/tabs/tab_strip.cc event->SetHandled(); event 1078 chrome/browser/ui/views/tabs/tab_strip.cc const ui::LocatedEvent& event, event 1100 chrome/browser/ui/views/tabs/tab_strip.cc int x = tab->GetMirroredXInView(event.x()); event 1101 chrome/browser/ui/views/tabs/tab_strip.cc int y = event.y(); event 1132 chrome/browser/ui/views/tabs/tab_strip.cc DCHECK(event.type() == ui::ET_MOUSE_PRESSED || event 1133 chrome/browser/ui/views/tabs/tab_strip.cc event.type() == ui::ET_GESTURE_BEGIN); event 1135 chrome/browser/ui/views/tabs/tab_strip.cc ((event.type() == ui::ET_MOUSE_PRESSED && event 1136 chrome/browser/ui/views/tabs/tab_strip.cc (((event.flags() & ui::EF_FROM_TOUCH) && event 1137 chrome/browser/ui/views/tabs/tab_strip.cc static_cast<const ui::MouseEvent&>(event).IsLeftMouseButton()) || event 1138 chrome/browser/ui/views/tabs/tab_strip.cc (!(event.flags() & ui::EF_FROM_TOUCH) && event 1139 chrome/browser/ui/views/tabs/tab_strip.cc static_cast<const ui::MouseEvent&>(event).IsControlDown()))) || event 1140 chrome/browser/ui/views/tabs/tab_strip.cc (event.type() == ui::ET_GESTURE_BEGIN && !event.IsControlDown()))) { event 1151 chrome/browser/ui/views/tabs/tab_strip.cc this, tab, tabs, gfx::Point(x, y), event.x(), selection_model, event 1152 chrome/browser/ui/views/tabs/tab_strip.cc detach_behavior, move_behavior, EventSourceFromEvent(event)); event 1155 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::ContinueDrag(views::View* view, const ui::LocatedEvent& event) { event 1157 chrome/browser/ui/views/tabs/tab_strip.cc drag_controller_->event_source() == EventSourceFromEvent(event)) { event 1158 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point screen_location(event.location()); event 1188 chrome/browser/ui/views/tabs/tab_strip.cc const ui::MouseEvent& event) { event 1189 chrome/browser/ui/views/tabs/tab_strip.cc UpdateLayoutTypeFromMouseEvent(source, event); event 1391 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::OnDragEntered(const DropTargetEvent& event) { event 1395 chrome/browser/ui/views/tabs/tab_strip.cc UpdateDropIndex(event); event 1401 chrome/browser/ui/views/tabs/tab_strip.cc if (event.data().GetURLAndTitle( event 1412 chrome/browser/ui/views/tabs/tab_strip.cc int TabStrip::OnDragUpdated(const DropTargetEvent& event) { event 1415 chrome/browser/ui/views/tabs/tab_strip.cc UpdateDropIndex(event); event 1420 chrome/browser/ui/views/tabs/tab_strip.cc return GetDropEffect(event); event 1427 chrome/browser/ui/views/tabs/tab_strip.cc int TabStrip::OnPerformDrop(const DropTargetEvent& event) { event 1443 chrome/browser/ui/views/tabs/tab_strip.cc !event.data().GetURLAndTitle( event 1450 chrome/browser/ui/views/tabs/tab_strip.cc return GetDropEffect(event); event 1529 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::ButtonPressed(views::Button* sender, const ui::Event& event) { event 1534 chrome/browser/ui/views/tabs/tab_strip.cc if (event.IsMouseEvent()) { event 1535 chrome/browser/ui/views/tabs/tab_strip.cc const ui::MouseEvent& mouse = static_cast<const ui::MouseEvent&>(event); event 1545 chrome/browser/ui/views/tabs/tab_strip.cc if (event.type() == ui::ET_GESTURE_TAP) event 1571 chrome/browser/ui/views/tabs/tab_strip.cc bool TabStrip::OnMousePressed(const ui::MouseEvent& event) { event 1572 chrome/browser/ui/views/tabs/tab_strip.cc UpdateLayoutTypeFromMouseEvent(this, event); event 1578 chrome/browser/ui/views/tabs/tab_strip.cc bool TabStrip::OnMouseDragged(const ui::MouseEvent& event) { event 1579 chrome/browser/ui/views/tabs/tab_strip.cc ContinueDrag(this, event); event 1583 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::OnMouseReleased(const ui::MouseEvent& event) { event 1585 chrome/browser/ui/views/tabs/tab_strip.cc UpdateLayoutTypeFromMouseEvent(this, event); event 1592 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::OnMouseMoved(const ui::MouseEvent& event) { event 1593 chrome/browser/ui/views/tabs/tab_strip.cc UpdateLayoutTypeFromMouseEvent(this, event); event 1596 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::OnMouseEntered(const ui::MouseEvent& event) { event 1600 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::OnGestureEvent(ui::GestureEvent* event) { event 1602 chrome/browser/ui/views/tabs/tab_strip.cc switch (event->type()) { event 1620 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point local_point = event->location(); event 1630 chrome/browser/ui/views/tabs/tab_strip.cc ContinueDrag(this, *event); event 1651 chrome/browser/ui/views/tabs/tab_strip.cc event->SetHandled(); event 2107 chrome/browser/ui/views/tabs/tab_strip.cc const ui::MouseEvent& event) { event 2123 chrome/browser/ui/views/tabs/tab_strip.cc switch (event.type()) { event 2127 chrome/browser/ui/views/tabs/tab_strip.cc SetResetToShrinkOnExit((event.flags() & ui::EF_FROM_TOUCH) == 0); event 2129 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point tab_strip_point(event.location()); event 2144 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point location(event.location()); event 2149 chrome/browser/ui/views/tabs/tab_strip.cc if ((event.flags() & ui::EF_FROM_TOUCH) == 0 && event 2150 chrome/browser/ui/views/tabs/tab_strip.cc (event.flags() & ui::EF_IS_SYNTHESIZED) == 0) { event 2167 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point location(event.location()); event 2172 chrome/browser/ui/views/tabs/tab_strip.cc if ((event.flags() & ui::EF_FROM_TOUCH) == ui::EF_FROM_TOUCH) { event 2371 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::UpdateDropIndex(const DropTargetEvent& event) { event 2375 chrome/browser/ui/views/tabs/tab_strip.cc const int x = GetMirroredXInView(event.x()); event 2434 chrome/browser/ui/views/tabs/tab_strip.cc int TabStrip::GetDropEffect(const ui::DropTargetEvent& event) { event 2435 chrome/browser/ui/views/tabs/tab_strip.cc const int source_ops = event.source_operations(); event 200 chrome/browser/ui/views/tabs/tab_strip.h const ui::LocatedEvent& event, event 203 chrome/browser/ui/views/tabs/tab_strip.h const ui::LocatedEvent& event) OVERRIDE; event 208 chrome/browser/ui/views/tabs/tab_strip.h const ui::MouseEvent& event) OVERRIDE; event 222 chrome/browser/ui/views/tabs/tab_strip.h virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; event 223 chrome/browser/ui/views/tabs/tab_strip.h virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; event 225 chrome/browser/ui/views/tabs/tab_strip.h virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; event 247 chrome/browser/ui/views/tabs/tab_strip.h const ui::Event& event) OVERRIDE; event 251 chrome/browser/ui/views/tabs/tab_strip.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 252 chrome/browser/ui/views/tabs/tab_strip.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 253 chrome/browser/ui/views/tabs/tab_strip.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 255 chrome/browser/ui/views/tabs/tab_strip.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 256 chrome/browser/ui/views/tabs/tab_strip.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 259 chrome/browser/ui/views/tabs/tab_strip.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 417 chrome/browser/ui/views/tabs/tab_strip.h const ui::MouseEvent& event); event 462 chrome/browser/ui/views/tabs/tab_strip.h void UpdateDropIndex(const ui::DropTargetEvent& event); event 469 chrome/browser/ui/views/tabs/tab_strip.h int GetDropEffect(const ui::DropTargetEvent& event); event 47 chrome/browser/ui/views/tabs/tab_unittest.cc const ui::LocatedEvent& event, event 50 chrome/browser/ui/views/tabs/tab_unittest.cc const ui::LocatedEvent& event) OVERRIDE {} event 57 chrome/browser/ui/views/tabs/tab_unittest.cc const ui::MouseEvent& event) OVERRIDE {} event 172 chrome/browser/ui/views/task_manager_view.cc const ui::Event& event) OVERRIDE; event 515 chrome/browser/ui/views/task_manager_view.cc const ui::Event& event) { event 168 chrome/browser/ui/views/toolbar/browser_action_view.cc const ui::Event& event) { event 312 chrome/browser/ui/views/toolbar/browser_action_view.cc bool BrowserActionButton::OnMousePressed(const ui::MouseEvent& event) { event 313 chrome/browser/ui/views/toolbar/browser_action_view.cc if (!event.IsRightMouseButton()) { event 314 chrome/browser/ui/views/toolbar/browser_action_view.cc return IsPopup() ? MenuButton::OnMousePressed(event) : event 315 chrome/browser/ui/views/toolbar/browser_action_view.cc TextButton::OnMousePressed(event); event 327 chrome/browser/ui/views/toolbar/browser_action_view.cc void BrowserActionButton::OnMouseReleased(const ui::MouseEvent& event) { event 331 chrome/browser/ui/views/toolbar/browser_action_view.cc MenuButton::OnMouseReleased(event); event 333 chrome/browser/ui/views/toolbar/browser_action_view.cc TextButton::OnMouseReleased(event); event 337 chrome/browser/ui/views/toolbar/browser_action_view.cc void BrowserActionButton::OnMouseExited(const ui::MouseEvent& event) { event 339 chrome/browser/ui/views/toolbar/browser_action_view.cc MenuButton::OnMouseExited(event); event 341 chrome/browser/ui/views/toolbar/browser_action_view.cc TextButton::OnMouseExited(event); event 344 chrome/browser/ui/views/toolbar/browser_action_view.cc bool BrowserActionButton::OnKeyReleased(const ui::KeyEvent& event) { event 345 chrome/browser/ui/views/toolbar/browser_action_view.cc return IsPopup() ? MenuButton::OnKeyReleased(event) : event 346 chrome/browser/ui/views/toolbar/browser_action_view.cc TextButton::OnKeyReleased(event); event 349 chrome/browser/ui/views/toolbar/browser_action_view.cc void BrowserActionButton::OnGestureEvent(ui::GestureEvent* event) { event 351 chrome/browser/ui/views/toolbar/browser_action_view.cc MenuButton::OnGestureEvent(event); event 353 chrome/browser/ui/views/toolbar/browser_action_view.cc TextButton::OnGestureEvent(event); event 148 chrome/browser/ui/views/toolbar/browser_action_view.h const ui::Event& event) OVERRIDE; event 169 chrome/browser/ui/views/toolbar/browser_action_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 170 chrome/browser/ui/views/toolbar/browser_action_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 171 chrome/browser/ui/views/toolbar/browser_action_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 172 chrome/browser/ui/views/toolbar/browser_action_view.h virtual bool OnKeyReleased(const ui::KeyEvent& event) OVERRIDE; event 173 chrome/browser/ui/views/toolbar/browser_action_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 283 chrome/browser/ui/views/toolbar/browser_actions_container.cc const ui::DropTargetEvent& event) { event 287 chrome/browser/ui/views/toolbar/browser_actions_container.cc const ui::DropTargetEvent& event) { event 289 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (GetEventHandlerForPoint(event.location()) == chevron_) { event 303 chrome/browser/ui/views/toolbar/browser_actions_container.cc int offset_into_icon_area = event.x() - width_before_icons; event 352 chrome/browser/ui/views/toolbar/browser_actions_container.cc const ui::DropTargetEvent& event) { event 354 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (!data.Read(event.data())) event 181 chrome/browser/ui/views/toolbar/browser_actions_container.h virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; event 182 chrome/browser/ui/views/toolbar/browser_actions_container.h virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; event 184 chrome/browser/ui/views/toolbar/browser_actions_container.h virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; event 160 chrome/browser/ui/views/toolbar/home_button.cc int HomeButton::OnDragUpdated(const ui::DropTargetEvent& event) { event 161 chrome/browser/ui/views/toolbar/home_button.cc return (event.source_operations() & ui::DragDropTypes::DRAG_LINK) ? event 165 chrome/browser/ui/views/toolbar/home_button.cc int HomeButton::OnPerformDrop(const ui::DropTargetEvent& event) { event 168 chrome/browser/ui/views/toolbar/home_button.cc if (event.data().GetURLAndTitle( event 183 chrome/browser/ui/views/toolbar/home_button.cc void HomeButton::NotifyClick(const ui::Event& event) { event 184 chrome/browser/ui/views/toolbar/home_button.cc ToolbarButton::NotifyClick(event); event 24 chrome/browser/ui/views/toolbar/home_button.h virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; event 25 chrome/browser/ui/views/toolbar/home_button.h virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; event 29 chrome/browser/ui/views/toolbar/home_button.h virtual void NotifyClick(const ui::Event& event) OVERRIDE; event 97 chrome/browser/ui/views/toolbar/reload_button.cc void ReloadButton::OnMouseExited(const ui::MouseEvent& event) { event 98 chrome/browser/ui/views/toolbar/reload_button.cc ToolbarButton::OnMouseExited(event); event 134 chrome/browser/ui/views/toolbar/reload_button.cc const ui::Event& event) { event 147 chrome/browser/ui/views/toolbar/reload_button.cc int flags = event.flags(); event 148 chrome/browser/ui/views/toolbar/reload_button.cc if (event.IsShiftDown() || event.IsControlDown()) { event 52 chrome/browser/ui/views/toolbar/reload_button.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 62 chrome/browser/ui/views/toolbar/reload_button.h const ui::Event& event) OVERRIDE; event 57 chrome/browser/ui/views/toolbar/toolbar_button.cc bool ToolbarButton::OnMousePressed(const ui::MouseEvent& event) { event 59 chrome/browser/ui/views/toolbar/toolbar_button.cc IsTriggerableEvent(event) && HitTestPoint(event.location())) { event 63 chrome/browser/ui/views/toolbar/toolbar_button.cc y_position_on_lbuttondown_ = event.y(); event 71 chrome/browser/ui/views/toolbar/toolbar_button.cc ui::GetMenuSourceTypeForEvent(event)), event 74 chrome/browser/ui/views/toolbar/toolbar_button.cc return LabelButton::OnMousePressed(event); event 77 chrome/browser/ui/views/toolbar/toolbar_button.cc bool ToolbarButton::OnMouseDragged(const ui::MouseEvent& event) { event 78 chrome/browser/ui/views/toolbar/toolbar_button.cc bool result = LabelButton::OnMouseDragged(event); event 84 chrome/browser/ui/views/toolbar/toolbar_button.cc if (event.y() > y_position_on_lbuttondown_ + GetHorizontalDragThreshold()) { event 86 chrome/browser/ui/views/toolbar/toolbar_button.cc ShowDropDownMenu(ui::GetMenuSourceTypeForEvent(event)); event 93 chrome/browser/ui/views/toolbar/toolbar_button.cc void ToolbarButton::OnMouseReleased(const ui::MouseEvent& event) { event 94 chrome/browser/ui/views/toolbar/toolbar_button.cc if (IsTriggerableEvent(event) || event 95 chrome/browser/ui/views/toolbar/toolbar_button.cc (event.IsRightMouseButton() && !HitTestPoint(event.location()))) { event 96 chrome/browser/ui/views/toolbar/toolbar_button.cc LabelButton::OnMouseReleased(event); event 99 chrome/browser/ui/views/toolbar/toolbar_button.cc if (IsTriggerableEvent(event)) event 106 chrome/browser/ui/views/toolbar/toolbar_button.cc void ToolbarButton::OnMouseExited(const ui::MouseEvent& event) { event 114 chrome/browser/ui/views/toolbar/toolbar_button.cc void ToolbarButton::OnGestureEvent(ui::GestureEvent* event) { event 117 chrome/browser/ui/views/toolbar/toolbar_button.cc event->StopPropagation(); event 121 chrome/browser/ui/views/toolbar/toolbar_button.cc LabelButton::OnGestureEvent(event); event 141 chrome/browser/ui/views/toolbar/toolbar_button.cc bool ToolbarButton::ShouldEnterPushedState(const ui::Event& event) { event 144 chrome/browser/ui/views/toolbar/toolbar_button.cc return event.type() == ui::ET_GESTURE_TAP || event 145 chrome/browser/ui/views/toolbar/toolbar_button.cc event.type() == ui::ET_GESTURE_TAP_DOWN || event 146 chrome/browser/ui/views/toolbar/toolbar_button.cc (event.IsMouseEvent() && ((ui::EF_LEFT_MOUSE_BUTTON | event 147 chrome/browser/ui/views/toolbar/toolbar_button.cc ui::EF_RIGHT_MOUSE_BUTTON) & event.flags()) != 0); event 40 chrome/browser/ui/views/toolbar/toolbar_button.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 41 chrome/browser/ui/views/toolbar/toolbar_button.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 42 chrome/browser/ui/views/toolbar/toolbar_button.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 45 chrome/browser/ui/views/toolbar/toolbar_button.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 46 chrome/browser/ui/views/toolbar/toolbar_button.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 59 chrome/browser/ui/views/toolbar/toolbar_button.h virtual bool ShouldEnterPushedState(const ui::Event& event) OVERRIDE; event 326 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc const ui::Event& event) { event 328 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc if (event.IsMouseEvent() || (event.type() == ui::ET_GESTURE_TAP)) { event 331 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc static_cast<const ui::LocatedEvent&>(event); event 73 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h const ui::Event& event) OVERRIDE; event 504 chrome/browser/ui/views/toolbar/toolbar_view.cc const ui::Event& event) { event 506 chrome/browser/ui/views/toolbar/toolbar_view.cc browser_, sender->tag(), ui::DispositionFromEventFlags(event.flags())); event 138 chrome/browser/ui/views/toolbar/toolbar_view.h const ui::Event& event) OVERRIDE; event 562 chrome/browser/ui/views/toolbar/wrench_menu.cc const ui::Event& event) OVERRIDE { event 732 chrome/browser/ui/views/toolbar/wrench_menu.cc const ui::Event& event) OVERRIDE { event 1048 chrome/browser/ui/views/toolbar/wrench_menu.cc const ui::DropTargetEvent& event, event 1051 chrome/browser/ui/views/toolbar/wrench_menu.cc bookmark_menu_delegate_->GetDropOperation(item, event, position) : event 1057 chrome/browser/ui/views/toolbar/wrench_menu.cc const ui::DropTargetEvent& event) { event 1061 chrome/browser/ui/views/toolbar/wrench_menu.cc int result = bookmark_menu_delegate_->OnPerformDrop(menu, position, event); event 77 chrome/browser/ui/views/toolbar/wrench_menu.h const ui::DropTargetEvent& event, event 81 chrome/browser/ui/views/toolbar/wrench_menu.h const ui::DropTargetEvent& event) OVERRIDE; event 215 chrome/browser/ui/views/translate/translate_bubble_view.cc const ui::Event& event) { event 57 chrome/browser/ui/views/translate/translate_bubble_view.h const ui::Event& event) OVERRIDE; event 144 chrome/browser/ui/views/uninstall_view.cc const ui::Event& event) { event 38 chrome/browser/ui/views/uninstall_view.h const ui::Event& event) OVERRIDE; event 139 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc const ui::Event& event) OVERRIDE; event 322 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc const ui::Event& event) { event 385 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc const ui::Event& event) { event 75 chrome/browser/ui/views/website_settings/website_settings_popup_view.h const ui::Event& event) OVERRIDE; event 95 chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc const NativeWebKeyboardEvent& event) { event 46 chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 80 chrome/browser/ui/webui/downloads_dom_handler.cc void CountDownloadsDOMEvents(DownloadsDOMEvent event) { event 82 chrome/browser/ui/webui/downloads_dom_handler.cc event, event 828 chrome/browser/ui/webui/history_ui.cc const base::DictionaryValue* event = NULL; event 836 chrome/browser/ui/webui/history_ui.cc if (!(events->GetDictionary(i, &event) && event 837 chrome/browser/ui/webui/history_ui.cc event->GetList("result", &results) && event 130 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc void NTPUserDataLogger::LogEvent(NTPLoggingEventType event) { event 131 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc switch (event) { event 46 chrome/browser/ui/webui/ntp/ntp_user_data_logger.h void LogEvent(NTPLoggingEventType event); event 266 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc for (Database::EventVector::iterator event = event_vector.begin(); event 267 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc event != event_vector.end(); ++event) { event 270 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc for (base::DictionaryValue::Iterator data(*(*event)->data()); event 143 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void ReportUserActionHistogram(enum UserActionBuckets event) { event 144 chrome/browser/ui/webui/print_preview/print_preview_handler.cc UMA_HISTOGRAM_ENUMERATION("PrintPreview.UserAction", event, event 153 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void ReportPrintDestinationHistogram(enum PrintDestinationBuckets event) { event 154 chrome/browser/ui/webui/print_preview/print_preview_handler.cc UMA_HISTOGRAM_ENUMERATION("PrintPreview.DestinationAction", event, event 158 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void ReportGcpPromoHistogram(enum GcpPromoBuckets event) { event 159 chrome/browser/ui/webui/print_preview/print_preview_handler.cc UMA_HISTOGRAM_ENUMERATION("PrintPreview.GcpPromo", event, event 1063 chrome/browser/ui/webui/print_preview/print_preview_handler.cc enum PrintDestinationBuckets event = event 1065 chrome/browser/ui/webui/print_preview/print_preview_handler.cc if (event >= PRINT_DESTINATION_BUCKET_BOUNDARY) event 1067 chrome/browser/ui/webui/print_preview/print_preview_handler.cc ReportPrintDestinationHistogram(event); event 1071 chrome/browser/ui/webui/print_preview/print_preview_handler.cc enum GcpPromoBuckets event = event 1073 chrome/browser/ui/webui/print_preview/print_preview_handler.cc if (event >= GCP_PROMO_BUCKET_BOUNDARY) event 1075 chrome/browser/ui/webui/print_preview/print_preview_handler.cc ReportGcpPromoHistogram(event); event 113 chrome/browser/ui/webui/sync_internals_message_handler.cc const syncer::ProtocolEvent& event) { event 115 chrome/browser/ui/webui/sync_internals_message_handler.cc syncer::ProtocolEvent::ToValue(event)); event 23 chrome/common/profiling.cc void JitCodeEventHandler(const v8::JitCodeEvent* event) { event 29 chrome/common/profiling.cc switch (event->type) { event 31 chrome/common/profiling.cc add_dynamic_symbol_func(event->code_start, event->code_len, event 32 chrome/common/profiling.cc event->name.str, event->name.len); event 36 chrome/common/profiling.cc move_dynamic_symbol_func(event->code_start, event->new_code_start); event 101 chrome/common/service_process_util_win.cc base::win::ScopedHandle event( event 103 chrome/common/service_process_util_win.cc if (!event.IsValid()) event 106 chrome/common/service_process_util_win.cc return WaitForSingleObject(event, 0) == WAIT_OBJECT_0; event 319 chrome/renderer/plugins/chrome_plugin_placeholder.cc void ChromePluginPlaceholder::ShowContextMenu(const WebMouseEvent& event) { event 349 chrome/renderer/plugins/chrome_plugin_placeholder.cc params.x = event.windowX; event 350 chrome/renderer/plugins/chrome_plugin_placeholder.cc params.y = event.windowY; event 159 chrome/renderer/searchbox/searchbox.cc void SearchBox::LogEvent(NTPLoggingEventType event) { event 161 chrome/renderer/searchbox/searchbox.cc render_view()->GetRoutingID(), render_view()->GetPageId(), event)); event 32 chrome/renderer/searchbox/searchbox.h void LogEvent(NTPLoggingEventType event); event 974 chrome/renderer/searchbox/searchbox_extension.cc NTPLoggingEventType event = event 976 chrome/renderer/searchbox/searchbox_extension.cc SearchBox::Get(render_view)->LogEvent(event); event 152 chrome/test/base/test_browser_window.cc const content::NativeWebKeyboardEvent& event, event 90 chrome/test/base/test_browser_window.h const content::NativeWebKeyboardEvent& event, event 93 chrome/test/base/test_browser_window.h const content::NativeWebKeyboardEvent& event) OVERRIDE {} event 426 chrome/test/base/ui_test_utils.cc void GetCookiesCallback(base::WaitableEvent* event, event 430 chrome/test/base/ui_test_utils.cc event->Signal(); event 436 chrome/test/base/ui_test_utils.cc base::WaitableEvent* event, event 441 chrome/test/base/ui_test_utils.cc base::Bind(&GetCookiesCallback, event, cookies)); event 455 chrome/test/base/ui_test_utils.cc base::WaitableEvent event(true /* manual reset */, event 459 chrome/test/base/ui_test_utils.cc base::Bind(&GetCookiesOnIOThread, url, context_getter, &event, value))); event 460 chrome/test/base/ui_test_utils.cc event.Wait(); event 290 chrome/test/chromedriver/chrome/devtools_client_impl.cc internal::InspectorEvent event; event 292 chrome/test/chromedriver/chrome/devtools_client_impl.cc if (!parser_func_.Run(message, expected_id, &type, &event, &response)) { event 298 chrome/test/chromedriver/chrome/devtools_client_impl.cc return ProcessEvent(event); event 303 chrome/test/chromedriver/chrome/devtools_client_impl.cc Status DevToolsClientImpl::ProcessEvent(const internal::InspectorEvent& event) { event 305 chrome/test/chromedriver/chrome/devtools_client_impl.cc VLOG(1) << "DEVTOOLS EVENT " << event.method << " " event 306 chrome/test/chromedriver/chrome/devtools_client_impl.cc << FormatValueForDisplay(*event.params); event 309 chrome/test/chromedriver/chrome/devtools_client_impl.cc unnotified_event_ = &event; event 314 chrome/test/chromedriver/chrome/devtools_client_impl.cc if (event.method == "Inspector.detached") event 316 chrome/test/chromedriver/chrome/devtools_client_impl.cc if (event.method == "Inspector.targetCrashed") { event 320 chrome/test/chromedriver/chrome/devtools_client_impl.cc if (event.method == "Page.javascriptDialogOpening") { event 432 chrome/test/chromedriver/chrome/devtools_client_impl.cc InspectorEvent* event, event 448 chrome/test/chromedriver/chrome/devtools_client_impl.cc event->method = method; event 450 chrome/test/chromedriver/chrome/devtools_client_impl.cc event->params.reset(params->DeepCopy()); event 452 chrome/test/chromedriver/chrome/devtools_client_impl.cc event->params.reset(new base::DictionaryValue()); event 120 chrome/test/chromedriver/chrome/devtools_client_impl.h Status ProcessEvent(const internal::InspectorEvent& event); event 152 chrome/test/chromedriver/chrome/devtools_client_impl.h InspectorEvent* event, event 305 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent* event, event 317 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent* event, event 329 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent* event, event 341 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent* event, event 378 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent* event, event 382 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event->method = "method"; event 383 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event->params.reset(new base::DictionaryValue()); event 384 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event->params->SetInteger("key", 1); event 400 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent* event, event 403 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event->method = "method"; event 404 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event->params.reset(new base::DictionaryValue()); event 405 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event->params->SetInteger("key", 1); event 415 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent* event, event 424 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event->method = "method"; event 425 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event->params.reset(new base::DictionaryValue()); event 426 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event->params->SetInteger("key", 1); event 447 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent* event, event 529 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent event; event 532 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc "hi", 0, &type, &event, &response)); event 537 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent event; event 540 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc "{}", 0, &type, &event, &response)); event 545 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent event; event 548 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc "{\"method\":\"method\"}", 0, &type, &event, &response)); event 550 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc ASSERT_STREQ("method", event.method.c_str()); event 551 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc ASSERT_TRUE(event.params->IsType(base::Value::TYPE_DICTIONARY)); event 556 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent event; event 560 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc 0, &type, &event, &response)); event 562 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc ASSERT_STREQ("method", event.method.c_str()); event 564 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc ASSERT_TRUE(event.params->GetInteger("key", &key)); event 570 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent event; event 573 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc "{\"id\":1}", 0, &type, &event, &response)); event 578 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent event; event 581 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc "{\"id\":1,\"error\":{}}", 0, &type, &event, &response)); event 590 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc internal::InspectorEvent event; event 593 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc "{\"id\":1,\"result\":{\"key\":1}}", 0, &type, &event, &response)); event 762 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue event; event 763 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event.SetString("method", "updateEvent"); event 764 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event.Set("params", new base::DictionaryValue()); event 766 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::JSONWriter::Write(&event, &json_event); event 80 chrome/test/chromedriver/chrome/stub_web_view.cc Status StubWebView::DispatchTouchEvent(const TouchEvent& event) { event 51 chrome/test/chromedriver/chrome/stub_web_view.h virtual Status DispatchTouchEvent(const TouchEvent& event) OVERRIDE; event 106 chrome/test/chromedriver/chrome/web_view.h virtual Status DispatchTouchEvent(const TouchEvent& event) = 0; event 263 chrome/test/chromedriver/chrome/web_view_impl.cc Status WebViewImpl::DispatchTouchEvent(const TouchEvent& event) { event 265 chrome/test/chromedriver/chrome/web_view_impl.cc params.SetString("type", GetAsString(event.type)); event 268 chrome/test/chromedriver/chrome/web_view_impl.cc point->SetString("state", GetPointStateString(event.type)); event 269 chrome/test/chromedriver/chrome/web_view_impl.cc point->SetInteger("x", event.x); event 270 chrome/test/chromedriver/chrome/web_view_impl.cc point->SetInteger("y", event.y); event 71 chrome/test/chromedriver/chrome/web_view_impl.h virtual Status DispatchTouchEvent(const TouchEvent& event) OVERRIDE; event 190 chrome/test/chromedriver/keycode_text_conversion_x.cc XEvent event; event 191 chrome/test/chromedriver/keycode_text_conversion_x.cc memset(&event, 0, sizeof(XEvent)); event 192 chrome/test/chromedriver/keycode_text_conversion_x.cc XKeyEvent* key_event = &event.xkey; event 222 chrome/test/chromedriver/keycode_text_conversion_x.cc uint16 character = ui::GetCharacterFromXEvent(&event); event 39 chrome/test/chromedriver/net/net_util_unittest.cc base::WaitableEvent event(false, false); event 43 chrome/test/chromedriver/net/net_util_unittest.cc base::Unretained(this), &event)); event 44 chrome/test/chromedriver/net/net_util_unittest.cc event.Wait(); event 48 chrome/test/chromedriver/net/net_util_unittest.cc base::WaitableEvent event(false, false); event 52 chrome/test/chromedriver/net/net_util_unittest.cc base::Unretained(this), &event)); event 53 chrome/test/chromedriver/net/net_util_unittest.cc event.Wait(); event 56 chrome/test/chromedriver/net/net_util_unittest.cc void InitOnIO(base::WaitableEvent* event) { event 62 chrome/test/chromedriver/net/net_util_unittest.cc event->Signal(); event 65 chrome/test/chromedriver/net/net_util_unittest.cc void DestroyServerOnIO(base::WaitableEvent* event) { event 67 chrome/test/chromedriver/net/net_util_unittest.cc event->Signal(); event 55 chrome/test/chromedriver/net/sync_websocket_impl.cc base::WaitableEvent event(false, false); event 59 chrome/test/chromedriver/net/sync_websocket_impl.cc this, url, &success, &event)); event 60 chrome/test/chromedriver/net/sync_websocket_impl.cc event.Wait(); event 66 chrome/test/chromedriver/net/sync_websocket_impl.cc base::WaitableEvent event(false, false); event 70 chrome/test/chromedriver/net/sync_websocket_impl.cc this, message, &success, &event)); event 71 chrome/test/chromedriver/net/sync_websocket_impl.cc event.Wait(); event 116 chrome/test/chromedriver/net/sync_websocket_impl.cc base::WaitableEvent* event) { event 124 chrome/test/chromedriver/net/sync_websocket_impl.cc this, success, event)); event 129 chrome/test/chromedriver/net/sync_websocket_impl.cc base::WaitableEvent* event, event 136 chrome/test/chromedriver/net/sync_websocket_impl.cc event->Signal(); event 142 chrome/test/chromedriver/net/sync_websocket_impl.cc base::WaitableEvent* event) { event 144 chrome/test/chromedriver/net/sync_websocket_impl.cc event->Signal(); event 74 chrome/test/chromedriver/net/sync_websocket_impl.h base::WaitableEvent* event); event 76 chrome/test/chromedriver/net/sync_websocket_impl.h base::WaitableEvent* event, event 80 chrome/test/chromedriver/net/sync_websocket_impl.h base::WaitableEvent* event); event 36 chrome/test/chromedriver/net/test_http_server.cc base::WaitableEvent event(false, false); event 40 chrome/test/chromedriver/net/test_http_server.cc base::Unretained(this), &success, &event)); event 41 chrome/test/chromedriver/net/test_http_server.cc event.Wait(); event 48 chrome/test/chromedriver/net/test_http_server.cc base::WaitableEvent event(false, false); event 52 chrome/test/chromedriver/net/test_http_server.cc base::Unretained(this), &event)); event 53 chrome/test/chromedriver/net/test_http_server.cc event.Wait(); event 130 chrome/test/chromedriver/net/test_http_server.cc base::WaitableEvent* event) { event 145 chrome/test/chromedriver/net/test_http_server.cc event->Signal(); event 148 chrome/test/chromedriver/net/test_http_server.cc void TestHttpServer::StopOnServerThread(base::WaitableEvent* event) { event 151 chrome/test/chromedriver/net/test_http_server.cc event->Signal(); event 74 chrome/test/chromedriver/net/test_http_server.h void StartOnServerThread(bool* success, base::WaitableEvent* event); event 75 chrome/test/chromedriver/net/test_http_server.h void StopOnServerThread(base::WaitableEvent* event); event 95 chrome/test/logging/win/log_file_printer.cc virtual void OnUnknownEvent(const EVENT_TRACE* event) OVERRIDE; event 97 chrome/test/logging/win/log_file_printer.cc virtual void OnUnparsableEvent(const EVENT_TRACE* event) OVERRIDE; event 99 chrome/test/logging/win/log_file_printer.cc virtual void OnFileHeader(const EVENT_TRACE* event, event 102 chrome/test/logging/win/log_file_printer.cc virtual void OnLogMessage(const EVENT_TRACE* event, event 106 chrome/test/logging/win/log_file_printer.cc virtual void OnLogMessageFull(const EVENT_TRACE* event, event 114 chrome/test/logging/win/log_file_printer.cc virtual void OnTraceEvent(const EVENT_TRACE* event, event 124 chrome/test/logging/win/log_file_printer.cc void PrintEventContext(const EVENT_TRACE* event, event 127 chrome/test/logging/win/log_file_printer.cc void PrintBadEvent(const EVENT_TRACE* event, const base::StringPiece& error); event 159 chrome/test/logging/win/log_file_printer.cc void EventPrinter::PrintEventContext(const EVENT_TRACE* event, event 162 chrome/test/logging/win/log_file_printer.cc *out_ << '[' << event->Header.ProcessId << ':' event 163 chrome/test/logging/win/log_file_printer.cc << event->Header.ThreadId << ':'; event 164 chrome/test/logging/win/log_file_printer.cc PrintTimeStamp(event->Header.TimeStamp); event 173 chrome/test/logging/win/log_file_printer.cc void EventPrinter::PrintBadEvent(const EVENT_TRACE* event, event 176 chrome/test/logging/win/log_file_printer.cc StringFromGUID2(event->Header.Guid, &guid[0], arraysize(guid)); event 178 chrome/test/logging/win/log_file_printer.cc << static_cast<int>(event->Header.Class.Type) << ")"; event 181 chrome/test/logging/win/log_file_printer.cc void EventPrinter::OnUnknownEvent(const EVENT_TRACE* event) { event 183 chrome/test/logging/win/log_file_printer.cc PrintEventContext(event, empty, empty); event 184 chrome/test/logging/win/log_file_printer.cc PrintBadEvent(event, "unsupported event"); event 187 chrome/test/logging/win/log_file_printer.cc void EventPrinter::OnUnparsableEvent(const EVENT_TRACE* event) { event 189 chrome/test/logging/win/log_file_printer.cc PrintEventContext(event, empty, empty); event 190 chrome/test/logging/win/log_file_printer.cc PrintBadEvent(event, "parse error"); event 193 chrome/test/logging/win/log_file_printer.cc void EventPrinter::OnFileHeader(const EVENT_TRACE* event, event 196 chrome/test/logging/win/log_file_printer.cc PrintEventContext(event, empty, empty); event 207 chrome/test/logging/win/log_file_printer.cc void EventPrinter::OnLogMessage(const EVENT_TRACE* event, event 212 chrome/test/logging/win/log_file_printer.cc PrintEventContext(event, level_stream.str(), base::StringPiece()); event 216 chrome/test/logging/win/log_file_printer.cc void EventPrinter::OnLogMessageFull(const EVENT_TRACE* event, event 227 chrome/test/logging/win/log_file_printer.cc PrintEventContext(event, level_stream.str(), location_stream.str()); event 231 chrome/test/logging/win/log_file_printer.cc void EventPrinter::OnTraceEvent(const EVENT_TRACE* event, event 238 chrome/test/logging/win/log_file_printer.cc PrintEventContext(event, GetTraceTypeString(type), base::StringPiece()); event 79 chrome/test/logging/win/log_file_reader.cc static void ProcessEvent(EVENT_TRACE* event) { (*ProcessEventFn)(event); } event 85 chrome/test/logging/win/log_file_reader.cc static void ProcessEvent(EVENT_TRACE* event); event 88 chrome/test/logging/win/log_file_reader.cc bool OnLogMessageEvent(const EVENT_TRACE* event); event 89 chrome/test/logging/win/log_file_reader.cc bool OnLogMessageFullEvent(const EVENT_TRACE* event); event 90 chrome/test/logging/win/log_file_reader.cc bool OnTraceEvent(const EVENT_TRACE* event); event 91 chrome/test/logging/win/log_file_reader.cc bool OnFileHeader(const EVENT_TRACE* event); event 94 chrome/test/logging/win/log_file_reader.cc void DispatchEvent(const EVENT_TRACE* event); event 130 chrome/test/logging/win/log_file_reader.cc void LogFileReader::ProcessEvent(EVENT_TRACE* event) { event 132 chrome/test/logging/win/log_file_reader.cc instance_->DispatchEvent(event); event 135 chrome/test/logging/win/log_file_reader.cc bool LogFileReader::OnLogMessageEvent(const EVENT_TRACE* event) { event 137 chrome/test/logging/win/log_file_reader.cc MofDataParser parser(event); event 141 chrome/test/logging/win/log_file_reader.cc delegate_->OnLogMessage(event, event 142 chrome/test/logging/win/log_file_reader.cc EventLevelToSeverity(event->Header.Class.Level), event 149 chrome/test/logging/win/log_file_reader.cc bool LogFileReader::OnLogMessageFullEvent(const EVENT_TRACE* event) { event 155 chrome/test/logging/win/log_file_reader.cc MofDataParser parser(event); event 164 chrome/test/logging/win/log_file_reader.cc delegate_->OnLogMessageFull(event, event 165 chrome/test/logging/win/log_file_reader.cc EventLevelToSeverity(event->Header.Class.Level), stack_depth, backtrace, event 172 chrome/test/logging/win/log_file_reader.cc bool LogFileReader::OnTraceEvent(const EVENT_TRACE* event) { event 173 chrome/test/logging/win/log_file_reader.cc MofDataParser parser(event); event 188 chrome/test/logging/win/log_file_reader.cc delegate_->OnTraceEvent(event, name, event 189 chrome/test/logging/win/log_file_reader.cc EventTypeToTraceType(event->Header.Class.Type), id, extra, stack_depth, event 196 chrome/test/logging/win/log_file_reader.cc bool LogFileReader::OnFileHeader(const EVENT_TRACE* event) { event 197 chrome/test/logging/win/log_file_reader.cc MofDataParser parser(event); event 201 chrome/test/logging/win/log_file_reader.cc delegate_->OnFileHeader(event, header); event 207 chrome/test/logging/win/log_file_reader.cc void LogFileReader::DispatchEvent(const EVENT_TRACE* event) { event 210 chrome/test/logging/win/log_file_reader.cc if (IsEqualGUID(event->Header.Guid, logging::kLogEventId)) { event 211 chrome/test/logging/win/log_file_reader.cc if (event->Header.Class.Type == logging::LOG_MESSAGE) event 212 chrome/test/logging/win/log_file_reader.cc parsed = OnLogMessageEvent(event); event 213 chrome/test/logging/win/log_file_reader.cc else if (event->Header.Class.Type == logging::LOG_MESSAGE_FULL) event 214 chrome/test/logging/win/log_file_reader.cc parsed = OnLogMessageFullEvent(event); event 215 chrome/test/logging/win/log_file_reader.cc } else if (IsEqualGUID(event->Header.Guid, base::debug::kTraceEventClass32)) { event 216 chrome/test/logging/win/log_file_reader.cc parsed = OnTraceEvent(event); event 217 chrome/test/logging/win/log_file_reader.cc } else if (IsEqualGUID(event->Header.Guid, EventTraceGuid)) { event 218 chrome/test/logging/win/log_file_reader.cc parsed = OnFileHeader(event); event 221 chrome/test/logging/win/log_file_reader.cc delegate_->OnUnknownEvent(event); event 224 chrome/test/logging/win/log_file_reader.cc delegate_->OnUnparsableEvent(event); event 33 chrome/test/logging/win/log_file_reader.h virtual void OnUnknownEvent(const EVENT_TRACE* event) = 0; event 37 chrome/test/logging/win/log_file_reader.h virtual void OnUnparsableEvent(const EVENT_TRACE* event) = 0; event 40 chrome/test/logging/win/log_file_reader.h virtual void OnFileHeader(const EVENT_TRACE* event, event 44 chrome/test/logging/win/log_file_reader.h virtual void OnLogMessage(const EVENT_TRACE* event, event 49 chrome/test/logging/win/log_file_reader.h virtual void OnLogMessageFull(const EVENT_TRACE* event, event 58 chrome/test/logging/win/log_file_reader.h virtual void OnTraceEvent(const EVENT_TRACE* event, event 9 chrome/test/logging/win/mof_data_parser.cc MofDataParser::MofDataParser(const EVENT_TRACE* event) event 10 chrome/test/logging/win/mof_data_parser.cc : scan_(reinterpret_cast<const uint8*>(event->MofData)), event 11 chrome/test/logging/win/mof_data_parser.cc length_(event->MofLength) { event 25 chrome/test/logging/win/mof_data_parser.h explicit MofDataParser(const EVENT_TRACE* event); event 16 chrome/test/logging/win/mof_data_parser_unittest.cc EVENT_TRACE* event = MakeEventWithDataOfSize(sizeof(value)); event 17 chrome/test/logging/win/mof_data_parser_unittest.cc *reinterpret_cast<T*>(event->MofData) = value; event 18 chrome/test/logging/win/mof_data_parser_unittest.cc return event; event 30 chrome/test/logging/win/mof_data_parser_unittest.cc EVENT_TRACE* event = reinterpret_cast<EVENT_TRACE*>(&buffer_[0]); event 31 chrome/test/logging/win/mof_data_parser_unittest.cc event->MofLength = size; event 32 chrome/test/logging/win/mof_data_parser_unittest.cc event->MofData = &buffer_[sizeof(EVENT_TRACE)]; event 33 chrome/test/logging/win/mof_data_parser_unittest.cc return event; event 43 chrome/test/logging/win/mof_data_parser_unittest.cc EVENT_TRACE* event = event 45 chrome/test/logging/win/mof_data_parser_unittest.cc *reinterpret_cast<DWORD*>(event->MofData) = size; event 46 chrome/test/logging/win/mof_data_parser_unittest.cc ::memcpy(reinterpret_cast<DWORD*>(event->MofData) + 1, pointers, event 48 chrome/test/logging/win/mof_data_parser_unittest.cc return event; event 55 chrome/test/logging/win/mof_data_parser_unittest.cc EVENT_TRACE* event = MakeEventWithDataOfSize(length); event 56 chrome/test/logging/win/mof_data_parser_unittest.cc ::memcpy(event->MofData, a_string, length); event 57 chrome/test/logging/win/mof_data_parser_unittest.cc return event; event 65 chrome/test/logging/win/mof_data_parser_unittest.cc EVENT_TRACE* event = MakeEventWithDWORD(5); event 68 chrome/test/logging/win/mof_data_parser_unittest.cc logging_win::MofDataParser parser(event); event 76 chrome/test/logging/win/mof_data_parser_unittest.cc --(event->MofLength); event 79 chrome/test/logging/win/mof_data_parser_unittest.cc logging_win::MofDataParser parser(event); event 93 chrome/test/logging/win/mof_data_parser_unittest.cc EVENT_TRACE* event = MakeEventWithPointerArray(&pointers[0], array_size); event 98 chrome/test/logging/win/mof_data_parser_unittest.cc logging_win::MofDataParser parser(event); event 108 chrome/test/logging/win/mof_data_parser_unittest.cc --(event->MofLength); event 113 chrome/test/logging/win/mof_data_parser_unittest.cc logging_win::MofDataParser parser(event); event 131 chrome/test/logging/win/mof_data_parser_unittest.cc EVENT_TRACE* event = MakeEventWithBlittedValue(canned_meat); event 134 chrome/test/logging/win/mof_data_parser_unittest.cc logging_win::MofDataParser parser(event); event 143 chrome/test/logging/win/mof_data_parser_unittest.cc --(event->MofLength); event 146 chrome/test/logging/win/mof_data_parser_unittest.cc logging_win::MofDataParser parser(event); event 159 chrome/test/logging/win/mof_data_parser_unittest.cc EVENT_TRACE* event = event 163 chrome/test/logging/win/mof_data_parser_unittest.cc logging_win::MofDataParser parser(event); event 172 chrome/test/logging/win/mof_data_parser_unittest.cc event = MakeEventWithString(a_string, arraysize(a_string)); event 175 chrome/test/logging/win/mof_data_parser_unittest.cc logging_win::MofDataParser parser(event); event 183 chrome/test/logging/win/mof_data_parser_unittest.cc event = MakeEventWithString(a_string, arraysize(a_string) - 1); event 186 chrome/test/logging/win/mof_data_parser_unittest.cc logging_win::MofDataParser parser(event); event 85 chromeos/dbus/fake_cros_disks_client.cc bool FakeCrosDisksClient::SendMountEvent(MountEventType event, event 89 chromeos/dbus/fake_cros_disks_client.cc mount_event_handler_.Run(event, path); event 50 chromeos/dbus/fake_cros_disks_client.h bool SendMountEvent(MountEventType event, const std::string& path); event 479 chromeos/disks/disk_mount_manager.cc void OnMountEvent(MountEventType event, const std::string& device_path_arg) { event 482 chromeos/disks/disk_mount_manager.cc switch (event) { event 531 chromeos/disks/disk_mount_manager.cc LOG(ERROR) << "Unknown event: " << event; event 537 chromeos/disks/disk_mount_manager.cc void NotifyDiskStatusUpdate(DiskEvent event, event 539 chromeos/disks/disk_mount_manager.cc FOR_EACH_OBSERVER(Observer, observers_, OnDiskEvent(event, disk)); event 543 chromeos/disks/disk_mount_manager.cc void NotifyDeviceStatusUpdate(DeviceEvent event, event 545 chromeos/disks/disk_mount_manager.cc FOR_EACH_OBSERVER(Observer, observers_, OnDeviceEvent(event, device_path)); event 549 chromeos/disks/disk_mount_manager.cc void NotifyMountStatusUpdate(MountEvent event, event 553 chromeos/disks/disk_mount_manager.cc OnMountEvent(event, error_code, mount_info)); event 556 chromeos/disks/disk_mount_manager.cc void NotifyFormatStatusUpdate(FormatEvent event, event 560 chromeos/disks/disk_mount_manager.cc OnFormatEvent(event, error_code, device_path)); event 207 chromeos/disks/disk_mount_manager.h virtual void OnDiskEvent(DiskEvent event, const Disk* disk) = 0; event 209 chromeos/disks/disk_mount_manager.h virtual void OnDeviceEvent(DeviceEvent event, event 212 chromeos/disks/disk_mount_manager.h virtual void OnMountEvent(MountEvent event, event 216 chromeos/disks/disk_mount_manager.h virtual void OnFormatEvent(FormatEvent event, event 101 chromeos/disks/disk_mount_manager_unittest.cc MOCK_METHOD2(OnDiskEvent, void(DiskMountManager::DiskEvent event, event 103 chromeos/disks/disk_mount_manager_unittest.cc MOCK_METHOD2(OnDeviceEvent, void(DiskMountManager::DeviceEvent event, event 106 chromeos/disks/disk_mount_manager_unittest.cc void(DiskMountManager::MountEvent event, event 110 chromeos/disks/disk_mount_manager_unittest.cc void(DiskMountManager::FormatEvent event, event 238 chromeos/disks/mock_disk_mount_manager.cc DiskEvent event, event 240 chromeos/disks/mock_disk_mount_manager.cc FOR_EACH_OBSERVER(Observer, observers_, OnDiskEvent(event, disk)); event 243 chromeos/disks/mock_disk_mount_manager.cc void MockDiskMountManager::NotifyDeviceChanged(DeviceEvent event, event 245 chromeos/disks/mock_disk_mount_manager.cc FOR_EACH_OBSERVER(Observer, observers_, OnDeviceEvent(event, path)); event 92 chromeos/disks/mock_disk_mount_manager.h void NotifyDeviceChanged(DeviceEvent event, event 96 chromeos/disks/mock_disk_mount_manager.h void NotifyDiskChanged(DiskEvent event, event 69 chromeos/network/network_event_log.cc const std::string& event, event 89 chromeos/network/network_event_log.cc std::string event; event 98 chromeos/network/network_event_log.cc const std::string& event, event 103 chromeos/network/network_event_log.cc event(event), event 131 chromeos/network/network_event_log.cc output->SetString("event", event); event 147 chromeos/network/network_event_log.cc std::string text = event; event 162 chromeos/network/network_event_log.cc text += event; event 190 chromeos/network/network_event_log.cc event == other.event && event 383 chromeos/network/network_event_log.cc const std::string& event, event 388 chromeos/network/network_event_log.cc LogEntry entry(filestr, file_line, log_level, event, description); event 69 chromeos/network/network_event_log.h const std::string& event, event 97 chromeos/network/network_event_log.h #define NET_LOG_ERROR(event, desc) NET_LOG_LEVEL( \ event 98 chromeos/network/network_event_log.h ::chromeos::network_event_log::LOG_LEVEL_ERROR, event, desc) event 102 chromeos/network/network_event_log.h #define NET_LOG_USER(event, desc) NET_LOG_LEVEL( \ event 103 chromeos/network/network_event_log.h ::chromeos::network_event_log::LOG_LEVEL_USER, event, desc) event 106 chromeos/network/network_event_log.h #define NET_LOG_EVENT(event, desc) NET_LOG_LEVEL( \ event 107 chromeos/network/network_event_log.h ::chromeos::network_event_log::LOG_LEVEL_EVENT, event, desc) event 110 chromeos/network/network_event_log.h #define NET_LOG_DEBUG(event, desc) NET_LOG_LEVEL( \ event 111 chromeos/network/network_event_log.h ::chromeos::network_event_log::LOG_LEVEL_DEBUG, event, desc) event 114 chromeos/network/network_event_log.h #define NET_LOG_LEVEL(log_level, event, description) \ event 116 chromeos/network/network_event_log.h __FILE__, __LINE__, log_level, event, description) event 146 chromeos/network/network_event_log_unittest.cc void AddTestEvent(LogLevel level, const std::string& event) { event 147 chromeos/network/network_event_log_unittest.cc network_event_log::internal::AddEntry("file", 0, level, event, "description"); event 771 chromeos/network/network_state_handler.cc std::string event = "NetworkConnectionStateChanged"; event 773 chromeos/network/network_state_handler.cc event = "Default" + event; event 780 chromeos/network/network_state_handler.cc NET_LOG_EVENT(event + ": " + network->connection_state(), event 378 components/autofill/content/renderer/autofill_agent.cc const WebKeyboardEvent& event) { event 379 components/autofill/content/renderer/autofill_agent.cc if (password_autofill_agent_->TextFieldHandlingKeyDown(element, event)) { event 384 components/autofill/content/renderer/autofill_agent.cc if (event.windowsKeyCode == ui::VKEY_DOWN || event 385 components/autofill/content/renderer/autofill_agent.cc event.windowsKeyCode == ui::VKEY_UP) event 84 components/autofill/content/renderer/autofill_agent.h const blink::WebKeyboardEvent& event) OVERRIDE; event 94 components/autofill/content/renderer/page_click_tracker.cc void PageClickTracker::DidHandleMouseEvent(const WebMouseEvent& event) { event 95 components/autofill/content/renderer/page_click_tracker.cc if (event.type != WebInputEvent::MouseDown || event 131 components/autofill/content/renderer/page_click_tracker.cc void PageClickTracker::handleEvent(const WebDOMEvent& event) { event 134 components/autofill/content/renderer/page_click_tracker.cc if (!event.isMouseEvent()) event 137 components/autofill/content/renderer/page_click_tracker.cc const WebDOMMouseEvent mouse_event = event.toConst<WebDOMMouseEvent>(); event 44 components/autofill/content/renderer/page_click_tracker.h virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) OVERRIDE; event 47 components/autofill/content/renderer/page_click_tracker.h virtual void handleEvent(const blink::WebDOMEvent& event); event 332 components/autofill/content/renderer/password_autofill_agent.cc const blink::WebKeyboardEvent& event) { event 341 components/autofill/content/renderer/password_autofill_agent.cc int win_key_code = event.windowsKeyCode; event 39 components/autofill/content/renderer/password_autofill_agent.h const blink::WebKeyboardEvent& event); event 160 components/autofill/core/browser/autofill_external_delegate.cc bool AutofillExternalDelegate::ShouldRepostEvent(const ui::MouseEvent& event) { event 46 components/autofill/core/browser/autofill_external_delegate.h virtual bool ShouldRepostEvent(const ui::MouseEvent& event) OVERRIDE; event 279 components/autofill/core/browser/autofill_metrics.cc void AutofillMetrics::LogDialogPopupEvent(DialogPopupEvent event) const { event 281 components/autofill/core/browser/autofill_metrics.cc event, NUM_DIALOG_POPUP_EVENTS); event 309 components/autofill/core/browser/autofill_metrics.cc void AutofillMetrics::LogDialogUiEvent(DialogUiEvent event) const { event 310 components/autofill/core/browser/autofill_metrics.cc UMA_HISTOGRAM_ENUMERATION("RequestAutocomplete.UiEvents", event, event 344 components/autofill/core/browser/autofill_metrics.h virtual void LogDialogPopupEvent(DialogPopupEvent event) const; event 358 components/autofill/core/browser/autofill_metrics.h virtual void LogDialogUiEvent(DialogUiEvent event) const; event 28 components/autofill/core/browser/autofill_popup_delegate.h virtual bool ShouldRepostEvent(const ui::MouseEvent& event) = 0; event 81 components/autofill/core/browser/webdata/web_data_service_unittest.cc ACTION_P(SignalEvent, event) { event 82 components/autofill/core/browser/webdata/web_data_service_unittest.cc event->Signal(); event 39 components/autofill/core/common/password_generation_util.cc void LogPasswordGenerationEvent(PasswordGenerationEvent event) { event 41 components/autofill/core/common/password_generation_util.cc event, EVENT_ENUM_COUNT); event 70 components/autofill/core/common/password_generation_util.h void LogPasswordGenerationEvent(PasswordGenerationEvent event); event 310 components/nacl/renderer/nexe_load_manager.cc void NexeLoadManager::DispatchEvent(const ProgressEvent &event) { event 328 components/nacl/renderer/nexe_load_manager.cc if (!event.resource_url.empty()) { event 330 components/nacl/renderer/nexe_load_manager.cc event.resource_url.data(), event.resource_url.size()); event 332 components/nacl/renderer/nexe_load_manager.cc EventTypeToString(event.event_type), event 333 components/nacl/renderer/nexe_load_manager.cc event.length_is_computable, event 334 components/nacl/renderer/nexe_load_manager.cc event.loaded_bytes, event 335 components/nacl/renderer/nexe_load_manager.cc event.total_bytes, event 339 components/nacl/renderer/nexe_load_manager.cc blink::WebDOMProgressEvent blink_event(EventTypeToString(event.event_type), event 340 components/nacl/renderer/nexe_load_manager.cc event.length_is_computable, event 341 components/nacl/renderer/nexe_load_manager.cc event.loaded_bytes, event 342 components/nacl/renderer/nexe_load_manager.cc event.total_bytes); event 69 components/nacl/renderer/nexe_load_manager.h void DispatchEvent(const ProgressEvent &event); event 443 components/nacl/renderer/ppb_nacl_private_impl.cc nacl::NexeLoadManager::ProgressEvent event(event_type); event 444 components/nacl/renderer/ppb_nacl_private_impl.cc event.resource_url = resource_url; event 445 components/nacl/renderer/ppb_nacl_private_impl.cc event.length_is_computable = PP_ToBool(length_is_computable); event 446 components/nacl/renderer/ppb_nacl_private_impl.cc event.loaded_bytes = loaded_bytes; event 447 components/nacl/renderer/ppb_nacl_private_impl.cc event.total_bytes = total_bytes; event 448 components/nacl/renderer/ppb_nacl_private_impl.cc load_manager->DispatchEvent(event); event 49 components/password_manager/core/browser/password_form_manager.cc PasswordGenerationSubmissionEvent event) { event 51 components/password_manager/core/browser/password_form_manager.cc event, SUBMISSION_EVENT_ENUM_COUNT); event 169 components/plugins/renderer/plugin_placeholder.cc void PluginPlaceholder::ShowContextMenu(const WebMouseEvent& event) { event 164 components/plugins/renderer/webview_plugin.cc bool WebViewPlugin::handleInputEvent(const WebInputEvent& event, event 168 components/plugins/renderer/webview_plugin.cc if (event.type == WebInputEvent::GestureTap) event 171 components/plugins/renderer/webview_plugin.cc if (event.type == WebInputEvent::ContextMenu) { event 174 components/plugins/renderer/webview_plugin.cc reinterpret_cast<const WebMouseEvent&>(event); event 180 components/plugins/renderer/webview_plugin.cc bool handled = web_view_->handleInputEvent(event); event 92 components/plugins/renderer/webview_plugin.h virtual bool handleInputEvent(const blink::WebInputEvent& event, event 229 components/storage_monitor/media_storage_util.cc enum DeviceInfoHistogramBuckets event = event 231 components/storage_monitor/media_storage_util.cc if (event >= DEVICE_INFO_BUCKET_BOUNDARY) { event 235 components/storage_monitor/media_storage_util.cc UMA_HISTOGRAM_ENUMERATION("MediaDeviceNotifications.DeviceInfo", event, event 133 components/storage_monitor/media_storage_util_unittest.cc base::WaitableEvent event(true, false); event 135 components/storage_monitor/media_storage_util_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&event)); event 142 components/storage_monitor/media_storage_util_unittest.cc event.Wait(); event 147 components/storage_monitor/media_storage_util_unittest.cc event.Reset(); event 151 components/storage_monitor/media_storage_util_unittest.cc event.Wait(); event 141 components/storage_monitor/storage_monitor_chromeos.cc void StorageMonitorCros::OnDiskEvent(DiskMountManager::DiskEvent event, event 144 components/storage_monitor/storage_monitor_chromeos.cc void StorageMonitorCros::OnDeviceEvent(DiskMountManager::DeviceEvent event, event 148 components/storage_monitor/storage_monitor_chromeos.cc DiskMountManager::MountEvent event, event 162 components/storage_monitor/storage_monitor_chromeos.cc switch (event) { event 187 components/storage_monitor/storage_monitor_chromeos.cc void StorageMonitorCros::OnFormatEvent(DiskMountManager::FormatEvent event, event 48 components/storage_monitor/storage_monitor_chromeos.h chromeos::disks::DiskMountManager::DiskEvent event, event 51 components/storage_monitor/storage_monitor_chromeos.h chromeos::disks::DiskMountManager::DeviceEvent event, event 54 components/storage_monitor/storage_monitor_chromeos.h chromeos::disks::DiskMountManager::MountEvent event, event 59 components/storage_monitor/storage_monitor_chromeos.h chromeos::disks::DiskMountManager::FormatEvent event, event 70 components/storage_monitor/storage_monitor_chromeos_unittest.cc virtual void OnMountEvent(DiskMountManager::MountEvent event, event 73 components/storage_monitor/storage_monitor_chromeos_unittest.cc StorageMonitorCros::OnMountEvent(event, error_code, mount_info); event 62 components/storage_monitor/test_storage_monitor.cc base::WaitableEvent event(true, false); event 64 components/storage_monitor/test_storage_monitor.cc base::Unretained(&event))); event 65 components/storage_monitor/test_storage_monitor.cc while (!event.IsSignaled()) { event 63 components/sync_driver/sync_frontend.h virtual void OnProtocolEvent(const syncer::ProtocolEvent& event) = 0; event 115 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java public void handleKeyboardEvent(KeyEvent event) { event 260 components/web_contents_delegate_android/web_contents_delegate_android.cc const content::NativeWebKeyboardEvent& event) { event 261 components/web_contents_delegate_android/web_contents_delegate_android.cc jobject key_event = event.os_event; event 84 components/web_contents_delegate_android/web_contents_delegate_android.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 305 content/browser/accessibility/browser_accessibility_manager_android.cc JNIEnv* env, jobject obj, jobject event, jint id, jint event_type) { event 312 content/browser/accessibility/browser_accessibility_manager_android.cc env, obj, event, event 318 content/browser/accessibility/browser_accessibility_manager_android.cc env, obj, event, event 321 content/browser/accessibility/browser_accessibility_manager_android.cc env, obj, event, event 325 content/browser/accessibility/browser_accessibility_manager_android.cc env, obj, event, event 334 content/browser/accessibility/browser_accessibility_manager_android.cc env, obj, event, event 344 content/browser/accessibility/browser_accessibility_manager_android.cc env, obj, event, event 356 content/browser/accessibility/browser_accessibility_manager_android.cc env, obj, event, event 365 content/browser/accessibility/browser_accessibility_manager_android.cc env, obj, event, event 372 content/browser/accessibility/browser_accessibility_manager_android.cc env, obj, event, event 381 content/browser/accessibility/browser_accessibility_manager_android.cc env, obj, event, event 52 content/browser/accessibility/browser_accessibility_manager_android.h JNIEnv* env, jobject obj, jobject event, jint id, jint event_type); event 67 content/browser/accessibility/browser_accessibility_manager_win.cc void BrowserAccessibilityManagerWin::MaybeCallNotifyWinEvent(DWORD event, event 81 content/browser/accessibility/browser_accessibility_manager_win.cc ::NotifyWinEvent(event, parent_hwnd(), OBJID_CLIENT, child_id); event 44 content/browser/accessibility/browser_accessibility_manager_win.h void MaybeCallNotifyWinEvent(DWORD event, LONG child_id); event 571 content/browser/android/content_view_core_impl.cc void ContentViewCoreImpl::OnGestureEventAck(const blink::WebGestureEvent& event, event 578 content/browser/android/content_view_core_impl.cc switch (event.type) { event 583 content/browser/android/content_view_core_impl.cc event.data.flingStart.velocityX * dpi_scale(), event 584 content/browser/android/content_view_core_impl.cc event.data.flingStart.velocityY * dpi_scale()); event 595 content/browser/android/content_view_core_impl.cc event.data.flingStart.velocityX * dpi_scale(), event 596 content/browser/android/content_view_core_impl.cc event.data.flingStart.velocityY * dpi_scale()); event 626 content/browser/android/content_view_core_impl.cc bool ContentViewCoreImpl::FilterInputEvent(const blink::WebInputEvent& event) { event 627 content/browser/android/content_view_core_impl.cc if (event.type != WebInputEvent::GestureTap && event 628 content/browser/android/content_view_core_impl.cc event.type != WebInputEvent::GestureDoubleTap && event 629 content/browser/android/content_view_core_impl.cc event.type != WebInputEvent::GestureLongTap && event 630 content/browser/android/content_view_core_impl.cc event.type != WebInputEvent::GestureLongPress) event 639 content/browser/android/content_view_core_impl.cc static_cast<const blink::WebGestureEvent&>(event); event 640 content/browser/android/content_view_core_impl.cc int gesture_type = ToGestureEventType(event.type); event 1055 content/browser/android/content_view_core_impl.cc MotionEventAndroid event(env, event 1071 content/browser/android/content_view_core_impl.cc return OnMotionEvent(event); event 1087 content/browser/android/content_view_core_impl.cc blink::WebMouseEvent event = WebMouseEventBuilder::Build( event 1092 content/browser/android/content_view_core_impl.cc rwhv->SendMouseEvent(event); event 1114 content/browser/android/content_view_core_impl.cc blink::WebMouseWheelEvent event = WebMouseWheelEventBuilder::Build( event 1117 content/browser/android/content_view_core_impl.cc rwhv->SendMouseWheelEvent(event); event 1127 content/browser/android/content_view_core_impl.cc bool ContentViewCoreImpl::OnMotionEvent(const ui::MotionEvent& event) { event 1132 content/browser/android/content_view_core_impl.cc if (!gesture_provider_.OnTouchEvent(event)) event 1143 content/browser/android/content_view_core_impl.cc CreateWebTouchEventFromMotionEvent(event, 1.f / dpi_scale())); event 1148 content/browser/android/content_view_core_impl.cc const blink::WebGestureEvent& event) { event 1151 content/browser/android/content_view_core_impl.cc rwhv->SendGestureEvent(event); event 1161 content/browser/android/content_view_core_impl.cc WebGestureEvent event = MakeGestureEvent( event 1163 content/browser/android/content_view_core_impl.cc event.data.scrollBegin.deltaXHint = hintx / dpi_scale(); event 1164 content/browser/android/content_view_core_impl.cc event.data.scrollBegin.deltaYHint = hinty / dpi_scale(); event 1166 content/browser/android/content_view_core_impl.cc SendGestureEvent(event); event 1170 content/browser/android/content_view_core_impl.cc WebGestureEvent event = MakeGestureEvent( event 1172 content/browser/android/content_view_core_impl.cc SendGestureEvent(event); event 1177 content/browser/android/content_view_core_impl.cc WebGestureEvent event = MakeGestureEvent( event 1179 content/browser/android/content_view_core_impl.cc event.data.scrollUpdate.deltaX = -dx / dpi_scale(); event 1180 content/browser/android/content_view_core_impl.cc event.data.scrollUpdate.deltaY = -dy / dpi_scale(); event 1182 content/browser/android/content_view_core_impl.cc SendGestureEvent(event); event 1187 content/browser/android/content_view_core_impl.cc WebGestureEvent event = MakeGestureEvent( event 1189 content/browser/android/content_view_core_impl.cc event.data.flingStart.velocityX = vx / dpi_scale(); event 1190 content/browser/android/content_view_core_impl.cc event.data.flingStart.velocityY = vy / dpi_scale(); event 1192 content/browser/android/content_view_core_impl.cc SendGestureEvent(event); event 1196 content/browser/android/content_view_core_impl.cc WebGestureEvent event = MakeGestureEvent( event 1198 content/browser/android/content_view_core_impl.cc SendGestureEvent(event); event 1203 content/browser/android/content_view_core_impl.cc WebGestureEvent event = MakeGestureEvent( event 1205 content/browser/android/content_view_core_impl.cc event.data.tap.tapCount = 1; event 1207 content/browser/android/content_view_core_impl.cc SendGestureEvent(event); event 1212 content/browser/android/content_view_core_impl.cc WebGestureEvent event = MakeGestureEvent( event 1216 content/browser/android/content_view_core_impl.cc event.data.tap.tapCount = 1; event 1218 content/browser/android/content_view_core_impl.cc SendGestureEvent(event); event 1223 content/browser/android/content_view_core_impl.cc WebGestureEvent event = MakeGestureEvent( event 1226 content/browser/android/content_view_core_impl.cc SendGestureEvent(event); event 1231 content/browser/android/content_view_core_impl.cc WebGestureEvent event = MakeGestureEvent( event 1233 content/browser/android/content_view_core_impl.cc SendGestureEvent(event); event 1237 content/browser/android/content_view_core_impl.cc WebGestureEvent event = MakeGestureEvent( event 1239 content/browser/android/content_view_core_impl.cc SendGestureEvent(event); event 1245 content/browser/android/content_view_core_impl.cc WebGestureEvent event = MakeGestureEvent( event 1247 content/browser/android/content_view_core_impl.cc event.data.pinchUpdate.scale = delta; event 1249 content/browser/android/content_view_core_impl.cc SendGestureEvent(event); event 273 content/browser/android/content_view_core_impl.h void OnGestureEventAck(const blink::WebGestureEvent& event, event 275 content/browser/android/content_view_core_impl.h bool FilterInputEvent(const blink::WebInputEvent& event); event 355 content/browser/android/content_view_core_impl.h bool OnMotionEvent(const ui::MotionEvent& event); event 356 content/browser/android/content_view_core_impl.h void SendGestureEvent(const blink::WebGestureEvent& event); event 471 content/browser/appcache/appcache_storage_impl_unittest.cc static void SignalEvent(base::WaitableEvent* event) { event 472 content/browser/appcache/appcache_storage_impl_unittest.cc event->Signal(); event 478 content/browser/appcache/appcache_storage_impl_unittest.cc base::WaitableEvent event(false, false); event 480 content/browser/appcache/appcache_storage_impl_unittest.cc FROM_HERE, base::Bind(&AppCacheStorageImplTest::SignalEvent, &event)); event 481 content/browser/appcache/appcache_storage_impl_unittest.cc event.Wait(); event 337 content/browser/browser_child_process_host_impl.cc base::WaitableEvent* event) { event 338 content/browser/browser_child_process_host_impl.cc if (!event) event 343 content/browser/browser_child_process_host_impl.cc event->Release(); event 345 content/browser/browser_child_process_host_impl.cc delete event; event 349 content/browser/browser_child_process_host_impl.cc base::WaitableEvent* event) { event 350 content/browser/browser_child_process_host_impl.cc DeleteProcessWaitableEvent(event); event 101 content/browser/browser_child_process_host_impl.h void DeleteProcessWaitableEvent(base::WaitableEvent* event); event 102 content/browser/browser_child_process_host_impl.h void OnProcessExitedEarly(base::WaitableEvent* event); event 83 content/browser/browser_plugin/browser_plugin_embedder.cc const NativeWebKeyboardEvent& event, event 85 content/browser/browser_plugin/browser_plugin_embedder.cc return guest->UnlockMouseIfNecessary(event); event 89 content/browser/browser_plugin/browser_plugin_embedder.cc const NativeWebKeyboardEvent& event) { event 90 content/browser/browser_plugin/browser_plugin_embedder.cc if ((event.type != blink::WebInputEvent::RawKeyDown) || event 91 content/browser/browser_plugin/browser_plugin_embedder.cc (event.windowsKeyCode != ui::VKEY_ESCAPE) || event 92 content/browser/browser_plugin/browser_plugin_embedder.cc (event.modifiers & blink::WebInputEvent::InputModifiers)) { event 99 content/browser/browser_plugin/browser_plugin_embedder.cc event)); event 57 content/browser/browser_plugin/browser_plugin_embedder.h bool HandleKeyboardEvent(const NativeWebKeyboardEvent& event); event 97 content/browser/browser_plugin/browser_plugin_embedder.h bool UnlockMouseIfNecessaryCallback(const NativeWebKeyboardEvent& event, event 816 content/browser/browser_plugin/browser_plugin_guest.cc const NativeWebKeyboardEvent& event) { event 820 content/browser/browser_plugin/browser_plugin_guest.cc if (UnlockMouseIfNecessary(event)) event 823 content/browser/browser_plugin/browser_plugin_guest.cc if (delegate_ && delegate_->HandleKeyboardEvent(event)) event 836 content/browser/browser_plugin/browser_plugin_guest.cc web_contents(), event); event 1018 content/browser/browser_plugin/browser_plugin_guest.cc const NativeWebKeyboardEvent& event) { event 1398 content/browser/browser_plugin/browser_plugin_guest.cc const blink::WebInputEvent* event) { event 1413 content/browser/browser_plugin/browser_plugin_guest.cc if (blink::WebInputEvent::isMouseEventType(event->type)) { event 1415 content/browser/browser_plugin/browser_plugin_guest.cc *static_cast<const blink::WebMouseEvent*>(event)); event 1419 content/browser/browser_plugin/browser_plugin_guest.cc if (event->type == blink::WebInputEvent::MouseWheel) { event 1421 content/browser/browser_plugin/browser_plugin_guest.cc *static_cast<const blink::WebMouseWheelEvent*>(event)); event 1425 content/browser/browser_plugin/browser_plugin_guest.cc if (blink::WebInputEvent::isKeyboardEventType(event->type)) { event 1436 content/browser/browser_plugin/browser_plugin_guest.cc if (blink::WebInputEvent::isTouchEventType(event->type)) { event 1438 content/browser/browser_plugin/browser_plugin_guest.cc *static_cast<const blink::WebTouchEvent*>(event), event 1443 content/browser/browser_plugin/browser_plugin_guest.cc if (blink::WebInputEvent::isGestureEventType(event->type)) { event 1445 content/browser/browser_plugin/browser_plugin_guest.cc *static_cast<const blink::WebGestureEvent*>(event)); event 1763 content/browser/browser_plugin/browser_plugin_guest.cc WebContents* source, const blink::WebGestureEvent& event) { event 1764 content/browser/browser_plugin/browser_plugin_guest.cc return event.type == blink::WebGestureEvent::GesturePinchBegin || event 1765 content/browser/browser_plugin/browser_plugin_guest.cc event.type == blink::WebGestureEvent::GesturePinchUpdate || event 1766 content/browser/browser_plugin/browser_plugin_guest.cc event.type == blink::WebGestureEvent::GesturePinchEnd; event 161 content/browser/browser_plugin/browser_plugin_guest.h bool UnlockMouseIfNecessary(const NativeWebKeyboardEvent& event); event 214 content/browser/browser_plugin/browser_plugin_guest.h const NativeWebKeyboardEvent& event) OVERRIDE; event 239 content/browser/browser_plugin/browser_plugin_guest.h const blink::WebGestureEvent& event) OVERRIDE; event 436 content/browser/browser_plugin/browser_plugin_guest.h const blink::WebInputEvent* event); event 96 content/browser/browser_plugin/test_browser_plugin_guest.cc const blink::WebInputEvent* event) { event 99 content/browser/browser_plugin/test_browser_plugin_guest.cc event); event 34 content/browser/browser_plugin/test_browser_plugin_guest.h const blink::WebInputEvent* event) OVERRIDE; event 36 content/browser/browser_plugin/test_browser_plugin_guest_delegate.cc const NativeWebKeyboardEvent& event) { event 37 content/browser/browser_plugin/test_browser_plugin_guest_delegate.cc return BrowserPluginGuestDelegate::HandleKeyboardEvent(event); event 31 content/browser/browser_plugin/test_browser_plugin_guest_delegate.h const NativeWebKeyboardEvent& event) OVERRIDE; event 65 content/browser/devtools/renderer_overrides_handler.cc WebInputEvent* event) { event 70 content/browser/devtools/renderer_overrides_handler.cc event->modifiers |= WebInputEvent::AltKey; event 72 content/browser/devtools/renderer_overrides_handler.cc event->modifiers |= WebInputEvent::ControlKey; event 74 content/browser/devtools/renderer_overrides_handler.cc event->modifiers |= WebInputEvent::MetaKey; event 76 content/browser/devtools/renderer_overrides_handler.cc event->modifiers |= WebInputEvent::ShiftKey; event 80 content/browser/devtools/renderer_overrides_handler.cc &event->timeStampSeconds); event 901 content/browser/devtools/renderer_overrides_handler.cc blink::WebGestureEvent event; event 902 content/browser/devtools/renderer_overrides_handler.cc ParseGenericInputParams(params, &event); event 909 content/browser/devtools/renderer_overrides_handler.cc event.type = WebInputEvent::GestureScrollBegin; event 912 content/browser/devtools/renderer_overrides_handler.cc event.type = WebInputEvent::GestureScrollUpdate; event 915 content/browser/devtools/renderer_overrides_handler.cc event.type = WebInputEvent::GestureScrollEnd; event 918 content/browser/devtools/renderer_overrides_handler.cc event.type = WebInputEvent::GestureTapDown; event 921 content/browser/devtools/renderer_overrides_handler.cc event.type = WebInputEvent::GestureTap; event 924 content/browser/devtools/renderer_overrides_handler.cc event.type = WebInputEvent::GesturePinchBegin; event 927 content/browser/devtools/renderer_overrides_handler.cc event.type = WebInputEvent::GesturePinchUpdate; event 930 content/browser/devtools/renderer_overrides_handler.cc event.type = WebInputEvent::GesturePinchEnd; event 938 content/browser/devtools/renderer_overrides_handler.cc &event.x) || event 940 content/browser/devtools/renderer_overrides_handler.cc &event.y)) { event 943 content/browser/devtools/renderer_overrides_handler.cc event.globalX = event.x; event 944 content/browser/devtools/renderer_overrides_handler.cc event.globalY = event.y; event 955 content/browser/devtools/renderer_overrides_handler.cc event.data.scrollUpdate.deltaX = dx; event 956 content/browser/devtools/renderer_overrides_handler.cc event.data.scrollUpdate.deltaY = dy; event 966 content/browser/devtools/renderer_overrides_handler.cc event.data.pinchUpdate.scale = static_cast<float>(scale); event 969 content/browser/devtools/renderer_overrides_handler.cc host->ForwardGestureEvent(event); event 614 content/browser/download/download_stats.cc void RecordSavePackageEvent(SavePackageEvent event) { event 616 content/browser/download/download_stats.cc event, event 222 content/browser/download/download_stats.h void RecordSavePackageEvent(SavePackageEvent event); event 148 content/browser/frame_host/cross_process_frame_connector.cc const blink::WebInputEvent* event) { event 157 content/browser/frame_host/cross_process_frame_connector.cc if (blink::WebInputEvent::isKeyboardEventType(event->type)) { event 166 content/browser/frame_host/cross_process_frame_connector.cc if (blink::WebInputEvent::isMouseEventType(event->type)) { event 168 content/browser/frame_host/cross_process_frame_connector.cc *static_cast<const blink::WebMouseEvent*>(event)); event 172 content/browser/frame_host/cross_process_frame_connector.cc if (event->type == blink::WebInputEvent::MouseWheel) { event 174 content/browser/frame_host/cross_process_frame_connector.cc *static_cast<const blink::WebMouseWheelEvent*>(event)); event 101 content/browser/frame_host/cross_process_frame_connector.h void OnForwardInputEvent(const blink::WebInputEvent* event); event 519 content/browser/frame_host/interstitial_page_impl.cc const NativeWebKeyboardEvent& event, event 524 content/browser/frame_host/interstitial_page_impl.cc event, is_keyboard_shortcut); event 528 content/browser/frame_host/interstitial_page_impl.cc const NativeWebKeyboardEvent& event) { event 530 content/browser/frame_host/interstitial_page_impl.cc render_widget_host_delegate_->HandleKeyboardEvent(event); event 162 content/browser/frame_host/interstitial_page_impl.h const NativeWebKeyboardEvent& event, event 165 content/browser/frame_host/interstitial_page_impl.h const NativeWebKeyboardEvent& event) OVERRIDE; event 292 content/browser/frame_host/render_widget_host_view_child_frame.cc const NativeWebKeyboardEvent& event) { event 151 content/browser/frame_host/render_widget_host_view_child_frame.h const NativeWebKeyboardEvent& event) OVERRIDE; event 484 content/browser/frame_host/render_widget_host_view_guest.cc const NativeWebKeyboardEvent& event) { event 531 content/browser/frame_host/render_widget_host_view_guest.cc ui::GestureEvent* event) { event 532 content/browser/frame_host/render_widget_host_view_guest.cc ForwardGestureEventToRenderer(event); event 536 content/browser/frame_host/render_widget_host_view_guest.cc ui::TouchEvent* event) { event 542 content/browser/frame_host/render_widget_host_view_guest.cc cancel_event.timeStampSeconds = event->time_stamp().InSecondsF(); event 543 content/browser/frame_host/render_widget_host_view_guest.cc host_->ForwardTouchEventWithLatencyInfo(cancel_event, *event->latency()); event 143 content/browser/frame_host/render_widget_host_view_guest.h const NativeWebKeyboardEvent& event) OVERRIDE; event 165 content/browser/frame_host/render_widget_host_view_guest.h virtual void DispatchPostponedGestureEvent(ui::GestureEvent* event) OVERRIDE; event 166 content/browser/frame_host/render_widget_host_view_guest.h virtual void DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; event 248 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc js_event event; event 249 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc while (HANDLE_EINTR(read(fd, &event, sizeof(struct js_event))) > 0) { event 250 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc size_t item = event.number; event 251 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc if (event.type & JS_EVENT_AXIS) { event 254 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc pad.axes[item] = event.value / kMaxLinuxAxisValue; event 257 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc } else if (event.type & JS_EVENT_BUTTON) { event 260 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc pad.buttons[item].pressed = event.value; event 261 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc pad.buttons[item].value = event.value ? 1.0 : 0.0; event 265 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc pad.timestamp = event.time; event 51 content/browser/geolocation/network_location_request.cc void RecordUmaEvent(NetworkLocationRequestEvent event) { event 53 content/browser/geolocation/network_location_request.cc event, NETWORK_LOCATION_REQUEST_EVENT_COUNT); event 26 content/browser/gpu/browser_gpu_channel_host_factory.cc : event(true, false), event 204 content/browser/gpu/browser_gpu_channel_host_factory.cc request->event.Signal(); event 224 content/browser/gpu/browser_gpu_channel_host_factory.cc request->event.Signal(); event 244 content/browser/gpu/browser_gpu_channel_host_factory.cc request.event.Wait(); event 68 content/browser/gpu/browser_gpu_channel_host_factory.h base::WaitableEvent event; event 114 content/browser/gpu/gpu_ipc_browsertests.cc static void Signal(bool *event) { event 115 content/browser/gpu/gpu_ipc_browsertests.cc CHECK_EQ(*event, false); event 116 content/browser/gpu/gpu_ipc_browsertests.cc *event = true; event 159 content/browser/gpu/gpu_ipc_browsertests.cc bool event = false; event 162 content/browser/gpu/gpu_ipc_browsertests.cc base::Bind(&BrowserGpuChannelHostFactoryTest::Signal, &event)); event 163 content/browser/gpu/gpu_ipc_browsertests.cc EXPECT_TRUE(event); event 62 content/browser/media/capture/content_video_capture_device_core.cc VideoCaptureOracle::Event event, event 74 content/browser/media/capture/content_video_capture_device_core.cc oracle_->ObserveEventAndDecideCapture(event, event_time); event 76 content/browser/media/capture/content_video_capture_device_core.cc (event == VideoCaptureOracle::kCompositorUpdate || event 77 content/browser/media/capture/content_video_capture_device_core.cc event == VideoCaptureOracle::kSoftwarePaint); event 79 content/browser/media/capture/content_video_capture_device_core.cc (event == VideoCaptureOracle::kTimerPoll ? "poll" : event 80 content/browser/media/capture/content_video_capture_device_core.cc (event == VideoCaptureOracle::kCompositorUpdate ? "gpu" : event 61 content/browser/media/capture/content_video_capture_device_core.h bool ObserveEventAndDecideCapture(VideoCaptureOracle::Event event, event 258 content/browser/media/capture/desktop_capture_device_aura.cc const VideoCaptureOracle::Event event = event 262 content/browser/media/capture/desktop_capture_device_aura.cc event, start_time, &frame, &capture_frame_cb)) { event 36 content/browser/media/capture/video_capture_oracle.cc Event event, event 39 content/browser/media/capture/video_capture_oracle.cc const bool content_is_dirty = (event == kCompositorUpdate || event 40 content/browser/media/capture/video_capture_oracle.cc event == kSoftwarePaint); event 73 content/browser/media/capture/video_capture_oracle.h bool ObserveEventAndDecideCapture(Event event, base::TimeTicks event_time); event 185 content/browser/media/media_internals.cc for (std::vector<media::MediaLogEvent>::const_iterator event = events.begin(); event 186 content/browser/media/media_internals.cc event != events.end(); ++event) { event 189 content/browser/media/media_internals.cc dict.SetInteger("player", event->id); event 190 content/browser/media/media_internals.cc dict.SetString("type", media::MediaLog::EventTypeToString(event->type)); event 194 content/browser/media/media_internals.cc const double ticks = event->time.ToInternalValue(); event 197 content/browser/media/media_internals.cc dict.Set("params", event->params.DeepCopy()); event 102 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::WaitableEvent event(false, false); event 104 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Unretained(&event))); event 105 content/browser/net/sqlite_persistent_cookie_store_unittest.cc event.Wait(); event 315 content/browser/plugin_data_remover_impl.cc return context_->event(); event 52 content/browser/plugin_data_remover_impl_browsertest.cc base::WaitableEvent* event = event 55 content/browser/plugin_data_remover_impl_browsertest.cc event, event 35 content/browser/power_profiler/power_data_provider_ia_win.cc PowerEvent event; event 49 content/browser/power_profiler/power_data_provider_ia_win.cc event.type = PowerEvent::SOC_PACKAGE; event 50 content/browser/power_profiler/power_data_provider_ia_win.cc event.value = package_power; event 51 content/browser/power_profiler/power_data_provider_ia_win.cc event.time = base::TimeTicks::Now(); event 52 content/browser/power_profiler/power_data_provider_ia_win.cc events.push_back(event); event 28 content/browser/power_profiler/power_profiler_service_unittest.cc PowerEvent event; event 29 content/browser/power_profiler/power_profiler_service_unittest.cc event.type = PowerEvent::SOC_PACKAGE; event 30 content/browser/power_profiler/power_profiler_service_unittest.cc event.time = base::TimeTicks::Now(); event 31 content/browser/power_profiler/power_profiler_service_unittest.cc event.value = 1.0; event 32 content/browser/power_profiler/power_profiler_service_unittest.cc events.push_back(event); event 65 content/browser/power_profiler/power_profiler_service_unittest.cc bool IsValidEvent(const PowerEvent& event) { event 66 content/browser/power_profiler/power_profiler_service_unittest.cc return event.type == PowerEvent::SOC_PACKAGE && event 67 content/browser/power_profiler/power_profiler_service_unittest.cc !event.time.is_null() && event 68 content/browser/power_profiler/power_profiler_service_unittest.cc event.value > 0; event 208 content/browser/renderer_host/backing_store_gtk.cc GdkEvent* event) { event 113 content/browser/renderer_host/gtk_im_context_wrapper.cc void GtkIMContextWrapper::ProcessKeyEvent(GdkEventKey* event) { event 156 content/browser/renderer_host/gtk_im_context_wrapper.cc filtered = gtk_im_context_filter_keypress(context_, event); event 158 content/browser/renderer_host/gtk_im_context_wrapper.cc filtered = gtk_im_context_filter_keypress(context_simple_, event); event 164 content/browser/renderer_host/gtk_im_context_wrapper.cc NativeWebKeyboardEvent wke(reinterpret_cast<GdkEvent*>(event)); event 173 content/browser/renderer_host/gtk_im_context_wrapper.cc if (filtered && event->type == GDK_KEY_PRESS) event 182 content/browser/renderer_host/gtk_im_context_wrapper.cc if (event->type == GDK_KEY_PRESS && filtered && has_result) event 203 content/browser/renderer_host/gtk_im_context_wrapper.cc ProcessInputMethodResult(event, filtered); event 206 content/browser/renderer_host/gtk_im_context_wrapper.cc if (event->type == GDK_KEY_PRESS && !filtered) { event 208 content/browser/renderer_host/gtk_im_context_wrapper.cc } else if (event->type == GDK_KEY_RELEASE) { event 220 content/browser/renderer_host/gtk_im_context_wrapper.cc last_key_was_up_ = (event->type == GDK_KEY_RELEASE); event 411 content/browser/renderer_host/gtk_im_context_wrapper.cc void GtkIMContextWrapper::ProcessInputMethodResult(const GdkEventKey* event, event 432 content/browser/renderer_host/gtk_im_context_wrapper.cc event->state, event 47 content/browser/renderer_host/gtk_im_context_wrapper.h void ProcessKeyEvent(GdkEventKey* event); event 75 content/browser/renderer_host/gtk_im_context_wrapper.h void ProcessInputMethodResult(const GdkEventKey* event, bool filtered); event 59 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc GdkEventKey event; event 60 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc event.type = GDK_KEY_PRESS; event 61 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc event.window = NULL; event 62 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc event.send_event = 0; event 63 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc event.time = 0; event 64 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc event.state = state; event 65 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc event.keyval = keyval; event 66 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc event.length = 0; event 67 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc event.string = NULL; event 68 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc event.hardware_keycode = keys[0].keycode; event 69 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc event.group = keys[0].group; event 70 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc event.is_modifier = 0; event 72 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc return NativeWebKeyboardEvent(reinterpret_cast<GdkEvent*>(&event)); event 78 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc void TestKeyBinding(const NativeWebKeyboardEvent& event, event 82 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc ASSERT_TRUE(handler_->Match(event, &result)); event 106 content/browser/renderer_host/ime_adapter_android.cc NativeWebKeyboardEvent event(static_cast<blink::WebInputEvent::Type>(type), event 109 content/browser/renderer_host/ime_adapter_android.cc rwhva_->SendKeyEvent(event); event 118 content/browser/renderer_host/ime_adapter_android.cc NativeWebKeyboardEvent event = NativeWebKeyboardEventFromKeyEvent( event 122 content/browser/renderer_host/ime_adapter_android.cc event.type == blink::WebInputEvent::RawKeyDown && event.text[0]; event 126 content/browser/renderer_host/ime_adapter_android.cc event.skip_in_browser = key_down_text_insertion; event 127 content/browser/renderer_host/ime_adapter_android.cc rwhva_->SendKeyEvent(event); event 59 content/browser/renderer_host/input/gesture_event_queue.cc if (it->event.type == WebInputEvent::GestureFlingStart) event 61 content/browser/renderer_host/input/gesture_event_queue.cc if (it->event.type == WebInputEvent::GestureFlingCancel) event 72 content/browser/renderer_host/input/gesture_event_queue.cc switch (gesture_event.event.type) { event 114 content/browser/renderer_host/input/gesture_event_queue.cc return gesture_event.event.type != WebInputEvent::GestureFlingStart || event 115 content/browser/renderer_host/input/gesture_event_queue.cc gesture_event.event.sourceDevice != WebGestureEvent::Touchpad || event 116 content/browser/renderer_host/input/gesture_event_queue.cc gesture_event.event.data.flingStart.velocityX != 0 || event 117 content/browser/renderer_host/input/gesture_event_queue.cc gesture_event.event.data.flingStart.velocityY != 0; event 122 content/browser/renderer_host/input/gesture_event_queue.cc return gesture_event.event.type != WebInputEvent::GestureFlingCancel || event 128 content/browser/renderer_host/input/gesture_event_queue.cc switch (gesture_event.event.type) { event 130 content/browser/renderer_host/input/gesture_event_queue.cc if (gesture_event.event.sourceDevice == WebGestureEvent::Touchscreen) event 154 content/browser/renderer_host/input/gesture_event_queue.cc switch (gesture_event.event.type) { event 188 content/browser/renderer_host/input/gesture_event_queue.cc coalesced_gesture_events_[0].event.type != type && event 189 content/browser/renderer_host/input/gesture_event_queue.cc coalesced_gesture_events_[1].event.type == type) { event 194 content/browser/renderer_host/input/gesture_event_queue.cc DCHECK_EQ(event_with_latency.event.type, type); event 204 content/browser/renderer_host/input/gesture_event_queue.cc if (event_with_latency.event.sourceDevice == WebGestureEvent::Touchscreen) event 228 content/browser/renderer_host/input/gesture_event_queue.cc if (first_gesture_event.event.type == WebInputEvent::GestureScrollUpdate && event 230 content/browser/renderer_host/input/gesture_event_queue.cc coalesced_gesture_events_[1].event.type == event 237 content/browser/renderer_host/input/gesture_event_queue.cc if (second_gesture_event.event.type != WebInputEvent::Undefined) event 303 content/browser/renderer_host/input/gesture_event_queue.cc scroll_event.event.modifiers |= gesture_event.event.modifiers; event 304 content/browser/renderer_host/input/gesture_event_queue.cc scroll_event.event.sourceDevice = gesture_event.event.sourceDevice; event 305 content/browser/renderer_host/input/gesture_event_queue.cc scroll_event.event.timeStampSeconds = gesture_event.event.timeStampSeconds; event 310 content/browser/renderer_host/input/gesture_event_queue.cc scroll_event.event.type = WebInputEvent::GestureScrollUpdate; event 311 content/browser/renderer_host/input/gesture_event_queue.cc pinch_event.event.type = WebInputEvent::GesturePinchUpdate; event 312 content/browser/renderer_host/input/gesture_event_queue.cc pinch_event.event.x = gesture_event.event.type == event 314 content/browser/renderer_host/input/gesture_event_queue.cc gesture_event.event.x : last_event->event.x; event 315 content/browser/renderer_host/input/gesture_event_queue.cc pinch_event.event.y = gesture_event.event.type == event 317 content/browser/renderer_host/input/gesture_event_queue.cc gesture_event.event.y : last_event->event.y; event 341 content/browser/renderer_host/input/gesture_event_queue.cc scroll_event.event.data.scrollUpdate.deltaX = event 342 content/browser/renderer_host/input/gesture_event_queue.cc (combined_scroll_pinch_x + pinch_event.event.x) / combined_scale - event 343 content/browser/renderer_host/input/gesture_event_queue.cc pinch_event.event.x; event 344 content/browser/renderer_host/input/gesture_event_queue.cc scroll_event.event.data.scrollUpdate.deltaY = event 345 content/browser/renderer_host/input/gesture_event_queue.cc (combined_scroll_pinch_y + pinch_event.event.y) / combined_scale - event 346 content/browser/renderer_host/input/gesture_event_queue.cc pinch_event.event.y; event 348 content/browser/renderer_host/input/gesture_event_queue.cc pinch_event.event.data.pinchUpdate.scale = combined_scale; event 356 content/browser/renderer_host/input/gesture_event_queue.cc new_event.event.timeStampSeconds < event 357 content/browser/renderer_host/input/gesture_event_queue.cc event_in_queue.event.timeStampSeconds) event 359 content/browser/renderer_host/input/gesture_event_queue.cc return (event_in_queue.event.type == WebInputEvent::GestureScrollUpdate || event 360 content/browser/renderer_host/input/gesture_event_queue.cc event_in_queue.event.type == WebInputEvent::GesturePinchUpdate) && event 361 content/browser/renderer_host/input/gesture_event_queue.cc event_in_queue.event.modifiers == new_event.event.modifiers && event 362 content/browser/renderer_host/input/gesture_event_queue.cc event_in_queue.event.sourceDevice == new_event.event.sourceDevice; event 368 content/browser/renderer_host/input/gesture_event_queue.cc if (gesture_event.event.type == WebInputEvent::GestureScrollUpdate) { event 369 content/browser/renderer_host/input/gesture_event_queue.cc gesture_transform.Translate(gesture_event.event.data.scrollUpdate.deltaX, event 370 content/browser/renderer_host/input/gesture_event_queue.cc gesture_event.event.data.scrollUpdate.deltaY); event 371 content/browser/renderer_host/input/gesture_event_queue.cc } else if (gesture_event.event.type == WebInputEvent::GesturePinchUpdate) { event 372 content/browser/renderer_host/input/gesture_event_queue.cc float scale = gesture_event.event.data.pinchUpdate.scale; event 373 content/browser/renderer_host/input/gesture_event_queue.cc gesture_transform.Translate(-gesture_event.event.x, -gesture_event.event.y); event 375 content/browser/renderer_host/input/gesture_event_queue.cc gesture_transform.Translate(gesture_event.event.x, gesture_event.event.y); event 34 content/browser/renderer_host/input/gesture_event_queue.h const GestureEventWithLatencyInfo& event) = 0; event 37 content/browser/renderer_host/input/gesture_event_queue.h const GestureEventWithLatencyInfo& event, event 48 content/browser/renderer_host/input/gesture_event_queue_unittest.cc const GestureEventWithLatencyInfo& event) OVERRIDE { event 52 content/browser/renderer_host/input/gesture_event_queue_unittest.cc SendInputEventACK(event.event.type, *ack_result); event 57 content/browser/renderer_host/input/gesture_event_queue_unittest.cc const GestureEventWithLatencyInfo& event, event 60 content/browser/renderer_host/input/gesture_event_queue_unittest.cc last_acked_event_ = event.event; event 67 content/browser/renderer_host/input/gesture_event_queue_unittest.cc const MouseEventWithLatencyInfo& event) OVERRIDE { event 164 content/browser/renderer_host/input/gesture_event_queue_unittest.cc GestureEventQueueSize() - 2).event; event 168 content/browser/renderer_host/input/gesture_event_queue_unittest.cc return queue()->coalesced_gesture_events_.back().event; event 176 content/browser/renderer_host/input/gesture_event_queue_unittest.cc return queue()->coalesced_gesture_events_.at(i).event; event 22 content/browser/renderer_host/input/input_ack_handler.h virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event, event 24 content/browser/renderer_host/input/input_ack_handler.h virtual void OnWheelEventAck(const MouseWheelEventWithLatencyInfo& event, event 26 content/browser/renderer_host/input/input_ack_handler.h virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event, event 28 content/browser/renderer_host/input/input_ack_handler.h virtual void OnGestureEventAck(const GestureEventWithLatencyInfo& event, event 195 content/browser/renderer_host/input/input_router_impl.cc if (mouse_event.event.type == WebInputEvent::MouseDown && event 199 content/browser/renderer_host/input/input_router_impl.cc if (mouse_event.event.type == WebInputEvent::MouseUp && event 228 content/browser/renderer_host/input/input_router_impl.cc FilterAndSendWebInputEvent(wheel_event.event, wheel_event.latency, false); event 248 content/browser/renderer_host/input/input_router_impl.cc event_stream_validator_.OnEvent(original_gesture_event.event); event 251 content/browser/renderer_host/input/input_router_impl.cc if (touch_action_filter_.FilterGestureEvent(&gesture_event.event)) event 260 content/browser/renderer_host/input/input_router_impl.cc controller->DiscardingGestureEvent(gesture_event.event); event 264 content/browser/renderer_host/input/input_router_impl.cc FilterAndSendWebInputEvent(gesture_event.event, gesture_event.latency, false); event 280 content/browser/renderer_host/input/input_router_impl.cc if (mouse_event.event.type == WebInputEvent::MouseMove) { event 291 content/browser/renderer_host/input/input_router_impl.cc FilterAndSendWebInputEvent(mouse_event.event, mouse_event.latency, false); event 296 content/browser/renderer_host/input/input_router_impl.cc if (WebTouchEventTraits::IsTouchSequenceStart(touch_event.event)) { event 305 content/browser/renderer_host/input/input_router_impl.cc FilterAndSendWebInputEvent(touch_event.event, touch_event.latency, false); event 310 content/browser/renderer_host/input/input_router_impl.cc FilterAndSendWebInputEvent(gesture_event.event, gesture_event.latency, false); event 352 content/browser/renderer_host/input/input_router_impl.cc void InputRouterImpl::OnTouchEventAck(const TouchEventWithLatencyInfo& event, event 356 content/browser/renderer_host/input/input_router_impl.cc if (WebTouchEventTraits::IsTouchSequenceStart(event.event) && event 361 content/browser/renderer_host/input/input_router_impl.cc ack_handler_->OnTouchEventAck(event, ack_result); event 365 content/browser/renderer_host/input/input_router_impl.cc const GestureEventWithLatencyInfo& event, event 367 content/browser/renderer_host/input/input_router_impl.cc touch_event_queue_.OnGestureEventAck(event, ack_result); event 368 content/browser/renderer_host/input/input_router_impl.cc ProcessAckForOverscroll(event.event, ack_result); event 369 content/browser/renderer_host/input/input_router_impl.cc ack_handler_->OnGestureEventAck(event, ack_result); event 414 content/browser/renderer_host/input/input_router_impl.cc OfferToHandlers(mouse_wheel_events[i].event, event 664 content/browser/renderer_host/input/input_router_impl.cc DCHECK(next_mouse_move_->event.type == WebInputEvent::MouseMove); event 673 content/browser/renderer_host/input/input_router_impl.cc ProcessAckForOverscroll(current_wheel_event_.event, ack_result); event 713 content/browser/renderer_host/input/input_router_impl.cc void InputRouterImpl::ProcessAckForOverscroll(const WebInputEvent& event, event 725 content/browser/renderer_host/input/input_router_impl.cc event, (INPUT_EVENT_ACK_STATE_CONSUMED == ack_result)); event 729 content/browser/renderer_host/input/input_router_impl.cc const MouseEventWithLatencyInfo& event) { event 730 content/browser/renderer_host/input/input_router_impl.cc const WebMouseEvent& mouse_event = event.event; event 742 content/browser/renderer_host/input/input_router_impl.cc x, y, 0, event.latency)); event 747 content/browser/renderer_host/input/input_router_impl.cc x, y, 0, event.latency); event 748 content/browser/renderer_host/input/input_router_impl.cc gesture_event.event.data.scrollUpdate.deltaX = dx; event 749 content/browser/renderer_host/input/input_router_impl.cc gesture_event.event.data.scrollUpdate.deltaY = dy; event 755 content/browser/renderer_host/input/input_router_impl.cc x, y, 0, event.latency)); event 764 content/browser/renderer_host/input/input_router_impl.cc x, y, 0, event.latency)); event 767 content/browser/renderer_host/input/input_router_impl.cc x, y, 0, event.latency)); event 772 content/browser/renderer_host/input/input_router_impl.cc x, y, 0, event.latency)); event 781 content/browser/renderer_host/input/input_router_impl.cc x, y, 0, event.latency)); event 784 content/browser/renderer_host/input/input_router_impl.cc x, y, 0, event.latency)); event 790 content/browser/renderer_host/input/input_router_impl.cc startX, startY, 0, event.latency); event 791 content/browser/renderer_host/input/input_router_impl.cc gesture_event.event.data.pinchUpdate.scale = dx; event 797 content/browser/renderer_host/input/input_router_impl.cc x, y, 0, event.latency)); event 800 content/browser/renderer_host/input/input_router_impl.cc x, y, 0, event.latency)); event 82 content/browser/renderer_host/input/input_router_impl.h virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event, event 88 content/browser/renderer_host/input/input_router_impl.h virtual void OnGestureEventAck(const GestureEventWithLatencyInfo& event, event 171 content/browser/renderer_host/input/input_router_impl.h void ProcessAckForOverscroll(const blink::WebInputEvent& event, event 36 content/browser/renderer_host/input/input_router_impl_perftest.cc virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event, event 40 content/browser/renderer_host/input/input_router_impl_perftest.cc virtual void OnWheelEventAck(const MouseWheelEventWithLatencyInfo& event, event 44 content/browser/renderer_host/input/input_router_impl_perftest.cc virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event, event 48 content/browser/renderer_host/input/input_router_impl_perftest.cc virtual void OnGestureEventAck(const GestureEventWithLatencyInfo& event, event 144 content/browser/renderer_host/input/input_router_impl_unittest.cc WebKeyboardEvent event = SyntheticWebKeyboardEventBuilder::Build(type); event 146 content/browser/renderer_host/input/input_router_impl_unittest.cc memcpy(&native_event, &event, sizeof(event)); event 584 content/browser/renderer_host/input/input_router_impl_unittest.cc ack_handler_->acked_touch_event().event.type); event 592 content/browser/renderer_host/input/input_router_impl_unittest.cc ack_handler_->acked_touch_event().event.type); event 691 content/browser/renderer_host/input/input_router_impl_unittest.cc EXPECT_EQ(acks[i], ack_handler_->acked_touch_event().event.type); event 29 content/browser/renderer_host/input/mock_input_ack_handler.cc const NativeWebKeyboardEvent& event, event 32 content/browser/renderer_host/input/mock_input_ack_handler.cc acked_key_event_ = event; event 37 content/browser/renderer_host/input/mock_input_ack_handler.cc const MouseWheelEventWithLatencyInfo& event, event 40 content/browser/renderer_host/input/mock_input_ack_handler.cc acked_wheel_event_ = event.event; event 45 content/browser/renderer_host/input/mock_input_ack_handler.cc const TouchEventWithLatencyInfo& event, event 48 content/browser/renderer_host/input/mock_input_ack_handler.cc acked_touch_event_ = event; event 57 content/browser/renderer_host/input/mock_input_ack_handler.cc const GestureEventWithLatencyInfo& event, event 60 content/browser/renderer_host/input/mock_input_ack_handler.cc acked_gesture_event_ = event.event; event 21 content/browser/renderer_host/input/mock_input_ack_handler.h virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event, event 23 content/browser/renderer_host/input/mock_input_ack_handler.h virtual void OnWheelEventAck(const MouseWheelEventWithLatencyInfo& event, event 25 content/browser/renderer_host/input/mock_input_ack_handler.h virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event, event 27 content/browser/renderer_host/input/mock_input_ack_handler.h virtual void OnGestureEventAck(const GestureEventWithLatencyInfo& event, event 37 content/browser/renderer_host/input/mock_input_ack_handler.h void set_followup_touch_event(scoped_ptr<GestureEventWithLatencyInfo> event) { event 38 content/browser/renderer_host/input/mock_input_ack_handler.h gesture_followup_event_ = event.Pass(); event 41 content/browser/renderer_host/input/mock_input_ack_handler.h void set_followup_touch_event(scoped_ptr<TouchEventWithLatencyInfo> event) { event 42 content/browser/renderer_host/input/mock_input_ack_handler.h touch_followup_event_ = event.Pass(); event 68 content/browser/renderer_host/input/motion_event_android.cc jobject event, event 91 content/browser/renderer_host/input/motion_event_android.cc event_.Reset(env, event); event 102 content/browser/renderer_host/input/motion_event_android.cc MotionEventAndroid::MotionEventAndroid(JNIEnv* env, jobject event) event 103 content/browser/renderer_host/input/motion_event_android.cc : cached_time_(FromAndroidTime(Java_MotionEvent_getEventTime(env, event))), event 105 content/browser/renderer_host/input/motion_event_android.cc Java_MotionEvent_getActionMasked(env, event))), event 106 content/browser/renderer_host/input/motion_event_android.cc cached_pointer_count_(Java_MotionEvent_getPointerCount(env, event)), event 107 content/browser/renderer_host/input/motion_event_android.cc cached_history_size_(Java_MotionEvent_getHistorySize(env, event)), event 108 content/browser/renderer_host/input/motion_event_android.cc cached_action_index_(Java_MotionEvent_getActionIndex(env, event)), event 110 content/browser/renderer_host/input/motion_event_android.cc event_.Reset(env, event); event 115 content/browser/renderer_host/input/motion_event_android.cc cached_positions_[i].set_x(Java_MotionEvent_getXF_I(env, event, i)); event 116 content/browser/renderer_host/input/motion_event_android.cc cached_positions_[i].set_y(Java_MotionEvent_getYF_I(env, event, i)); event 117 content/browser/renderer_host/input/motion_event_android.cc cached_pointer_ids_[i] = Java_MotionEvent_getPointerId(env, event, i); event 119 content/browser/renderer_host/input/motion_event_android.cc Java_MotionEvent_getTouchMajorF_I(env, event, i); event 270 content/browser/renderer_host/input/motion_event_android.cc const MotionEventAndroid& event) { event 272 content/browser/renderer_host/input/motion_event_android.cc event.event_.obj()); event 24 content/browser/renderer_host/input/motion_event_android.h jobject event, event 75 content/browser/renderer_host/input/motion_event_android.h const MotionEventAndroid& event); event 85 content/browser/renderer_host/input/motion_event_android.h MotionEventAndroid(JNIEnv* env, jobject event); event 16 content/browser/renderer_host/input/motion_event_web.cc bool AllTouchPointsHaveState(const WebTouchEvent& event, event 18 content/browser/renderer_host/input/motion_event_web.cc for (size_t i = 0; i < event.touchesLength; ++i) { event 19 content/browser/renderer_host/input/motion_event_web.cc if (event.touches[i].state != state) event 25 content/browser/renderer_host/input/motion_event_web.cc ui::MotionEvent::Action GetActionFrom(const WebTouchEvent& event) { event 27 content/browser/renderer_host/input/motion_event_web.cc DCHECK(event.touchesLength); event 28 content/browser/renderer_host/input/motion_event_web.cc switch (event.type) { event 30 content/browser/renderer_host/input/motion_event_web.cc if (AllTouchPointsHaveState(event, WebTouchPoint::StatePressed)) event 35 content/browser/renderer_host/input/motion_event_web.cc if (AllTouchPointsHaveState(event, WebTouchPoint::StateReleased)) event 40 content/browser/renderer_host/input/motion_event_web.cc DCHECK(AllTouchPointsHaveState(event, WebTouchPoint::StateCancelled)); event 52 content/browser/renderer_host/input/motion_event_web.cc int GetActionIndexFrom(const WebTouchEvent& event) { event 53 content/browser/renderer_host/input/motion_event_web.cc for (size_t i = 0; i < event.touchesLength; ++i) { event 54 content/browser/renderer_host/input/motion_event_web.cc if (event.touches[i].state != WebTouchPoint::StateUndefined && event 55 content/browser/renderer_host/input/motion_event_web.cc event.touches[i].state != WebTouchPoint::StateStationary) event 63 content/browser/renderer_host/input/motion_event_web.cc MotionEventWeb::MotionEventWeb(const WebTouchEvent& event) event 64 content/browser/renderer_host/input/motion_event_web.cc : event_(event), event 65 content/browser/renderer_host/input/motion_event_web.cc cached_action_(GetActionFrom(event)), event 66 content/browser/renderer_host/input/motion_event_web.cc cached_action_index_(GetActionIndexFrom(event)) { event 16 content/browser/renderer_host/input/motion_event_web.h explicit MotionEventWeb(const blink::WebTouchEvent& event); event 81 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const WebInputEvent& event) OVERRIDE {} event 141 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const WebInputEvent& event) OVERRIDE { event 142 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc ASSERT_EQ(event.type, WebInputEvent::MouseWheel); event 144 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc static_cast<const WebMouseWheelEvent&>(event); event 157 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const WebInputEvent& event) OVERRIDE { event 158 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc ASSERT_TRUE(WebInputEvent::isTouchEventType(event.type)); event 159 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const WebTouchEvent& touch_event = static_cast<const WebTouchEvent&>(event); event 206 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const WebInputEvent& event) OVERRIDE { event 207 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc ASSERT_TRUE(WebInputEvent::isTouchEventType(event.type)); event 208 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const WebTouchEvent& touch_event = static_cast<const WebTouchEvent&>(event); event 291 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const WebInputEvent& event) OVERRIDE { event 292 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc ASSERT_TRUE(WebInputEvent::isTouchEventType(event.type)); event 293 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const WebTouchEvent& touch_event = static_cast<const WebTouchEvent&>(event); event 324 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const WebInputEvent& event) OVERRIDE { event 325 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc ASSERT_TRUE(WebInputEvent::isMouseEventType(event.type)); event 326 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const WebMouseEvent& mouse_event = static_cast<const WebMouseEvent&>(event); event 29 content/browser/renderer_host/input/synthetic_gesture_target.h const blink::WebInputEvent& event) = 0; event 44 content/browser/renderer_host/input/synthetic_gesture_target_base.cc const WebInputEvent& event) { event 47 content/browser/renderer_host/input/synthetic_gesture_target_base.cc "type", WebInputEventTraits::GetName(event.type)); event 52 content/browser/renderer_host/input/synthetic_gesture_target_base.cc if (WebInputEvent::isTouchEventType(event.type)) { event 57 content/browser/renderer_host/input/synthetic_gesture_target_base.cc static_cast<const WebTouchEvent&>(event); event 59 content/browser/renderer_host/input/synthetic_gesture_target_base.cc } else if (event.type == WebInputEvent::MouseWheel) { event 64 content/browser/renderer_host/input/synthetic_gesture_target_base.cc static_cast<const WebMouseWheelEvent&>(event); event 66 content/browser/renderer_host/input/synthetic_gesture_target_base.cc } else if (WebInputEvent::isMouseEventType(event.type)) { event 71 content/browser/renderer_host/input/synthetic_gesture_target_base.cc static_cast<const WebMouseEvent&>(event); event 44 content/browser/renderer_host/input/synthetic_gesture_target_base.h const blink::WebInputEvent& event) OVERRIDE; event 28 content/browser/renderer_host/input/touch_event_queue.cc TouchEventWithLatencyInfo event = event_to_cancel; event 29 content/browser/renderer_host/input/touch_event_queue.cc event.event.type = WebInputEvent::TouchCancel; event 30 content/browser/renderer_host/input/touch_event_queue.cc for (size_t i = 0; i < event.event.touchesLength; i++) event 31 content/browser/renderer_host/input/touch_event_queue.cc event.event.touches[i].state = WebTouchPoint::StateCancelled; event 32 content/browser/renderer_host/input/touch_event_queue.cc return event; event 57 content/browser/renderer_host/input/touch_event_queue.cc void Start(const TouchEventWithLatencyInfo& event) { event 59 content/browser/renderer_host/input/touch_event_queue.cc DCHECK(ShouldTouchTypeTriggerTimeout(event.event.type)); event 60 content/browser/renderer_host/input/touch_event_queue.cc timeout_event_ = event; event 77 content/browser/renderer_host/input/touch_event_queue.cc touch_queue_->UpdateTouchAckStates(timeout_event_.event, ack_result); event 87 content/browser/renderer_host/input/touch_event_queue.cc bool FilterEvent(const WebTouchEvent& event) { event 122 content/browser/renderer_host/input/touch_event_queue.cc return !WebTouchEventTraits::IsTouchSequenceStart(timeout_event_.event); event 177 content/browser/renderer_host/input/touch_event_queue.cc bool FilterEvent(const WebTouchEvent& event) { event 178 content/browser/renderer_host/input/touch_event_queue.cc if (WebTouchEventTraits::IsTouchSequenceStart(event)) { event 180 content/browser/renderer_host/input/touch_event_queue.cc gfx::PointF(event.touches[0].position); event 184 content/browser/renderer_host/input/touch_event_queue.cc if (event.type != WebInputEvent::TouchMove) event 189 content/browser/renderer_host/input/touch_event_queue.cc if (event.touchesLength > 1) { event 191 content/browser/renderer_host/input/touch_event_queue.cc } else if (event.touchesLength == 1) { event 193 content/browser/renderer_host/input/touch_event_queue.cc gfx::PointF position(event.touches[0].position); event 222 content/browser/renderer_host/input/touch_event_queue.cc CoalescedWebTouchEvent(const TouchEventWithLatencyInfo& event, event 224 content/browser/renderer_host/input/touch_event_queue.cc : coalesced_event_(event), event 226 content/browser/renderer_host/input/touch_event_queue.cc events_.push_back(event); event 303 content/browser/renderer_host/input/touch_event_queue.cc void TouchEventQueue::QueueEvent(const TouchEventWithLatencyInfo& event) { event 313 content/browser/renderer_host/input/touch_event_queue.cc !WebTouchEventTraits::IsTouchSequenceStart(event.event))) { event 314 content/browser/renderer_host/input/touch_event_queue.cc client_->OnTouchEventAck(event, INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS); event 320 content/browser/renderer_host/input/touch_event_queue.cc touch_queue_.push_back(new CoalescedWebTouchEvent(event, false)); event 329 content/browser/renderer_host/input/touch_event_queue.cc if (last_event->CoalesceEventIfPossible(event)) event 332 content/browser/renderer_host/input/touch_event_queue.cc touch_queue_.push_back(new CoalescedWebTouchEvent(event, false)); event 351 content/browser/renderer_host/input/touch_event_queue.cc touch_queue_.front()->coalesced_event().event; event 376 content/browser/renderer_host/input/touch_event_queue.cc PreFilterResult result = FilterBeforeForwarding(touch.event); event 400 content/browser/renderer_host/input/touch_event_queue.cc if (WebTouchEventTraits::IsTouchSequenceStart(touch.event)) { event 414 content/browser/renderer_host/input/touch_event_queue.cc ShouldTouchTypeTriggerTimeout(touch.event.type)) { event 422 content/browser/renderer_host/input/touch_event_queue.cc if (gesture_event.event.type != blink::WebInputEvent::GestureScrollBegin) event 455 content/browser/renderer_host/input/touch_event_queue.cc const GestureEventWithLatencyInfo& event, event 460 content/browser/renderer_host/input/touch_event_queue.cc if (event.event.type != blink::WebInputEvent::GestureScrollUpdate) event 500 content/browser/renderer_host/input/touch_event_queue.cc const blink::WebTouchEvent& event = event 501 content/browser/renderer_host/input/touch_event_queue.cc touch_queue_.front()->coalesced_event().event; event 502 content/browser/renderer_host/input/touch_event_queue.cc return (event.type == WebInputEvent::TouchStart); event 572 content/browser/renderer_host/input/touch_event_queue.cc TouchEventQueue::FilterBeforeForwarding(const WebTouchEvent& event) { event 573 content/browser/renderer_host/input/touch_event_queue.cc if (timeout_handler_ && timeout_handler_->FilterEvent(event)) event 576 content/browser/renderer_host/input/touch_event_queue.cc if (touchmove_slop_suppressor_->FilterEvent(event)) event 583 content/browser/renderer_host/input/touch_event_queue.cc event.type != WebInputEvent::TouchCancel) { event 584 content/browser/renderer_host/input/touch_event_queue.cc if (WebTouchEventTraits::IsTouchSequenceStart(event)) event 589 content/browser/renderer_host/input/touch_event_queue.cc if (absorbing_touch_moves_ && event.type == WebInputEvent::TouchMove) event 593 content/browser/renderer_host/input/touch_event_queue.cc if (event.type == WebInputEvent::TouchStart) event 596 content/browser/renderer_host/input/touch_event_queue.cc for (unsigned int i = 0; i < event.touchesLength; ++i) { event 597 content/browser/renderer_host/input/touch_event_queue.cc const WebTouchPoint& point = event.touches[i]; event 616 content/browser/renderer_host/input/touch_event_queue.cc void TouchEventQueue::UpdateTouchAckStates(const WebTouchEvent& event, event 619 content/browser/renderer_host/input/touch_event_queue.cc if (event.type == WebInputEvent::TouchEnd || event 620 content/browser/renderer_host/input/touch_event_queue.cc event.type == WebInputEvent::TouchCancel) { event 622 content/browser/renderer_host/input/touch_event_queue.cc for (unsigned i = 0; i < event.touchesLength; ++i) { event 623 content/browser/renderer_host/input/touch_event_queue.cc const WebTouchPoint& point = event.touches[i]; event 628 content/browser/renderer_host/input/touch_event_queue.cc } else if (event.type == WebInputEvent::TouchStart) { event 629 content/browser/renderer_host/input/touch_event_queue.cc for (unsigned i = 0; i < event.touchesLength; ++i) { event 630 content/browser/renderer_host/input/touch_event_queue.cc const WebTouchPoint& point = event.touches[i]; event 30 content/browser/renderer_host/input/touch_event_queue.h const TouchEventWithLatencyInfo& event) = 0; event 33 content/browser/renderer_host/input/touch_event_queue.h const TouchEventWithLatencyInfo& event, event 71 content/browser/renderer_host/input/touch_event_queue.h void QueueEvent(const TouchEventWithLatencyInfo& event); event 86 content/browser/renderer_host/input/touch_event_queue.h const GestureEventWithLatencyInfo& event, event 148 content/browser/renderer_host/input/touch_event_queue.h PreFilterResult FilterBeforeForwarding(const blink::WebTouchEvent& event); event 149 content/browser/renderer_host/input/touch_event_queue.h void ForwardToRenderer(const TouchEventWithLatencyInfo& event); event 150 content/browser/renderer_host/input/touch_event_queue.h void UpdateTouchAckStates(const blink::WebTouchEvent& event, event 55 content/browser/renderer_host/input/touch_event_queue_unittest.cc const TouchEventWithLatencyInfo& event) OVERRIDE { event 57 content/browser/renderer_host/input/touch_event_queue_unittest.cc last_sent_event_ = event.event; event 63 content/browser/renderer_host/input/touch_event_queue_unittest.cc const TouchEventWithLatencyInfo& event, event 66 content/browser/renderer_host/input/touch_event_queue_unittest.cc last_acked_event_ = event.event; event 93 content/browser/renderer_host/input/touch_event_queue_unittest.cc void SendTouchEvent(const WebTouchEvent& event) { event 94 content/browser/renderer_host/input/touch_event_queue_unittest.cc queue_->QueueEvent(TouchEventWithLatencyInfo(event, ui::LatencyInfo())); event 98 content/browser/renderer_host/input/touch_event_queue_unittest.cc WebGestureEvent event; event 99 content/browser/renderer_host/input/touch_event_queue_unittest.cc event.type = type; event 101 content/browser/renderer_host/input/touch_event_queue_unittest.cc GestureEventWithLatencyInfo(event, ui::LatencyInfo())); event 112 content/browser/renderer_host/input/touch_event_queue_unittest.cc GestureEventWithLatencyInfo event(gesture_event, ui::LatencyInfo()); event 113 content/browser/renderer_host/input/touch_event_queue_unittest.cc queue_->OnGestureEventAck(event, ack_result); event 116 content/browser/renderer_host/input/touch_event_queue_unittest.cc void SetFollowupEvent(const WebTouchEvent& event) { event 117 content/browser/renderer_host/input/touch_event_queue_unittest.cc followup_touch_event_.reset(new WebTouchEvent(event)); event 120 content/browser/renderer_host/input/touch_event_queue_unittest.cc void SetFollowupEvent(const WebGestureEvent& event) { event 121 content/browser/renderer_host/input/touch_event_queue_unittest.cc followup_gesture_event_.reset(new WebGestureEvent(event)); event 196 content/browser/renderer_host/input/touch_event_queue_unittest.cc return queue_->GetLatestEventForTesting().event; event 477 content/browser/renderer_host/input/touch_event_queue_unittest.cc const WebTouchEvent& event = latest_event(); event 478 content/browser/renderer_host/input/touch_event_queue_unittest.cc EXPECT_EQ(WebTouchPoint::StateMoved, event.touches[0].state); event 479 content/browser/renderer_host/input/touch_event_queue_unittest.cc EXPECT_EQ(WebTouchPoint::StateMoved, event.touches[1].state); event 22 content/browser/renderer_host/input/touchpad_tap_suppression_controller.h const MouseEventWithLatencyInfo& event) = 0; event 44 content/browser/renderer_host/input/touchpad_tap_suppression_controller.h bool ShouldDeferMouseDown(const MouseEventWithLatencyInfo& event); event 30 content/browser/renderer_host/input/touchpad_tap_suppression_controller_aura.cc const MouseEventWithLatencyInfo& event) { event 33 content/browser/renderer_host/input/touchpad_tap_suppression_controller_aura.cc stashed_mouse_down_ = event; event 35 content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc const GestureEventWithLatencyInfo& event) { event 38 content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc stashed_tap_down_.reset(new GestureEventWithLatencyInfo(event)); event 43 content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc const GestureEventWithLatencyInfo& event) { event 47 content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc stashed_show_press_.reset(new GestureEventWithLatencyInfo(event)); event 34 content/browser/renderer_host/input/touchscreen_tap_suppression_controller.h bool ShouldDeferGestureTapDown(const GestureEventWithLatencyInfo& event); event 38 content/browser/renderer_host/input/touchscreen_tap_suppression_controller.h bool ShouldDeferGestureShowPress(const GestureEventWithLatencyInfo& event); event 92 content/browser/renderer_host/input/web_input_event_builders_gtk.cc ui::KeyboardCode GdkEventToWindowsKeyCode(const GdkEventKey* event) { event 229 content/browser/renderer_host/input/web_input_event_builders_gtk.cc ui::WindowsKeyCodeForGdkKeyCode(event->keyval); event 233 content/browser/renderer_host/input/web_input_event_builders_gtk.cc if (event->hardware_keycode < arraysize(kHardwareCodeToGDKKeyval)) { event 234 content/browser/renderer_host/input/web_input_event_builders_gtk.cc int keyval = kHardwareCodeToGDKKeyval[event->hardware_keycode]; event 241 content/browser/renderer_host/input/web_input_event_builders_gtk.cc return ui::WindowsKeyCodeForGdkKeyCode(event->keyval); event 247 content/browser/renderer_host/input/web_input_event_builders_gtk.cc guint NormalizeEventState(const GdkEventKey* event) { event 249 content/browser/renderer_host/input/web_input_event_builders_gtk.cc switch (GdkEventToWindowsKeyCode(event)) { event 269 content/browser/renderer_host/input/web_input_event_builders_gtk.cc return event->state; event 271 content/browser/renderer_host/input/web_input_event_builders_gtk.cc if (event->type == GDK_KEY_PRESS) event 272 content/browser/renderer_host/input/web_input_event_builders_gtk.cc return event->state | mask; event 273 content/browser/renderer_host/input/web_input_event_builders_gtk.cc return event->state & ~mask; event 327 content/browser/renderer_host/input/web_input_event_builders_gtk.cc WebKeyboardEvent WebKeyboardEventBuilder::Build(const GdkEventKey* event) { event 330 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.timeStampSeconds = GdkEventTimeToWebEventTime(event->time); event 331 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.modifiers = GdkStateToWebEventModifiers(NormalizeEventState(event)); event 333 content/browser/renderer_host/input/web_input_event_builders_gtk.cc switch (event->type) { event 356 content/browser/renderer_host/input/web_input_event_builders_gtk.cc ui::KeyboardCode windows_key_code = GdkEventToWindowsKeyCode(event); event 359 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.nativeKeyCode = event->hardware_keycode; event 368 content/browser/renderer_host/input/web_input_event_builders_gtk.cc static_cast<int>(gdk_keyval_to_unicode(event->keyval)); event 383 content/browser/renderer_host/input/web_input_event_builders_gtk.cc if (IsKeyPadKeyval(event->keyval)) event 420 content/browser/renderer_host/input/web_input_event_builders_gtk.cc WebMouseEvent WebMouseEventBuilder::Build(const GdkEventButton* event) { event 423 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.timeStampSeconds = GdkEventTimeToWebEventTime(event->time); event 425 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.modifiers = GdkStateToWebEventModifiers(event->state); event 426 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.x = static_cast<int>(event->x); event 427 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.y = static_cast<int>(event->y); event 430 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.globalX = static_cast<int>(event->x_root); event 431 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.globalY = static_cast<int>(event->y_root); event 434 content/browser/renderer_host/input/web_input_event_builders_gtk.cc switch (event->type) { event 448 content/browser/renderer_host/input/web_input_event_builders_gtk.cc if (event->button == 1) event 450 content/browser/renderer_host/input/web_input_event_builders_gtk.cc else if (event->button == 2) event 452 content/browser/renderer_host/input/web_input_event_builders_gtk.cc else if (event->button == 3) event 457 content/browser/renderer_host/input/web_input_event_builders_gtk.cc event->window, event->time, event->x, event->y); event 464 content/browser/renderer_host/input/web_input_event_builders_gtk.cc last_click_event_window = event->window; event 465 content/browser/renderer_host/input/web_input_event_builders_gtk.cc last_click_x = event->x; event 466 content/browser/renderer_host/input/web_input_event_builders_gtk.cc last_click_y = event->y; event 469 content/browser/renderer_host/input/web_input_event_builders_gtk.cc last_click_time = event->time; event 476 content/browser/renderer_host/input/web_input_event_builders_gtk.cc WebMouseEvent WebMouseEventBuilder::Build(const GdkEventMotion* event) { event 479 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.timeStampSeconds = GdkEventTimeToWebEventTime(event->time); event 480 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.modifiers = GdkStateToWebEventModifiers(event->state); event 481 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.x = static_cast<int>(event->x); event 482 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.y = static_cast<int>(event->y); event 485 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.globalX = static_cast<int>(event->x_root); event 486 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.globalY = static_cast<int>(event->y_root); event 488 content/browser/renderer_host/input/web_input_event_builders_gtk.cc switch (event->type) { event 497 content/browser/renderer_host/input/web_input_event_builders_gtk.cc if (event->state & GDK_BUTTON1_MASK) event 499 content/browser/renderer_host/input/web_input_event_builders_gtk.cc else if (event->state & GDK_BUTTON2_MASK) event 501 content/browser/renderer_host/input/web_input_event_builders_gtk.cc else if (event->state & GDK_BUTTON3_MASK) event 504 content/browser/renderer_host/input/web_input_event_builders_gtk.cc if (ShouldForgetPreviousClick(event->window, event->time, event->x, event->y)) event 510 content/browser/renderer_host/input/web_input_event_builders_gtk.cc WebMouseEvent WebMouseEventBuilder::Build(const GdkEventCrossing* event) { event 513 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.timeStampSeconds = GdkEventTimeToWebEventTime(event->time); event 514 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.modifiers = GdkStateToWebEventModifiers(event->state); event 515 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.x = static_cast<int>(event->x); event 516 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.y = static_cast<int>(event->y); event 519 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.globalX = static_cast<int>(event->x_root); event 520 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.globalY = static_cast<int>(event->y_root); event 522 content/browser/renderer_host/input/web_input_event_builders_gtk.cc switch (event->type) { event 535 content/browser/renderer_host/input/web_input_event_builders_gtk.cc if (event->state & GDK_BUTTON1_MASK) event 537 content/browser/renderer_host/input/web_input_event_builders_gtk.cc else if (event->state & GDK_BUTTON2_MASK) event 539 content/browser/renderer_host/input/web_input_event_builders_gtk.cc else if (event->state & GDK_BUTTON3_MASK) event 542 content/browser/renderer_host/input/web_input_event_builders_gtk.cc if (ShouldForgetPreviousClick(event->window, event->time, event->x, event->y)) event 565 content/browser/renderer_host/input/web_input_event_builders_gtk.cc const GdkEventScroll* event) { event 571 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.timeStampSeconds = GdkEventTimeToWebEventTime(event->time); event 572 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.modifiers = GdkStateToWebEventModifiers(event->state); event 573 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.x = static_cast<int>(event->x); event 574 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.y = static_cast<int>(event->y); event 577 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.globalX = static_cast<int>(event->x_root); event 578 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.globalY = static_cast<int>(event->y_root); event 581 content/browser/renderer_host/input/web_input_event_builders_gtk.cc switch (event->direction) { event 22 content/browser/renderer_host/input/web_input_event_builders_gtk.h static blink::WebKeyboardEvent Build(const GdkEventKey* event); event 30 content/browser/renderer_host/input/web_input_event_builders_gtk.h static blink::WebMouseEvent Build(const GdkEventButton* event); event 31 content/browser/renderer_host/input/web_input_event_builders_gtk.h static blink::WebMouseEvent Build(const GdkEventMotion* event); event 32 content/browser/renderer_host/input/web_input_event_builders_gtk.h static blink::WebMouseEvent Build(const GdkEventCrossing* event); event 39 content/browser/renderer_host/input/web_input_event_builders_gtk.h const GdkEventScroll* event); event 97 content/browser/renderer_host/input/web_input_event_builders_win.cc static void SetToggleKeyState(WebInputEvent* event) { event 100 content/browser/renderer_host/input/web_input_event_builders_win.cc event->modifiers |= WebInputEvent::NumLockOn; event 102 content/browser/renderer_host/input/web_input_event_builders_win.cc event->modifiers |= WebInputEvent::CapsLockOn; event 179 content/browser/renderer_host/input/web_input_event_util.cc WebTouchPoint CreateWebTouchPoint(const MotionEvent& event, event 183 content/browser/renderer_host/input/web_input_event_util.cc touch.id = event.GetPointerId(pointer_index); event 185 content/browser/renderer_host/input/web_input_event_util.cc event.GetAction(), event 186 content/browser/renderer_host/input/web_input_event_util.cc static_cast<int>(pointer_index) == event.GetActionIndex()); event 187 content/browser/renderer_host/input/web_input_event_util.cc touch.position.x = event.GetX(pointer_index) * scale; event 188 content/browser/renderer_host/input/web_input_event_util.cc touch.position.y = event.GetY(pointer_index) * scale; event 192 content/browser/renderer_host/input/web_input_event_util.cc event.GetTouchMajor(pointer_index) * 0.5f * scale; event 193 content/browser/renderer_host/input/web_input_event_util.cc touch.force = event.GetPressure(pointer_index); event 202 content/browser/renderer_host/input/web_input_event_util.cc void UpdateWindowsKeyCodeAndKeyIdentifier(blink::WebKeyboardEvent* event, event 204 content/browser/renderer_host/input/web_input_event_util.cc event->windowsKeyCode = windows_key_code; event 208 content/browser/renderer_host/input/web_input_event_util.cc base::strlcpy(event->keyIdentifier, id, sizeof(event->keyIdentifier) - 1); event 210 content/browser/renderer_host/input/web_input_event_util.cc base::snprintf(event->keyIdentifier, sizeof(event->keyIdentifier), "U+%04X", event 216 content/browser/renderer_host/input/web_input_event_util.cc const ui::MotionEvent& event, event 220 content/browser/renderer_host/input/web_input_event_util.cc result.type = ToWebInputEventType(event.GetAction()); event 224 content/browser/renderer_host/input/web_input_event_util.cc (event.GetEventTime() - base::TimeTicks()).InSecondsF(); event 227 content/browser/renderer_host/input/web_input_event_util.cc std::min(event.GetPointerCount(), event 232 content/browser/renderer_host/input/web_input_event_util.cc result.touches[i] = CreateWebTouchPoint(event, i, scale); event 22 content/browser/renderer_host/input/web_input_event_util.h blink::WebKeyboardEvent* event, event 28 content/browser/renderer_host/input/web_input_event_util.h const ui::MotionEvent& event, event 16 content/browser/renderer_host/input/web_touch_event_traits.cc bool AllTouchPointsHaveState(const WebTouchEvent& event, event 18 content/browser/renderer_host/input/web_touch_event_traits.cc if(!event.touchesLength) event 20 content/browser/renderer_host/input/web_touch_event_traits.cc for (size_t i = 0; i < event.touchesLength; ++i) { event 21 content/browser/renderer_host/input/web_touch_event_traits.cc if (event.touches[i].state != state) event 29 content/browser/renderer_host/input/web_touch_event_traits.cc bool WebTouchEventTraits::IsTouchSequenceStart(const WebTouchEvent& event) { event 30 content/browser/renderer_host/input/web_touch_event_traits.cc DCHECK(event.touchesLength); event 31 content/browser/renderer_host/input/web_touch_event_traits.cc if (event.type != WebInputEvent::TouchStart) event 33 content/browser/renderer_host/input/web_touch_event_traits.cc return AllTouchPointsHaveState(event, blink::WebTouchPoint::StatePressed); event 17 content/browser/renderer_host/input/web_touch_event_traits.h static bool IsTouchSequenceStart(const blink::WebTouchEvent& event); event 71 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc base::WaitableEvent event(false, false); event 73 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc &base::WaitableEvent::Signal, base::Unretained(&event))); event 74 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc event.Wait(); event 12 content/browser/renderer_host/native_web_keyboard_event.cc const NativeWebKeyboardEvent& event) { event 14 content/browser/renderer_host/native_web_keyboard_event.cc if (event.modifiers & NativeWebKeyboardEvent::ShiftKey) event 16 content/browser/renderer_host/native_web_keyboard_event.cc if (event.modifiers & NativeWebKeyboardEvent::ControlKey) event 18 content/browser/renderer_host/native_web_keyboard_event.cc if (event.modifiers & NativeWebKeyboardEvent::AltKey) event 21 content/browser/renderer_host/native_web_keyboard_event.cc if (event.modifiers & NativeWebKeyboardEvent::MetaKey) event 17 content/browser/renderer_host/native_web_keyboard_event_aura.cc ui::Event* CopyEvent(ui::Event* event) { event 18 content/browser/renderer_host/native_web_keyboard_event_aura.cc return event ? new ui::KeyEvent(*static_cast<ui::KeyEvent*>(event)) : NULL; event 17 content/browser/renderer_host/native_web_keyboard_event_gtk.cc void FreeEvent(gfx::NativeEvent event) { event 18 content/browser/renderer_host/native_web_keyboard_event_gtk.cc if (event) event 19 content/browser/renderer_host/native_web_keyboard_event_gtk.cc gdk_event_free(event); event 38 content/browser/renderer_host/overscroll_controller.cc const blink::WebInputEvent& event, event 41 content/browser/renderer_host/overscroll_controller.cc switch (event.type) { event 49 content/browser/renderer_host/overscroll_controller.cc static_cast<const blink::WebMouseWheelEvent&>(event); event 59 content/browser/renderer_host/overscroll_controller.cc if (blink::WebInputEvent::isMouseEventType(event.type) || event 60 content/browser/renderer_host/overscroll_controller.cc blink::WebInputEvent::isKeyboardEventType(event.type)) { event 67 content/browser/renderer_host/overscroll_controller.cc if (DispatchEventCompletesAction(event)) { event 75 content/browser/renderer_host/overscroll_controller.cc if (blink::WebInputEvent::isGestureEventType(event.type)) { event 85 content/browser/renderer_host/overscroll_controller.cc if (overscroll_mode_ != OVERSCROLL_NONE && DispatchEventResetsState(event)) { event 87 content/browser/renderer_host/overscroll_controller.cc if (blink::WebInputEvent::isGestureEventType(event.type)) { event 100 content/browser/renderer_host/overscroll_controller.cc if (ProcessEventForOverscroll(event)) event 107 content/browser/renderer_host/overscroll_controller.cc void OverscrollController::ReceivedEventACK(const blink::WebInputEvent& event, event 114 content/browser/renderer_host/overscroll_controller.cc (event.type == blink::WebInputEvent::MouseWheel || event 115 content/browser/renderer_host/overscroll_controller.cc event.type == blink::WebInputEvent::GestureScrollUpdate)) { event 120 content/browser/renderer_host/overscroll_controller.cc ProcessEventForOverscroll(event); event 145 content/browser/renderer_host/overscroll_controller.cc const blink::WebInputEvent& event) const { event 151 content/browser/renderer_host/overscroll_controller.cc if (event.type != blink::WebInputEvent::MouseMove && event 152 content/browser/renderer_host/overscroll_controller.cc event.type != blink::WebInputEvent::GestureScrollEnd && event 153 content/browser/renderer_host/overscroll_controller.cc event.type != blink::WebInputEvent::GestureFlingStart) event 163 content/browser/renderer_host/overscroll_controller.cc if (event.type == blink::WebInputEvent::GestureFlingStart) { event 166 content/browser/renderer_host/overscroll_controller.cc static_cast<const blink::WebGestureEvent&>(event); event 204 content/browser/renderer_host/overscroll_controller.cc const blink::WebInputEvent& event) const { event 205 content/browser/renderer_host/overscroll_controller.cc switch (event.type) { event 210 content/browser/renderer_host/overscroll_controller.cc static_cast<const blink::WebMouseWheelEvent&>(event); event 221 content/browser/renderer_host/overscroll_controller.cc return !blink::WebInputEvent::isTouchEventType(event.type); event 226 content/browser/renderer_host/overscroll_controller.cc const blink::WebInputEvent& event) { event 228 content/browser/renderer_host/overscroll_controller.cc switch (event.type) { event 231 content/browser/renderer_host/overscroll_controller.cc static_cast<const blink::WebMouseWheelEvent&>(event); event 243 content/browser/renderer_host/overscroll_controller.cc static_cast<const blink::WebGestureEvent&>(event); event 253 content/browser/renderer_host/overscroll_controller.cc static_cast<const blink::WebGestureEvent&>(event); event 278 content/browser/renderer_host/overscroll_controller.cc DCHECK(blink::WebInputEvent::isGestureEventType(event.type) || event 279 content/browser/renderer_host/overscroll_controller.cc blink::WebInputEvent::isTouchEventType(event.type)) event 280 content/browser/renderer_host/overscroll_controller.cc << "Received unexpected event: " << event.type; event 51 content/browser/renderer_host/overscroll_controller.h Disposition DispatchEvent(const blink::WebInputEvent& event, event 56 content/browser/renderer_host/overscroll_controller.h void ReceivedEventACK(const blink::WebInputEvent& event, bool processed); event 60 content/browser/renderer_host/overscroll_controller.h void DiscardingGestureEvent(const blink::WebGestureEvent& event); event 89 content/browser/renderer_host/overscroll_controller.h const blink::WebInputEvent& event) const; event 93 content/browser/renderer_host/overscroll_controller.h bool DispatchEventResetsState(const blink::WebInputEvent& event) const; event 97 content/browser/renderer_host/overscroll_controller.h bool ProcessEventForOverscroll(const blink::WebInputEvent& event); event 10 content/browser/renderer_host/render_widget_host_delegate.cc const NativeWebKeyboardEvent& event, event 16 content/browser/renderer_host/render_widget_host_delegate.cc const blink::WebMouseWheelEvent& event) { event 21 content/browser/renderer_host/render_widget_host_delegate.cc const blink::WebGestureEvent& event) { event 26 content/browser/renderer_host/render_widget_host_delegate.cc const blink::WebGestureEvent& event) { event 37 content/browser/renderer_host/render_widget_host_delegate.h virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, event 43 content/browser/renderer_host/render_widget_host_delegate.h virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} event 48 content/browser/renderer_host/render_widget_host_delegate.h virtual bool HandleWheelEvent(const blink::WebMouseWheelEvent& event); event 53 content/browser/renderer_host/render_widget_host_delegate.h virtual bool PreHandleGestureEvent(const blink::WebGestureEvent& event); event 57 content/browser/renderer_host/render_widget_host_delegate.h virtual bool HandleGestureEvent(const blink::WebGestureEvent& event); event 2012 content/browser/renderer_host/render_widget_host_impl.cc const NativeWebKeyboardEvent& event) { event 2013 content/browser/renderer_host/render_widget_host_impl.cc if (event.skip_in_browser || event.type != WebKeyboardEvent::RawKeyDown) event 2018 content/browser/renderer_host/render_widget_host_impl.cc if (key_press_event_callbacks_[i].Run(event)) event 2034 content/browser/renderer_host/render_widget_host_impl.cc const blink::WebInputEvent& event, const ui::LatencyInfo& latency_info) { event 2038 content/browser/renderer_host/render_widget_host_impl.cc if (IgnoreInputEvents() && event.type != WebInputEvent::TouchCancel) event 2044 content/browser/renderer_host/render_widget_host_impl.cc if (event.type == WebInputEvent::MouseDown) event 2047 content/browser/renderer_host/render_widget_host_impl.cc return view_ ? view_->FilterInputEvent(event) event 2080 content/browser/renderer_host/render_widget_host_impl.cc const NativeWebKeyboardEvent& event, event 2083 content/browser/renderer_host/render_widget_host_impl.cc if (!is_hidden() && view_ && view_->PostProcessEventForPluginIme(event)) event 2091 content/browser/renderer_host/render_widget_host_impl.cc if (delegate_ && !processed && !is_hidden() && !event.skip_in_browser) { event 2092 content/browser/renderer_host/render_widget_host_impl.cc delegate_->HandleKeyboardEvent(event); event 2114 content/browser/renderer_host/render_widget_host_impl.cc if (!delegate_->HandleWheelEvent(wheel_event.event)) event 2115 content/browser/renderer_host/render_widget_host_impl.cc view_->UnhandledWheelEvent(wheel_event.event); event 2120 content/browser/renderer_host/render_widget_host_impl.cc const GestureEventWithLatencyInfo& event, event 2122 content/browser/renderer_host/render_widget_host_impl.cc if (!event.latency.FindLatency( event 2126 content/browser/renderer_host/render_widget_host_impl.cc ui::LatencyInfo latency = event.latency; event 2132 content/browser/renderer_host/render_widget_host_impl.cc if (delegate_->HandleGestureEvent(event.event)) event 2137 content/browser/renderer_host/render_widget_host_impl.cc view_->GestureEventAck(event.event, ack_result); event 2141 content/browser/renderer_host/render_widget_host_impl.cc const TouchEventWithLatencyInfo& event, event 2143 content/browser/renderer_host/render_widget_host_impl.cc TouchEventWithLatencyInfo touch_event = event; event 578 content/browser/renderer_host/render_widget_host_impl.h virtual void UnhandledWheelEvent(const blink::WebMouseWheelEvent& event) {} event 727 content/browser/renderer_host/render_widget_host_impl.h bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); event 731 content/browser/renderer_host/render_widget_host_impl.h const blink::WebInputEvent& event, event 740 content/browser/renderer_host/render_widget_host_impl.h virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event, event 742 content/browser/renderer_host/render_widget_host_impl.h virtual void OnWheelEventAck(const MouseWheelEventWithLatencyInfo& event, event 744 content/browser/renderer_host/render_widget_host_impl.h virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event, event 746 content/browser/renderer_host/render_widget_host_impl.h virtual void OnGestureEventAck(const GestureEventWithLatencyInfo& event, event 160 content/browser/renderer_host/render_widget_host_unittest.cc client_->FilterInputEvent(touch_event.event, touch_event.latency) == event 226 content/browser/renderer_host/render_widget_host_unittest.cc GestureEventLastQueueEventSize() - 2).event; event 230 content/browser/renderer_host/render_widget_host_unittest.cc return gesture_event_queue().coalesced_gesture_events_.back().event; event 238 content/browser/renderer_host/render_widget_host_unittest.cc return gesture_event_queue().coalesced_gesture_events_.at(i).event; event 466 content/browser/renderer_host/render_widget_host_unittest.cc acked_event_ = touch.event; event 469 content/browser/renderer_host/render_widget_host_unittest.cc virtual void UnhandledWheelEvent(const WebMouseWheelEvent& event) OVERRIDE { event 471 content/browser/renderer_host/render_widget_host_unittest.cc unhandled_wheel_event_ = event; event 473 content/browser/renderer_host/render_widget_host_unittest.cc virtual void GestureEventAck(const WebGestureEvent& event, event 475 content/browser/renderer_host/render_widget_host_unittest.cc gesture_event_type_ = event.type; event 544 content/browser/renderer_host/render_widget_host_unittest.cc virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, event 546 content/browser/renderer_host/render_widget_host_unittest.cc prehandle_keyboard_event_type_ = event.type; event 552 content/browser/renderer_host/render_widget_host_unittest.cc const NativeWebKeyboardEvent& event) OVERRIDE { event 553 content/browser/renderer_host/render_widget_host_unittest.cc unhandled_keyboard_event_type_ = event.type; event 558 content/browser/renderer_host/render_widget_host_unittest.cc const blink::WebMouseWheelEvent& event) OVERRIDE { event 646 content/browser/renderer_host/render_widget_host_unittest.cc WebKeyboardEvent event = SyntheticWebKeyboardEventBuilder::Build(type); event 648 content/browser/renderer_host/render_widget_host_unittest.cc memcpy(&native_event, &event, sizeof(event)); event 2547 content/browser/renderer_host/render_widget_host_unittest.cc const WebInputEvent* event = NULL; event 2554 content/browser/renderer_host/render_widget_host_unittest.cc message, &event, &latency_info, &is_keyboard_shortcut)); event 91 content/browser/renderer_host/render_widget_host_view_android.cc ui::LatencyInfo CreateLatencyInfo(const blink::WebInputEvent& event) { event 94 content/browser/renderer_host/render_widget_host_view_android.cc if (event.timeStampSeconds) { event 96 content/browser/renderer_host/render_widget_host_view_android.cc event.timeStampSeconds * base::Time::kMicrosecondsPerSecond); event 1034 content/browser/renderer_host/render_widget_host_view_android.cc const blink::WebMouseWheelEvent& event) { event 1039 content/browser/renderer_host/render_widget_host_view_android.cc const blink::WebGestureEvent& event, event 1042 content/browser/renderer_host/render_widget_host_view_android.cc content_view_core_->OnGestureEventAck(event, ack_result); event 1159 content/browser/renderer_host/render_widget_host_view_android.cc const NativeWebKeyboardEvent& event) { event 1161 content/browser/renderer_host/render_widget_host_view_android.cc host_->ForwardKeyboardEvent(event); event 1165 content/browser/renderer_host/render_widget_host_view_android.cc const blink::WebTouchEvent& event) { event 1167 content/browser/renderer_host/render_widget_host_view_android.cc host_->ForwardTouchEventWithLatencyInfo(event, CreateLatencyInfo(event)); event 1171 content/browser/renderer_host/render_widget_host_view_android.cc const blink::WebMouseEvent& event) { event 1173 content/browser/renderer_host/render_widget_host_view_android.cc host_->ForwardMouseEvent(event); event 1177 content/browser/renderer_host/render_widget_host_view_android.cc const blink::WebMouseWheelEvent& event) { event 1179 content/browser/renderer_host/render_widget_host_view_android.cc host_->ForwardWheelEvent(event); event 1183 content/browser/renderer_host/render_widget_host_view_android.cc const blink::WebGestureEvent& event) { event 1189 content/browser/renderer_host/render_widget_host_view_android.cc host_->ForwardGestureEventWithLatencyInfo(event, CreateLatencyInfo(event)); event 156 content/browser/renderer_host/render_widget_host_view_android.h const blink::WebMouseWheelEvent& event) OVERRIDE; event 160 content/browser/renderer_host/render_widget_host_view_android.h virtual void GestureEventAck(const blink::WebGestureEvent& event, event 210 content/browser/renderer_host/render_widget_host_view_android.h void SendKeyEvent(const NativeWebKeyboardEvent& event); event 211 content/browser/renderer_host/render_widget_host_view_android.h void SendTouchEvent(const blink::WebTouchEvent& event); event 212 content/browser/renderer_host/render_widget_host_view_android.h void SendMouseEvent(const blink::WebMouseEvent& event); event 213 content/browser/renderer_host/render_widget_host_view_android.h void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); event 214 content/browser/renderer_host/render_widget_host_view_android.h void SendGestureEvent(const blink::WebGestureEvent& event); event 236 content/browser/renderer_host/render_widget_host_view_aura.cc void UpdateWebTouchEventAfterDispatch(blink::WebTouchEvent* event, event 241 content/browser/renderer_host/render_widget_host_view_aura.cc --event->touchesLength; event 242 content/browser/renderer_host/render_widget_host_view_aura.cc for (unsigned i = point - event->touches; event 243 content/browser/renderer_host/render_widget_host_view_aura.cc i < event->touchesLength; event 245 content/browser/renderer_host/render_widget_host_view_aura.cc event->touches[i] = event->touches[i + 1]; event 249 content/browser/renderer_host/render_widget_host_view_aura.cc bool CanRendererHandleEvent(const ui::MouseEvent* event) { event 250 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->type() == ui::ET_MOUSE_CAPTURE_CHANGED) event 255 content/browser/renderer_host/render_widget_host_view_aura.cc switch (event->native_event().message) { event 280 content/browser/renderer_host/render_widget_host_view_aura.cc switch (event->type()) { event 283 content/browser/renderer_host/render_widget_host_view_aura.cc return event->IsAnyButton(); event 293 content/browser/renderer_host/render_widget_host_view_aura.cc bool IsXButtonUpEvent(const ui::MouseEvent* event) { event 295 content/browser/renderer_host/render_widget_host_view_aura.cc switch (event->native_event().message) { event 316 content/browser/renderer_host/render_widget_host_view_aura.cc bool PointerEventActivates(const ui::Event& event) { event 317 content/browser/renderer_host/render_widget_host_view_aura.cc if (event.type() == ui::ET_MOUSE_PRESSED) event 320 content/browser/renderer_host/render_widget_host_view_aura.cc if (event.type() == ui::ET_GESTURE_BEGIN) { event 322 content/browser/renderer_host/render_widget_host_view_aura.cc static_cast<const ui::GestureEvent&>(event); event 399 content/browser/renderer_host/render_widget_host_view_aura.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 400 content/browser/renderer_host/render_widget_host_view_aura.cc rwhva_->ApplyEventFilterForPopupExit(event); event 403 content/browser/renderer_host/render_widget_host_view_aura.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE { event 404 content/browser/renderer_host/render_widget_host_view_aura.cc rwhva_->ApplyEventFilterForPopupExit(event); event 414 content/browser/renderer_host/render_widget_host_view_aura.cc ui::LocatedEvent* event) { event 415 content/browser/renderer_host/render_widget_host_view_aura.cc if (in_shutdown_ || is_fullscreen_ || !event->target()) event 418 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->type() != ui::ET_MOUSE_PRESSED && event 419 content/browser/renderer_host/render_widget_host_view_aura.cc event->type() != ui::ET_TOUCH_PRESSED) { event 423 content/browser/renderer_host/render_widget_host_view_aura.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 2094 content/browser/renderer_host/render_widget_host_view_aura.cc const blink::WebGestureEvent& event, event 2097 content/browser/renderer_host/render_widget_host_view_aura.cc touch_editing_client_->GestureEventAck(event.type); event 2625 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::OnKeyEvent(ui::KeyEvent* event) { event 2627 content/browser/renderer_host/render_widget_host_view_aura.cc if (touch_editing_client_ && touch_editing_client_->HandleInputEvent(event)) event 2631 content/browser/renderer_host/render_widget_host_view_aura.cc popup_child_host_view_->OnKeyEvent(event); event 2632 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->handled()) event 2637 content/browser/renderer_host/render_widget_host_view_aura.cc if (is_fullscreen_ && event->key_code() == ui::VKEY_ESCAPE) { event 2650 content/browser/renderer_host/render_widget_host_view_aura.cc event->SetHandled(); event 2660 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->key_code() == ui::VKEY_RETURN) { event 2662 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->type() == ui::ET_KEY_RELEASED && !accept_return_character_) event 2665 content/browser/renderer_host/render_widget_host_view_aura.cc accept_return_character_ = event->type() == ui::ET_KEY_PRESSED; event 2669 content/browser/renderer_host/render_widget_host_view_aura.cc if (!event->HasNativeEvent()) { event 2671 content/browser/renderer_host/render_widget_host_view_aura.cc event->type(), event 2672 content/browser/renderer_host/render_widget_host_view_aura.cc event->is_char(), event 2673 content/browser/renderer_host/render_widget_host_view_aura.cc event->is_char() ? event->GetCharacter() : event->key_code(), event 2674 content/browser/renderer_host/render_widget_host_view_aura.cc event->flags(), event 2678 content/browser/renderer_host/render_widget_host_view_aura.cc NativeWebKeyboardEvent webkit_event(event); event 2682 content/browser/renderer_host/render_widget_host_view_aura.cc event->SetHandled(); event 2685 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::OnMouseEvent(ui::MouseEvent* event) { event 2688 content/browser/renderer_host/render_widget_host_view_aura.cc if (touch_editing_client_ && touch_editing_client_->HandleInputEvent(event)) event 2696 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->type() == ui::ET_MOUSEWHEEL) { event 2698 content/browser/renderer_host/render_widget_host_view_aura.cc MakeWebMouseWheelEvent(static_cast<ui::MouseWheelEvent*>(event)); event 2709 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->flags() & ui::EF_IS_NON_CLIENT) { event 2715 content/browser/renderer_host/render_widget_host_view_aura.cc blink::WebMouseEvent mouse_event = MakeWebMouseEvent(event); event 2717 content/browser/renderer_host/render_widget_host_view_aura.cc bool is_move_to_center_event = (event->type() == ui::ET_MOUSE_MOVED || event 2718 content/browser/renderer_host/render_widget_host_view_aura.cc event->type() == ui::ET_MOUSE_DRAGGED) && event 2733 content/browser/renderer_host/render_widget_host_view_aura.cc if (CanRendererHandleEvent(event) && event 2734 content/browser/renderer_host/render_widget_host_view_aura.cc !(event->flags() & ui::EF_FROM_TOUCH)) { event 2738 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->type() == ui::ET_MOUSE_PRESSED) event 2753 content/browser/renderer_host/render_widget_host_view_aura.cc event->flags() & ui::EF_IS_SYNTHESIZED && event 2754 content/browser/renderer_host/render_widget_host_view_aura.cc (event->type() == ui::ET_MOUSE_ENTERED || event 2755 content/browser/renderer_host/render_widget_host_view_aura.cc event->type() == ui::ET_MOUSE_EXITED || event 2756 content/browser/renderer_host/render_widget_host_view_aura.cc event->type() == ui::ET_MOUSE_MOVED)) { event 2757 content/browser/renderer_host/render_widget_host_view_aura.cc event->StopPropagation(); event 2761 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->type() == ui::ET_MOUSEWHEEL) { event 2776 content/browser/renderer_host/render_widget_host_view_aura.cc MakeWebMouseWheelEvent(static_cast<ui::MouseWheelEvent*>(event)); event 2779 content/browser/renderer_host/render_widget_host_view_aura.cc } else if (CanRendererHandleEvent(event) && event 2780 content/browser/renderer_host/render_widget_host_view_aura.cc !(event->flags() & ui::EF_FROM_TOUCH)) { event 2781 content/browser/renderer_host/render_widget_host_view_aura.cc blink::WebMouseEvent mouse_event = MakeWebMouseEvent(event); event 2786 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->type() == ui::ET_MOUSE_PRESSED) event 2790 content/browser/renderer_host/render_widget_host_view_aura.cc switch (event->type()) { event 2811 content/browser/renderer_host/render_widget_host_view_aura.cc !(event->flags() & ui::EF_FROM_TOUCH)) { event 2812 content/browser/renderer_host/render_widget_host_view_aura.cc event->ConvertLocationToTarget(window_, window_->parent()); event 2813 content/browser/renderer_host/render_widget_host_view_aura.cc window_->parent()->delegate()->OnMouseEvent(event); event 2816 content/browser/renderer_host/render_widget_host_view_aura.cc if (!IsXButtonUpEvent(event)) event 2817 content/browser/renderer_host/render_widget_host_view_aura.cc event->SetHandled(); event 2820 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::OnScrollEvent(ui::ScrollEvent* event) { event 2822 content/browser/renderer_host/render_widget_host_view_aura.cc if (touch_editing_client_ && touch_editing_client_->HandleInputEvent(event)) event 2825 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->type() == ui::ET_SCROLL) { event 2829 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->finger_count() != 2) event 2836 content/browser/renderer_host/render_widget_host_view_aura.cc MakeWebMouseWheelEvent(event); event 2839 content/browser/renderer_host/render_widget_host_view_aura.cc } else if (event->type() == ui::ET_SCROLL_FLING_START || event 2840 content/browser/renderer_host/render_widget_host_view_aura.cc event->type() == ui::ET_SCROLL_FLING_CANCEL) { event 2842 content/browser/renderer_host/render_widget_host_view_aura.cc MakeWebGestureEvent(event); event 2844 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->type() == ui::ET_SCROLL_FLING_START) event 2848 content/browser/renderer_host/render_widget_host_view_aura.cc event->SetHandled(); event 2851 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::OnTouchEvent(ui::TouchEvent* event) { event 2853 content/browser/renderer_host/render_widget_host_view_aura.cc if (touch_editing_client_ && touch_editing_client_->HandleInputEvent(event)) event 2857 content/browser/renderer_host/render_widget_host_view_aura.cc blink::WebTouchPoint* point = UpdateWebTouchEventFromUIEvent(*event, event 2867 content/browser/renderer_host/render_widget_host_view_aura.cc event->StopPropagation(); event 2871 content/browser/renderer_host/render_widget_host_view_aura.cc host_->ForwardTouchEventWithLatencyInfo(touch_event_, *event->latency()); event 2876 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::OnGestureEvent(ui::GestureEvent* event) { event 2878 content/browser/renderer_host/render_widget_host_view_aura.cc if ((event->type() == ui::ET_GESTURE_PINCH_BEGIN || event 2879 content/browser/renderer_host/render_widget_host_view_aura.cc event->type() == ui::ET_GESTURE_PINCH_UPDATE || event 2880 content/browser/renderer_host/render_widget_host_view_aura.cc event->type() == ui::ET_GESTURE_PINCH_END) && !pinch_zoom_enabled_) { event 2881 content/browser/renderer_host/render_widget_host_view_aura.cc event->SetHandled(); event 2885 content/browser/renderer_host/render_widget_host_view_aura.cc if (touch_editing_client_ && touch_editing_client_->HandleInputEvent(event)) event 2892 content/browser/renderer_host/render_widget_host_view_aura.cc if (delegate && event->type() == ui::ET_GESTURE_BEGIN && event 2893 content/browser/renderer_host/render_widget_host_view_aura.cc event->details().touch_points() == 1) { event 2897 content/browser/renderer_host/render_widget_host_view_aura.cc blink::WebGestureEvent gesture = MakeWebGestureEvent(event); event 2898 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->type() == ui::ET_GESTURE_TAP_DOWN) { event 2908 content/browser/renderer_host/render_widget_host_view_aura.cc host_->ForwardGestureEventWithLatencyInfo(gesture, *event->latency()); event 2910 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->type() == ui::ET_GESTURE_SCROLL_BEGIN || event 2911 content/browser/renderer_host/render_widget_host_view_aura.cc event->type() == ui::ET_GESTURE_SCROLL_UPDATE || event 2912 content/browser/renderer_host/render_widget_host_view_aura.cc event->type() == ui::ET_GESTURE_SCROLL_END) { event 2914 content/browser/renderer_host/render_widget_host_view_aura.cc } else if (event->type() == ui::ET_SCROLL_FLING_START) { event 2919 content/browser/renderer_host/render_widget_host_view_aura.cc if (delegate && event->type() == ui::ET_GESTURE_END && event 2920 content/browser/renderer_host/render_widget_host_view_aura.cc event->details().touch_points() == 1) { event 2926 content/browser/renderer_host/render_widget_host_view_aura.cc event->SetHandled(); event 2936 content/browser/renderer_host/render_widget_host_view_aura.cc const ui::Event* event = host->dispatcher()->current_event(); event 2937 content/browser/renderer_host/render_widget_host_view_aura.cc if (!event) event 2950 content/browser/renderer_host/render_widget_host_view_aura.cc const ui::Event* event = window_->GetHost()->dispatcher()->current_event(); event 2951 content/browser/renderer_host/render_widget_host_view_aura.cc if (event && PointerEventActivates(*event)) event 3271 content/browser/renderer_host/render_widget_host_view_aura.cc blink::WebMouseEvent* event) { event 3274 content/browser/renderer_host/render_widget_host_view_aura.cc if (event->type == blink::WebInputEvent::MouseEnter || event 3275 content/browser/renderer_host/render_widget_host_view_aura.cc event->type == blink::WebInputEvent::MouseLeave) event 3276 content/browser/renderer_host/render_widget_host_view_aura.cc global_mouse_position_.SetPoint(event->globalX, event->globalY); event 3284 content/browser/renderer_host/render_widget_host_view_aura.cc event->movementX = event->globalX - global_mouse_position_.x(); event 3285 content/browser/renderer_host/render_widget_host_view_aura.cc event->movementY = event->globalY - global_mouse_position_.y(); event 3287 content/browser/renderer_host/render_widget_host_view_aura.cc global_mouse_position_.SetPoint(event->globalX, event->globalY); event 3292 content/browser/renderer_host/render_widget_host_view_aura.cc event->x = unlocked_mouse_position_.x(); event 3293 content/browser/renderer_host/render_widget_host_view_aura.cc event->y = unlocked_mouse_position_.y(); event 3294 content/browser/renderer_host/render_widget_host_view_aura.cc event->windowX = unlocked_mouse_position_.x(); event 3295 content/browser/renderer_host/render_widget_host_view_aura.cc event->windowY = unlocked_mouse_position_.y(); event 3296 content/browser/renderer_host/render_widget_host_view_aura.cc event->globalX = unlocked_global_mouse_position_.x(); event 3297 content/browser/renderer_host/render_widget_host_view_aura.cc event->globalY = unlocked_global_mouse_position_.y(); event 3299 content/browser/renderer_host/render_widget_host_view_aura.cc unlocked_mouse_position_.SetPoint(event->windowX, event->windowY); event 3300 content/browser/renderer_host/render_widget_host_view_aura.cc unlocked_global_mouse_position_.SetPoint(event->globalX, event->globalY); event 3444 content/browser/renderer_host/render_widget_host_view_aura.cc const NativeWebKeyboardEvent& event) { event 3449 content/browser/renderer_host/render_widget_host_view_aura.cc if (!event.skip_in_browser && event 3451 content/browser/renderer_host/render_widget_host_view_aura.cc event.os_event && event 3452 content/browser/renderer_host/render_widget_host_view_aura.cc keybinding_delegate->MatchEvent(*event.os_event, &commands)) { event 3462 content/browser/renderer_host/render_widget_host_view_aura.cc NativeWebKeyboardEvent copy_event(event); event 3469 content/browser/renderer_host/render_widget_host_view_aura.cc host_->ForwardKeyboardEvent(event); event 127 content/browser/renderer_host/render_widget_host_view_aura.h virtual bool HandleInputEvent(const ui::Event* event) = 0; event 226 content/browser/renderer_host/render_widget_host_view_aura.h virtual void GestureEventAck(const blink::WebGestureEvent& event, event 307 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 308 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 309 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 310 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 311 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 453 content/browser/renderer_host/render_widget_host_view_aura.h void ModifyEventMovementAndCoords(blink::WebMouseEvent* event); event 525 content/browser/renderer_host/render_widget_host_view_aura.h void ForwardKeyboardEvent(const NativeWebKeyboardEvent& event); event 529 content/browser/renderer_host/render_widget_host_view_aura.h void ApplyEventFilterForPopupExit(ui::LocatedEvent* event); event 457 content/browser/renderer_host/render_widget_host_view_base.cc const blink::WebMouseWheelEvent& event) { event 483 content/browser/renderer_host/render_widget_host_view_base.cc const blink::WebGestureEvent& event, event 62 content/browser/renderer_host/render_widget_host_view_base.h const blink::WebMouseWheelEvent& event) OVERRIDE; event 67 content/browser/renderer_host/render_widget_host_view_base.h virtual void GestureEventAck(const blink::WebGestureEvent& event, event 203 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkEventConfigure* event, event 219 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkEventKey* event, event 228 content/browser/renderer_host/render_widget_host_view_gtk.cc if (should_close_on_escape && GDK_Escape == event->keyval) { event 232 content/browser/renderer_host/render_widget_host_view_gtk.cc host_view->im_context_->ProcessKeyEvent(event); event 304 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkEventButton* event, event 309 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->type != GDK_BUTTON_RELEASE) event 310 content/browser/renderer_host/render_widget_host_view_gtk.cc host_view->set_last_mouse_down(event); event 312 content/browser/renderer_host/render_widget_host_view_gtk.cc if (!(event->button == 1 || event->button == 2 || event->button == 3)) event 314 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS) event 323 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->type != GDK_BUTTON_RELEASE) event 329 content/browser/renderer_host/render_widget_host_view_gtk.cc reinterpret_cast<GdkEvent*>(event)); event 344 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->type != GDK_BUTTON_RELEASE && host_view->IsPopup() && event 349 content/browser/renderer_host/render_widget_host_view_gtk.cc event->x = x; event 350 content/browser/renderer_host/render_widget_host_view_gtk.cc event->y = y; event 355 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->type == GDK_BUTTON_PRESS && !gtk_widget_has_focus(widget)) event 362 content/browser/renderer_host/render_widget_host_view_gtk.cc widget_host->ForwardMouseEvent(WebMouseEventBuilder::Build(event)); event 370 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkEventMotion* event, event 377 content/browser/renderer_host/render_widget_host_view_gtk.cc reinterpret_cast<GdkEvent*>(event)); event 382 content/browser/renderer_host/render_widget_host_view_gtk.cc event->x = x; event 383 content/browser/renderer_host/render_widget_host_view_gtk.cc event->y = y; event 386 content/browser/renderer_host/render_widget_host_view_gtk.cc host_view->ModifyEventForEdgeDragging(widget, event); event 388 content/browser/renderer_host/render_widget_host_view_gtk.cc blink::WebMouseEvent mouse_event = WebMouseEventBuilder::Build(event); event 421 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkEventCrossing* event, event 437 content/browser/renderer_host/render_widget_host_view_gtk.cc if (!(event->state & any_button_mask)) { event 438 content/browser/renderer_host/render_widget_host_view_gtk.cc blink::WebMouseEvent mouse_event = WebMouseEventBuilder::Build(event); event 453 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkEventClient* event, event 455 content/browser/renderer_host/render_widget_host_view_gtk.cc VLOG(1) << "client event type: " << event->message_type event 456 content/browser/renderer_host/render_widget_host_view_gtk.cc << " data_format: " << event->data_format event 457 content/browser/renderer_host/render_widget_host_view_gtk.cc << " data: " << event->data.l; event 468 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkEvent* event; event 470 content/browser/renderer_host/render_widget_host_view_gtk.cc while ((event = gdk_event_get()) && event_coalesced) { event 472 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->type == GDK_SCROLL) { event 473 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkEventScroll scroll = event->scroll; event 485 content/browser/renderer_host/render_widget_host_view_gtk.cc gdk_event_free(event); event 494 content/browser/renderer_host/render_widget_host_view_gtk.cc gdk_event_free(event); event 502 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event) { event 503 content/browser/renderer_host/render_widget_host_view_gtk.cc gdk_event_put(event); event 504 content/browser/renderer_host/render_widget_host_view_gtk.cc gdk_event_free(event); event 510 content/browser/renderer_host/render_widget_host_view_gtk.cc GdkEventScroll* event, event 517 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->state & GDK_SHIFT_MASK) { event 518 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->direction == GDK_SCROLL_UP) event 519 content/browser/renderer_host/render_widget_host_view_gtk.cc event->direction = GDK_SCROLL_LEFT; event 520 content/browser/renderer_host/render_widget_host_view_gtk.cc else if (event->direction == GDK_SCROLL_DOWN) event 521 content/browser/renderer_host/render_widget_host_view_gtk.cc event->direction = GDK_SCROLL_RIGHT; event 524 content/browser/renderer_host/render_widget_host_view_gtk.cc WebMouseWheelEvent web_event = WebMouseWheelEventBuilder::Build(event); event 529 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->direction == GDK_SCROLL_UP || event 530 content/browser/renderer_host/render_widget_host_view_gtk.cc event->direction == GDK_SCROLL_DOWN) { event 531 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->direction == GDK_SCROLL_UP) event 535 content/browser/renderer_host/render_widget_host_view_gtk.cc web_event.deltaY += GetPendingScrollDelta(true, event->state); event 537 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->direction == GDK_SCROLL_LEFT) event 541 content/browser/renderer_host/render_widget_host_view_gtk.cc web_event.deltaX += GetPendingScrollDelta(false, event->state); event 1117 content/browser/renderer_host/render_widget_host_view_gtk.cc GtkWidget* widget, GdkEventMotion* event) { event 1130 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->state & GDK_BUTTON1_MASK) { event 1135 content/browser/renderer_host/render_widget_host_view_gtk.cc gdk_screen_get_monitor_at_point(screen, event->x_root, event->y_root); event 1143 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->x == 0 && event->x_root == 0) { event 1145 content/browser/renderer_host/render_widget_host_view_gtk.cc } else if (allocation.width - 1 == static_cast<gint>(event->x) && event 1146 content/browser/renderer_host/render_widget_host_view_gtk.cc drag_monitor_size.width() - 1 == static_cast<gint>(event->x_root)) { event 1150 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event->y == 0 && event->y_root == 0) { event 1152 content/browser/renderer_host/render_widget_host_view_gtk.cc } else if (allocation.height - 1 == static_cast<gint>(event->y) && event 1153 content/browser/renderer_host/render_widget_host_view_gtk.cc drag_monitor_size.height() - 1 == static_cast<gint>(event->y_root)) { event 1157 content/browser/renderer_host/render_widget_host_view_gtk.cc event->x_root += new_dragged_at_horizontal_edge; event 1158 content/browser/renderer_host/render_widget_host_view_gtk.cc event->x += new_dragged_at_horizontal_edge; event 1159 content/browser/renderer_host/render_widget_host_view_gtk.cc event->y_root += new_dragged_at_vertical_edge; event 1160 content/browser/renderer_host/render_widget_host_view_gtk.cc event->y += new_dragged_at_vertical_edge; event 1397 content/browser/renderer_host/render_widget_host_view_gtk.cc const NativeWebKeyboardEvent& event) { event 1402 content/browser/renderer_host/render_widget_host_view_gtk.cc if (!event.skip_in_browser && event 1403 content/browser/renderer_host/render_widget_host_view_gtk.cc key_bindings_handler_->Match(event, &edit_commands)) { event 1406 content/browser/renderer_host/render_widget_host_view_gtk.cc NativeWebKeyboardEvent copy_event(event); event 1412 content/browser/renderer_host/render_widget_host_view_gtk.cc host_->ForwardKeyboardEvent(event); event 1439 content/browser/renderer_host/render_widget_host_view_gtk.cc void RenderWidgetHostViewGtk::set_last_mouse_down(GdkEventButton* event) { event 1441 content/browser/renderer_host/render_widget_host_view_gtk.cc if (event) { event 1443 content/browser/renderer_host/render_widget_host_view_gtk.cc gdk_event_copy(reinterpret_cast<GdkEvent*>(event))); event 1474 content/browser/renderer_host/render_widget_host_view_gtk.cc blink::WebMouseEvent* event) { event 1481 content/browser/renderer_host/render_widget_host_view_gtk.cc event->movementX = event->globalX - global_mouse_position_.x(); event 1482 content/browser/renderer_host/render_widget_host_view_gtk.cc event->movementY = event->globalY - global_mouse_position_.y(); event 1487 content/browser/renderer_host/render_widget_host_view_gtk.cc event->movementX = 0; event 1488 content/browser/renderer_host/render_widget_host_view_gtk.cc event->movementY = 0; event 1489 content/browser/renderer_host/render_widget_host_view_gtk.cc if (MovedToPoint(*event, unlocked_global_mouse_position_)) event 1493 content/browser/renderer_host/render_widget_host_view_gtk.cc global_mouse_position_.SetPoint(event->globalX, event->globalY); event 1498 content/browser/renderer_host/render_widget_host_view_gtk.cc event->x = unlocked_mouse_position_.x(); event 1499 content/browser/renderer_host/render_widget_host_view_gtk.cc event->y = unlocked_mouse_position_.y(); event 1500 content/browser/renderer_host/render_widget_host_view_gtk.cc event->windowX = unlocked_mouse_position_.x(); event 1501 content/browser/renderer_host/render_widget_host_view_gtk.cc event->windowY = unlocked_mouse_position_.y(); event 1502 content/browser/renderer_host/render_widget_host_view_gtk.cc event->globalX = unlocked_global_mouse_position_.x(); event 1503 content/browser/renderer_host/render_widget_host_view_gtk.cc event->globalY = unlocked_global_mouse_position_.y(); event 1505 content/browser/renderer_host/render_widget_host_view_gtk.cc unlocked_mouse_position_.SetPoint(event->windowX, event->windowY); event 1506 content/browser/renderer_host/render_widget_host_view_gtk.cc unlocked_global_mouse_position_.SetPoint(event->globalX, event->globalY); event 148 content/browser/renderer_host/render_widget_host_view_gtk.h void ModifyEventForEdgeDragging(GtkWidget* widget, GdkEventMotion* event); event 153 content/browser/renderer_host/render_widget_host_view_gtk.h void ModifyEventMovementAndCoords(blink::WebMouseEvent* event); event 163 content/browser/renderer_host/render_widget_host_view_gtk.h void ForwardKeyboardEvent(const NativeWebKeyboardEvent& event); event 215 content/browser/renderer_host/render_widget_host_view_gtk.h void set_last_mouse_down(GdkEventButton* event); event 178 content/browser/renderer_host/render_widget_host_view_mac.h - (BOOL)postProcessEventForPluginIme:(NSEvent*)event; event 316 content/browser/renderer_host/render_widget_host_view_mac.h const NativeWebKeyboardEvent& event) OVERRIDE; event 338 content/browser/renderer_host/render_widget_host_view_mac.h const blink::WebMouseWheelEvent& event) OVERRIDE; event 351 content/browser/renderer_host/render_widget_host_view_mac.h void ForwardMouseEvent(const blink::WebMouseEvent& event); event 57 content/browser/renderer_host/ui_events_helper.cc const ui::TouchEvent& event) { event 58 content/browser/renderer_host/ui_events_helper.cc switch (event.type()) { event 73 content/browser/renderer_host/ui_events_helper.cc const ui::TouchEvent& event) { event 74 content/browser/renderer_host/ui_events_helper.cc switch (event.type()) { event 96 content/browser/renderer_host/ui_events_helper.cc const blink::WebTouchEvent& touch = touch_with_latency.event; event 145 content/browser/renderer_host/ui_events_helper.cc const ui::GestureEvent& event) { event 148 content/browser/renderer_host/ui_events_helper.cc switch (event.type()) { event 151 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.tap.tapCount = event.details().tap_count(); event 152 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.tap.width = event.details().bounding_box().width(); event 153 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.tap.height = event.details().bounding_box().height(); event 158 content/browser/renderer_host/ui_events_helper.cc event.details().bounding_box().width(); event 160 content/browser/renderer_host/ui_events_helper.cc event.details().bounding_box().height(); event 165 content/browser/renderer_host/ui_events_helper.cc event.details().bounding_box().width(); event 167 content/browser/renderer_host/ui_events_helper.cc event.details().bounding_box().height(); event 175 content/browser/renderer_host/ui_events_helper.cc event.details().scroll_x_hint(); event 177 content/browser/renderer_host/ui_events_helper.cc event.details().scroll_y_hint(); event 181 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.scrollUpdate.deltaX = event.details().scroll_x(); event 182 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.scrollUpdate.deltaY = event.details().scroll_y(); event 192 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.pinchUpdate.scale = event.details().scale(); event 199 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.flingStart.velocityX = event.details().velocity_x(); event 200 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.flingStart.velocityY = event.details().velocity_y(); event 208 content/browser/renderer_host/ui_events_helper.cc event.details().bounding_box().width(); event 210 content/browser/renderer_host/ui_events_helper.cc event.details().bounding_box().height(); event 215 content/browser/renderer_host/ui_events_helper.cc event.details().bounding_box().width(); event 217 content/browser/renderer_host/ui_events_helper.cc event.details().bounding_box().height(); event 222 content/browser/renderer_host/ui_events_helper.cc event.details().first_finger_width(); event 224 content/browser/renderer_host/ui_events_helper.cc event.details().first_finger_height(); event 232 content/browser/renderer_host/ui_events_helper.cc NOTREACHED() << "Unknown gesture type: " << event.type(); event 236 content/browser/renderer_host/ui_events_helper.cc gesture_event.modifiers = EventFlagsToWebEventModifiers(event.flags()); event 237 content/browser/renderer_host/ui_events_helper.cc gesture_event.timeStampSeconds = event.time_stamp().InSecondsF(); event 264 content/browser/renderer_host/ui_events_helper.cc const ui::TouchEvent& event, event 267 content/browser/renderer_host/ui_events_helper.cc switch (event.type()) { event 272 content/browser/renderer_host/ui_events_helper.cc point->id = event.touch_id(); event 284 content/browser/renderer_host/ui_events_helper.cc if (point->id == event.touch_id()) event 291 content/browser/renderer_host/ui_events_helper.cc DLOG(WARNING) << "Unknown touch event " << event.type(); event 299 content/browser/renderer_host/ui_events_helper.cc point->radiusX = std::max(1.f, event.radius_x()); event 300 content/browser/renderer_host/ui_events_helper.cc point->radiusY = std::max(1.f, event.radius_y()); event 301 content/browser/renderer_host/ui_events_helper.cc point->rotationAngle = event.rotation_angle(); event 302 content/browser/renderer_host/ui_events_helper.cc point->force = event.force(); event 305 content/browser/renderer_host/ui_events_helper.cc point->state = TouchPointStateFromEvent(event); event 310 content/browser/renderer_host/ui_events_helper.cc if (point->position.x == event.x() && point->position.y == event.y()) event 313 content/browser/renderer_host/ui_events_helper.cc point->position.x = event.x(); event 314 content/browser/renderer_host/ui_events_helper.cc point->position.y = event.y(); event 316 content/browser/renderer_host/ui_events_helper.cc const gfx::Point root_point = event.root_location(); event 328 content/browser/renderer_host/ui_events_helper.cc web_event->type = TouchEventTypeFromEvent(event); event 329 content/browser/renderer_host/ui_events_helper.cc web_event->timeStampSeconds = event.time_stamp().InSecondsF(); event 330 content/browser/renderer_host/ui_events_helper.cc web_event->modifiers = EventFlagsToWebEventModifiers(event.flags()); event 49 content/browser/renderer_host/ui_events_helper.h const ui::GestureEvent& event); event 57 content/browser/renderer_host/ui_events_helper.h const ui::TouchEvent& event, event 75 content/browser/renderer_host/web_input_event_aura.cc ui::KeyEvent* event); event 78 content/browser/renderer_host/web_input_event_aura.cc ui::KeyEvent* event) { event 79 content/browser/renderer_host/web_input_event_aura.cc const base::NativeEvent& native_event = event->native_event(); event 83 content/browser/renderer_host/web_input_event_aura.cc webkit_event.timeStampSeconds = event->time_stamp().InSecondsF(); event 84 content/browser/renderer_host/web_input_event_aura.cc webkit_event.modifiers = EventFlagsToWebEventModifiers(event->flags()); event 88 content/browser/renderer_host/web_input_event_aura.cc webkit_event.type = event->is_char() ? blink::WebInputEvent::Char : event 128 content/browser/renderer_host/web_input_event_aura.cc ui::ScrollEvent* event) { event 133 content/browser/renderer_host/web_input_event_aura.cc webkit_event.modifiers = EventFlagsToWebEventModifiers(event->flags()); event 134 content/browser/renderer_host/web_input_event_aura.cc webkit_event.timeStampSeconds = event->time_stamp().InSecondsF(); event 139 content/browser/renderer_host/web_input_event_aura.cc if ((event->flags() & ui::EF_SHIFT_DOWN) != 0 && event->x_offset() == 0) { event 140 content/browser/renderer_host/web_input_event_aura.cc webkit_event.deltaX = event->y_offset(); event 142 content/browser/renderer_host/web_input_event_aura.cc offset_ordinal_x = event->y_offset_ordinal(); event 143 content/browser/renderer_host/web_input_event_aura.cc offset_ordinal_y = event->x_offset_ordinal(); event 145 content/browser/renderer_host/web_input_event_aura.cc webkit_event.deltaX = event->x_offset(); event 146 content/browser/renderer_host/web_input_event_aura.cc webkit_event.deltaY = event->y_offset(); event 147 content/browser/renderer_host/web_input_event_aura.cc offset_ordinal_x = event->x_offset_ordinal(); event 148 content/browser/renderer_host/web_input_event_aura.cc offset_ordinal_y = event->y_offset_ordinal(); event 161 content/browser/renderer_host/web_input_event_aura.cc ui::ScrollEvent* event) { event 164 content/browser/renderer_host/web_input_event_aura.cc switch (event->type()) { event 167 content/browser/renderer_host/web_input_event_aura.cc webkit_event.data.flingStart.velocityX = event->x_offset(); event 168 content/browser/renderer_host/web_input_event_aura.cc webkit_event.data.flingStart.velocityY = event->y_offset(); event 174 content/browser/renderer_host/web_input_event_aura.cc NOTREACHED() << "Invalid gesture type: " << event->type(); event 177 content/browser/renderer_host/web_input_event_aura.cc NOTREACHED() << "Unknown gesture type: " << event->type(); event 181 content/browser/renderer_host/web_input_event_aura.cc webkit_event.modifiers = EventFlagsToWebEventModifiers(event->flags()); event 182 content/browser/renderer_host/web_input_event_aura.cc webkit_event.timeStampSeconds = event->time_stamp().InSecondsF(); event 189 content/browser/renderer_host/web_input_event_aura.cc ui::MouseEvent* event); event 191 content/browser/renderer_host/web_input_event_aura.cc ui::MouseWheelEvent* event); event 216 content/browser/renderer_host/web_input_event_aura.cc blink::WebMouseEvent MakeWebMouseEvent(ui::MouseEvent* event) { event 222 content/browser/renderer_host/web_input_event_aura.cc event->native_event().message ? event 223 content/browser/renderer_host/web_input_event_aura.cc MakeUntranslatedWebMouseEventFromNativeEvent(event->native_event()) : event 224 content/browser/renderer_host/web_input_event_aura.cc MakeWebMouseEventFromAuraEvent(event); event 226 content/browser/renderer_host/web_input_event_aura.cc MakeWebMouseEventFromAuraEvent(event); event 230 content/browser/renderer_host/web_input_event_aura.cc webkit_event.windowX = webkit_event.x = event->x(); event 231 content/browser/renderer_host/web_input_event_aura.cc webkit_event.windowY = webkit_event.y = event->y(); event 234 content/browser/renderer_host/web_input_event_aura.cc if (event->native_event().message) event 237 content/browser/renderer_host/web_input_event_aura.cc const gfx::Point root_point = event->root_location(); event 244 content/browser/renderer_host/web_input_event_aura.cc blink::WebMouseWheelEvent MakeWebMouseWheelEvent(ui::MouseWheelEvent* event) { event 247 content/browser/renderer_host/web_input_event_aura.cc blink::WebMouseWheelEvent webkit_event = event->native_event().message ? event 248 content/browser/renderer_host/web_input_event_aura.cc MakeUntranslatedWebMouseWheelEventFromNativeEvent(event->native_event()) : event 249 content/browser/renderer_host/web_input_event_aura.cc MakeWebMouseWheelEventFromAuraEvent(event); event 252 content/browser/renderer_host/web_input_event_aura.cc MakeWebMouseWheelEventFromAuraEvent(event); event 257 content/browser/renderer_host/web_input_event_aura.cc webkit_event.windowX = webkit_event.x = event->x(); event 258 content/browser/renderer_host/web_input_event_aura.cc webkit_event.windowY = webkit_event.y = event->y(); event 260 content/browser/renderer_host/web_input_event_aura.cc const gfx::Point root_point = event->root_location(); event 267 content/browser/renderer_host/web_input_event_aura.cc blink::WebMouseWheelEvent MakeWebMouseWheelEvent(ui::ScrollEvent* event) { event 271 content/browser/renderer_host/web_input_event_aura.cc MakeUntranslatedWebMouseWheelEventFromNativeEvent(event->native_event()); event 274 content/browser/renderer_host/web_input_event_aura.cc MakeWebMouseWheelEventFromAuraEvent(event); event 279 content/browser/renderer_host/web_input_event_aura.cc webkit_event.windowX = webkit_event.x = event->x(); event 280 content/browser/renderer_host/web_input_event_aura.cc webkit_event.windowY = webkit_event.y = event->y(); event 282 content/browser/renderer_host/web_input_event_aura.cc const gfx::Point root_point = event->root_location(); event 289 content/browser/renderer_host/web_input_event_aura.cc blink::WebKeyboardEvent MakeWebKeyboardEvent(ui::KeyEvent* event) { event 290 content/browser/renderer_host/web_input_event_aura.cc if (!event->HasNativeEvent()) event 301 content/browser/renderer_host/web_input_event_aura.cc return MakeWebKeyboardEventFromNativeEvent(event->native_event()); event 303 content/browser/renderer_host/web_input_event_aura.cc return MakeWebKeyboardEventFromAuraEvent(event); event 307 content/browser/renderer_host/web_input_event_aura.cc blink::WebGestureEvent MakeWebGestureEvent(ui::GestureEvent* event) { event 310 content/browser/renderer_host/web_input_event_aura.cc if (event->HasNativeEvent()) event 311 content/browser/renderer_host/web_input_event_aura.cc gesture_event = MakeWebGestureEventFromNativeEvent(event->native_event()); event 313 content/browser/renderer_host/web_input_event_aura.cc gesture_event = MakeWebGestureEventFromUIEvent(*event); event 315 content/browser/renderer_host/web_input_event_aura.cc gesture_event = MakeWebGestureEventFromUIEvent(*event); event 318 content/browser/renderer_host/web_input_event_aura.cc gesture_event.x = event->x(); event 319 content/browser/renderer_host/web_input_event_aura.cc gesture_event.y = event->y(); event 321 content/browser/renderer_host/web_input_event_aura.cc const gfx::Point root_point = event->root_location(); event 328 content/browser/renderer_host/web_input_event_aura.cc blink::WebGestureEvent MakeWebGestureEvent(ui::ScrollEvent* event) { event 332 content/browser/renderer_host/web_input_event_aura.cc gesture_event = MakeWebGestureEventFromNativeEvent(event->native_event()); event 334 content/browser/renderer_host/web_input_event_aura.cc gesture_event = MakeWebGestureEventFromAuraEvent(event); event 337 content/browser/renderer_host/web_input_event_aura.cc gesture_event.x = event->x(); event 338 content/browser/renderer_host/web_input_event_aura.cc gesture_event.y = event->y(); event 340 content/browser/renderer_host/web_input_event_aura.cc const gfx::Point root_point = event->root_location(); event 356 content/browser/renderer_host/web_input_event_aura.cc blink::WebMouseEvent MakeWebMouseEventFromAuraEvent(ui::MouseEvent* event) { event 359 content/browser/renderer_host/web_input_event_aura.cc webkit_event.modifiers = EventFlagsToWebEventModifiers(event->flags()); event 360 content/browser/renderer_host/web_input_event_aura.cc webkit_event.timeStampSeconds = event->time_stamp().InSecondsF(); event 363 content/browser/renderer_host/web_input_event_aura.cc if (event->flags() & ui::EF_LEFT_MOUSE_BUTTON) event 365 content/browser/renderer_host/web_input_event_aura.cc if (event->flags() & ui::EF_MIDDLE_MOUSE_BUTTON) event 367 content/browser/renderer_host/web_input_event_aura.cc if (event->flags() & ui::EF_RIGHT_MOUSE_BUTTON) event 370 content/browser/renderer_host/web_input_event_aura.cc switch (event->type()) { event 373 content/browser/renderer_host/web_input_event_aura.cc webkit_event.clickCount = event->GetClickCount(); event 377 content/browser/renderer_host/web_input_event_aura.cc webkit_event.clickCount = event->GetClickCount(); event 386 content/browser/renderer_host/web_input_event_aura.cc NOTIMPLEMENTED() << "Received unexpected event: " << event->type(); event 394 content/browser/renderer_host/web_input_event_aura.cc ui::MouseWheelEvent* event) { event 399 content/browser/renderer_host/web_input_event_aura.cc webkit_event.modifiers = EventFlagsToWebEventModifiers(event->flags()); event 400 content/browser/renderer_host/web_input_event_aura.cc webkit_event.timeStampSeconds = event->time_stamp().InSecondsF(); event 402 content/browser/renderer_host/web_input_event_aura.cc if ((event->flags() & ui::EF_SHIFT_DOWN) != 0 && event->x_offset() == 0) { event 403 content/browser/renderer_host/web_input_event_aura.cc webkit_event.deltaX = event->y_offset(); event 406 content/browser/renderer_host/web_input_event_aura.cc webkit_event.deltaX = event->x_offset(); event 407 content/browser/renderer_host/web_input_event_aura.cc webkit_event.deltaY = event->y_offset(); event 30 content/browser/renderer_host/web_input_event_aura.h ui::MouseEvent* event); event 32 content/browser/renderer_host/web_input_event_aura.h ui::MouseWheelEvent* event); event 34 content/browser/renderer_host/web_input_event_aura.h ui::ScrollEvent* event); event 36 content/browser/renderer_host/web_input_event_aura.h ui::KeyEvent* event); event 38 content/browser/renderer_host/web_input_event_aura.h ui::GestureEvent* event); event 40 content/browser/renderer_host/web_input_event_aura.h ui::ScrollEvent* event); event 28 content/browser/renderer_host/web_input_event_aura_unittest.cc ui::KeyEvent event(xev, false /* is_char */); event 29 content/browser/renderer_host/web_input_event_aura_unittest.cc blink::WebKeyboardEvent webkit_event = MakeWebKeyboardEvent(&event); event 36 content/browser/renderer_host/web_input_event_aura_unittest.cc ui::KeyEvent event(xev, false /* is_char */); event 37 content/browser/renderer_host/web_input_event_aura_unittest.cc blink::WebKeyboardEvent webkit_event = MakeWebKeyboardEvent(&event); event 53 content/browser/renderer_host/web_input_event_aura_unittest.cc ui::KeyEvent event(xev, false /* is_char */); event 54 content/browser/renderer_host/web_input_event_aura_unittest.cc blink::WebKeyboardEvent webkit_event = MakeWebKeyboardEvent(&event); event 63 content/browser/renderer_host/web_input_event_aura_unittest.cc ui::KeyEvent event(xev, false /* is_char */); event 64 content/browser/renderer_host/web_input_event_aura_unittest.cc blink::WebKeyboardEvent webkit_event = MakeWebKeyboardEvent(&event); event 60 content/browser/renderer_host/web_input_event_aurax11.cc int XKeyEventToWindowsKeyCode(XKeyEvent* event) { event 62 content/browser/renderer_host/web_input_event_aurax11.cc ui::KeyboardCodeFromXKeyEvent(reinterpret_cast<XEvent*>(event)); event 69 content/browser/renderer_host/web_input_event_aurax11.cc XLookupString(event, NULL, 0, &keysym, NULL); event 93 content/browser/renderer_host/web_input_event_aurax11.cc ui::KeyEvent* event) { event 94 content/browser/renderer_host/web_input_event_aurax11.cc const base::NativeEvent& native_event = event->native_event(); event 98 content/browser/renderer_host/web_input_event_aurax11.cc webkit_event.timeStampSeconds = event->time_stamp().InSecondsF(); event 99 content/browser/renderer_host/web_input_event_aurax11.cc webkit_event.modifiers = EventFlagsToWebEventModifiers(event->flags()); event 103 content/browser/renderer_host/web_input_event_aurax11.cc webkit_event.type = event->is_char() ? blink::WebInputEvent::Char : event 46 content/browser/speech/google_streaming_remote_engine.cc proto::SpeechRecognitionEvent event; event 47 content/browser/speech/google_streaming_remote_engine.cc if (!event.ParseFromString(response)) { event 51 content/browser/speech/google_streaming_remote_engine.cc if (event.has_status()) event 52 content/browser/speech/google_streaming_remote_engine.cc DVLOG(1) << "STATUS\t" << event.status(); event 53 content/browser/speech/google_streaming_remote_engine.cc for (int i = 0; i < event.result_size(); ++i) { event 55 content/browser/speech/google_streaming_remote_engine.cc const proto::SpeechRecognitionResult& res = event.result(i); event 210 content/browser/speech/google_streaming_remote_engine.cc DCHECK_LE(event_args.event, EVENT_MAX_VALUE); event 226 content/browser/speech/google_streaming_remote_engine.cc const FSMEvent event = event_args.event; event 229 content/browser/speech/google_streaming_remote_engine.cc switch (event) { event 247 content/browser/speech/google_streaming_remote_engine.cc switch (event) { event 265 content/browser/speech/google_streaming_remote_engine.cc switch (event) { event 534 content/browser/speech/google_streaming_remote_engine.cc NOTREACHED() << "Unfeasible event " << event_args.event event 577 content/browser/speech/google_streaming_remote_engine.cc : event(event_value) { event 105 content/browser/speech/google_streaming_remote_engine.h FSMEvent event; event 486 content/browser/speech/speech_recognition_manager_impl.cc FSMEvent event) { event 497 content/browser/speech/speech_recognition_manager_impl.cc DCHECK_LE(event, EVENT_MAX_VALUE); event 503 content/browser/speech/speech_recognition_manager_impl.cc ExecuteTransitionAndGetNextState(session, session_state, event); event 514 content/browser/speech/speech_recognition_manager_impl.cc Session* session, FSMState session_state, FSMEvent event) { event 525 content/browser/speech/speech_recognition_manager_impl.cc switch (event) { event 539 content/browser/speech/speech_recognition_manager_impl.cc switch (event) { event 548 content/browser/speech/speech_recognition_manager_impl.cc return NotFeasible(*session, event); event 552 content/browser/speech/speech_recognition_manager_impl.cc switch (event) { event 561 content/browser/speech/speech_recognition_manager_impl.cc return NotFeasible(*session, event); event 565 content/browser/speech/speech_recognition_manager_impl.cc return NotFeasible(*session, event); event 631 content/browser/speech/speech_recognition_manager_impl.cc FSMEvent event) { event 632 content/browser/speech/speech_recognition_manager_impl.cc NOTREACHED() << "Unfeasible event " << event event 151 content/browser/speech/speech_recognition_manager_impl.h void DispatchEvent(int session_id, FSMEvent event); event 157 content/browser/speech/speech_recognition_manager_impl.h FSMEvent event); event 168 content/browser/speech/speech_recognition_manager_impl.h void NotFeasible(const Session& session, FSMEvent event); event 321 content/browser/speech/speech_recognizer_impl.cc DCHECK_LE(event_args.event, EVENT_MAX_VALUE); event 332 content/browser/speech/speech_recognizer_impl.cc if (event_args.event == EVENT_AUDIO_DATA) { event 346 content/browser/speech/speech_recognizer_impl.cc const FSMEvent event = event_args.event; event 349 content/browser/speech/speech_recognizer_impl.cc switch (event) { event 366 content/browser/speech/speech_recognizer_impl.cc switch (event) { event 383 content/browser/speech/speech_recognizer_impl.cc switch (event) { event 400 content/browser/speech/speech_recognizer_impl.cc switch (event) { event 417 content/browser/speech/speech_recognizer_impl.cc switch (event) { event 434 content/browser/speech/speech_recognizer_impl.cc switch (event) { event 647 content/browser/speech/speech_recognizer_impl.cc DCHECK_NE(event_args.event, EVENT_AUDIO_ERROR); event 648 content/browser/speech/speech_recognizer_impl.cc DCHECK_NE(event_args.event, EVENT_ENGINE_ERROR); event 654 content/browser/speech/speech_recognizer_impl.cc if (event_args.event == EVENT_AUDIO_ERROR) { event 656 content/browser/speech/speech_recognizer_impl.cc } else if (event_args.event == EVENT_ENGINE_ERROR) { event 763 content/browser/speech/speech_recognizer_impl.cc NOTREACHED() << "Unfeasible event " << event_args.event event 812 content/browser/speech/speech_recognizer_impl.cc : event(event_value), event 84 content/browser/speech/speech_recognizer_impl.h FSMEvent event; event 119 content/browser/tracing/etw_system_event_consumer_win.cc void EtwSystemEventConsumer::ProcessEvent(EVENT_TRACE* event) { event 120 content/browser/tracing/etw_system_event_consumer_win.cc EtwSystemEventConsumer::GetInstance()->AppendEventToBuffer(event); event 149 content/browser/tracing/etw_system_event_consumer_win.cc void EtwSystemEventConsumer::AppendEventToBuffer(EVENT_TRACE* event) { event 156 content/browser/tracing/etw_system_event_consumer_win.cc ts_us.QuadPart = event->Header.TimeStamp.QuadPart / 10; event 160 content/browser/tracing/etw_system_event_consumer_win.cc value->Set("guid", new base::StringValue(GuidToString(event->Header.Guid))); event 162 content/browser/tracing/etw_system_event_consumer_win.cc value->Set("op", new FundamentalValue(event->Header.Class.Type)); event 163 content/browser/tracing/etw_system_event_consumer_win.cc value->Set("ver", new FundamentalValue(event->Header.Class.Version)); event 165 content/browser/tracing/etw_system_event_consumer_win.cc new FundamentalValue(static_cast<int>(event->Header.ProcessId))); event 167 content/browser/tracing/etw_system_event_consumer_win.cc new FundamentalValue(static_cast<int>(event->Header.ThreadId))); event 168 content/browser/tracing/etw_system_event_consumer_win.cc value->Set("cpu", new FundamentalValue(event->BufferContext.ProcessorNumber)); event 171 content/browser/tracing/etw_system_event_consumer_win.cc base::StringPiece buffer(static_cast<const char*>(event->MofData), event 172 content/browser/tracing/etw_system_event_consumer_win.cc event->MofLength); event 42 content/browser/tracing/etw_system_event_consumer_win.h void AppendEventToBuffer(EVENT_TRACE* event); event 47 content/browser/tracing/etw_system_event_consumer_win.h static void ProcessEvent(EVENT_TRACE* event); event 242 content/browser/web_contents/aura/window_slider.cc void WindowSlider::OnKeyEvent(ui::KeyEvent* event) { event 246 content/browser/web_contents/aura/window_slider.cc void WindowSlider::OnMouseEvent(ui::MouseEvent* event) { event 247 content/browser/web_contents/aura/window_slider.cc if (!(event->flags() & ui::EF_IS_SYNTHESIZED)) event 251 content/browser/web_contents/aura/window_slider.cc void WindowSlider::OnScrollEvent(ui::ScrollEvent* event) { event 253 content/browser/web_contents/aura/window_slider.cc if (event->type() == ui::ET_SCROLL) event 254 content/browser/web_contents/aura/window_slider.cc UpdateForScroll(event->x_offset_ordinal(), event->y_offset_ordinal()); event 255 content/browser/web_contents/aura/window_slider.cc else if (event->type() == ui::ET_SCROLL_FLING_START) event 259 content/browser/web_contents/aura/window_slider.cc event->SetHandled(); event 262 content/browser/web_contents/aura/window_slider.cc void WindowSlider::OnGestureEvent(ui::GestureEvent* event) { event 264 content/browser/web_contents/aura/window_slider.cc const ui::GestureEventDetails& details = event->details(); event 265 content/browser/web_contents/aura/window_slider.cc switch (event->type()) { event 292 content/browser/web_contents/aura/window_slider.cc event->SetHandled(); event 107 content/browser/web_contents/aura/window_slider.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 108 content/browser/web_contents/aura/window_slider.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 109 content/browser/web_contents/aura/window_slider.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 110 content/browser/web_contents/aura/window_slider.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 25 content/browser/web_contents/aura/window_slider_unittest.cc ui::Event* event, event 30 content/browser/web_contents/aura/window_slider_unittest.cc ui::EventDispatchDetails details = dispatcher->OnEventFromSource(event); event 133 content/browser/web_contents/touch_editable_impl_aura.cc bool TouchEditableImplAura::HandleInputEvent(const ui::Event* event) { event 135 content/browser/web_contents/touch_editable_impl_aura.cc if (event->IsTouchEvent()) event 138 content/browser/web_contents/touch_editable_impl_aura.cc if (!event->IsGestureEvent()) { event 144 content/browser/web_contents/touch_editable_impl_aura.cc static_cast<const ui::GestureEvent*>(event); event 145 content/browser/web_contents/touch_editable_impl_aura.cc switch (event->type()) { event 51 content/browser/web_contents/touch_editable_impl_aura.h virtual bool HandleInputEvent(const ui::Event* event) OVERRIDE; event 100 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc virtual bool HandleInputEvent(const ui::Event* event) OVERRIDE { event 101 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc if (event->type() == ui::ET_MOUSE_ENTERED || event 102 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc event->type() == ui::ET_MOUSE_MOVED || event 103 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc event->type() == ui::ET_MOUSE_EXITED) { event 106 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc return TestTouchEditableImplAura::HandleInputEvent(event); event 1181 content/browser/web_contents/web_contents_impl.cc const NativeWebKeyboardEvent& event, event 1184 content/browser/web_contents/web_contents_impl.cc delegate_->PreHandleKeyboardEvent(this, event, is_keyboard_shortcut); event 1187 content/browser/web_contents/web_contents_impl.cc void WebContentsImpl::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) { event 1189 content/browser/web_contents/web_contents_impl.cc browser_plugin_embedder_->HandleKeyboardEvent(event)) { event 1194 content/browser/web_contents/web_contents_impl.cc delegate_->HandleKeyboardEvent(this, event); event 1198 content/browser/web_contents/web_contents_impl.cc const blink::WebMouseWheelEvent& event) { event 1207 content/browser/web_contents/web_contents_impl.cc event.wheelTicksY && event 1208 content/browser/web_contents/web_contents_impl.cc (event.modifiers & blink::WebInputEvent::ControlKey)) { event 1209 content/browser/web_contents/web_contents_impl.cc delegate_->ContentsZoomChange(event.wheelTicksY > 0); event 1217 content/browser/web_contents/web_contents_impl.cc const blink::WebGestureEvent& event) { event 1218 content/browser/web_contents/web_contents_impl.cc return delegate_ && delegate_->PreHandleGestureEvent(this, event); event 1222 content/browser/web_contents/web_contents_impl.cc const blink::WebGestureEvent& event) { event 1225 content/browser/web_contents/web_contents_impl.cc if (event.type == blink::WebInputEvent::GesturePinchUpdate && event 1226 content/browser/web_contents/web_contents_impl.cc event.sourceDevice == blink::WebGestureEvent::Touchpad) { event 1245 content/browser/web_contents/web_contents_impl.cc totalPinchGestureAmount_ += event.data.pinchUpdate.scale; event 483 content/browser/web_contents/web_contents_impl.h const NativeWebKeyboardEvent& event, event 486 content/browser/web_contents/web_contents_impl.h const NativeWebKeyboardEvent& event) OVERRIDE; event 488 content/browser/web_contents/web_contents_impl.h const blink::WebMouseWheelEvent& event) OVERRIDE; event 490 content/browser/web_contents/web_contents_impl.h const blink::WebGestureEvent& event) OVERRIDE; event 492 content/browser/web_contents/web_contents_impl.h const blink::WebGestureEvent& event) OVERRIDE; event 2437 content/browser/web_contents/web_contents_impl_unittest.cc blink::WebMouseWheelEvent event = event 2439 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->HandleWheelEvent(event)); event 2443 content/browser/web_contents/web_contents_impl_unittest.cc event = SyntheticWebMouseWheelEventBuilder::Build(0, dy, modifiers, false); event 2444 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->HandleWheelEvent(event)); event 2450 content/browser/web_contents/web_contents_impl_unittest.cc event = SyntheticWebMouseWheelEventBuilder::Build(0, dy, modifiers, false); event 2451 content/browser/web_contents/web_contents_impl_unittest.cc bool handled = contents()->HandleWheelEvent(event); event 2464 content/browser/web_contents/web_contents_impl_unittest.cc event = SyntheticWebMouseWheelEventBuilder::Build(2, dy, modifiers, false); event 2465 content/browser/web_contents/web_contents_impl_unittest.cc handled = contents()->HandleWheelEvent(event); event 2477 content/browser/web_contents/web_contents_impl_unittest.cc event = SyntheticWebMouseWheelEventBuilder::Build(2, dy, modifiers, false); event 2478 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->HandleWheelEvent(event)); event 2495 content/browser/web_contents/web_contents_impl_unittest.cc blink::WebGestureEvent event = SyntheticWebGestureEventBuilder::Build( event 2499 content/browser/web_contents/web_contents_impl_unittest.cc event.data.pinchUpdate.scale = kZoomStepValue * 0.8f; event 2500 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->HandleGestureEvent(event)); event 2504 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->HandleGestureEvent(event)); event 2509 content/browser/web_contents/web_contents_impl_unittest.cc event.data.pinchUpdate.scale = -kZoomStepValue; event 2510 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->HandleGestureEvent(event)); event 2515 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->HandleGestureEvent(event)); event 2519 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->HandleGestureEvent(event)); event 2525 content/browser/web_contents/web_contents_impl_unittest.cc event = SyntheticWebGestureEventBuilder::Build( event 2527 content/browser/web_contents/web_contents_impl_unittest.cc event.data.pinchUpdate.scale = kZoomStepValue * 3; event 2528 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->HandleGestureEvent(event)); event 152 content/browser/web_contents/web_contents_view_aura.cc virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE { event 154 content/browser/web_contents/web_contents_view_aura.cc web_contents_window()->delegate()->OnScrollEvent(event); event 157 content/browser/web_contents/web_contents_view_aura.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 159 content/browser/web_contents/web_contents_view_aura.cc web_contents_window()->delegate()->OnGestureEvent(event); event 1393 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::OnKeyEvent(ui::KeyEvent* event) { event 1396 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::OnMouseEvent(ui::MouseEvent* event) { event 1400 content/browser/web_contents/web_contents_view_aura.cc switch (event->type()) { event 1409 content/browser/web_contents/web_contents_view_aura.cc event->type() == ui::ET_MOUSE_MOVED); event 1419 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::OnDragEntered(const ui::DropTargetEvent& event) { event 1425 content/browser/web_contents/web_contents_view_aura.cc PrepareDropData(current_drop_data_.get(), event.data()); event 1426 content/browser/web_contents/web_contents_view_aura.cc blink::WebDragOperationsMask op = ConvertToWeb(event.source_operations()); event 1432 content/browser/web_contents/web_contents_view_aura.cc *current_drop_data_.get(), event.location(), screen_pt, op, event 1433 content/browser/web_contents/web_contents_view_aura.cc ConvertAuraEventFlagsToWebInputEventModifiers(event.flags())); event 1436 content/browser/web_contents/web_contents_view_aura.cc drag_dest_delegate_->OnReceiveDragData(event.data()); event 1441 content/browser/web_contents/web_contents_view_aura.cc int WebContentsViewAura::OnDragUpdated(const ui::DropTargetEvent& event) { event 1444 content/browser/web_contents/web_contents_view_aura.cc OnDragEntered(event); event 1446 content/browser/web_contents/web_contents_view_aura.cc blink::WebDragOperationsMask op = ConvertToWeb(event.source_operations()); event 1450 content/browser/web_contents/web_contents_view_aura.cc event.location(), screen_pt, op, event 1451 content/browser/web_contents/web_contents_view_aura.cc ConvertAuraEventFlagsToWebInputEventModifiers(event.flags())); event 1471 content/browser/web_contents/web_contents_view_aura.cc int WebContentsViewAura::OnPerformDrop(const ui::DropTargetEvent& event) { event 1474 content/browser/web_contents/web_contents_view_aura.cc OnDragEntered(event); event 1477 content/browser/web_contents/web_contents_view_aura.cc event.location(), event 1479 content/browser/web_contents/web_contents_view_aura.cc ConvertAuraEventFlagsToWebInputEventModifiers(event.flags())); event 173 content/browser/web_contents/web_contents_view_aura.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 174 content/browser/web_contents/web_contents_view_aura.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 177 content/browser/web_contents/web_contents_view_aura.h virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; event 178 content/browser/web_contents/web_contents_view_aura.h virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; event 180 content/browser/web_contents/web_contents_view_aura.h virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; event 39 content/browser/web_contents/web_contents_view_gtk.cc gboolean OnLeaveNotify(GtkWidget* widget, GdkEventCrossing* event, event 43 content/browser/web_contents/web_contents_view_gtk.cc web_contents, gfx::Point(event->x_root, event->y_root), false); event 48 content/browser/web_contents/web_contents_view_gtk.cc gboolean OnMouseMove(GtkWidget* widget, GdkEventMotion* event, event 52 content/browser/web_contents/web_contents_view_gtk.cc web_contents, gfx::Point(event->x_root, event->y_root), true); event 57 content/browser/web_contents/web_contents_view_gtk.cc gboolean OnMouseScroll(GtkWidget* widget, GdkEventScroll* event, event 59 content/browser/web_contents/web_contents_view_gtk.cc if ((event->state & gtk_accelerator_get_default_mod_mask()) != event 68 content/browser/web_contents/web_contents_view_gtk.cc if (!(event->direction == GDK_SCROLL_DOWN || event 69 content/browser/web_contents/web_contents_view_gtk.cc event->direction == GDK_SCROLL_UP)) { event 73 content/browser/web_contents/web_contents_view_gtk.cc delegate->ContentsZoomChange(event->direction == GDK_SCROLL_UP); event 376 content/browser/web_contents/web_drag_source_gtk.cc GdkEventExpose* event) { event 377 content/browser/web_contents/web_drag_source_gtk.cc cairo_t* cr = gdk_cairo_create(event->window); event 378 content/browser/web_contents/web_drag_source_gtk.cc gdk_cairo_rectangle(cr, &event->area); event 1096 content/child/npapi/plugin_host.cc NPBool NPN_HandleEvent(NPP id, void *event, NPBool handled) { event 355 content/child/npapi/plugin_instance.cc short PluginInstance::NPP_HandleEvent(void* event) { event 357 content/child/npapi/plugin_instance.cc DCHECK(npp_functions_->event != 0); event 358 content/child/npapi/plugin_instance.cc if (npp_functions_->event != 0) { event 359 content/child/npapi/plugin_instance.cc return npp_functions_->event(npp_, (void*)event); event 255 content/child/npapi/plugin_instance.h void set_currently_handled_event(NPCocoaEvent* event) { event 256 content/child/npapi/plugin_instance.h currently_handled_event_ = event; event 361 content/child/npapi/plugin_instance.h ScopedCurrentPluginEvent(PluginInstance* instance, NPCocoaEvent* event); event 76 content/child/npapi/webplugin_delegate.h virtual bool HandleInputEvent(const blink::WebInputEvent& event, event 261 content/child/npapi/webplugin_delegate_impl.cc const WebInputEvent& event, event 266 content/child/npapi/webplugin_delegate_impl.cc if (IsUserGesture(event)) { event 271 content/child/npapi/webplugin_delegate_impl.cc bool handled = PlatformHandleInputEvent(event, cursor_info); event 280 content/child/npapi/webplugin_delegate_impl.cc bool WebPluginDelegateImpl::IsUserGesture(const WebInputEvent& event) { event 281 content/child/npapi/webplugin_delegate_impl.cc switch (event.type) { event 96 content/child/npapi/webplugin_delegate_impl.h virtual bool HandleInputEvent(const blink::WebInputEvent& event, event 286 content/child/npapi/webplugin_delegate_impl.h bool PlatformHandleInputEvent(const blink::WebInputEvent& event, event 367 content/child/npapi/webplugin_delegate_impl.h static bool ShouldTrackEventForModalLoops(NPEvent* event); event 452 content/child/npapi/webplugin_delegate_impl.h static bool IsUserGesture(const blink::WebInputEvent& event); event 75 content/child/npapi/webplugin_delegate_impl_android.cc const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) { event 62 content/child/npapi/webplugin_delegate_impl_aura.cc const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) { event 392 content/child/npapi/webplugin_delegate_impl_gtk.cc XGraphicsExposeEvent& event = np_event.xgraphicsexpose; event 393 content/child/npapi/webplugin_delegate_impl_gtk.cc event.type = GraphicsExpose; event 394 content/child/npapi/webplugin_delegate_impl_gtk.cc event.x = pixmap_draw_rect.x(); event 395 content/child/npapi/webplugin_delegate_impl_gtk.cc event.y = pixmap_draw_rect.y(); event 396 content/child/npapi/webplugin_delegate_impl_gtk.cc event.width = pixmap_draw_rect.width(); event 397 content/child/npapi/webplugin_delegate_impl_gtk.cc event.height = pixmap_draw_rect.height(); event 398 content/child/npapi/webplugin_delegate_impl_gtk.cc event.display = GDK_DISPLAY(); event 403 content/child/npapi/webplugin_delegate_impl_gtk.cc Display* display = event.display; event 424 content/child/npapi/webplugin_delegate_impl_gtk.cc event.drawable = pixmap; event 426 content/child/npapi/webplugin_delegate_impl_gtk.cc event.drawable = windowless_shm_pixmap_; event 457 content/child/npapi/webplugin_delegate_impl_gtk.cc event.drawable = GDK_PIXMAP_XID(pixmap_); event 531 content/child/npapi/webplugin_delegate_impl_gtk.cc XFocusChangeEvent& event = np_event.xfocus; event 532 content/child/npapi/webplugin_delegate_impl_gtk.cc event.type = focused ? FocusIn : FocusOut; event 533 content/child/npapi/webplugin_delegate_impl_gtk.cc event.display = GDK_DISPLAY(); event 535 content/child/npapi/webplugin_delegate_impl_gtk.cc event.mode = -1; event 536 content/child/npapi/webplugin_delegate_impl_gtk.cc event.detail = NotifyDetailNone; event 565 content/child/npapi/webplugin_delegate_impl_gtk.cc static bool NPEventFromWebMouseEvent(const WebMouseEvent& event, event 571 content/child/npapi/webplugin_delegate_impl_gtk.cc int modifier_state = GetXModifierState(event.modifiers); event 574 content/child/npapi/webplugin_delegate_impl_gtk.cc switch (event.type) { event 580 content/child/npapi/webplugin_delegate_impl_gtk.cc motion_event.x = event.x; event 581 content/child/npapi/webplugin_delegate_impl_gtk.cc motion_event.y = event.y; event 582 content/child/npapi/webplugin_delegate_impl_gtk.cc motion_event.x_root = event.globalX; event 583 content/child/npapi/webplugin_delegate_impl_gtk.cc motion_event.y_root = event.globalY; event 591 content/child/npapi/webplugin_delegate_impl_gtk.cc if (event.type == WebInputEvent::MouseEnter) { event 599 content/child/npapi/webplugin_delegate_impl_gtk.cc crossing_event.x = event.x; event 600 content/child/npapi/webplugin_delegate_impl_gtk.cc crossing_event.y = event.y; event 601 content/child/npapi/webplugin_delegate_impl_gtk.cc crossing_event.x_root = event.globalX; event 602 content/child/npapi/webplugin_delegate_impl_gtk.cc crossing_event.y_root = event.globalY; event 615 content/child/npapi/webplugin_delegate_impl_gtk.cc if (event.type == WebInputEvent::MouseDown) { event 623 content/child/npapi/webplugin_delegate_impl_gtk.cc button_event.x = event.x; event 624 content/child/npapi/webplugin_delegate_impl_gtk.cc button_event.y = event.y; event 625 content/child/npapi/webplugin_delegate_impl_gtk.cc button_event.x_root = event.globalX; event 626 content/child/npapi/webplugin_delegate_impl_gtk.cc button_event.y_root = event.globalY; event 628 content/child/npapi/webplugin_delegate_impl_gtk.cc switch (event.button) { event 651 content/child/npapi/webplugin_delegate_impl_gtk.cc static bool NPEventFromWebKeyboardEvent(const WebKeyboardEvent& event, event 657 content/child/npapi/webplugin_delegate_impl_gtk.cc switch (event.type) { event 681 content/child/npapi/webplugin_delegate_impl_gtk.cc key_event.state = GetXModifierState(event.modifiers); event 682 content/child/npapi/webplugin_delegate_impl_gtk.cc key_event.keycode = event.nativeKeyCode; event 687 content/child/npapi/webplugin_delegate_impl_gtk.cc static bool NPEventFromWebInputEvent(const WebInputEvent& event, event 690 content/child/npapi/webplugin_delegate_impl_gtk.cc switch (event.type) { event 696 content/child/npapi/webplugin_delegate_impl_gtk.cc if (event.size < sizeof(WebMouseEvent)) { event 701 content/child/npapi/webplugin_delegate_impl_gtk.cc *static_cast<const WebMouseEvent*>(&event), timestamp, np_event); event 704 content/child/npapi/webplugin_delegate_impl_gtk.cc if (event.size < sizeof(WebKeyboardEvent)) { event 709 content/child/npapi/webplugin_delegate_impl_gtk.cc *static_cast<const WebKeyboardEvent*>(&event), timestamp, np_event); event 716 content/child/npapi/webplugin_delegate_impl_gtk.cc const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) { event 719 content/child/npapi/webplugin_delegate_impl_gtk.cc first_event_time_ = event.timeStampSeconds; event 721 content/child/npapi/webplugin_delegate_impl_gtk.cc (event.timeStampSeconds - first_event_time_) * 1.0e3); event 723 content/child/npapi/webplugin_delegate_impl_gtk.cc if (!NPEventFromWebInputEvent(event, timestamp, &np_event)) { event 740 content/child/npapi/webplugin_delegate_impl_gtk.cc if (event->event == WM_MOUSEMOVE) { event 1066 content/child/npapi/webplugin_delegate_impl_win.cc pos_changed_event.event = WM_WINDOWPOSCHANGED; event 1089 content/child/npapi/webplugin_delegate_impl_win.cc paint_event.event = WM_PAINT; event 1127 content/child/npapi/webplugin_delegate_impl_win.cc focus_event.event = focused ? WM_SETFOCUS : WM_KILLFOCUS; event 1135 content/child/npapi/webplugin_delegate_impl_win.cc static bool NPEventFromWebMouseEvent(const WebMouseEvent& event, event 1137 content/child/npapi/webplugin_delegate_impl_win.cc np_event->lParam = static_cast<uint32>(MAKELPARAM(event.windowX, event 1138 content/child/npapi/webplugin_delegate_impl_win.cc event.windowY)); event 1141 content/child/npapi/webplugin_delegate_impl_win.cc if (event.modifiers & WebInputEvent::ControlKey) event 1143 content/child/npapi/webplugin_delegate_impl_win.cc if (event.modifiers & WebInputEvent::ShiftKey) event 1145 content/child/npapi/webplugin_delegate_impl_win.cc if (event.modifiers & WebInputEvent::LeftButtonDown) event 1147 content/child/npapi/webplugin_delegate_impl_win.cc if (event.modifiers & WebInputEvent::MiddleButtonDown) event 1149 content/child/npapi/webplugin_delegate_impl_win.cc if (event.modifiers & WebInputEvent::RightButtonDown) event 1152 content/child/npapi/webplugin_delegate_impl_win.cc switch (event.type) { event 1156 content/child/npapi/webplugin_delegate_impl_win.cc np_event->event = WM_MOUSEMOVE; event 1159 content/child/npapi/webplugin_delegate_impl_win.cc switch (event.button) { event 1161 content/child/npapi/webplugin_delegate_impl_win.cc np_event->event = WM_LBUTTONDOWN; event 1164 content/child/npapi/webplugin_delegate_impl_win.cc np_event->event = WM_MBUTTONDOWN; event 1167 content/child/npapi/webplugin_delegate_impl_win.cc np_event->event = WM_RBUTTONDOWN; event 1172 content/child/npapi/webplugin_delegate_impl_win.cc switch (event.button) { event 1174 content/child/npapi/webplugin_delegate_impl_win.cc np_event->event = WM_LBUTTONUP; event 1177 content/child/npapi/webplugin_delegate_impl_win.cc np_event->event = WM_MBUTTONUP; event 1180 content/child/npapi/webplugin_delegate_impl_win.cc np_event->event = WM_RBUTTONUP; event 1190 content/child/npapi/webplugin_delegate_impl_win.cc static bool NPEventFromWebKeyboardEvent(const WebKeyboardEvent& event, event 1192 content/child/npapi/webplugin_delegate_impl_win.cc np_event->wParam = event.windowsKeyCode; event 1194 content/child/npapi/webplugin_delegate_impl_win.cc switch (event.type) { event 1196 content/child/npapi/webplugin_delegate_impl_win.cc np_event->event = WM_KEYDOWN; event 1200 content/child/npapi/webplugin_delegate_impl_win.cc np_event->event = WM_CHAR; event 1204 content/child/npapi/webplugin_delegate_impl_win.cc np_event->event = WM_KEYUP; event 1213 content/child/npapi/webplugin_delegate_impl_win.cc static bool NPEventFromWebInputEvent(const WebInputEvent& event, event 1215 content/child/npapi/webplugin_delegate_impl_win.cc switch (event.type) { event 1221 content/child/npapi/webplugin_delegate_impl_win.cc if (event.size < sizeof(WebMouseEvent)) { event 1226 content/child/npapi/webplugin_delegate_impl_win.cc *static_cast<const WebMouseEvent*>(&event), np_event); event 1230 content/child/npapi/webplugin_delegate_impl_win.cc if (event.size < sizeof(WebKeyboardEvent)) { event 1235 content/child/npapi/webplugin_delegate_impl_win.cc *static_cast<const WebKeyboardEvent*>(&event), np_event); event 1242 content/child/npapi/webplugin_delegate_impl_win.cc const WebInputEvent& event, WebCursor::CursorInfo* cursor_info) { event 1246 content/child/npapi/webplugin_delegate_impl_win.cc if (!NPEventFromWebInputEvent(event, &np_event)) { event 1257 content/child/npapi/webplugin_delegate_impl_win.cc event.isKeyboardEventType(event.type) ? plugin_ime_.get() : NULL); event 1299 content/child/npapi/webplugin_delegate_impl_win.cc if (IsUserGestureMessage(np_event.event)) { event 1316 content/child/npapi/webplugin_delegate_impl_win.cc if (np_event.event == WM_MOUSEMOVE) { event 1384 content/child/npapi/webplugin_delegate_impl_win.cc bool WebPluginDelegateImpl::ShouldTrackEventForModalLoops(NPEvent* event) { event 1385 content/child/npapi/webplugin_delegate_impl_win.cc if (event->event == WM_RBUTTONDOWN) event 52 content/child/npapi/webplugin_ime_win.cc np_event.event = WM_IME_STARTCOMPOSITION; event 61 content/child/npapi/webplugin_ime_win.cc np_event.event = WM_IME_COMPOSITION; event 97 content/child/npapi/webplugin_ime_win.cc np_event.event = WM_IME_COMPOSITION; event 105 content/child/npapi/webplugin_ime_win.cc np_event.event = WM_IME_ENDCOMPOSITION; event 114 content/child/npapi/webplugin_ime_win.cc np_event.event = WM_CHAR; event 51 content/common/content_param_traits.cc param_type event = reinterpret_cast<param_type>(data); event 53 content/common/content_param_traits.cc if (data_length != static_cast<int>(event->size)) { event 58 content/common/content_param_traits.cc content::WebInputEventTraits::GetSize(event->type); event 63 content/common/content_param_traits.cc *r = event; event 18 content/common/input/gesture_event_stream_validator.cc bool GestureEventStreamValidator::Validate(const blink::WebGestureEvent& event, event 21 content/common/input/gesture_event_stream_validator.cc switch (event.type) { event 23 content/common/input/gesture_event_stream_validator.h bool Validate(const blink::WebGestureEvent& event, event 23 content/common/input/input_event_stream_validator.cc void InputEventStreamValidator::OnEvent(const WebInputEvent& event) { event 27 content/common/input/input_event_stream_validator.cc if (WebInputEvent::isGestureEventType(event.type)) { event 29 content/common/input/input_event_stream_validator.cc static_cast<const WebGestureEvent&>(event); event 134 content/common/input/input_param_traits_unittest.cc InputEvent event; event 137 content/common/input/input_param_traits_unittest.cc IPC::WriteParam(&msg, event); event 24 content/common/input/web_input_event_traits.cc const WebKeyboardEvent& event) { event 29 content/common/input/web_input_event_traits.cc WebKeyboardEvent* event) { event 30 content/common/input/web_input_event_traits.cc DCHECK(CanCoalesce(event_to_coalesce, *event)); event 34 content/common/input/web_input_event_traits.cc const WebMouseEvent& event) { event 35 content/common/input/web_input_event_traits.cc return event.type == event_to_coalesce.type && event 36 content/common/input/web_input_event_traits.cc event.type == WebInputEvent::MouseMove; event 39 content/common/input/web_input_event_traits.cc void Coalesce(const WebMouseEvent& event_to_coalesce, WebMouseEvent* event) { event 40 content/common/input/web_input_event_traits.cc DCHECK(CanCoalesce(event_to_coalesce, *event)); event 42 content/common/input/web_input_event_traits.cc int x = event->movementX; event 43 content/common/input/web_input_event_traits.cc int y = event->movementY; event 44 content/common/input/web_input_event_traits.cc *event = event_to_coalesce; event 45 content/common/input/web_input_event_traits.cc event->movementX += x; event 46 content/common/input/web_input_event_traits.cc event->movementY += y; event 50 content/common/input/web_input_event_traits.cc const WebMouseWheelEvent& event) { event 51 content/common/input/web_input_event_traits.cc return event.modifiers == event_to_coalesce.modifiers && event 52 content/common/input/web_input_event_traits.cc event.scrollByPage == event_to_coalesce.scrollByPage && event 53 content/common/input/web_input_event_traits.cc event.phase == event_to_coalesce.phase && event 54 content/common/input/web_input_event_traits.cc event.momentumPhase == event_to_coalesce.momentumPhase && event 55 content/common/input/web_input_event_traits.cc event.hasPreciseScrollingDeltas == event 70 content/common/input/web_input_event_traits.cc WebMouseWheelEvent* event) { event 71 content/common/input/web_input_event_traits.cc DCHECK(CanCoalesce(event_to_coalesce, *event)); event 73 content/common/input/web_input_event_traits.cc GetUnacceleratedDelta(event->deltaX, event 74 content/common/input/web_input_event_traits.cc event->accelerationRatioX) + event 78 content/common/input/web_input_event_traits.cc GetUnacceleratedDelta(event->deltaY, event 79 content/common/input/web_input_event_traits.cc event->accelerationRatioY) + event 82 content/common/input/web_input_event_traits.cc event->deltaX += event_to_coalesce.deltaX; event 83 content/common/input/web_input_event_traits.cc event->deltaY += event_to_coalesce.deltaY; event 84 content/common/input/web_input_event_traits.cc event->wheelTicksX += event_to_coalesce.wheelTicksX; event 85 content/common/input/web_input_event_traits.cc event->wheelTicksY += event_to_coalesce.wheelTicksY; event 86 content/common/input/web_input_event_traits.cc event->accelerationRatioX = event 87 content/common/input/web_input_event_traits.cc GetAccelerationRatio(event->deltaX, unaccelerated_x); event 88 content/common/input/web_input_event_traits.cc event->accelerationRatioY = event 89 content/common/input/web_input_event_traits.cc GetAccelerationRatio(event->deltaY, unaccelerated_y); event 90 content/common/input/web_input_event_traits.cc DCHECK_GE(event_to_coalesce.timeStampSeconds, event->timeStampSeconds); event 91 content/common/input/web_input_event_traits.cc event->timeStampSeconds = event_to_coalesce.timeStampSeconds; event 95 content/common/input/web_input_event_traits.cc int GetIndexOfTouchID(const WebTouchEvent& event, int id) { event 96 content/common/input/web_input_event_traits.cc for (unsigned i = 0; i < event.touchesLength; ++i) { event 97 content/common/input/web_input_event_traits.cc if (event.touches[i].id == id) event 104 content/common/input/web_input_event_traits.cc const WebTouchEvent& event) { event 105 content/common/input/web_input_event_traits.cc if (event.type != event_to_coalesce.type || event 106 content/common/input/web_input_event_traits.cc event.type != WebInputEvent::TouchMove || event 107 content/common/input/web_input_event_traits.cc event.modifiers != event_to_coalesce.modifiers || event 108 content/common/input/web_input_event_traits.cc event.touchesLength != event_to_coalesce.touchesLength || event 109 content/common/input/web_input_event_traits.cc event.touchesLength > WebTouchEvent::touchesLengthCap) event 116 content/common/input/web_input_event_traits.cc (1 << event.touchesLength) - 1); event 119 content/common/input/web_input_event_traits.cc GetIndexOfTouchID(event, event_to_coalesce.touches[i].id); event 129 content/common/input/web_input_event_traits.cc void Coalesce(const WebTouchEvent& event_to_coalesce, WebTouchEvent* event) { event 130 content/common/input/web_input_event_traits.cc DCHECK(CanCoalesce(event_to_coalesce, *event)); event 137 content/common/input/web_input_event_traits.cc WebTouchEvent old_event = *event; event 138 content/common/input/web_input_event_traits.cc *event = event_to_coalesce; event 139 content/common/input/web_input_event_traits.cc for (unsigned i = 0; i < event->touchesLength; ++i) { event 140 content/common/input/web_input_event_traits.cc int i_old = GetIndexOfTouchID(old_event, event->touches[i].id); event 142 content/common/input/web_input_event_traits.cc event->touches[i].state = blink::WebTouchPoint::StateMoved; event 147 content/common/input/web_input_event_traits.cc const WebGestureEvent& event) { event 148 content/common/input/web_input_event_traits.cc if (event.type != event_to_coalesce.type || event 149 content/common/input/web_input_event_traits.cc event.sourceDevice != event_to_coalesce.sourceDevice || event 150 content/common/input/web_input_event_traits.cc event.modifiers != event_to_coalesce.modifiers) event 153 content/common/input/web_input_event_traits.cc if (event.type == WebInputEvent::GestureScrollUpdate) event 158 content/common/input/web_input_event_traits.cc if (event.type == WebInputEvent::GesturePinchUpdate && event 159 content/common/input/web_input_event_traits.cc event.x == event_to_coalesce.x && event 160 content/common/input/web_input_event_traits.cc event.y == event_to_coalesce.y) event 167 content/common/input/web_input_event_traits.cc WebGestureEvent* event) { event 168 content/common/input/web_input_event_traits.cc DCHECK(CanCoalesce(event_to_coalesce, *event)); event 169 content/common/input/web_input_event_traits.cc if (event->type == WebInputEvent::GestureScrollUpdate) { event 170 content/common/input/web_input_event_traits.cc event->data.scrollUpdate.deltaX += event 172 content/common/input/web_input_event_traits.cc event->data.scrollUpdate.deltaY += event 174 content/common/input/web_input_event_traits.cc } else if (event->type == WebInputEvent::GesturePinchUpdate) { event 175 content/common/input/web_input_event_traits.cc event->data.pinchUpdate.scale *= event_to_coalesce.data.pinchUpdate.scale; event 189 content/common/input/web_input_event_traits.cc bool Execute(const WebInputEvent& event, event 191 content/common/input/web_input_event_traits.cc DCHECK_EQ(sizeof(EventType), event.size); event 193 content/common/input/web_input_event_traits.cc new EventType(static_cast<const EventType&>(event))); event 200 content/common/input/web_input_event_traits.cc bool Execute(WebInputEvent* event, bool* /* dummy_var */) const { event 201 content/common/input/web_input_event_traits.cc if (!event) event 203 content/common/input/web_input_event_traits.cc DCHECK_EQ(sizeof(EventType), event->size); event 204 content/common/input/web_input_event_traits.cc delete static_cast<EventType*>(event); event 212 content/common/input/web_input_event_traits.cc const WebInputEvent* event) const { event 213 content/common/input/web_input_event_traits.cc if (event_to_coalesce.type != event->type) event 215 content/common/input/web_input_event_traits.cc DCHECK_EQ(sizeof(EventType), event->size); event 218 content/common/input/web_input_event_traits.cc *static_cast<const EventType*>(event)); event 225 content/common/input/web_input_event_traits.cc WebInputEvent* event) const { event 227 content/common/input/web_input_event_traits.cc static_cast<EventType*>(event)); event 307 content/common/input/web_input_event_traits.cc ScopedWebInputEvent WebInputEventTraits::Clone(const WebInputEvent& event) { event 309 content/common/input/web_input_event_traits.cc Apply(WebInputEventClone(), event.type, event, &scoped_event); event 313 content/common/input/web_input_event_traits.cc void WebInputEventTraits::Delete(WebInputEvent* event) { event 314 content/common/input/web_input_event_traits.cc if (!event) event 317 content/common/input/web_input_event_traits.cc Apply(WebInputEventDelete(), event->type, event, &dummy_var); event 321 content/common/input/web_input_event_traits.cc const WebInputEvent& event) { event 323 content/common/input/web_input_event_traits.cc if (event_to_coalesce.type != event.type) event 326 content/common/input/web_input_event_traits.cc event.type, event 328 content/common/input/web_input_event_traits.cc &event); event 332 content/common/input/web_input_event_traits.cc WebInputEvent* event) { event 333 content/common/input/web_input_event_traits.cc DCHECK(event); event 334 content/common/input/web_input_event_traits.cc Apply(WebInputEventCoalesce(), event->type, event_to_coalesce, event); event 19 content/common/input/web_input_event_traits.h static ScopedWebInputEvent Clone(const blink::WebInputEvent& event); event 20 content/common/input/web_input_event_traits.h static void Delete(blink::WebInputEvent* event); event 22 content/common/input/web_input_event_traits.h const blink::WebInputEvent& event); event 24 content/common/input/web_input_event_traits.h blink::WebInputEvent* event); event 33 content/common/input/web_input_event_traits_unittest.cc WebTouchEvent event; event 34 content/common/input/web_input_event_traits_unittest.cc event.touchesLength = touch_count; event 35 content/common/input/web_input_event_traits_unittest.cc event.type = type; event 36 content/common/input/web_input_event_traits_unittest.cc return event; event 42 content/common/input/web_input_event_traits_unittest.cc WebGestureEvent event; event 43 content/common/input/web_input_event_traits_unittest.cc event.type = type; event 44 content/common/input/web_input_event_traits_unittest.cc event.x = x; event 45 content/common/input/web_input_event_traits_unittest.cc event.y = y; event 46 content/common/input/web_input_event_traits_unittest.cc return event; event 54 content/plugin/plugin_channel.cc return modal_dialog_event_map_[render_view_id].event; event 71 content/plugin/plugin_channel.cc FROM_HERE, modal_dialog_event_map_[render_view_id].event); event 102 content/plugin/plugin_channel.cc delete i->second.event; event 115 content/plugin/plugin_channel.cc wrapper.event = new base::WaitableEvent(true, false); event 123 content/plugin/plugin_channel.cc modal_dialog_event_map_[render_view_id].event->Signal(); event 129 content/plugin/plugin_channel.cc modal_dialog_event_map_[render_view_id].event->Reset(); event 133 content/plugin/plugin_channel.cc base::WaitableEvent* event; event 276 content/plugin/webplugin_delegate_stub.cc const blink::WebInputEvent *event, event 280 content/plugin/webplugin_delegate_stub.cc *handled = delegate_->HandleInputEvent(*event, &cursor_info); event 72 content/plugin/webplugin_delegate_stub.h void OnHandleInputEvent(const blink::WebInputEvent* event, event 24 content/port/browser/event_with_latency_info.h T event; event 28 content/port/browser/event_with_latency_info.h : event(e), latency(l) {} event 34 content/port/browser/event_with_latency_info.h return WebInputEventTraits::CanCoalesce(other.event, event); event 38 content/port/browser/event_with_latency_info.h WebInputEventTraits::Coalesce(other.event, &event); event 292 content/port/browser/render_widget_host_view_port.h virtual void UnhandledWheelEvent(const blink::WebMouseWheelEvent& event) = 0; event 312 content/port/browser/render_widget_host_view_port.h virtual void GestureEventAck(const blink::WebGestureEvent& event, event 346 content/port/browser/render_widget_host_view_port.h const NativeWebKeyboardEvent& event) = 0; event 427 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java public boolean onKeyUp(int keyCode, KeyEvent event) { event 432 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java return super.onKeyUp(keyCode, event); event 93 content/public/android/java/src/org/chromium/content/browser/ContentVideoViewLegacy.java public boolean onKey(View v, int keyCode, KeyEvent event) { event 131 content/public/android/java/src/org/chromium/content/browser/ContentVideoViewLegacy.java event.getAction() == KeyEvent.ACTION_UP) { event 142 content/public/android/java/src/org/chromium/content/browser/ContentVideoViewLegacy.java public boolean onTouch(View v, MotionEvent event) { event 144 content/public/android/java/src/org/chromium/content/browser/ContentVideoViewLegacy.java event.getAction() == MotionEvent.ACTION_DOWN) { event 312 content/public/android/java/src/org/chromium/content/browser/ContentView.java public boolean onKeyUp(int keyCode, KeyEvent event) { event 313 content/public/android/java/src/org/chromium/content/browser/ContentView.java return mContentViewCore.onKeyUp(keyCode, event); event 317 content/public/android/java/src/org/chromium/content/browser/ContentView.java public boolean dispatchKeyEventPreIme(KeyEvent event) { event 318 content/public/android/java/src/org/chromium/content/browser/ContentView.java return mContentViewCore.dispatchKeyEventPreIme(event); event 322 content/public/android/java/src/org/chromium/content/browser/ContentView.java public boolean dispatchKeyEvent(KeyEvent event) { event 324 content/public/android/java/src/org/chromium/content/browser/ContentView.java return mContentViewCore.dispatchKeyEvent(event); event 326 content/public/android/java/src/org/chromium/content/browser/ContentView.java return super.dispatchKeyEvent(event); event 331 content/public/android/java/src/org/chromium/content/browser/ContentView.java public boolean onTouchEvent(MotionEvent event) { event 332 content/public/android/java/src/org/chromium/content/browser/ContentView.java MotionEvent offset = createOffsetMotionEvent(event); event 344 content/public/android/java/src/org/chromium/content/browser/ContentView.java public boolean onHoverEvent(MotionEvent event) { event 345 content/public/android/java/src/org/chromium/content/browser/ContentView.java MotionEvent offset = createOffsetMotionEvent(event); event 348 content/public/android/java/src/org/chromium/content/browser/ContentView.java super.onHoverEvent(event); event 353 content/public/android/java/src/org/chromium/content/browser/ContentView.java public boolean onGenericMotionEvent(MotionEvent event) { event 354 content/public/android/java/src/org/chromium/content/browser/ContentView.java return mContentViewCore.onGenericMotionEvent(event); event 463 content/public/android/java/src/org/chromium/content/browser/ContentView.java public void onInitializeAccessibilityEvent(AccessibilityEvent event) { event 464 content/public/android/java/src/org/chromium/content/browser/ContentView.java super.onInitializeAccessibilityEvent(event); event 465 content/public/android/java/src/org/chromium/content/browser/ContentView.java mContentViewCore.onInitializeAccessibilityEvent(event); event 531 content/public/android/java/src/org/chromium/content/browser/ContentView.java public boolean super_onKeyUp(int keyCode, KeyEvent event) { event 532 content/public/android/java/src/org/chromium/content/browser/ContentView.java return super.onKeyUp(keyCode, event); event 536 content/public/android/java/src/org/chromium/content/browser/ContentView.java public boolean super_dispatchKeyEventPreIme(KeyEvent event) { event 537 content/public/android/java/src/org/chromium/content/browser/ContentView.java return super.dispatchKeyEventPreIme(event); event 541 content/public/android/java/src/org/chromium/content/browser/ContentView.java public boolean super_dispatchKeyEvent(KeyEvent event) { event 542 content/public/android/java/src/org/chromium/content/browser/ContentView.java return super.dispatchKeyEvent(event); event 546 content/public/android/java/src/org/chromium/content/browser/ContentView.java public boolean super_onGenericMotionEvent(MotionEvent event) { event 547 content/public/android/java/src/org/chromium/content/browser/ContentView.java return super.onGenericMotionEvent(event); event 54 content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java public boolean shouldOverrideKeyEvent(KeyEvent event) { event 55 content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java int keyCode = event.getKeyCode(); event 79 content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java if (event.isCtrlPressed() && ( event 146 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java boolean super_onKeyUp(int keyCode, KeyEvent event); event 151 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java boolean super_dispatchKeyEventPreIme(KeyEvent event); event 156 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java boolean super_dispatchKeyEvent(KeyEvent event); event 161 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java boolean super_onGenericMotionEvent(MotionEvent event); event 1178 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java public boolean onTouchEvent(MotionEvent event) { event 1186 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java final int eventAction = event.getActionMasked(); event 1201 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java final int pointerCount = event.getPointerCount(); event 1202 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java return nativeOnTouchEvent(mNativeContentViewCore, event, event 1203 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.getEventTime(), eventAction, event 1204 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java pointerCount, event.getHistorySize(), event.getActionIndex(), event 1205 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.getX(), event.getY(), event 1206 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java pointerCount > 1 ? event.getX(1) : 0, event 1207 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java pointerCount > 1 ? event.getY(1) : 0, event 1208 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.getPointerId(0), pointerCount > 1 ? event.getPointerId(1) : -1, event 1209 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.getTouchMajor(), pointerCount > 1 ? event.getTouchMajor(1) : 0); event 1680 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java public boolean onKeyUp(int keyCode, KeyEvent event) { event 1685 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java return mContainerViewInternals.super_onKeyUp(keyCode, event); event 1691 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java public boolean dispatchKeyEventPreIme(KeyEvent event) { event 1694 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java return mContainerViewInternals.super_dispatchKeyEventPreIme(event); event 1703 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java public boolean dispatchKeyEvent(KeyEvent event) { event 1704 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java if (getContentViewClient().shouldOverrideKeyEvent(event)) { event 1705 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java return mContainerViewInternals.super_dispatchKeyEvent(event); event 1708 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java if (mImeAdapter.dispatchKeyEvent(event)) return true; event 1710 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java return mContainerViewInternals.super_dispatchKeyEvent(event); event 1719 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java public boolean onHoverEvent(MotionEvent event) { event 1723 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java return mBrowserAccessibilityManager.onHoverEvent(event); event 1728 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java if (mTouchExplorationEnabled && event.getAction() == MotionEvent.ACTION_HOVER_EXIT) { event 1734 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java nativeSendMouseMoveEvent(mNativeContentViewCore, event.getEventTime(), event 1735 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.getX(), event.getY()); event 1744 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java public boolean onGenericMotionEvent(MotionEvent event) { event 1745 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java if ((event.getSource() & InputDevice.SOURCE_CLASS_POINTER) != 0) { event 1746 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java switch (event.getAction()) { event 1748 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java nativeSendMouseWheelEvent(mNativeContentViewCore, event.getEventTime(), event 1749 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.getX(), event.getY(), event 1750 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.getAxisValue(MotionEvent.AXIS_VSCROLL)); event 1755 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java final MotionEvent eventFakeMouseMove = MotionEvent.obtain(event); event 1766 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java return mContainerViewInternals.super_onGenericMotionEvent(event); event 2895 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java public void onInitializeAccessibilityEvent(AccessibilityEvent event) { event 2897 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.setClassName(this.getClass().getName()); event 2900 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.setScrollX(mRenderCoordinates.getScrollXPixInt()); event 2901 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.setScrollY(mRenderCoordinates.getScrollYPixInt()); event 2907 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.setScrollable(maxScrollXPix > 0 || maxScrollYPix > 0); event 2912 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.setMaxScrollX(maxScrollXPix); event 2913 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java event.setMaxScrollY(maxScrollYPix); event 3192 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java long nativeContentViewCoreImpl, MotionEvent event, event 175 content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java public void onSensorChanged(SensorEvent event) { event 176 content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java sensorChanged(event.sensor.getType(), event.values); event 52 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java public boolean onSingleTap(View v, MotionEvent event); event 53 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java public boolean onLongPress(View v, MotionEvent event); event 212 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java MotionEvent event = MotionEvent.obtainNoHistory(e); event 213 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java event.setLocation(converted.x, converted.y); event 215 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java mOnTapListener.onLongPress(PopupZoomer.this, event); event 217 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java mOnTapListener.onSingleTap(PopupZoomer.this, event); event 536 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java public boolean onTouchEvent(MotionEvent event) { event 537 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java mGestureDetector.onTouchEvent(event); event 126 content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java public void onEvent(int event, Bundle bundle) { } event 60 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java MotionEvent event = MotionEvent.obtain( event 64 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java mContentViewCore.onTouchEvent(event); event 65 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java event.recycle(); event 68 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java event = MotionEvent.obtain( event 73 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java mContentViewCore.onTouchEvent(event); event 74 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java event.recycle(); event 79 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java MotionEvent event = MotionEvent.obtain(mDownTimeInMs, timeInMs, event 83 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java mContentViewCore.onTouchEvent(event); event 84 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java event.recycle(); event 88 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java MotionEvent event = MotionEvent.obtain( event 92 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java mContentViewCore.onTouchEvent(event); event 93 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java event.recycle(); event 98 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java MotionEvent event = MotionEvent.obtain( event 102 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java mContentViewCore.onTouchEvent(event); event 103 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java event.recycle(); event 106 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java MotionEvent event = MotionEvent.obtain( event 110 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java mContentViewCore.onTouchEvent(event); event 111 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java event.recycle(); event 229 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java public boolean onHoverEvent(MotionEvent event) { event 234 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java if (event.getAction() == MotionEvent.ACTION_HOVER_EXIT) { event 246 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java float x = event.getX(); event 247 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java float y = event.getY(); event 303 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java final AccessibilityEvent event = AccessibilityEvent.obtain(eventType); event 304 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setPackageName(mContentViewCore.getContext().getPackageName()); event 305 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setSource(mView, virtualViewId); event 306 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java if (!nativePopulateAccessibilityEvent(mNativeObj, event, virtualViewId, eventType)) { event 307 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.recycle(); event 317 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java mContentViewCore.getContainerView().requestSendAccessibilityEvent(mView, event); event 320 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java private Bundle getOrCreateBundleForAccessibilityEvent(AccessibilityEvent event) { event 321 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java Bundle bundle = (Bundle) event.getParcelableData(); event 324 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setParcelableData(bundle); event 573 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java private void setAccessibilityEventBooleanAttributes(AccessibilityEvent event, event 575 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setChecked(checked); event 576 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setEnabled(enabled); event 577 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setPassword(password); event 578 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setScrollable(scrollable); event 582 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java private void setAccessibilityEventClassName(AccessibilityEvent event, String className) { event 583 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setClassName(className); event 587 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java private void setAccessibilityEventListAttributes(AccessibilityEvent event, event 589 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setCurrentItemIndex(currentItemIndex); event 590 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setItemCount(itemCount); event 594 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java private void setAccessibilityEventScrollAttributes(AccessibilityEvent event, event 596 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setScrollX(scrollX); event 597 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setScrollY(scrollY); event 598 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setMaxScrollX(maxScrollX); event 599 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setMaxScrollY(maxScrollY); event 603 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java private void setAccessibilityEventTextChangedAttrs(AccessibilityEvent event, event 605 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setFromIndex(fromIndex); event 606 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setAddedCount(addedCount); event 607 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setRemovedCount(removedCount); event 608 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setBeforeText(beforeText); event 609 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.getText().add(text); event 613 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java private void setAccessibilityEventSelectionAttrs(AccessibilityEvent event, event 615 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setFromIndex(fromIndex); event 616 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setAddedCount(addedCount); event 617 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.setItemCount(itemCount); event 618 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.getText().add(text); event 622 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java protected void setAccessibilityEventKitKatAttributes(AccessibilityEvent event, event 630 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java Bundle bundle = getOrCreateBundleForAccessibilityEvent(event); event 640 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java protected void setAccessibilityEventCollectionInfo(AccessibilityEvent event, event 643 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java Bundle bundle = getOrCreateBundleForAccessibilityEvent(event); event 650 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java protected void setAccessibilityEventCollectionItemInfo(AccessibilityEvent event, event 653 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java Bundle bundle = getOrCreateBundleForAccessibilityEvent(event); event 662 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java protected void setAccessibilityEventRangeInfo(AccessibilityEvent event, event 665 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java Bundle bundle = getOrCreateBundleForAccessibilityEvent(event); event 678 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java long nativeBrowserAccessibilityManagerAndroid, AccessibilityEvent event, int id, event 66 content/public/android/java/src/org/chromium/content/browser/accessibility/KitKatBrowserAccessibilityManager.java protected void setAccessibilityEventKitKatAttributes(AccessibilityEvent event, event 78 content/public/android/java/src/org/chromium/content/browser/accessibility/KitKatBrowserAccessibilityManager.java protected void setAccessibilityEventCollectionInfo(AccessibilityEvent event, event 85 content/public/android/java/src/org/chromium/content/browser/accessibility/KitKatBrowserAccessibilityManager.java protected void setAccessibilityEventCollectionItemInfo(AccessibilityEvent event, event 92 content/public/android/java/src/org/chromium/content/browser/accessibility/KitKatBrowserAccessibilityManager.java protected void setAccessibilityEventRangeInfo(AccessibilityEvent event, event 329 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java public boolean sendKeyEvent(KeyEvent event) { event 331 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java Log.w(TAG, "sendKeyEvent [" + event.getAction() + "] [" + event.getKeyCode() + "]"); event 336 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java if (event.getAction() == KeyEvent.ACTION_UP) { event 337 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java if (event.getKeyCode() == KeyEvent.KEYCODE_DEL) { event 340 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java } else if (event.getKeyCode() == KeyEvent.KEYCODE_FORWARD_DEL) { event 344 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java int unicodeChar = event.getUnicodeChar(); event 357 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java } else if (event.getAction() == KeyEvent.ACTION_DOWN) { event 359 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java if (event.getKeyCode() == KeyEvent.KEYCODE_ENTER) { event 362 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java mImeAdapter.translateAndSendNativeEvents(event); event 365 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java } else if (event.getKeyCode() == KeyEvent.KEYCODE_DEL) { event 367 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java } else if (event.getKeyCode() == KeyEvent.KEYCODE_FORWARD_DEL) { event 371 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java mImeAdapter.translateAndSendNativeEvents(event); event 281 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java public boolean dispatchKeyEvent(KeyEvent event) { event 282 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java return translateAndSendNativeEvents(event); event 340 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java boolean translateAndSendNativeEvents(KeyEvent event) { event 343 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java int action = event.getAction(); event 359 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java return nativeSendKeyEvent(mNativeImeAdapterAndroid, event, event.getAction(), event 360 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java getModifiers(event.getMetaState()), event.getEventTime(), event.getKeyCode(), event 361 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java event.isSystem(), event.getUnicodeChar()); event 500 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java private native boolean nativeSendKeyEvent(long nativeImeAdapterAndroid, KeyEvent event, event 164 content/public/android/java/src/org/chromium/content/browser/input/TwoFieldDatePicker.java public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { event 165 content/public/android/java/src/org/chromium/content/browser/input/TwoFieldDatePicker.java onPopulateAccessibilityEvent(event); event 170 content/public/android/java/src/org/chromium/content/browser/input/TwoFieldDatePicker.java public void onPopulateAccessibilityEvent(AccessibilityEvent event) { event 171 content/public/android/java/src/org/chromium/content/browser/input/TwoFieldDatePicker.java super.onPopulateAccessibilityEvent(event); event 176 content/public/android/java/src/org/chromium/content/browser/input/TwoFieldDatePicker.java event.getText().add(selectedDateUtterance); event 52 content/public/android/javatests/src/org/chromium/content/browser/ContentViewScrollingTest.java public boolean super_onKeyUp(int keyCode, KeyEvent event) { event 57 content/public/android/javatests/src/org/chromium/content/browser/ContentViewScrollingTest.java public boolean super_dispatchKeyEventPreIme(KeyEvent event) { event 62 content/public/android/javatests/src/org/chromium/content/browser/ContentViewScrollingTest.java public boolean super_dispatchKeyEvent(KeyEvent event) { event 67 content/public/android/javatests/src/org/chromium/content/browser/ContentViewScrollingTest.java public boolean super_onGenericMotionEvent(MotionEvent event) { event 426 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java MotionEvent event = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_DOWN, event 428 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java handle.dispatchTouchEvent(event); event 437 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, event 439 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java handle.dispatchTouchEvent(event); event 442 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java event = MotionEvent.obtain(downTime, upTime, MotionEvent.ACTION_UP, event 444 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java handle.dispatchTouchEvent(event); event 10 content/public/browser/browser_plugin_guest_delegate.cc const NativeWebKeyboardEvent& event) { event 57 content/public/browser/browser_plugin_guest_delegate.h virtual bool HandleKeyboardEvent(const NativeWebKeyboardEvent& event); event 56 content/public/browser/native_web_keyboard_event.h NativeWebKeyboardEvent(const NativeWebKeyboardEvent& event); event 59 content/public/browser/native_web_keyboard_event.h NativeWebKeyboardEvent& operator=(const NativeWebKeyboardEvent& event); event 80 content/public/browser/native_web_keyboard_event.h const NativeWebKeyboardEvent& event); event 28 content/public/browser/render_widget_host_view_mac_delegate.h - (BOOL)handleEvent:(NSEvent*)event; event 47 content/public/browser/render_widget_host_view_mac_delegate.h - (void)beginGestureWithEvent:(NSEvent*)event; event 48 content/public/browser/render_widget_host_view_mac_delegate.h - (void)endGestureWithEvent:(NSEvent*)event; event 53 content/public/browser/render_widget_host_view_mac_delegate.h - (void)touchesMovedWithEvent:(NSEvent*)event; event 54 content/public/browser/render_widget_host_view_mac_delegate.h - (void)touchesBeganWithEvent:(NSEvent*)event; event 55 content/public/browser/render_widget_host_view_mac_delegate.h - (void)touchesCancelledWithEvent:(NSEvent*)event; event 56 content/public/browser/render_widget_host_view_mac_delegate.h - (void)touchesEndedWithEvent:(NSEvent*)event; event 106 content/public/browser/web_contents_delegate.cc const NativeWebKeyboardEvent& event, event 113 content/public/browser/web_contents_delegate.cc const blink::WebGestureEvent& event) { event 250 content/public/browser/web_contents_delegate.h const NativeWebKeyboardEvent& event, event 256 content/public/browser/web_contents_delegate.h const NativeWebKeyboardEvent& event) {} event 272 content/public/browser/web_contents_delegate.h const blink::WebGestureEvent& event); event 94 content/public/renderer/render_view_observer.h virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) {} event 95 content/public/renderer/render_view_observer.h virtual void DidHandleTouchEvent(const blink::WebTouchEvent& event) {} event 36 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClientWrapper.java public boolean shouldOverrideKeyEvent(KeyEvent event) { event 37 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClientWrapper.java return mWrappedClient.shouldOverrideKeyEvent(event); event 40 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestTouchUtils.java MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, x, y, 0); event 41 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestTouchUtils.java instrumentation.sendPointerSync(event); event 36 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java MotionEvent event = MotionEvent.obtain(downTime, downTime, event 38 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java dispatchTouchEvent(event); event 63 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java MotionEvent event = MotionEvent.obtain(downTime, eventTime, event 65 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java dispatchTouchEvent(event); event 80 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java MotionEvent event = MotionEvent.obtain(downTime, eventTime, event 82 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java dispatchTouchEvent(event); event 97 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java MotionEvent event = MotionEvent.obtain(downTime, eventTime, event 99 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java dispatchTouchEvent(event); event 102 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, event 104 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java dispatchTouchEvent(event); event 141 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java MotionEvent event = MotionEvent.obtain(downTime, eventTime, event 143 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java dispatchTouchEvent(view, event); event 146 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, event 148 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java dispatchTouchEvent(view, event); event 163 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java MotionEvent event = MotionEvent.obtain(downTime, eventTime, event 165 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java dispatchTouchEvent(event); event 174 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, event 176 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java dispatchTouchEvent(event); event 197 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java private void dispatchTouchEvent(final MotionEvent event) { event 200 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java dispatchTouchEvent(view, event); event 209 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java private void dispatchTouchEvent(final View view, final MotionEvent event) { event 214 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java view.dispatchTouchEvent(event); event 124 content/public/test/browser_test_utils.cc NativeWebKeyboardEvent* event) { event 125 content/public/test/browser_test_utils.cc event->nativeKeyCode = native_key_code; event 126 content/public/test/browser_test_utils.cc event->windowsKeyCode = key_code; event 127 content/public/test/browser_test_utils.cc event->setKeyIdentifierFromWindowsKeyCode(); event 128 content/public/test/browser_test_utils.cc event->type = type; event 129 content/public/test/browser_test_utils.cc event->modifiers = modifiers; event 130 content/public/test/browser_test_utils.cc event->isSystemKey = false; event 131 content/public/test/browser_test_utils.cc event->timeStampSeconds = base::Time::Now().ToDoubleT(); event 132 content/public/test/browser_test_utils.cc event->skip_in_browser = true; event 136 content/public/test/browser_test_utils.cc event->text[0] = key_code; event 137 content/public/test/browser_test_utils.cc event->unmodifiedText[0] = key_code; event 146 content/public/test/browser_test_utils.cc NativeWebKeyboardEvent event; event 147 content/public/test/browser_test_utils.cc BuildSimpleWebKeyEvent(type, key_code, native_key_code, modifiers, &event); event 148 content/public/test/browser_test_utils.cc web_contents->GetRenderViewHost()->ForwardKeyboardEvent(event); event 152 content/public/test/browser_test_utils.cc base::WaitableEvent* event, event 155 content/public/test/browser_test_utils.cc event->Signal(); event 160 content/public/test/browser_test_utils.cc base::WaitableEvent* event, event 166 content/public/test/browser_test_utils.cc base::Bind(&GetCookiesCallback, cookies, event)); event 170 content/public/test/browser_test_utils.cc base::WaitableEvent* event, event 173 content/public/test/browser_test_utils.cc event->Signal(); event 179 content/public/test/browser_test_utils.cc base::WaitableEvent* event, event 185 content/public/test/browser_test_utils.cc base::Bind(&SetCookieCallback, result, event)); event 515 content/public/test/browser_test_utils.cc base::WaitableEvent event(true, false); event 522 content/public/test/browser_test_utils.cc make_scoped_refptr(context_getter), &event, &cookies)); event 523 content/public/test/browser_test_utils.cc event.Wait(); event 531 content/public/test/browser_test_utils.cc base::WaitableEvent event(true, false); event 538 content/public/test/browser_test_utils.cc make_scoped_refptr(context_getter), &event, &result)); event 539 content/public/test/browser_test_utils.cc event.Wait(); event 316 content/renderer/accessibility/blink_ax_enum_conversion.cc ui::AXEvent AXEventFromBlink(blink::WebAXEvent event) { event 317 content/renderer/accessibility/blink_ax_enum_conversion.cc switch (event) { event 17 content/renderer/accessibility/blink_ax_enum_conversion.h ui::AXEvent AXEventFromBlink(blink::WebAXEvent event); event 47 content/renderer/accessibility/renderer_accessibility.cc ui::AXEvent event) { event 48 content/renderer/accessibility/renderer_accessibility.cc switch (event) { event 68 content/renderer/accessibility/renderer_accessibility.h const blink::WebAXObject& obj, blink::WebAXEvent event) = 0; event 80 content/renderer/accessibility/renderer_accessibility.h const std::string AccessibilityEventToString(ui::AXEvent event); event 67 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 68 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 69 content/renderer/accessibility/renderer_accessibility_browsertest.cc return event.update.nodes.size(); event 107 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 108 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 109 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.event_type, event 111 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.id, 1); event 112 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes.size(), 2U); event 113 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[0].id, 1); event 114 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[0].role, event 116 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[0].state, event 120 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[0].child_ids.size(), 1U); event 128 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 129 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 130 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.event_type, event 132 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.id, 3); event 133 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[0].id, 1); event 134 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[0].role, event 136 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[0].state, event 139 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[0].child_ids.size(), 1U); event 140 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[1].id, 3); event 141 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[1].role, event 143 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[1].state, event 153 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 154 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 155 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.id, 4); event 156 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[1].state, event 165 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 166 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 167 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.id, 5); event 168 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[1].state, event 177 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 178 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 179 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.id, 6); event 180 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[1].state, event 190 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 191 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 192 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.id, 7); event 193 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[1].state, event 203 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 204 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 205 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.id, 8); event 206 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.update.nodes[1].state, event 217 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 218 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 219 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(event.id, 1); event 258 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 259 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 260 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(root_obj.axID(), event.update.nodes[0].id); event 387 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 388 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 389 content/renderer/accessibility/renderer_accessibility_browsertest.cc ASSERT_EQ(2U, event.update.nodes.size()); event 393 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(node_a.axID(), event.update.node_id_to_clear); event 394 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(node_a.axID(), event.update.nodes[0].id); event 395 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(node_c.axID(), event.update.nodes[1].id); event 437 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 438 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 440 content/renderer/accessibility/renderer_accessibility_browsertest.cc ASSERT_EQ(3U, event.update.nodes.size()); event 441 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(node_a.axID(), event.update.node_id_to_clear); event 442 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(node_a.axID(), event.update.nodes[0].id); event 443 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(node_b.axID(), event.update.nodes[1].id); event 444 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(node_c.axID(), event.update.nodes[2].id); event 509 content/renderer/accessibility/renderer_accessibility_browsertest.cc AccessibilityHostMsg_EventParams event; event 510 content/renderer/accessibility/renderer_accessibility_browsertest.cc GetLastAccEvent(&event); event 511 content/renderer/accessibility/renderer_accessibility_browsertest.cc ASSERT_EQ(5U, event.update.nodes.size()); event 513 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(body.axID(), event.update.nodes[0].id); event 514 content/renderer/accessibility/renderer_accessibility_browsertest.cc EXPECT_EQ(text_1.axID(), event.update.nodes[1].id); event 103 content/renderer/accessibility/renderer_accessibility_complete.cc const blink::WebAXObject& obj, blink::WebAXEvent event) { event 104 content/renderer/accessibility/renderer_accessibility_complete.cc HandleAXEvent(obj, AXEventFromBlink(event)); event 108 content/renderer/accessibility/renderer_accessibility_complete.cc const blink::WebAXObject& obj, ui::AXEvent event) { event 130 content/renderer/accessibility/renderer_accessibility_complete.cc acc_event.event_type = event; event 183 content/renderer/accessibility/renderer_accessibility_complete.cc AccessibilityHostMsg_EventParams& event = event 187 content/renderer/accessibility/renderer_accessibility_complete.cc event.id); event 194 content/renderer/accessibility/renderer_accessibility_complete.cc if (event.event_type == event 204 content/renderer/accessibility/renderer_accessibility_complete.cc event_msg.event_type = event.event_type; event 205 content/renderer/accessibility/renderer_accessibility_complete.cc event_msg.id = event.id; event 215 content/renderer/accessibility/renderer_accessibility_complete.cc << AccessibilityEventToString(event.event_type) event 50 content/renderer/accessibility/renderer_accessibility_complete.h const blink::WebAXObject& obj, blink::WebAXEvent event) OVERRIDE; event 53 content/renderer/accessibility/renderer_accessibility_complete.h void HandleAXEvent(const blink::WebAXObject& obj, ui::AXEvent event); event 39 content/renderer/accessibility/renderer_accessibility_focus_only.cc const blink::WebAXObject& obj, blink::WebAXEvent event) { event 89 content/renderer/accessibility/renderer_accessibility_focus_only.cc AccessibilityHostMsg_EventParams& event = events[0]; event 94 content/renderer/accessibility/renderer_accessibility_focus_only.cc event.event_type = event 99 content/renderer/accessibility/renderer_accessibility_focus_only.cc event.id = node_has_focus ? next_id_ : 1; event 101 content/renderer/accessibility/renderer_accessibility_focus_only.cc event.update.nodes.resize(2); event 102 content/renderer/accessibility/renderer_accessibility_focus_only.cc ui::AXNodeData& root = event.update.nodes[0]; event 103 content/renderer/accessibility/renderer_accessibility_focus_only.cc ui::AXNodeData& child = event.update.nodes[1]; event 57 content/renderer/accessibility/renderer_accessibility_focus_only.h const blink::WebAXObject& obj, blink::WebAXEvent event) OVERRIDE; event 849 content/renderer/browser_plugin/browser_plugin.cc blink::WebDOMCustomEvent event = dom_event.to<blink::WebDOMCustomEvent>(); event 855 content/renderer/browser_plugin/browser_plugin.cc event.initCustomEvent( event 864 content/renderer/browser_plugin/browser_plugin.cc container()->element().dispatchEvent(event); event 1210 content/renderer/browser_plugin/browser_plugin.cc bool BrowserPlugin::handleInputEvent(const blink::WebInputEvent& event, event 1215 content/renderer/browser_plugin/browser_plugin.cc if (event.type == blink::WebInputEvent::ContextMenu) event 1218 content/renderer/browser_plugin/browser_plugin.cc const blink::WebInputEvent* modified_event = &event; event 1223 content/renderer/browser_plugin/browser_plugin.cc if (event.type == blink::WebInputEvent::TouchEnd) { event 1225 content/renderer/browser_plugin/browser_plugin.cc static_cast<const blink::WebTouchEvent*>(&event); event 1237 content/renderer/browser_plugin/browser_plugin.cc if (blink::WebInputEvent::isKeyboardEventType(event.type) && event 1378 content/renderer/browser_plugin/browser_plugin.cc const blink::WebMouseEvent& event) { event 1383 content/renderer/browser_plugin/browser_plugin.cc &event)); event 165 content/renderer/browser_plugin/browser_plugin.h const blink::WebInputEvent& event, event 201 content/renderer/browser_plugin/browser_plugin.h const blink::WebMouseEvent& event) OVERRIDE; event 216 content/renderer/devtools/devtools_agent.cc WebDevToolsAgent::GPUEvent event(task.timestamp, task.phase, task.foreign, event 218 content/renderer/devtools/devtools_agent.cc web_agent->processGPUEvent(event); event 28 content/renderer/idle_user_detector.cc void IdleUserDetector::OnHandleInputEvent(const blink::WebInputEvent* event, event 32 content/renderer/idle_user_detector.h void OnHandleInputEvent(const blink::WebInputEvent* event, event 151 content/renderer/input/input_event_filter.cc const WebInputEvent* event = NULL; event 154 content/renderer/input/input_event_filter.cc &message, &event, &latency_info, &is_keyboard_shortcut)) event 156 content/renderer/input/input_event_filter.cc DCHECK(event); event 158 content/renderer/input/input_event_filter.cc InputEventAckState ack = handler_.Run(routing_id, event, &latency_info); event 166 content/renderer/input/input_event_filter.cc routing_id, event, latency_info, is_keyboard_shortcut); event 174 content/renderer/input/input_event_filter.cc if (!WebInputEventTraits::IgnoresAckDisposition(event->type)) event 175 content/renderer/input/input_event_filter.cc SendACK(event->type, ack, latency_info, routing_id); event 50 content/renderer/input/input_event_filter_unittest.cc const WebInputEvent* event, event 54 content/renderer/input/input_event_filter_unittest.cc records_.push_back(Record(event)); event 66 content/renderer/input/input_event_filter_unittest.cc Record(const WebInputEvent* event) { event 67 content/renderer/input/input_event_filter_unittest.cc const char* ptr = reinterpret_cast<const char*>(event); event 68 content/renderer/input/input_event_filter_unittest.cc event_data.assign(ptr, ptr + event->size); event 189 content/renderer/input/input_event_filter_unittest.cc const WebInputEvent* event = event_recorder_.record_at(i); event 190 content/renderer/input/input_event_filter_unittest.cc ASSERT_TRUE(event); event 192 content/renderer/input/input_event_filter_unittest.cc EXPECT_EQ(kEvents[i].size, event->size); event 193 content/renderer/input/input_event_filter_unittest.cc EXPECT_TRUE(memcmp(&kEvents[i], event, event->size) == 0); event 207 content/renderer/input/input_event_filter_unittest.cc const WebInputEvent* event = NULL; event 211 content/renderer/input/input_event_filter_unittest.cc &message, &event, &latency_info, &is_kbd_shortcut)); event 213 content/renderer/input/input_event_filter_unittest.cc EXPECT_EQ(kEvents[i].size, event->size); event 214 content/renderer/input/input_event_filter_unittest.cc EXPECT_TRUE(memcmp(&kEvents[i], event, event->size) == 0); event 39 content/renderer/input/input_handler_proxy.cc void SendScrollLatencyUma(const WebInputEvent& event, event 41 content/renderer/input/input_handler_proxy.cc if (!(event.type == WebInputEvent::GestureScrollBegin || event 42 content/renderer/input/input_handler_proxy.cc event.type == WebInputEvent::GestureScrollUpdate || event 43 content/renderer/input/input_handler_proxy.cc event.type == WebInputEvent::GestureScrollUpdateWithoutPropagation)) event 97 content/renderer/input/input_handler_proxy.cc const WebInputEvent& event, event 101 content/renderer/input/input_handler_proxy.cc SendScrollLatencyUma(event, *latency_info); event 111 content/renderer/input/input_handler_proxy.cc InputHandlerProxy::EventDisposition disposition = HandleInputEvent(event); event 116 content/renderer/input/input_handler_proxy.cc const WebInputEvent& event) { event 120 content/renderer/input/input_handler_proxy.cc "type", WebInputEventTraits::GetName(event.type)); event 122 content/renderer/input/input_handler_proxy.cc if (event.type == WebInputEvent::MouseWheel) { event 124 content/renderer/input/input_handler_proxy.cc *static_cast<const WebMouseWheelEvent*>(&event); event 162 content/renderer/input/input_handler_proxy.cc } else if (event.type == WebInputEvent::GestureScrollBegin) { event 169 content/renderer/input/input_handler_proxy.cc *static_cast<const WebGestureEvent*>(&event); event 185 content/renderer/input/input_handler_proxy.cc } else if (event.type == WebInputEvent::GestureScrollUpdate) { event 194 content/renderer/input/input_handler_proxy.cc *static_cast<const WebGestureEvent*>(&event); event 200 content/renderer/input/input_handler_proxy.cc } else if (event.type == WebInputEvent::GestureScrollEnd) { event 212 content/renderer/input/input_handler_proxy.cc } else if (event.type == WebInputEvent::GesturePinchBegin) { event 217 content/renderer/input/input_handler_proxy.cc } else if (event.type == WebInputEvent::GesturePinchEnd) { event 222 content/renderer/input/input_handler_proxy.cc } else if (event.type == WebInputEvent::GesturePinchUpdate) { event 225 content/renderer/input/input_handler_proxy.cc *static_cast<const WebGestureEvent*>(&event); event 230 content/renderer/input/input_handler_proxy.cc } else if (event.type == WebInputEvent::GestureFlingStart) { event 232 content/renderer/input/input_handler_proxy.cc *static_cast<const WebGestureEvent*>(&event); event 234 content/renderer/input/input_handler_proxy.cc } else if (event.type == WebInputEvent::GestureFlingCancel) { event 239 content/renderer/input/input_handler_proxy.cc } else if (event.type == WebInputEvent::TouchStart) { event 241 content/renderer/input/input_handler_proxy.cc *static_cast<const WebTouchEvent*>(&event); event 252 content/renderer/input/input_handler_proxy.cc } else if (WebInputEvent::isKeyboardEventType(event.type)) { event 254 content/renderer/input/input_handler_proxy.cc } else if (event.type == WebInputEvent::MouseMove) { event 256 content/renderer/input/input_handler_proxy.cc *static_cast<const WebMouseEvent*>(&event); event 41 content/renderer/input/input_handler_proxy.h const blink::WebInputEvent& event, event 43 content/renderer/input/input_handler_proxy.h EventDisposition HandleInputEvent(const blink::WebInputEvent& event); event 62 content/renderer/input/input_handler_proxy.h EventDisposition HandleGestureFling(const blink::WebGestureEvent& event); event 23 content/renderer/media/crypto/key_systems_support_uma.cc const std::string& event); event 35 content/renderer/media/crypto/key_systems_support_uma.cc const std::string& event) event 40 content/renderer/media/crypto/key_systems_support_uma.cc action_ += '.' + event; event 661 content/renderer/media/media_stream_dependency_factory.cc base::WaitableEvent* event) { event 665 content/renderer/media/media_stream_dependency_factory.cc event->Signal(); event 669 content/renderer/media/media_stream_dependency_factory.cc base::WaitableEvent* event) { event 672 content/renderer/media/media_stream_dependency_factory.cc event->Signal(); event 195 content/renderer/media/media_stream_dependency_factory.h base::WaitableEvent* event); event 197 content/renderer/media/media_stream_dependency_factory.h void CreateIpcNetworkManagerOnWorkerThread(base::WaitableEvent* event); event 23 content/renderer/media/render_media_log.cc void RenderMediaLog::AddEvent(scoped_ptr<media::MediaLogEvent> event) { event 26 content/renderer/media/render_media_log.cc &RenderMediaLog::AddEvent, this, base::Passed(&event))); event 35 content/renderer/media/render_media_log.cc if (event->type == media::MediaLogEvent::BUFFERED_EXTENTS_CHANGED) event 36 content/renderer/media/render_media_log.cc last_buffered_extents_changed_event_.swap(event); event 38 content/renderer/media/render_media_log.cc queued_media_events_.push_back(*event); event 30 content/renderer/media/render_media_log.h virtual void AddEvent(scoped_ptr<media::MediaLogEvent> event) OVERRIDE; event 401 content/renderer/media/rtc_video_decoder.cc base::WaitableEvent* event) { event 403 content/renderer/media/rtc_video_decoder.cc event->Signal(); event 411 content/renderer/media/rtc_video_decoder.cc base::WaitableEvent event(true, false); event 418 content/renderer/media/rtc_video_decoder.cc &event))) event 420 content/renderer/media/rtc_video_decoder.cc event.Wait(); event 34 content/renderer/media/webrtc/media_stream_track_metrics.cc void SendLifetimeMessages(MediaStreamTrackMetrics::LifetimeEvent event); event 65 content/renderer/media/webrtc/media_stream_track_metrics.cc MediaStreamTrackMetrics::LifetimeEvent event); event 118 content/renderer/media/webrtc/media_stream_track_metrics.cc MediaStreamTrackMetrics::LifetimeEvent event) { event 119 content/renderer/media/webrtc/media_stream_track_metrics.cc if (event == MediaStreamTrackMetrics::CONNECTED) { event 127 content/renderer/media/webrtc/media_stream_track_metrics.cc DCHECK(event == MediaStreamTrackMetrics::DISCONNECTED); event 137 content/renderer/media/webrtc/media_stream_track_metrics.cc ReportTracks(audio_track_ids_, MediaStreamTrackMetrics::AUDIO_TRACK, event); event 138 content/renderer/media/webrtc/media_stream_track_metrics.cc ReportTracks(video_track_ids_, MediaStreamTrackMetrics::VIDEO_TRACK, event); event 140 content/renderer/media/webrtc/media_stream_track_metrics.cc if (event == MediaStreamTrackMetrics::DISCONNECTED) { event 201 content/renderer/media/webrtc/media_stream_track_metrics.cc MediaStreamTrackMetrics::LifetimeEvent event) { event 203 content/renderer/media/webrtc/media_stream_track_metrics.cc owner_->SendLifetimeMessage(*it, track_type, event, stream_type_); event 280 content/renderer/media/webrtc/media_stream_track_metrics.cc LifetimeEvent event, event 286 content/renderer/media/webrtc/media_stream_track_metrics.cc if (event == CONNECTED) { event 293 content/renderer/media/webrtc/media_stream_track_metrics.cc DCHECK_EQ(DISCONNECTED, event); event 29 content/renderer/media/webrtc_local_audio_track_unittest.cc ACTION_P(SignalEvent, event) { event 30 content/renderer/media/webrtc_local_audio_track_unittest.cc event->Signal(); event 209 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent event(false, false); event 217 content/renderer/media/webrtc_local_audio_track_unittest.cc .WillRepeatedly(SignalEvent(&event)); event 219 content/renderer/media/webrtc_local_audio_track_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::tiny_timeout())); event 246 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent event(false, false); event 253 content/renderer/media/webrtc_local_audio_track_unittest.cc EXPECT_FALSE(event.TimedWait(TestTimeouts::tiny_timeout())); event 255 content/renderer/media/webrtc_local_audio_track_unittest.cc event.Reset(); event 258 content/renderer/media/webrtc_local_audio_track_unittest.cc .WillRepeatedly(SignalEvent(&event)); event 260 content/renderer/media/webrtc_local_audio_track_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::tiny_timeout())); event 356 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent event(false, false); event 358 content/renderer/media/webrtc_local_audio_track_unittest.cc EXPECT_CALL(*capturer_source_.get(), OnStart()).WillOnce(SignalEvent(&event)); event 366 content/renderer/media/webrtc_local_audio_track_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::tiny_timeout())); event 370 content/renderer/media/webrtc_local_audio_track_unittest.cc event.Reset(); event 371 content/renderer/media/webrtc_local_audio_track_unittest.cc EXPECT_CALL(*sink, FormatIsSet()).WillOnce(SignalEvent(&event)); event 375 content/renderer/media/webrtc_local_audio_track_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::tiny_timeout())); event 398 content/renderer/media/webrtc_local_audio_track_unittest.cc event.Reset(); event 460 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent event(false, false); event 464 content/renderer/media/webrtc_local_audio_track_unittest.cc EXPECT_CALL(*sink_2, FormatIsSet()).WillOnce(SignalEvent(&event)); event 466 content/renderer/media/webrtc_local_audio_track_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::tiny_timeout())); event 469 content/renderer/media/webrtc_local_audio_track_unittest.cc event.Reset(); event 471 content/renderer/media/webrtc_local_audio_track_unittest.cc .Times(1).WillOnce(SignalEvent(&event)); event 473 content/renderer/media/webrtc_local_audio_track_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::tiny_timeout())); event 516 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent event(false, false); event 526 content/renderer/media/webrtc_local_audio_track_unittest.cc .Times(AtLeast(1)).WillRepeatedly(SignalEvent(&event)); event 528 content/renderer/media/webrtc_local_audio_track_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::tiny_timeout())); event 61 content/renderer/mouse_lock_dispatcher.cc const blink::WebMouseEvent& event) { event 63 content/renderer/mouse_lock_dispatcher.cc return target_->HandleMouseLockedInputEvent(event); event 31 content/renderer/mouse_lock_dispatcher.h const blink::WebMouseEvent& event) = 0; event 46 content/renderer/mouse_lock_dispatcher.h bool WillHandleMouseEvent(const blink::WebMouseEvent& event); event 776 content/renderer/npapi/webplugin_delegate_proxy.cc const WebInputEvent& event, event 785 content/renderer/npapi/webplugin_delegate_proxy.cc instance_id_, &event, &handled, &cursor); event 73 content/renderer/npapi/webplugin_delegate_proxy.h virtual bool HandleInputEvent(const blink::WebInputEvent& event, event 407 content/renderer/npapi/webplugin_impl.cc const WebInputEvent& event, WebCursorInfo& cursor_info) { event 409 content/renderer/npapi/webplugin_impl.cc if (event.type == WebInputEvent::ContextMenu) event 413 content/renderer/npapi/webplugin_impl.cc bool ret = delegate_->HandleInputEvent(event, &web_cursor_info); event 87 content/renderer/npapi/webplugin_impl.h const blink::WebInputEvent& event, blink::WebCursorInfo& cursor_info); event 133 content/renderer/pepper/event_conversion.cc void AppendKeyEvent(const WebInputEvent& event, event 136 content/renderer/pepper/event_conversion.cc static_cast<const WebKeyboardEvent&>(event); event 137 content/renderer/pepper/event_conversion.cc InputEventData result = GetEventWithCommonFieldsAndType(event); event 144 content/renderer/pepper/event_conversion.cc void AppendCharEvent(const WebInputEvent& event, event 147 content/renderer/pepper/event_conversion.cc static_cast<const WebKeyboardEvent&>(event); event 163 content/renderer/pepper/event_conversion.cc InputEventData result = GetEventWithCommonFieldsAndType(event); event 172 content/renderer/pepper/event_conversion.cc void AppendMouseEvent(const WebInputEvent& event, event 188 content/renderer/pepper/event_conversion.cc static_cast<const WebMouseEvent&>(event); event 189 content/renderer/pepper/event_conversion.cc InputEventData result = GetEventWithCommonFieldsAndType(event); event 205 content/renderer/pepper/event_conversion.cc void AppendMouseWheelEvent(const WebInputEvent& event, event 208 content/renderer/pepper/event_conversion.cc static_cast<const WebMouseWheelEvent&>(event); event 209 content/renderer/pepper/event_conversion.cc InputEventData result = GetEventWithCommonFieldsAndType(event); event 235 content/renderer/pepper/event_conversion.cc void AppendTouchEvent(const WebInputEvent& event, event 238 content/renderer/pepper/event_conversion.cc reinterpret_cast<const WebTouchEvent&>(event); event 240 content/renderer/pepper/event_conversion.cc InputEventData result = GetEventWithCommonFieldsAndType(event); event 288 content/renderer/pepper/event_conversion.cc WebTouchEvent* BuildTouchEvent(const InputEventData& event) { event 291 content/renderer/pepper/event_conversion.cc switch (event.event_type) { event 313 content/renderer/pepper/event_conversion.cc for (uint32_t i = 0; i < event.changed_touches.size(); i++) event 314 content/renderer/pepper/event_conversion.cc states_map[event.changed_touches[i].id] = state; event 316 content/renderer/pepper/event_conversion.cc web_event->timeStampSeconds = PPTimeTicksToEventTime(event.event_time_stamp); event 318 content/renderer/pepper/event_conversion.cc SetWebTouchPoints(event.changed_touches, states_map, event 322 content/renderer/pepper/event_conversion.cc SetWebTouchPoints(event.touches, states_map, web_event->touches, event 325 content/renderer/pepper/event_conversion.cc SetWebTouchPoints(event.target_touches, states_map, web_event->targetTouches, event 330 content/renderer/pepper/event_conversion.cc SetWebTouchPoints(event.changed_touches, states_map, event 332 content/renderer/pepper/event_conversion.cc SetWebTouchPoints(event.changed_touches, states_map, event 340 content/renderer/pepper/event_conversion.cc WebKeyboardEvent* BuildKeyEvent(const InputEventData& event) { event 342 content/renderer/pepper/event_conversion.cc switch (event.event_type) { event 355 content/renderer/pepper/event_conversion.cc key_event->timeStampSeconds = PPTimeTicksToEventTime(event.event_time_stamp); event 356 content/renderer/pepper/event_conversion.cc key_event->modifiers = event.event_modifiers; event 357 content/renderer/pepper/event_conversion.cc key_event->windowsKeyCode = event.key_code; event 362 content/renderer/pepper/event_conversion.cc WebKeyboardEvent* BuildCharEvent(const InputEventData& event) { event 365 content/renderer/pepper/event_conversion.cc key_event->timeStampSeconds = PPTimeTicksToEventTime(event.event_time_stamp); event 366 content/renderer/pepper/event_conversion.cc key_event->modifiers = event.event_modifiers; event 371 content/renderer/pepper/event_conversion.cc base::string16 text16 = base::UTF8ToUTF16(event.character_text); event 382 content/renderer/pepper/event_conversion.cc WebMouseEvent* BuildMouseEvent(const InputEventData& event) { event 384 content/renderer/pepper/event_conversion.cc switch (event.event_type) { event 407 content/renderer/pepper/event_conversion.cc PPTimeTicksToEventTime(event.event_time_stamp); event 408 content/renderer/pepper/event_conversion.cc mouse_event->modifiers = event.event_modifiers; event 410 content/renderer/pepper/event_conversion.cc static_cast<WebMouseEvent::Button>(event.mouse_button); event 419 content/renderer/pepper/event_conversion.cc mouse_event->x = event.mouse_position.x; event 420 content/renderer/pepper/event_conversion.cc mouse_event->y = event.mouse_position.y; event 421 content/renderer/pepper/event_conversion.cc mouse_event->clickCount = event.mouse_click_count; event 422 content/renderer/pepper/event_conversion.cc mouse_event->movementX = event.mouse_movement.x; event 423 content/renderer/pepper/event_conversion.cc mouse_event->movementY = event.mouse_movement.y; event 427 content/renderer/pepper/event_conversion.cc WebMouseWheelEvent* BuildMouseWheelEvent(const InputEventData& event) { event 431 content/renderer/pepper/event_conversion.cc PPTimeTicksToEventTime(event.event_time_stamp); event 432 content/renderer/pepper/event_conversion.cc mouse_wheel_event->modifiers = event.event_modifiers; event 433 content/renderer/pepper/event_conversion.cc mouse_wheel_event->deltaX = event.wheel_delta.x; event 434 content/renderer/pepper/event_conversion.cc mouse_wheel_event->deltaY = event.wheel_delta.y; event 435 content/renderer/pepper/event_conversion.cc mouse_wheel_event->wheelTicksX = event.wheel_ticks.x; event 436 content/renderer/pepper/event_conversion.cc mouse_wheel_event->wheelTicksY = event.wheel_ticks.y; event 437 content/renderer/pepper/event_conversion.cc mouse_wheel_event->scrollByPage = event.wheel_scroll_by_page; event 529 content/renderer/pepper/event_conversion.cc void CreateInputEventData(const WebInputEvent& event, event 533 content/renderer/pepper/event_conversion.cc switch (event.type) { event 540 content/renderer/pepper/event_conversion.cc AppendMouseEvent(event, result); event 543 content/renderer/pepper/event_conversion.cc AppendMouseWheelEvent(event, result); event 548 content/renderer/pepper/event_conversion.cc AppendKeyEvent(event, result); event 551 content/renderer/pepper/event_conversion.cc AppendCharEvent(event, result); event 557 content/renderer/pepper/event_conversion.cc AppendTouchEvent(event, result); event 565 content/renderer/pepper/event_conversion.cc WebInputEvent* CreateWebInputEvent(const InputEventData& event) { event 567 content/renderer/pepper/event_conversion.cc switch (event.event_type) { event 576 content/renderer/pepper/event_conversion.cc web_input_event.reset(BuildMouseEvent(event)); event 579 content/renderer/pepper/event_conversion.cc web_input_event.reset(BuildMouseWheelEvent(event)); event 584 content/renderer/pepper/event_conversion.cc web_input_event.reset(BuildKeyEvent(event)); event 587 content/renderer/pepper/event_conversion.cc web_input_event.reset(BuildCharEvent(event)); event 601 content/renderer/pepper/event_conversion.cc web_input_event.reset(BuildTouchEvent(event)); event 611 content/renderer/pepper/event_conversion.cc const ppapi::InputEventData& event, event 615 content/renderer/pepper/event_conversion.cc linked_ptr<WebInputEvent> original_event(CreateWebInputEvent(event)); event 617 content/renderer/pepper/event_conversion.cc switch (event.event_type) { event 659 content/renderer/pepper/event_conversion.cc GetKeyCode(event.character_text, event 30 content/renderer/pepper/event_conversion.h void CreateInputEventData(const blink::WebInputEvent& event, event 35 content/renderer/pepper/event_conversion.h blink::WebInputEvent* CreateWebInputEvent(const ppapi::InputEventData& event); event 41 content/renderer/pepper/event_conversion.h const ppapi::InputEventData& event, event 497 content/renderer/pepper/message_channel.cc WebDOMEvent event = event 499 content/renderer/pepper/message_channel.cc WebDOMMessageEvent msg_event = event.to<WebDOMMessageEvent>(); event 349 content/renderer/pepper/pepper_plugin_instance_impl.cc bool IsReservedSystemInputEvent(const blink::WebInputEvent& event) { event 351 content/renderer/pepper/pepper_plugin_instance_impl.cc if (event.type != WebInputEvent::KeyDown && event 352 content/renderer/pepper/pepper_plugin_instance_impl.cc event.type != WebInputEvent::KeyUp) event 355 content/renderer/pepper/pepper_plugin_instance_impl.cc static_cast<const blink::WebKeyboardEvent&>(event); event 386 content/renderer/pepper/pepper_plugin_instance_impl.cc const blink::WebMouseEvent &event) OVERRIDE { event 387 content/renderer/pepper/pepper_plugin_instance_impl.cc plugin_->HandleMouseLockedInputEvent(event); event 911 content/renderer/pepper/pepper_plugin_instance_impl.cc ppapi::InputEventData event; event 912 content/renderer/pepper/pepper_plugin_instance_impl.cc event.event_type = type; event 913 content/renderer/pepper/pepper_plugin_instance_impl.cc event.event_time_stamp = ppapi::TimeTicksToPPTimeTicks( event 925 content/renderer/pepper/pepper_plugin_instance_impl.cc event.character_text = base::UTF16ToUTF8AndAdjustOffsets(text, &utf8_offsets); event 928 content/renderer/pepper/pepper_plugin_instance_impl.cc event.composition_selection_start = (utf8_offsets[0] == std::string::npos ? event 929 content/renderer/pepper/pepper_plugin_instance_impl.cc event.character_text.size() : utf8_offsets[0]); event 930 content/renderer/pepper/pepper_plugin_instance_impl.cc event.composition_selection_end = (utf8_offsets[1] == std::string::npos ? event 931 content/renderer/pepper/pepper_plugin_instance_impl.cc event.character_text.size() : utf8_offsets[1]); event 937 content/renderer/pepper/pepper_plugin_instance_impl.cc offset_set.insert(event.character_text.size()); event 939 content/renderer/pepper/pepper_plugin_instance_impl.cc event.composition_segment_offsets.assign(offset_set.begin(), event 946 content/renderer/pepper/pepper_plugin_instance_impl.cc std::find(event.composition_segment_offsets.begin(), event 947 content/renderer/pepper/pepper_plugin_instance_impl.cc event.composition_segment_offsets.end(), event 949 content/renderer/pepper/pepper_plugin_instance_impl.cc if (it != event.composition_segment_offsets.end()) { event 950 content/renderer/pepper/pepper_plugin_instance_impl.cc event.composition_target_segment = event 951 content/renderer/pepper/pepper_plugin_instance_impl.cc it - event.composition_segment_offsets.begin(); event 960 content/renderer/pepper/pepper_plugin_instance_impl.cc event.is_filtered = true; event 964 content/renderer/pepper/pepper_plugin_instance_impl.cc new PPB_InputEvent_Shared(ppapi::OBJECT_IS_IMPL, pp_instance(), event)); event 1041 content/renderer/pepper/pepper_plugin_instance_impl.cc const blink::WebInputEvent& event, event 1047 content/renderer/pepper/pepper_plugin_instance_impl.cc if (WebInputEvent::isMouseEventType(event.type)) { event 1056 content/renderer/pepper/pepper_plugin_instance_impl.cc if (IsReservedSystemInputEvent(event)) event 1064 content/renderer/pepper/pepper_plugin_instance_impl.cc PP_InputEvent_Class event_class = ClassifyInputEvent(event.type); event 1072 content/renderer/pepper/pepper_plugin_instance_impl.cc CreateInputEventData(event, &events); event 1079 content/renderer/pepper/pepper_plugin_instance_impl.cc ppapi::EventTimeToPPTimeTicks(event.timeStampSeconds); event 2078 content/renderer/pepper/pepper_plugin_instance_impl.cc const blink::WebMouseEvent& event) { event 2081 content/renderer/pepper/pepper_plugin_instance_impl.cc HandleInputEvent(event, &cursor_info); event 188 content/renderer/pepper/pepper_plugin_instance_impl.h bool HandleInputEvent(const blink::WebInputEvent& event, event 326 content/renderer/pepper/pepper_plugin_instance_impl.h void HandleMouseLockedInputEvent(const blink::WebMouseEvent& event); event 192 content/renderer/pepper/pepper_webplugin_impl.cc bool PepperWebPluginImpl::handleInputEvent(const blink::WebInputEvent& event, event 196 content/renderer/pepper/pepper_webplugin_impl.cc return instance_->HandleInputEvent(event, &cursor_info); event 56 content/renderer/pepper/pepper_webplugin_impl.h virtual bool handleInputEvent(const blink::WebInputEvent& event, event 2461 content/renderer/render_frame_impl.cc blink::WebDOMMessageEvent event) { event 2466 content/renderer/render_frame_impl.cc sourceFrame, targetFrame, targetOrigin, event); event 2525 content/renderer/render_frame_impl.cc void RenderFrameImpl::forwardInputEvent(const blink::WebInputEvent* event) { event 2526 content/renderer/render_frame_impl.cc Send(new FrameHostMsg_ForwardInputEvent(routing_id_, event)); event 338 content/renderer/render_frame_impl.h blink::WebDOMMessageEvent event); event 345 content/renderer/render_frame_impl.h virtual void forwardInputEvent(const blink::WebInputEvent* event); event 558 content/renderer/render_view_impl.cc const blink::WebMouseEvent &event) OVERRIDE { event 1980 content/renderer/render_view_impl.cc const WebAXObject& obj, blink::WebAXEvent event) { event 1982 content/renderer/render_view_impl.cc renderer_accessibility_->HandleWebAccessibilityEvent(obj, event); event 2129 content/renderer/render_view_impl.cc const WebGestureEvent& event, event 2131 content/renderer/render_view_impl.cc RenderWidget::didHandleGestureEvent(event, event_cancelled); event 2133 content/renderer/render_view_impl.cc if (event.type != blink::WebGestureEvent::GestureTap) event 2805 content/renderer/render_view_impl.cc blink::WebDOMMessageEvent event) { event 2810 content/renderer/render_view_impl.cc params.data = event.data().toString(); event 2811 content/renderer/render_view_impl.cc params.source_origin = event.origin(); event 2815 content/renderer/render_view_impl.cc blink::WebMessagePortChannelArray channels = event.releaseChannels(); event 3334 content/renderer/render_view_impl.cc WebDOMEvent event = frame->document().createEvent("MessageEvent"); event 3335 content/renderer/render_view_impl.cc WebDOMMessageEvent msg_event = event.to<WebDOMMessageEvent>(); event 3901 content/renderer/render_view_impl.cc bool RenderViewImpl::WillHandleMouseEvent(const blink::WebMouseEvent& event) { event 3905 content/renderer/render_view_impl.cc gfx::Point(event.globalX, event.globalY); event 3920 content/renderer/render_view_impl.cc return mouse_lock_dispatcher_->WillHandleMouseEvent(event); event 3924 content/renderer/render_view_impl.cc const blink::WebGestureEvent& event) { event 3928 content/renderer/render_view_impl.cc gfx::Point(event.globalX, event.globalY); event 3932 content/renderer/render_view_impl.cc void RenderViewImpl::DidHandleMouseEvent(const WebMouseEvent& event) { event 3933 content/renderer/render_view_impl.cc FOR_EACH_OBSERVER(RenderViewObserver, observers_, DidHandleMouseEvent(event)); event 3936 content/renderer/render_view_impl.cc void RenderViewImpl::DidHandleTouchEvent(const WebTouchEvent& event) { event 3937 content/renderer/render_view_impl.cc FOR_EACH_OBSERVER(RenderViewObserver, observers_, DidHandleTouchEvent(event)); event 4596 content/renderer/render_view_impl.cc const blink::WebGestureEvent& event, event 4607 content/renderer/render_view_impl.cc event.x - event.data.tap.width / 2, event.y - event.data.tap.height / 2, event 4608 content/renderer/render_view_impl.cc event.data.tap.width, event.data.tap.height); event 411 content/renderer/render_view_impl.h virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, event 481 content/renderer/render_view_impl.h const blink::WebGestureEvent& event, event 488 content/renderer/render_view_impl.h const blink::WebAXObject& obj, blink::WebAXEvent event); event 604 content/renderer/render_view_impl.h blink::WebDOMMessageEvent event); event 684 content/renderer/render_view_impl.h const blink::WebMouseEvent& event) OVERRIDE; event 686 content/renderer/render_view_impl.h const blink::WebGestureEvent& event) OVERRIDE; event 687 content/renderer/render_view_impl.h virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) OVERRIDE; event 688 content/renderer/render_view_impl.h virtual void DidHandleTouchEvent(const blink::WebTouchEvent& event) OVERRIDE; event 2711 content/renderer/render_widget.cc const WebGestureEvent& event, event 2716 content/renderer/render_widget.cc if (event.type == WebInputEvent::GestureTap || event 2717 content/renderer/render_widget.cc event.type == WebInputEvent::GestureLongPress) { event 2755 content/renderer/render_widget.cc bool RenderWidget::WillHandleMouseEvent(const blink::WebMouseEvent& event) { event 2760 content/renderer/render_widget.cc const blink::WebGestureEvent& event) { event 159 content/renderer/render_widget.h virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, event 334 content/renderer/render_widget.h void OnHandleInputEvent(const blink::WebInputEvent* event, event 498 content/renderer/render_widget.h virtual bool WillHandleMouseEvent(const blink::WebMouseEvent& event); event 504 content/renderer/render_widget.h virtual bool WillHandleGestureEvent(const blink::WebGestureEvent& event); event 508 content/renderer/render_widget.h virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) {} event 512 content/renderer/render_widget.h virtual void DidHandleTouchEvent(const blink::WebTouchEvent& event) {} event 196 content/renderer/render_widget_fullscreen_pepper.cc virtual bool handleInputEvent(const WebInputEvent& event) { event 207 content/renderer/render_widget_fullscreen_pepper.cc if (WebInputEvent::isGestureEventType(event.type)) { event 210 content/renderer/render_widget_fullscreen_pepper.cc static_cast<const WebGestureEvent*>(&event); event 211 content/renderer/render_widget_fullscreen_pepper.cc switch (event.type) { event 249 content/renderer/render_widget_fullscreen_pepper.cc bool result = widget_->plugin()->HandleInputEvent(event, &cursor); event 254 content/renderer/render_widget_fullscreen_pepper.cc if (WebInputEvent::isMouseEventType(event.type)) { event 256 content/renderer/render_widget_fullscreen_pepper.cc reinterpret_cast<const WebMouseEvent&>(event); event 43 content/renderer/render_widget_unittest.cc void SendInputEvent(const blink::WebInputEvent& event) { event 44 content/renderer/render_widget_unittest.cc OnHandleInputEvent(&event, ui::LatencyInfo(), false); event 143 content/shell/android/java/src/org/chromium/content_shell/Shell.java public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { event 144 content/shell/android/java/src/org/chromium/content_shell/Shell.java if ((actionId != EditorInfo.IME_ACTION_GO) && (event == null || event 145 content/shell/android/java/src/org/chromium/content_shell/Shell.java event.getKeyCode() != KeyEvent.KEYCODE_ENTER || event 146 content/shell/android/java/src/org/chromium/content_shell/Shell.java event.getAction() != KeyEvent.ACTION_DOWN)) { event 145 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java public boolean onKeyUp(int keyCode, KeyEvent event) { event 154 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java return super.onKeyUp(keyCode, event); event 143 content/shell/browser/shell.h const NativeWebKeyboardEvent& event) OVERRIDE; event 84 content/shell/browser/shell_platform_data_aura.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE { event 85 content/shell/browser/shell_platform_data_aura.cc const ui::EventType type = event->type(); event 90 content/shell/browser/shell_platform_data_aura.cc static_cast<ui::TranslatedKeyEvent*>(event)->ConvertToKeyEvent(); event 92 content/shell/browser/shell_platform_data_aura.cc if (input_method_->DispatchKeyEvent(*event)) event 93 content/shell/browser/shell_platform_data_aura.cc event->StopPropagation(); event 98 content/shell/browser/shell_platform_data_aura.cc virtual bool DispatchKeyEventPostIME(const ui::KeyEvent& event) OVERRIDE { event 99 content/shell/browser/shell_platform_data_aura.cc ui::TranslatedKeyEvent aura_event(event); event 330 content/shell/browser/shell_views.cc const ui::Event& event) OVERRIDE { event 102 content/shell/renderer/test_runner/TestPlugin.cpp void printEventDetails(WebTestDelegate* delegate, const WebInputEvent& event) event 104 content/shell/renderer/test_runner/TestPlugin.cpp if (WebInputEvent::isTouchEventType(event.type)) { event 105 content/shell/renderer/test_runner/TestPlugin.cpp const WebTouchEvent& touch = static_cast<const WebTouchEvent&>(event); event 109 content/shell/renderer/test_runner/TestPlugin.cpp } else if (WebInputEvent::isMouseEventType(event.type) || event.type == WebInputEvent::MouseWheel) { event 110 content/shell/renderer/test_runner/TestPlugin.cpp const WebMouseEvent& mouse = static_cast<const WebMouseEvent&>(event); event 114 content/shell/renderer/test_runner/TestPlugin.cpp } else if (WebInputEvent::isGestureEventType(event.type)) { event 115 content/shell/renderer/test_runner/TestPlugin.cpp const WebGestureEvent& gesture = static_cast<const WebGestureEvent&>(event); event 589 content/shell/renderer/test_runner/TestPlugin.cpp bool TestPlugin::handleInputEvent(const WebInputEvent& event, WebCursorInfo& info) event 592 content/shell/renderer/test_runner/TestPlugin.cpp switch (event.type) { event 637 content/shell/renderer/test_runner/TestPlugin.cpp printEventDetails(m_delegate, event); event 163 content/shell/renderer/test_runner/WebFrameTestProxy.h virtual bool willCheckAndDispatchMessageEvent(blink::WebLocalFrame* sourceFrame, blink::WebFrame* targetFrame, blink::WebSecurityOrigin target, blink::WebDOMMessageEvent event) event 165 content/shell/renderer/test_runner/WebFrameTestProxy.h if (m_baseProxy->willCheckAndDispatchMessageEvent(sourceFrame, targetFrame, target, event)) event 167 content/shell/renderer/test_runner/WebFrameTestProxy.h return Base::willCheckAndDispatchMessageEvent(sourceFrame, targetFrame, target, event); event 774 content/shell/renderer/test_runner/WebTestProxy.cpp void WebTestProxyBase::postAccessibilityEvent(const blink::WebAXObject& obj, blink::WebAXEvent event) event 776 content/shell/renderer/test_runner/WebTestProxy.cpp if (event == blink::WebAXEventFocus) event 780 content/shell/renderer/test_runner/WebTestProxy.cpp switch (event) { event 285 content/shell/renderer/test_runner/WebTestProxy.h virtual void postAccessibilityEvent(const blink::WebAXObject& object, blink::WebAXEvent event) event 287 content/shell/renderer/test_runner/WebTestProxy.h WebTestProxyBase::postAccessibilityEvent(object, event); event 288 content/shell/renderer/test_runner/WebTestProxy.h Base::postAccessibilityEvent(object, event); event 464 content/shell/renderer/test_runner/WebTestProxy.h virtual bool willCheckAndDispatchMessageEvent(blink::WebLocalFrame* sourceFrame, blink::WebFrame* targetFrame, blink::WebSecurityOrigin target, blink::WebDOMMessageEvent event) event 466 content/shell/renderer/test_runner/WebTestProxy.h if (WebTestProxyBase::willCheckAndDispatchMessageEvent(sourceFrame, targetFrame, target, event)) event 468 content/shell/renderer/test_runner/WebTestProxy.h return Base::willCheckAndDispatchMessageEvent(sourceFrame, targetFrame, target, event); event 281 content/shell/renderer/test_runner/event_sender.cc bool GetEditCommand(const WebKeyboardEvent& event, std::string* name) { event 287 content/shell/renderer/test_runner/event_sender.cc if ((event.modifiers & ~WebKeyboardEvent::ShiftKey) != event 291 content/shell/renderer/test_runner/event_sender.cc switch (event.windowsKeyCode) { event 308 content/shell/renderer/test_runner/event_sender.cc if (event.modifiers & WebKeyboardEvent::ShiftKey) event 1080 content/shell/renderer/test_runner/event_sender.cc WebMouseEvent event; event 1087 content/shell/renderer/test_runner/event_sender.cc &event); event 1088 content/shell/renderer/test_runner/event_sender.cc WebPoint client_point(event.x, event.y); event 1089 content/shell/renderer/test_runner/event_sender.cc WebPoint screen_point(event.globalX, event.globalY); event 1112 content/shell/renderer/test_runner/event_sender.cc WebMouseEvent event; event 1119 content/shell/renderer/test_runner/event_sender.cc &event); event 1120 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 1140 content/shell/renderer/test_runner/event_sender.cc WebMouseEvent event; event 1147 content/shell/renderer/test_runner/event_sender.cc &event); event 1148 content/shell/renderer/test_runner/event_sender.cc DoMouseUp(event); event 1291 content/shell/renderer/test_runner/event_sender.cc WebMouseEvent event; event 1298 content/shell/renderer/test_runner/event_sender.cc &event); event 1299 content/shell/renderer/test_runner/event_sender.cc FinishDragAndDrop(event, blink::WebDragOperationNone); event 1332 content/shell/renderer/test_runner/event_sender.cc WebMouseEvent event; event 1345 content/shell/renderer/test_runner/event_sender.cc &event); event 1346 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 1355 content/shell/renderer/test_runner/event_sender.cc &event); event 1356 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 1456 content/shell/renderer/test_runner/event_sender.cc WebGestureEvent event; event 1457 content/shell/renderer/test_runner/event_sender.cc event.type = WebInputEvent::GestureFlingCancel; event 1458 content/shell/renderer/test_runner/event_sender.cc event.timeStampSeconds = GetCurrentEventTimeSec(); event 1463 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 1470 content/shell/renderer/test_runner/event_sender.cc WebGestureEvent event; event 1471 content/shell/renderer/test_runner/event_sender.cc event.type = WebInputEvent::GestureFlingStart; event 1473 content/shell/renderer/test_runner/event_sender.cc event.x = x; event 1474 content/shell/renderer/test_runner/event_sender.cc event.y = y; event 1475 content/shell/renderer/test_runner/event_sender.cc event.globalX = event.x; event 1476 content/shell/renderer/test_runner/event_sender.cc event.globalY = event.y; event 1478 content/shell/renderer/test_runner/event_sender.cc event.data.flingStart.velocityX = velocity_x; event 1479 content/shell/renderer/test_runner/event_sender.cc event.data.flingStart.velocityY = velocity_y; event 1480 content/shell/renderer/test_runner/event_sender.cc event.timeStampSeconds = GetCurrentEventTimeSec(); event 1485 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 1588 content/shell/renderer/test_runner/event_sender.cc WebMouseWheelEvent event; event 1595 content/shell/renderer/test_runner/event_sender.cc &event); event 1596 content/shell/renderer/test_runner/event_sender.cc event.phase = WebMouseWheelEvent::PhaseBegan; event 1597 content/shell/renderer/test_runner/event_sender.cc event.hasPreciseScrollingDeltas = true; event 1598 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 1602 content/shell/renderer/test_runner/event_sender.cc WebMouseWheelEvent event; event 1609 content/shell/renderer/test_runner/event_sender.cc &event); event 1610 content/shell/renderer/test_runner/event_sender.cc event.phase = WebMouseWheelEvent::PhaseEnded; event 1611 content/shell/renderer/test_runner/event_sender.cc event.hasPreciseScrollingDeltas = true; event 1612 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 1616 content/shell/renderer/test_runner/event_sender.cc WebMouseWheelEvent event; event 1623 content/shell/renderer/test_runner/event_sender.cc &event); event 1624 content/shell/renderer/test_runner/event_sender.cc event.momentumPhase = WebMouseWheelEvent::PhaseBegan; event 1625 content/shell/renderer/test_runner/event_sender.cc event.hasPreciseScrollingDeltas = true; event 1626 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 1674 content/shell/renderer/test_runner/event_sender.cc WebMouseWheelEvent event; event 1675 content/shell/renderer/test_runner/event_sender.cc InitMouseWheelEvent(args, true, &event); event 1676 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 1717 content/shell/renderer/test_runner/event_sender.cc WebMouseEvent event; event 1724 content/shell/renderer/test_runner/event_sender.cc &event); event 1725 content/shell/renderer/test_runner/event_sender.cc DoMouseMove(event); event 1730 content/shell/renderer/test_runner/event_sender.cc WebMouseWheelEvent event; event 1731 content/shell/renderer/test_runner/event_sender.cc InitMouseWheelEvent(args, false, &event); event 1732 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 1736 content/shell/renderer/test_runner/event_sender.cc WebMouseWheelEvent event; event 1737 content/shell/renderer/test_runner/event_sender.cc InitMouseWheelEvent(args, true, &event); event 1738 content/shell/renderer/test_runner/event_sender.cc event.momentumPhase = WebMouseWheelEvent::PhaseChanged; event 1739 content/shell/renderer/test_runner/event_sender.cc event.hasPreciseScrollingDeltas = true; event 1740 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 1744 content/shell/renderer/test_runner/event_sender.cc WebMouseWheelEvent event; event 1751 content/shell/renderer/test_runner/event_sender.cc &event); event 1752 content/shell/renderer/test_runner/event_sender.cc event.momentumPhase = WebMouseWheelEvent::PhaseEnded; event 1753 content/shell/renderer/test_runner/event_sender.cc event.hasPreciseScrollingDeltas = true; event 1754 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 1809 content/shell/renderer/test_runner/event_sender.cc WebGestureEvent event; event 1810 content/shell/renderer/test_runner/event_sender.cc event.type = type; event 1815 content/shell/renderer/test_runner/event_sender.cc event.data.scrollUpdate.deltaX = static_cast<float>(x); event 1816 content/shell/renderer/test_runner/event_sender.cc event.data.scrollUpdate.deltaY = static_cast<float>(y); event 1817 content/shell/renderer/test_runner/event_sender.cc event.x = current_gesture_location_.x; event 1818 content/shell/renderer/test_runner/event_sender.cc event.y = current_gesture_location_.y; event 1820 content/shell/renderer/test_runner/event_sender.cc current_gesture_location_.x + event.data.scrollUpdate.deltaX; event 1822 content/shell/renderer/test_runner/event_sender.cc current_gesture_location_.y + event.data.scrollUpdate.deltaY; event 1826 content/shell/renderer/test_runner/event_sender.cc event.x = current_gesture_location_.x; event 1827 content/shell/renderer/test_runner/event_sender.cc event.y = current_gesture_location_.y; event 1831 content/shell/renderer/test_runner/event_sender.cc event.x = current_gesture_location_.x; event 1832 content/shell/renderer/test_runner/event_sender.cc event.y = current_gesture_location_.y; event 1841 content/shell/renderer/test_runner/event_sender.cc event.data.tap.tapCount = tap_count; event 1843 content/shell/renderer/test_runner/event_sender.cc event.data.tap.tapCount = 1; event 1846 content/shell/renderer/test_runner/event_sender.cc event.x = point.x; event 1847 content/shell/renderer/test_runner/event_sender.cc event.y = point.y; event 1856 content/shell/renderer/test_runner/event_sender.cc event.data.tap.tapCount = tap_count; event 1858 content/shell/renderer/test_runner/event_sender.cc event.data.tap.tapCount = 1; event 1860 content/shell/renderer/test_runner/event_sender.cc event.x = point.x; event 1861 content/shell/renderer/test_runner/event_sender.cc event.y = point.y; event 1864 content/shell/renderer/test_runner/event_sender.cc event.x = point.x; event 1865 content/shell/renderer/test_runner/event_sender.cc event.y = point.y; event 1872 content/shell/renderer/test_runner/event_sender.cc event.data.tapDown.width = width; event 1880 content/shell/renderer/test_runner/event_sender.cc event.data.tapDown.height = height; event 1884 content/shell/renderer/test_runner/event_sender.cc event.x = point.x; event 1885 content/shell/renderer/test_runner/event_sender.cc event.y = point.y; event 1892 content/shell/renderer/test_runner/event_sender.cc event.data.showPress.width = width; event 1899 content/shell/renderer/test_runner/event_sender.cc event.data.showPress.height = height; event 1904 content/shell/renderer/test_runner/event_sender.cc event.x = point.x; event 1905 content/shell/renderer/test_runner/event_sender.cc event.y = point.y; event 1908 content/shell/renderer/test_runner/event_sender.cc event.x = point.x; event 1909 content/shell/renderer/test_runner/event_sender.cc event.y = point.y; event 1916 content/shell/renderer/test_runner/event_sender.cc event.data.longPress.width = width; event 1923 content/shell/renderer/test_runner/event_sender.cc event.data.longPress.height = height; event 1928 content/shell/renderer/test_runner/event_sender.cc event.x = point.x; event 1929 content/shell/renderer/test_runner/event_sender.cc event.y = point.y; event 1936 content/shell/renderer/test_runner/event_sender.cc event.data.longPress.width = width; event 1943 content/shell/renderer/test_runner/event_sender.cc event.data.longPress.height = height; event 1948 content/shell/renderer/test_runner/event_sender.cc event.x = point.x; event 1949 content/shell/renderer/test_runner/event_sender.cc event.y = point.y; event 1956 content/shell/renderer/test_runner/event_sender.cc event.data.twoFingerTap.firstFingerWidth = first_finger_width; event 1963 content/shell/renderer/test_runner/event_sender.cc event.data.twoFingerTap.firstFingerHeight = first_finger_height; event 1971 content/shell/renderer/test_runner/event_sender.cc event.globalX = event.x; event 1972 content/shell/renderer/test_runner/event_sender.cc event.globalY = event.y; event 1973 content/shell/renderer/test_runner/event_sender.cc event.timeStampSeconds = GetCurrentEventTimeSec(); event 1978 content/shell/renderer/test_runner/event_sender.cc view_->handleInputEvent(event); event 2010 content/shell/renderer/test_runner/event_sender.cc WebMouseWheelEvent* event) { event 2046 content/shell/renderer/test_runner/event_sender.cc event); event 2047 content/shell/renderer/test_runner/event_sender.cc event->wheelTicksX = static_cast<float>(horizontal); event 2048 content/shell/renderer/test_runner/event_sender.cc event->wheelTicksY = static_cast<float>(vertical); event 2049 content/shell/renderer/test_runner/event_sender.cc event->deltaX = event->wheelTicksX; event 2050 content/shell/renderer/test_runner/event_sender.cc event->deltaY = event->wheelTicksY; event 2051 content/shell/renderer/test_runner/event_sender.cc event->scrollByPage = paged; event 2052 content/shell/renderer/test_runner/event_sender.cc event->hasPreciseScrollingDeltas = has_precise_scrolling_deltas; event 2055 content/shell/renderer/test_runner/event_sender.cc event->wheelTicksX /= kScrollbarPixelsPerTick; event 2056 content/shell/renderer/test_runner/event_sender.cc event->wheelTicksY /= kScrollbarPixelsPerTick; event 2058 content/shell/renderer/test_runner/event_sender.cc event->deltaX *= kScrollbarPixelsPerTick; event 2059 content/shell/renderer/test_runner/event_sender.cc event->deltaY *= kScrollbarPixelsPerTick; event 2124 content/shell/renderer/test_runner/event_sender.cc WebMouseEvent event; event 2131 content/shell/renderer/test_runner/event_sender.cc &event); event 2132 content/shell/renderer/test_runner/event_sender.cc DoMouseMove(event); event 2139 content/shell/renderer/test_runner/event_sender.cc WebMouseEvent event; event 2146 content/shell/renderer/test_runner/event_sender.cc &event); event 2147 content/shell/renderer/test_runner/event_sender.cc DoMouseUp(event); event 167 content/shell/renderer/test_runner/event_sender.h blink::WebMouseWheelEvent* event); event 95 content/shell/tools/plugin/PluginTest.h virtual int16_t NPP_HandleEvent(void* event); event 126 content/shell/tools/plugin/main.cpp pluginFuncs->event = NPP_HandleEvent; event 485 content/shell/tools/plugin/main.cpp static int16_t handleEventCarbon(NPP instance, PluginObject* obj, EventRecord* event) event 487 content/shell/tools/plugin/main.cpp Point pt = { event->where.v, event->where.h }; event 489 content/shell/tools/plugin/main.cpp switch (event->what) { event 523 content/shell/tools/plugin/main.cpp pluginLog(instance, "keyDown '%c'", (char)(event->message & 0xFF)); event 529 content/shell/tools/plugin/main.cpp pluginLog(instance, "keyUp '%c'", (char)(event->message & 0xFF)); event 538 content/shell/tools/plugin/main.cpp pluginLog(instance, "autoKey '%c'", (char)(event->message & 0xFF)); event 556 content/shell/tools/plugin/main.cpp switch ((event->message & 0xFF000000) >> 24) { event 558 content/shell/tools/plugin/main.cpp printf("%s\n", (event->message & 0x1) ? "resume" : "suspend"); event 564 content/shell/tools/plugin/main.cpp printf("%08lX\n", event->message); event 586 content/shell/tools/plugin/main.cpp pluginLog(instance, "event %d", event->what); event 593 content/shell/tools/plugin/main.cpp static int16_t handleEventCocoa(NPP instance, PluginObject* obj, NPCocoaEvent* event) event 595 content/shell/tools/plugin/main.cpp switch (event->type) { event 600 content/shell/tools/plugin/main.cpp if (event->data.focus.hasFocus) event 614 content/shell/tools/plugin/main.cpp if (obj->eventLogging && event->data.key.characters) event 615 content/shell/tools/plugin/main.cpp pluginLog(instance, "keyDown '%c'", CFStringGetCharacterAtIndex(reinterpret_cast<CFStringRef>(event->data.key.characters), 0)); event 621 content/shell/tools/plugin/main.cpp if (obj->eventLogging && event->data.key.characters) { event 622 content/shell/tools/plugin/main.cpp pluginLog(instance, "keyUp '%c'", CFStringGetCharacterAtIndex(reinterpret_cast<CFStringRef>(event->data.key.characters), 0)); event 637 content/shell/tools/plugin/main.cpp (int)event->data.mouse.pluginX, event 638 content/shell/tools/plugin/main.cpp (int)event->data.mouse.pluginY); event 646 content/shell/tools/plugin/main.cpp (int)event->data.mouse.pluginX, event 647 content/shell/tools/plugin/main.cpp (int)event->data.mouse.pluginY); event 667 content/shell/tools/plugin/main.cpp static char keyEventToChar(XKeyEvent* event) event 670 content/shell/tools/plugin/main.cpp XLookupString(event, &c, sizeof(c), 0, 0); event 674 content/shell/tools/plugin/main.cpp static int16_t handleEventX11(NPP instance, PluginObject* obj, XEvent* event) event 676 content/shell/tools/plugin/main.cpp switch (event->type) { event 679 content/shell/tools/plugin/main.cpp pluginLog(instance, "mouseDown at (%d, %d)", event->xbutton.x, event->xbutton.y); event 685 content/shell/tools/plugin/main.cpp pluginLog(instance, "mouseUp at (%d, %d)", event->xbutton.x, event->xbutton.y); event 690 content/shell/tools/plugin/main.cpp pluginLog(instance, "keyDown '%c'", keyEventToChar(&event->xkey)); event 697 content/shell/tools/plugin/main.cpp pluginLog(instance, "keyUp '%c'", keyEventToChar(&event->xkey)); event 725 content/shell/tools/plugin/main.cpp pluginLog(instance, "event %d", event->type); event 734 content/shell/tools/plugin/main.cpp static int16_t handleEventWin(NPP instance, PluginObject* obj, NPEvent* event) event 736 content/shell/tools/plugin/main.cpp switch (event->event) { event 743 content/shell/tools/plugin/main.cpp pluginLog(instance, "keyDown '%c'", event->wParam); event 751 content/shell/tools/plugin/main.cpp pluginLog(instance, "keyUp '%c'", event->wParam); event 762 content/shell/tools/plugin/main.cpp pluginLog(instance, "mouseDown at (%d, %d)", LOWORD(event->lParam), HIWORD(event->lParam)); event 770 content/shell/tools/plugin/main.cpp pluginLog(instance, "mouseUp at (%d, %d)", LOWORD(event->lParam), HIWORD(event->lParam)); event 785 content/shell/tools/plugin/main.cpp int16_t NPP_HandleEvent(NPP instance, void *event) event 789 content/shell/tools/plugin/main.cpp if (obj->pluginTest->NPP_HandleEvent(event) == 1) event 798 content/shell/tools/plugin/main.cpp ret = handleEventCocoa(instance, obj, static_cast<NPCocoaEvent*>(event)); event 800 content/shell/tools/plugin/main.cpp ret = handleEventCarbon(instance, obj, static_cast<EventRecord*>(event)); event 803 content/shell/tools/plugin/main.cpp ret = handleEventCocoa(instance, obj, static_cast<NPCocoaEvent*>(event)); event 806 content/shell/tools/plugin/main.cpp ret = handleEventX11(instance, obj, static_cast<XEvent*>(event)); event 808 content/shell/tools/plugin/main.cpp ret = handleEventWin(instance, obj, static_cast<NPEvent*>(event)); event 31 content/test/accessibility_browser_test_utils.h ui::AXEvent event); event 45 content/test/accessibility_browser_test_utils.h void OnAccessibilityEvent(ui::AXEvent event); event 33 content/test/plugin/plugin_client.cc pFuncs->event = NPP_HandleEvent; event 245 content/test/plugin/plugin_client.cc int16 NPP_HandleEvent(NPP instance, void* event) { event 252 content/test/plugin/plugin_client.cc return plugin->HandleEvent(event); event 78 content/test/plugin/plugin_schedule_timer_test.cc const Event& event = schedule_[i]; event 80 content/test/plugin/plugin_schedule_timer_test.cc timer_ids_[event.received_index] == timer_id) { event 98 content/test/plugin/plugin_schedule_timer_test.cc const Event& event = schedule_[event_index]; event 106 content/test/plugin/plugin_schedule_timer_test.cc if (event.unscheduled_index >= 0) { event 108 content/test/plugin/plugin_schedule_timer_test.cc id(), timer_ids_[event.unscheduled_index]); event 112 content/test/plugin/plugin_schedule_timer_test.cc if (event.scheduled_index >= 0) { event 113 content/test/plugin/plugin_schedule_timer_test.cc timer_ids_[event.scheduled_index] = HostFunctions()->scheduletimer( event 114 content/test/plugin/plugin_schedule_timer_test.cc id(), event.scheduled_interval, event.schedule_repeated, OnTimerHelper); event 189 content/test/plugin/plugin_test.cc int16 PluginTest::HandleEvent(void* event) { event 43 content/test/plugin/plugin_test.h virtual int16 HandleEvent(void* event); event 37 content/test/plugin/plugin_windowless_test.cc return np_event->event == WM_PAINT; event 50 content/test/plugin/plugin_windowless_test.cc return np_event->event == WM_LBUTTONUP; event 94 content/test/plugin/plugin_windowless_test.cc int16 WindowlessPluginTest::HandleEvent(void* event) { event 103 content/test/plugin/plugin_windowless_test.cc return PluginTest::HandleEvent(event); event 107 content/test/plugin/plugin_windowless_test.cc reinterpret_cast<WindowlessPluginTestEvent*>(event); event 165 content/test/plugin/plugin_windowless_test.cc return PluginTest::HandleEvent(event); event 26 content/test/plugin/plugin_windowless_test.h virtual int16 HandleEvent(void* event) OVERRIDE; event 173 content/test/test_render_view_host.cc const NativeWebKeyboardEvent& event) { event 154 content/test/test_render_view_host.h const NativeWebKeyboardEvent& event) OVERRIDE; event 133 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc scoped_ptr<Event> event( event 135 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc PostEvent(params, event.Pass()); event 154 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc scoped_ptr<Event> event( event 156 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc PostEvent(params, event.Pass()); event 170 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc scoped_ptr<Event> event) { event 178 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc base::Passed(event.Pass()))); event 184 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc scoped_ptr<Event> event) { event 194 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc router->DispatchEventToExtension(extension_id, event.Pass()); event 78 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h static void PostEvent(const ReadParams& params, scoped_ptr<Event> event); event 83 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h scoped_ptr<Event> event); event 137 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc scoped_ptr<Event> event( event 139 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc PostEvent(params, event.Pass()); event 155 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc scoped_ptr<Event> event( event 157 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc PostEvent(params, event.Pass()); event 171 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc scoped_ptr<Event> event) { event 179 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc base::Passed(event.Pass()))); event 186 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc scoped_ptr<Event> event) { event 195 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc router->DispatchEventToExtension(extension_id, event.Pass()); event 83 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h static void PostEvent(const AcceptParams& params, scoped_ptr<Event> event); event 88 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h scoped_ptr<Event> event); event 119 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc scoped_ptr<Event> event( event 121 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc PostEvent(params, event.Pass()); event 140 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc scoped_ptr<Event> event( event 142 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc PostEvent(params, event.Pass()); event 156 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc scoped_ptr<Event> event) { event 164 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc base::Passed(event.Pass()))); event 170 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc scoped_ptr<Event> event) { event 179 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc router->DispatchEventToExtension(extension_id, event.Pass()); event 77 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h static void PostEvent(const ReceiveParams& params, scoped_ptr<Event> event); event 82 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h scoped_ptr<Event> event); event 50 extensions/browser/api/storage/storage_frontend.cc scoped_ptr<Event> event(new Event( event 53 extensions/browser/api/storage/storage_frontend.cc DispatchEventToExtension(extension_id, event.Pass()); event 188 extensions/browser/event_listener_map.cc const Event& event) { event 190 extensions/browser/event_listener_map.cc if (IsFilteredEvent(event)) { event 193 extensions/browser/event_listener_map.cc event_filter_.MatchEvent(event.event_name, event.filter_info, event 202 extensions/browser/event_listener_map.cc ListenerList& listeners = listeners_[event.event_name]; event 239 extensions/browser/event_listener_map.cc bool EventListenerMap::IsFilteredEvent(const Event& event) const { event 240 extensions/browser/event_listener_map.cc return filtered_events_.count(event.event_name) > 0u; event 94 extensions/browser/event_listener_map.h std::set<const EventListener*> GetEventListeners(const Event& event); event 141 extensions/browser/event_listener_map.h bool IsFilteredEvent(const Event& event) const; event 77 extensions/browser/event_listener_map_unittest.cc scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name)); event 78 extensions/browser/event_listener_map_unittest.cc std::set<const EventListener*> targets(listeners_->GetEventListeners(*event)); event 89 extensions/browser/event_listener_map_unittest.cc scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name)); event 90 extensions/browser/event_listener_map_unittest.cc event->filter_info.SetURL(GURL("http://www.google.com")); event 91 extensions/browser/event_listener_map_unittest.cc std::set<const EventListener*> targets(listeners_->GetEventListeners(*event)); event 101 extensions/browser/event_listener_map_unittest.cc scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name)); event 102 extensions/browser/event_listener_map_unittest.cc event->filter_info.SetURL(GURL("http://www.google.com")); event 103 extensions/browser/event_listener_map_unittest.cc std::set<const EventListener*> targets(listeners_->GetEventListeners(*event)); event 115 extensions/browser/event_listener_map_unittest.cc scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name)); event 116 extensions/browser/event_listener_map_unittest.cc event->filter_info.SetURL(GURL("http://www.google.com")); event 117 extensions/browser/event_listener_map_unittest.cc std::set<const EventListener*> targets(listeners_->GetEventListeners(*event)); event 131 extensions/browser/event_listener_map_unittest.cc scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name)); event 132 extensions/browser/event_listener_map_unittest.cc event->filter_info.SetURL(GURL("http://www.google.com")); event 133 extensions/browser/event_listener_map_unittest.cc std::set<const EventListener*> targets(listeners_->GetEventListeners(*event)); event 149 extensions/browser/event_listener_map_unittest.cc scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name)); event 150 extensions/browser/event_listener_map_unittest.cc event->filter_info.SetURL(GURL("http://www.google.com")); event 151 extensions/browser/event_listener_map_unittest.cc std::set<const EventListener*> targets(listeners_->GetEventListeners(*event)); event 165 extensions/browser/event_listener_map_unittest.cc scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name)); event 166 extensions/browser/event_listener_map_unittest.cc event->filter_info.SetURL(GURL("http://www.google.com")); event 167 extensions/browser/event_listener_map_unittest.cc std::set<const EventListener*> targets(listeners_->GetEventListeners(*event)); event 185 extensions/browser/event_listener_map_unittest.cc scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name)); event 186 extensions/browser/event_listener_map_unittest.cc event->filter_info.SetURL(GURL("http://www.google.com")); event 187 extensions/browser/event_listener_map_unittest.cc std::set<const EventListener*> targets(listeners_->GetEventListeners(*event)); event 190 extensions/browser/event_listener_map_unittest.cc event->event_name = kEvent2Name; event 191 extensions/browser/event_listener_map_unittest.cc targets = listeners_->GetEventListeners(*event); event 282 extensions/browser/event_listener_map_unittest.cc scoped_ptr<Event> event(CreateEvent(kEvent1Name, event 284 extensions/browser/event_listener_map_unittest.cc std::set<const EventListener*> targets(listeners_->GetEventListeners(*event)); event 300 extensions/browser/event_listener_map_unittest.cc scoped_ptr<Event> event(CreateEvent(kEvent1Name, event 302 extensions/browser/event_listener_map_unittest.cc std::set<const EventListener*> targets(listeners_->GetEventListeners(*event)); event 346 extensions/browser/event_router.cc std::string event; event 347 extensions/browser/event_router.cc if (events_value->GetString(i, &event)) event 348 extensions/browser/event_router.cc events.insert(event); event 412 extensions/browser/event_router.cc void EventRouter::BroadcastEvent(scoped_ptr<Event> event) { event 413 extensions/browser/event_router.cc DispatchEventImpl(std::string(), linked_ptr<Event>(event.release())); event 417 extensions/browser/event_router.cc scoped_ptr<Event> event) { event 419 extensions/browser/event_router.cc DispatchEventImpl(extension_id, linked_ptr<Event>(event.release())); event 423 extensions/browser/event_router.cc scoped_ptr<Event> event) { event 425 extensions/browser/event_router.cc std::string event_name = event->event_name; event 429 extensions/browser/event_router.cc DispatchEventToExtension(extension_id, event.Pass()); event 435 extensions/browser/event_router.cc const linked_ptr<Event>& event) { event 437 extensions/browser/event_router.cc DCHECK(!event->restrict_to_browser_context || event 439 extensions/browser/event_router.cc browser_context_, event->restrict_to_browser_context)); event 442 extensions/browser/event_router.cc listeners_.GetEventListeners(*event)); event 458 extensions/browser/event_router.cc DispatchLazyEvent(listener->extension_id, event, &already_dispatched); event 473 extensions/browser/event_router.cc event); event 482 extensions/browser/event_router.cc const linked_ptr<Event>& event, event 494 extensions/browser/event_router.cc browser_context_, extension, event)) { event 504 extensions/browser/event_router.cc incognito_context, extension, event)) { event 513 extensions/browser/event_router.cc const linked_ptr<Event>& event) { event 527 extensions/browser/event_router.cc if (ExtensionAPI::GetSharedInstance()->IsPrivileged(event->event_name) && event 534 extensions/browser/event_router.cc if (!event->event_url.is_empty() && event 535 extensions/browser/event_router.cc event->event_url.host() != extension->id() && event 537 extensions/browser/event_router.cc event->event_url)) { event 541 extensions/browser/event_router.cc if (!CanDispatchEventToBrowserContext(listener_context, extension, event)) event 544 extensions/browser/event_router.cc if (!event->will_dispatch_callback.is_null()) { event 545 extensions/browser/event_router.cc event->will_dispatch_callback.Run(listener_context, extension, event 546 extensions/browser/event_router.cc event->event_args.get()); event 550 extensions/browser/event_router.cc event->event_name, event->event_args.get(), event 551 extensions/browser/event_router.cc event->user_gesture, event->filter_info); event 558 extensions/browser/event_router.cc const linked_ptr<Event>& event) { event 561 extensions/browser/event_router.cc bool cross_incognito = event->restrict_to_browser_context && event 562 extensions/browser/event_router.cc context != event->restrict_to_browser_context; event 572 extensions/browser/event_router.cc const linked_ptr<Event>& event) { event 573 extensions/browser/event_router.cc if (extension->is_ephemeral() && !event->can_load_ephemeral_apps) { event 581 extensions/browser/event_router.cc if (!CanDispatchEventToBrowserContext(context, extension, event)) event 587 extensions/browser/event_router.cc linked_ptr<Event> dispatched_event(event); event 592 extensions/browser/event_router.cc if (!event->will_dispatch_callback.is_null()) { event 593 extensions/browser/event_router.cc dispatched_event.reset(event->DeepCopy()); event 656 extensions/browser/event_router.cc void EventRouter::DispatchPendingEvent(const linked_ptr<Event>& event, event 664 extensions/browser/event_router.cc host->render_process_host(), event); event 156 extensions/browser/event_router.h virtual void BroadcastEvent(scoped_ptr<Event> event); event 160 extensions/browser/event_router.h scoped_ptr<Event> event); event 167 extensions/browser/event_router.h scoped_ptr<Event> event); event 214 extensions/browser/event_router.h const linked_ptr<Event>& event); event 221 extensions/browser/event_router.h const linked_ptr<Event>& event, event 227 extensions/browser/event_router.h const linked_ptr<Event>& event); event 235 extensions/browser/event_router.h const linked_ptr<Event>& event); event 243 extensions/browser/event_router.h const linked_ptr<Event>& event); event 270 extensions/browser/event_router.h void DispatchPendingEvent(const linked_ptr<Event>& event, event 19 extensions/common/one_shot_event_unittest.cc OneShotEvent event; event 20 extensions/common/one_shot_event_unittest.cc EXPECT_FALSE(event.is_signaled()); event 21 extensions/common/one_shot_event_unittest.cc event.Signal(); event 22 extensions/common/one_shot_event_unittest.cc EXPECT_TRUE(event.is_signaled()); event 26 extensions/common/one_shot_event_unittest.cc OneShotEvent event; event 30 extensions/common/one_shot_event_unittest.cc event.Post(FROM_HERE, base::Bind(&Increment, &i), runner); event 31 extensions/common/one_shot_event_unittest.cc event.Post(FROM_HERE, base::Bind(&Increment, &i), runner); event 33 extensions/common/one_shot_event_unittest.cc event.Signal(); event 44 extensions/common/one_shot_event_unittest.cc OneShotEvent event; event 49 extensions/common/one_shot_event_unittest.cc event.Signal(); event 50 extensions/common/one_shot_event_unittest.cc event.Post(FROM_HERE, base::Bind(&Increment, &i), runner); event 58 extensions/common/one_shot_event_unittest.cc OneShotEvent event; event 65 extensions/common/one_shot_event_unittest.cc event.Post(FROM_HERE, base::Bind(&Increment, &runner_i), runner); event 66 extensions/common/one_shot_event_unittest.cc event.Post(FROM_HERE, base::Bind(&Increment, &loop_i)); event 67 extensions/common/one_shot_event_unittest.cc event.Signal(); event 78 extensions/common/one_shot_event_unittest.cc OneShotEvent* event, event 81 extensions/common/one_shot_event_unittest.cc EXPECT_TRUE(event->is_signaled()); event 82 extensions/common/one_shot_event_unittest.cc event->Post(FROM_HERE, base::Bind(&Increment, i), runner); event 86 extensions/common/one_shot_event_unittest.cc OneShotEvent event; event 91 extensions/common/one_shot_event_unittest.cc event.Post(FROM_HERE, event 92 extensions/common/one_shot_event_unittest.cc base::Bind(&CheckSignaledAndPostIncrement, &event, runner, &i), event 95 extensions/common/one_shot_event_unittest.cc event.Signal(); event 118 gpu/command_buffer/service/in_process_command_buffer.cc ScopedEvent(base::WaitableEvent* event) : event_(event) {} event 255 ipc/ipc_send_fds_test.cc base::WaitableEvent *event) { event 257 ipc/ipc_send_fds_test.cc event->Signal(); event 390 ipc/ipc_sync_channel.cc void SyncChannel::SyncContext::OnWaitableEventSignaled(WaitableEvent* event) { event 391 ipc/ipc_sync_channel.cc if (event == shutdown_event_) { event 397 ipc/ipc_sync_channel.cc DCHECK_EQ(GetSendDoneEvent(), event); event 556 ipc/ipc_sync_channel.cc void SyncChannel::OnWaitableEventSignaled(WaitableEvent* event) { event 557 ipc/ipc_sync_channel.cc DCHECK(event == sync_context()->GetDispatchEvent()); event 560 ipc/ipc_sync_channel.cc event->Reset(); event 561 ipc/ipc_sync_channel.cc dispatch_watcher_.StartWatching(event, dispatch_watcher_callback_); event 182 ipc/ipc_sync_channel.h void OnWaitableEventSignaled(base::WaitableEvent* event); event 41 ipc/ipc_sync_message.h void set_pump_messages_event(base::WaitableEvent* event) { event 42 ipc/ipc_sync_message.h pump_messages_event_ = event; event 43 ipc/ipc_sync_message.h if (event) { event 173 jingle/glue/thread_wrapper.cc size_t event = base::WaitableEvent::WaitMany(events, arraysize(events)); event 174 jingle/glue/thread_wrapper.cc DCHECK(event == 0 || event == 1); event 176 jingle/glue/thread_wrapper.cc if (event == 1) event 164 media/audio/android/audio_android_unittest.cc explicit FileAudioSource(base::WaitableEvent* event, const std::string& name) event 165 media/audio/android/audio_android_unittest.cc : event_(event), pos_(0) { event 236 media/audio/android/audio_android_unittest.cc explicit FileAudioSink(base::WaitableEvent* event, event 239 media/audio/android/audio_android_unittest.cc : event_(event), params_(params) { event 433 media/audio/android/audio_android_unittest.cc base::WaitableEvent event(false, false); event 439 media/audio/android/audio_android_unittest.cc &event)); event 440 media/audio/android/audio_android_unittest.cc event.Wait(); event 447 media/audio/android/audio_android_unittest.cc base::WaitableEvent* event) { event 450 media/audio/android/audio_android_unittest.cc event->Signal(); event 871 media/audio/android/audio_android_unittest.cc base::WaitableEvent event(false, false); event 872 media/audio/android/audio_android_unittest.cc FileAudioSource source(&event, file_name); event 876 media/audio/android/audio_android_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::action_max_timeout())); event 894 media/audio/android/audio_android_unittest.cc base::WaitableEvent event(false, false); event 895 media/audio/android/audio_android_unittest.cc FileAudioSink sink(&event, params, file_name); event 899 media/audio/android/audio_android_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::action_max_timeout())); event 921 media/audio/android/audio_android_unittest.cc base::WaitableEvent event(false, false); event 922 media/audio/android/audio_android_unittest.cc FileAudioSink sink(&event, in_params, file_name); event 933 media/audio/android/audio_android_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::action_max_timeout())); event 147 media/audio/audio_input_unittest.cc base::WaitableEvent event(false, false); event 153 media/audio/audio_input_unittest.cc &event)); event 154 media/audio/audio_input_unittest.cc event.Wait(); event 161 media/audio/audio_input_unittest.cc base::WaitableEvent* event) { event 164 media/audio/audio_input_unittest.cc event->Signal(); event 42 media/audio/audio_manager_unittest.cc base::WaitableEvent event(false, false); event 44 media/audio/audio_manager_unittest.cc &base::WaitableEvent::Signal, base::Unretained(&event))); event 45 media/audio/audio_manager_unittest.cc event.Wait(); event 136 media/audio/audio_manager_unittest.cc base::WaitableEvent event(false, false); event 142 media/audio/audio_manager_unittest.cc &event)); event 143 media/audio/audio_manager_unittest.cc event.Wait(); event 150 media/audio/audio_manager_unittest.cc base::WaitableEvent* event) { event 153 media/audio/audio_manager_unittest.cc event->Signal(); event 80 media/audio/audio_output_controller_unittest.cc ACTION_P(SignalEvent, event) { event 81 media/audio/audio_output_controller_unittest.cc event->Signal(); event 92 media/audio/cras/cras_input_unittest.cc base::WaitableEvent event(false, false); event 96 media/audio/cras/cras_input_unittest.cc .WillOnce(InvokeWithoutArgs(&event, &base::WaitableEvent::Signal)); event 101 media/audio/cras/cras_input_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::action_timeout())); event 143 media/audio/cras/cras_unified_unittest.cc base::WaitableEvent event(false, false); event 147 media/audio/cras/cras_unified_unittest.cc InvokeWithoutArgs(&event, &base::WaitableEvent::Signal), event 153 media/audio/cras/cras_unified_unittest.cc EXPECT_TRUE(event.TimedWait(TestTimeouts::action_timeout())); event 29 media/audio/mac/audio_auhal_mac_unittest.cc ACTION_P(SignalEvent, event) { event 30 media/audio/mac/audio_auhal_mac_unittest.cc event->Signal(); event 95 media/audio/mac/audio_auhal_mac_unittest.cc base::WaitableEvent event(false, false); event 97 media/audio/mac/audio_auhal_mac_unittest.cc .WillOnce(DoAll(ZeroBuffer(), SignalEvent(&event), Return(0))); event 100 media/audio/mac/audio_auhal_mac_unittest.cc event.Wait(); event 34 media/audio/scoped_task_runner_observer.cc base::WaitableEvent event(false, false); event 37 media/audio/scoped_task_runner_observer.cc base::Unretained(this), enable, &event))) { event 38 media/audio/scoped_task_runner_observer.cc event.Wait(); event 765 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java MediaDrm mediaDrm, byte[] session_array, int event, int extra, byte[] data) { event 780 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java switch(event) { event 813 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java Log.e(TAG, "Invalid DRM event " + event); event 990 media/base/android/media_source_player.cc const char* MediaSourcePlayer::GetEventName(PendingEventFlags event) { event 1001 media/base/android/media_source_player.cc if (event & mask) event 1008 media/base/android/media_source_player.cc bool MediaSourcePlayer::IsEventPending(PendingEventFlags event) const { event 1009 media/base/android/media_source_player.cc return pending_event_ & event; event 1012 media/base/android/media_source_player.cc void MediaSourcePlayer::SetPendingEvent(PendingEventFlags event) { event 1013 media/base/android/media_source_player.cc DVLOG(1) << __FUNCTION__ << "(" << GetEventName(event) << ")"; event 1014 media/base/android/media_source_player.cc DCHECK_NE(event, NO_EVENT_PENDING); event 1015 media/base/android/media_source_player.cc DCHECK(!IsEventPending(event)); event 1017 media/base/android/media_source_player.cc pending_event_ |= event; event 1020 media/base/android/media_source_player.cc void MediaSourcePlayer::ClearPendingEvent(PendingEventFlags event) { event 1021 media/base/android/media_source_player.cc DVLOG(1) << __FUNCTION__ << "(" << GetEventName(event) << ")"; event 1022 media/base/android/media_source_player.cc DCHECK_NE(event, NO_EVENT_PENDING); event 1023 media/base/android/media_source_player.cc DCHECK(IsEventPending(event)) << GetEventName(event); event 1025 media/base/android/media_source_player.cc pending_event_ &= ~event; event 188 media/base/android/media_source_player.h static const char* GetEventName(PendingEventFlags event); event 189 media/base/android/media_source_player.h bool IsEventPending(PendingEventFlags event) const; event 190 media/base/android/media_source_player.h void SetPendingEvent(PendingEventFlags event); event 191 media/base/android/media_source_player.h void ClearPendingEvent(PendingEventFlags event); event 292 media/base/audio_renderer_mixer_unittest.cc ACTION_P(SignalEvent, event) { event 293 media/base/audio_renderer_mixer_unittest.cc event->Signal(); event 22 media/base/keyboard_event_counter.cc void KeyboardEventCounter::OnKeyboardEvent(ui::EventType event, event 25 media/base/keyboard_event_counter.cc if (event == ui::ET_KEY_PRESSED) { event 32 media/base/keyboard_event_counter.cc DCHECK_EQ(ui::ET_KEY_RELEASED, event); event 36 media/base/keyboard_event_counter.h void OnKeyboardEvent(ui::EventType event, ui::KeyboardCode key_code); event 117 media/base/media_log.cc void MediaLog::AddEvent(scoped_ptr<MediaLogEvent> event) {} event 120 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(new MediaLogEvent); event 121 media/base/media_log.cc event->id = id_; event 122 media/base/media_log.cc event->type = type; event 123 media/base/media_log.cc event->time = base::TimeTicks::Now(); event 124 media/base/media_log.cc return event.Pass(); event 129 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(CreateEvent(type)); event 130 media/base/media_log.cc event->params.SetBoolean(property, value); event 131 media/base/media_log.cc return event.Pass(); event 136 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(CreateEvent(type)); event 137 media/base/media_log.cc event->params.SetString(property, value); event 138 media/base/media_log.cc return event.Pass(); event 143 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(CreateEvent(type)); event 145 media/base/media_log.cc event->params.SetString(property, "unknown"); event 147 media/base/media_log.cc event->params.SetDouble(property, value.InSecondsF()); event 148 media/base/media_log.cc return event.Pass(); event 152 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(CreateEvent(MediaLogEvent::LOAD)); event 153 media/base/media_log.cc event->params.SetString("url", url); event 154 media/base/media_log.cc return event.Pass(); event 158 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(CreateEvent(MediaLogEvent::SEEK)); event 159 media/base/media_log.cc event->params.SetDouble("seek_target", seconds); event 160 media/base/media_log.cc return event.Pass(); event 165 media/base/media_log.cc scoped_ptr<MediaLogEvent> event( event 167 media/base/media_log.cc event->params.SetString("pipeline_state", Pipeline::GetStateString(state)); event 168 media/base/media_log.cc return event.Pass(); event 173 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(CreateEvent(MediaLogEvent::PIPELINE_ERROR)); event 174 media/base/media_log.cc event->params.SetString("pipeline_error", PipelineStatusToString(error)); event 175 media/base/media_log.cc return event.Pass(); event 180 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(CreateEvent(MediaLogEvent::VIDEO_SIZE_SET)); event 181 media/base/media_log.cc event->params.SetInteger("width", width); event 182 media/base/media_log.cc event->params.SetInteger("height", height); event 183 media/base/media_log.cc return event.Pass(); event 188 media/base/media_log.cc scoped_ptr<MediaLogEvent> event( event 192 media/base/media_log.cc event->params.SetDouble("buffer_start", start); event 193 media/base/media_log.cc event->params.SetDouble("buffer_current", current); event 194 media/base/media_log.cc event->params.SetDouble("buffer_end", end); event 195 media/base/media_log.cc return event.Pass(); event 200 media/base/media_log.cc scoped_ptr<MediaLogEvent> event( event 202 media/base/media_log.cc event->params.SetString("error", error); event 203 media/base/media_log.cc return event.Pass(); event 208 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(CreateEvent(MediaLogEvent::PROPERTY_CHANGE)); event 209 media/base/media_log.cc event->params.SetString(key, value); event 210 media/base/media_log.cc AddEvent(event.Pass()); event 215 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(CreateEvent(MediaLogEvent::PROPERTY_CHANGE)); event 216 media/base/media_log.cc event->params.SetInteger(key, value); event 217 media/base/media_log.cc AddEvent(event.Pass()); event 222 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(CreateEvent(MediaLogEvent::PROPERTY_CHANGE)); event 223 media/base/media_log.cc event->params.SetDouble(key, value); event 224 media/base/media_log.cc AddEvent(event.Pass()); event 229 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(CreateEvent(MediaLogEvent::PROPERTY_CHANGE)); event 230 media/base/media_log.cc event->params.SetBoolean(key, value); event 231 media/base/media_log.cc AddEvent(event.Pass()); event 236 media/base/media_log.cc scoped_ptr<MediaLogEvent> event(CreateEvent(MediaLogEvent::PROPERTY_CHANGE)); event 238 media/base/media_log.cc event->params.SetString(key, "unknown"); event 240 media/base/media_log.cc event->params.SetDouble(key, value.InSecondsF()); event 241 media/base/media_log.cc AddEvent(event.Pass()); event 49 media/base/media_log.h virtual void AddEvent(scoped_ptr<MediaLogEvent> event); event 16 media/base/media_log_event.h MediaLogEvent(const MediaLogEvent& event) { event 17 media/base/media_log_event.h *this = event; event 20 media/base/media_log_event.h MediaLogEvent& operator=(const MediaLogEvent& event) { event 21 media/base/media_log_event.h id = event.id; event 22 media/base/media_log_event.h type = event.type; event 23 media/base/media_log_event.h scoped_ptr<base::DictionaryValue> event_copy(event.params.DeepCopy()); event 25 media/base/media_log_event.h time = event.time; event 66 media/base/user_input_monitor_linux.cc void ProcessXEvent(xEvent* event); event 279 media/base/user_input_monitor_linux.cc XEvent event; event 282 media/base/user_input_monitor_linux.cc XNextEvent(x_record_display_, &event); event 290 media/base/user_input_monitor_linux.cc void UserInputMonitorLinuxCore::ProcessXEvent(xEvent* event) { event 292 media/base/user_input_monitor_linux.cc if (event->u.u.type == MotionNotify) { event 293 media/base/user_input_monitor_linux.cc SkIPoint position(SkIPoint::Make(event->u.keyButtonPointer.rootX, event 294 media/base/user_input_monitor_linux.cc event->u.keyButtonPointer.rootY)); event 299 media/base/user_input_monitor_linux.cc if (event->u.u.type == KeyPress) { event 301 media/base/user_input_monitor_linux.cc } else if (event->u.u.type == KeyRelease) { event 309 media/base/user_input_monitor_linux.cc XkbKeycodeToKeysym(x_control_display_, event->u.u.detail, 0, 0); event 319 media/base/user_input_monitor_linux.cc xEvent* event = reinterpret_cast<xEvent*>(data->data); event 320 media/base/user_input_monitor_linux.cc reinterpret_cast<UserInputMonitorLinuxCore*>(self)->ProcessXEvent(event); event 59 media/base/user_input_monitor_win.cc RAWINPUTDEVICE* GetRawInputDevices(EventBitMask event, DWORD flags); event 214 media/base/user_input_monitor_win.cc ui::EventType event = (input->data.keyboard.Flags & RI_KEY_BREAK) event 219 media/base/user_input_monitor_win.cc counter_.OnKeyboardEvent(event, key_code); event 241 media/base/user_input_monitor_win.cc RAWINPUTDEVICE* UserInputMonitorWinCore::GetRawInputDevices(EventBitMask event, event 246 media/base/user_input_monitor_win.cc if (event == MOUSE_EVENT_MASK) { event 252 media/base/user_input_monitor_win.cc DCHECK_EQ(KEYBOARD_EVENT_MASK, event); event 144 media/cast/logging/encoding_event_subscriber.cc bool EncodingEventSubscriber::ShouldProcessEvent(CastLoggingEvent event) { event 145 media/cast/logging/encoding_event_subscriber.cc return GetEventMediaType(event) == event_media_type_; event 57 media/cast/logging/encoding_event_subscriber.h bool ShouldProcessEvent(CastLoggingEvent event); event 168 media/cast/logging/encoding_event_subscriber_unittest.cc linked_ptr<AggregatedFrameEvent> event = it->second; event 170 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(relative_rtp_timestamp, event->relative_rtp_timestamp()); event 172 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(1, event->event_type_size()); event 173 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(media::cast::proto::VIDEO_FRAME_DECODED, event->event_type(0)); event 174 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(1, event->event_timestamp_ms_size()); event 175 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(InMilliseconds(now), event->event_timestamp_ms(0)); event 177 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(0, event->encoded_frame_size()); event 178 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(0, event->delay_millis()); event 201 media/cast/logging/encoding_event_subscriber_unittest.cc linked_ptr<AggregatedFrameEvent> event = it->second; event 203 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(relative_rtp_timestamp, event->relative_rtp_timestamp()); event 205 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(1, event->event_type_size()); event 206 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(media::cast::proto::AUDIO_PLAYOUT_DELAY, event->event_type(0)); event 207 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(1, event->event_timestamp_ms_size()); event 208 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(InMilliseconds(now), event->event_timestamp_ms(0)); event 210 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(0, event->encoded_frame_size()); event 211 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(100, event->delay_millis()); event 231 media/cast/logging/encoding_event_subscriber_unittest.cc linked_ptr<AggregatedFrameEvent> event = it->second; event 233 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(relative_rtp_timestamp, event->relative_rtp_timestamp()); event 235 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(1, event->event_type_size()); event 236 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(media::cast::proto::VIDEO_FRAME_ENCODED, event->event_type(0)); event 237 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(1, event->event_timestamp_ms_size()); event 238 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(InMilliseconds(now), event->event_timestamp_ms(0)); event 240 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(size, event->encoded_frame_size()); event 241 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(0, event->delay_millis()); event 272 media/cast/logging/encoding_event_subscriber_unittest.cc linked_ptr<AggregatedFrameEvent> event = it->second; event 274 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(relative_rtp_timestamp, event->relative_rtp_timestamp()); event 276 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(2, event->event_type_size()); event 277 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(media::cast::proto::AUDIO_PLAYOUT_DELAY, event->event_type(0)); event 278 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(media::cast::proto::AUDIO_FRAME_DECODED, event->event_type(1)); event 280 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(2, event->event_timestamp_ms_size()); event 281 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(InMilliseconds(now1), event->event_timestamp_ms(0)); event 282 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(InMilliseconds(now3), event->event_timestamp_ms(1)); event 288 media/cast/logging/encoding_event_subscriber_unittest.cc event = it->second; event 290 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(relative_rtp_timestamp, event->relative_rtp_timestamp()); event 292 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(1, event->event_type_size()); event 293 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(media::cast::proto::AUDIO_FRAME_ENCODED, event->event_type(0)); event 295 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(1, event->event_timestamp_ms_size()); event 296 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(InMilliseconds(now2), event->event_timestamp_ms(0)); event 317 media/cast/logging/encoding_event_subscriber_unittest.cc linked_ptr<AggregatedPacketEvent> event = it->second; event 319 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(relative_rtp_timestamp, event->relative_rtp_timestamp()); event 321 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(1, event->base_packet_event_size()); event 322 media/cast/logging/encoding_event_subscriber_unittest.cc const BasePacketEvent& base_event = event->base_packet_event(0); event 366 media/cast/logging/encoding_event_subscriber_unittest.cc linked_ptr<AggregatedPacketEvent> event = it->second; event 368 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(relative_rtp_timestamp, event->relative_rtp_timestamp()); event 370 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(1, event->base_packet_event_size()); event 371 media/cast/logging/encoding_event_subscriber_unittest.cc const BasePacketEvent& base_event = event->base_packet_event(0); event 416 media/cast/logging/encoding_event_subscriber_unittest.cc linked_ptr<AggregatedPacketEvent> event = it->second; event 418 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(relative_rtp_timestamp, event->relative_rtp_timestamp()); event 420 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(2, event->base_packet_event_size()); event 421 media/cast/logging/encoding_event_subscriber_unittest.cc const BasePacketEvent& base_event = event->base_packet_event(0); event 429 media/cast/logging/encoding_event_subscriber_unittest.cc const BasePacketEvent& base_event_2 = event->base_packet_event(1); event 472 media/cast/logging/encoding_event_subscriber_unittest.cc linked_ptr<AggregatedPacketEvent> event = it->second; event 474 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(relative_rtp_timestamp, event->relative_rtp_timestamp()); event 476 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(1, event->base_packet_event_size()); event 477 media/cast/logging/encoding_event_subscriber_unittest.cc const BasePacketEvent& base_event = event->base_packet_event(0); event 489 media/cast/logging/encoding_event_subscriber_unittest.cc event = it->second; event 491 media/cast/logging/encoding_event_subscriber_unittest.cc EXPECT_EQ(relative_rtp_timestamp, event->relative_rtp_timestamp()); event 493 media/cast/logging/encoding_event_subscriber_unittest.cc ASSERT_EQ(1, event->base_packet_event_size()); event 494 media/cast/logging/encoding_event_subscriber_unittest.cc const BasePacketEvent& base_event_2 = event->base_packet_event(0); event 16 media/cast/logging/logging_defines.cc const char* CastLoggingToString(CastLoggingEvent event) { event 17 media/cast/logging/logging_defines.cc switch (event) { event 54 media/cast/logging/logging_defines.cc EventMediaType GetEventMediaType(CastLoggingEvent event) { event 55 media/cast/logging/logging_defines.cc switch (event) { event 63 media/cast/logging/logging_defines.h const char* CastLoggingToString(CastLoggingEvent event); event 68 media/cast/logging/logging_defines.h EventMediaType GetEventMediaType(CastLoggingEvent event); event 22 media/cast/logging/logging_impl.cc CastLoggingEvent event, uint32 rtp_timestamp, event 25 media/cast/logging/logging_impl.cc raw_.InsertFrameEvent(time_of_event, event, rtp_timestamp, frame_id); event 29 media/cast/logging/logging_impl.cc CastLoggingEvent event, event 33 media/cast/logging/logging_impl.cc raw_.InsertFrameEventWithSize(time_of_event, event, rtp_timestamp, frame_id, event 38 media/cast/logging/logging_impl.cc const base::TimeTicks& time_of_event, CastLoggingEvent event, event 41 media/cast/logging/logging_impl.cc raw_.InsertFrameEventWithDelay(time_of_event, event, rtp_timestamp, event 46 media/cast/logging/logging_impl.cc CastLoggingEvent event, event 64 media/cast/logging/logging_impl.cc event, event 73 media/cast/logging/logging_impl.cc CastLoggingEvent event, event 78 media/cast/logging/logging_impl.cc InsertSinglePacketEvent(time_of_event, event, *it); event 83 media/cast/logging/logging_impl.cc CastLoggingEvent event, event 88 media/cast/logging/logging_impl.cc raw_.InsertPacketEvent(time_of_event, event, rtp_timestamp, frame_id, event 93 media/cast/logging/logging_impl.cc CastLoggingEvent event, int value) { event 95 media/cast/logging/logging_impl.cc raw_.InsertGenericEvent(time_of_event, event, value); event 29 media/cast/logging/logging_impl.h CastLoggingEvent event, uint32 rtp_timestamp, event 33 media/cast/logging/logging_impl.h CastLoggingEvent event, uint32 rtp_timestamp, event 37 media/cast/logging/logging_impl.h CastLoggingEvent event, uint32 rtp_timestamp, event 41 media/cast/logging/logging_impl.h CastLoggingEvent event, event 45 media/cast/logging/logging_impl.h CastLoggingEvent event, const PacketList& packets); event 48 media/cast/logging/logging_impl.h CastLoggingEvent event, uint32 rtp_timestamp, event 53 media/cast/logging/logging_impl.h CastLoggingEvent event, int value); event 20 media/cast/logging/logging_raw.cc CastLoggingEvent event, uint32 rtp_timestamp, event 22 media/cast/logging/logging_raw.cc InsertBaseFrameEvent(time_of_event, event, frame_id, rtp_timestamp, event 27 media/cast/logging/logging_raw.cc CastLoggingEvent event, event 30 media/cast/logging/logging_raw.cc InsertBaseFrameEvent(time_of_event, event, frame_id, rtp_timestamp, event 35 media/cast/logging/logging_raw.cc CastLoggingEvent event, event 39 media/cast/logging/logging_raw.cc InsertBaseFrameEvent(time_of_event, event, frame_id, rtp_timestamp, delay, event 44 media/cast/logging/logging_raw.cc CastLoggingEvent event, uint32 frame_id, event 52 media/cast/logging/logging_raw.cc frame_event.type = event; event 62 media/cast/logging/logging_raw.cc CastLoggingEvent event, uint32 rtp_timestamp, event 72 media/cast/logging/logging_raw.cc packet_event.type = event; event 81 media/cast/logging/logging_raw.cc CastLoggingEvent event, int value) { event 83 media/cast/logging/logging_raw.cc generic_event.type = event; event 30 media/cast/logging/logging_raw.h CastLoggingEvent event, uint32 rtp_timestamp, event 37 media/cast/logging/logging_raw.h CastLoggingEvent event, uint32 rtp_timestamp, event 44 media/cast/logging/logging_raw.h CastLoggingEvent event, uint32 rtp_timestamp, event 49 media/cast/logging/logging_raw.h CastLoggingEvent event, uint32 rtp_timestamp, event 56 media/cast/logging/logging_raw.h CastLoggingEvent event, int value); event 71 media/cast/logging/logging_raw.h CastLoggingEvent event, uint32 frame_id, event 16 media/cast/logging/proto/proto_utils.cc media::cast::proto::EventType ToProtoEventType(CastLoggingEvent event) { event 17 media/cast/logging/proto/proto_utils.cc switch (event) { event 16 media/cast/logging/proto/proto_utils.h media::cast::proto::EventType ToProtoEventType(CastLoggingEvent event); event 13 media/cast/rtcp/rtcp_receiver.cc media::cast::CastLoggingEvent TranslateToLogEventFromWireFormat(uint8 event) { event 14 media/cast/rtcp/rtcp_receiver.cc switch (event) { event 38 media/cast/rtcp/rtcp_receiver.cc VLOG(1) << "Unexpected log message received: " << static_cast<int>(event); event 498 media/cast/rtcp/rtcp_receiver.cc TranslateToLogEventFromWireFormat(rtcp_field.cast_receiver_log.event); event 31 media/cast/rtcp/rtcp_sender.cc int ConvertEventTypeToWireFormat(const CastLoggingEvent& event) { event 32 media/cast/rtcp/rtcp_sender.cc switch (event) { event 59 media/cast/rtcp/rtcp_sender.cc const CastLoggingEvent& event, event 69 media/cast/rtcp/rtcp_sender.cc uint16 event_type_4_bits = ConvertEventTypeToWireFormat(event); event 614 media/cast/rtcp/rtcp_utility.cc field_.cast_receiver_log.event = event 154 media/cast/rtcp/rtcp_utility.h uint8 event; event 92 media/cast/test/linux_output_window.cc XEvent event; event 94 media/cast/test/linux_output_window.cc XNextEvent(display_, &event); event 95 media/cast/test/linux_output_window.cc } while (event.type != MapNotify || event.xmap.event != window_); event 48 media/cast/test/utility/in_process_receiver.cc base::WaitableEvent event(false, false); event 50 media/cast/test/utility/in_process_receiver.cc StopOnMainThread(&event); event 56 media/cast/test/utility/in_process_receiver.cc &event)); event 57 media/cast/test/utility/in_process_receiver.cc event.Wait(); event 61 media/cast/test/utility/in_process_receiver.cc void InProcessReceiver::StopOnMainThread(base::WaitableEvent* event) { event 66 media/cast/test/utility/in_process_receiver.cc event->Signal(); event 87 media/cast/test/utility/in_process_receiver.h virtual void StopOnMainThread(base::WaitableEvent* event); event 215 media/cast/transport/pacing/paced_sender.cc CastLoggingEvent event = GetLoggingEvent(is_audio, retransmit); event 217 media/cast/transport/pacing/paced_sender.cc logging_->InsertSinglePacketEvent(clock_->NowTicks(), event, packet); event 35 media/filters/audio_renderer_impl.cc void HistogramRendererEvent(AudioRendererEvent event) { event 37 media/filters/audio_renderer_impl.cc "Media.AudioRendererEvents", event, RENDER_EVENT_MAX + 1); event 102 media/filters/audio_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 103 media/filters/audio_renderer_impl_unittest.cc renderer_->Stop(event.GetClosure()); event 104 media/filters/audio_renderer_impl_unittest.cc event.RunAndWait(); event 152 media/filters/audio_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 153 media/filters/audio_renderer_impl_unittest.cc InitializeRenderer(event.GetPipelineStatusCB()); event 154 media/filters/audio_renderer_impl_unittest.cc event.RunAndWaitForStatus(expected); event 165 media/filters/audio_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 166 media/filters/audio_renderer_impl_unittest.cc InitializeRenderer(event.GetPipelineStatusCB()); event 172 media/filters/audio_renderer_impl_unittest.cc event.RunAndWaitForStatus(PIPELINE_ERROR_ABORT); event 181 media/filters/audio_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 182 media/filters/audio_renderer_impl_unittest.cc InitializeRenderer(event.GetPipelineStatusCB()); event 190 media/filters/audio_renderer_impl_unittest.cc event.RunAndWaitForStatus(PIPELINE_ERROR_ABORT); event 217 media/filters/audio_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 218 media/filters/audio_renderer_impl_unittest.cc renderer_->Preroll(timestamp, event.GetPipelineStatusCB()); event 221 media/filters/audio_renderer_impl_unittest.cc event.RunAndWaitForStatus(PIPELINE_OK); event 229 media/filters/audio_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 230 media/filters/audio_renderer_impl_unittest.cc renderer_->Play(event.GetClosure()); event 232 media/filters/audio_renderer_impl_unittest.cc event.RunAndWait(); event 263 media/filters/audio_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 264 media/filters/audio_renderer_impl_unittest.cc wait_for_pending_decode_cb_ = event.GetClosure(); event 265 media/filters/audio_renderer_impl_unittest.cc event.RunAndWait(); event 732 media/filters/audio_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 733 media/filters/audio_renderer_impl_unittest.cc renderer_->Preroll(TimeDelta(), event.GetPipelineStatusCB()); event 738 media/filters/audio_renderer_impl_unittest.cc event.RunAndWaitForStatus(PIPELINE_OK); event 757 media/filters/audio_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 758 media/filters/audio_renderer_impl_unittest.cc renderer_->Pause(event.GetClosure()); event 762 media/filters/audio_renderer_impl_unittest.cc event.RunAndWait(); event 810 media/filters/audio_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 811 media/filters/audio_renderer_impl_unittest.cc renderer_->Pause(event.GetClosure()); event 815 media/filters/audio_renderer_impl_unittest.cc event.RunAndWait(); event 896 media/filters/audio_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 897 media/filters/audio_renderer_impl_unittest.cc renderer_->Stop(event.GetClosure()); event 898 media/filters/audio_renderer_impl_unittest.cc event.RunAndWait(); event 69 media/filters/ffmpeg_demuxer_unittest.cc WaitableMessageLoopEvent event; event 70 media/filters/ffmpeg_demuxer_unittest.cc demuxer_->Stop(event.GetClosure()); event 71 media/filters/ffmpeg_demuxer_unittest.cc event.RunAndWait(); event 95 media/filters/ffmpeg_demuxer_unittest.cc WaitableMessageLoopEvent event; event 96 media/filters/ffmpeg_demuxer_unittest.cc demuxer_->Initialize(&host_, event.GetPipelineStatusCB(), enable_text); event 97 media/filters/ffmpeg_demuxer_unittest.cc event.RunAndWaitForStatus(PIPELINE_OK); event 201 media/filters/ffmpeg_demuxer_unittest.cc WaitableMessageLoopEvent event; event 202 media/filters/ffmpeg_demuxer_unittest.cc demuxer_->Initialize(&host_, event.GetPipelineStatusCB(), true); event 203 media/filters/ffmpeg_demuxer_unittest.cc event.RunAndWaitForStatus(DEMUXER_ERROR_COULD_NOT_OPEN); event 219 media/filters/ffmpeg_demuxer_unittest.cc WaitableMessageLoopEvent event; event 220 media/filters/ffmpeg_demuxer_unittest.cc demuxer_->Initialize(&host_, event.GetPipelineStatusCB(), true); event 221 media/filters/ffmpeg_demuxer_unittest.cc event.RunAndWaitForStatus(DEMUXER_ERROR_NO_SUPPORTED_STREAMS); event 227 media/filters/ffmpeg_demuxer_unittest.cc WaitableMessageLoopEvent event; event 228 media/filters/ffmpeg_demuxer_unittest.cc demuxer_->Initialize(&host_, event.GetPipelineStatusCB(), true); event 229 media/filters/ffmpeg_demuxer_unittest.cc event.RunAndWaitForStatus(DEMUXER_ERROR_NO_SUPPORTED_STREAMS); event 490 media/filters/ffmpeg_demuxer_unittest.cc WaitableMessageLoopEvent event; event 492 media/filters/ffmpeg_demuxer_unittest.cc event.GetPipelineStatusCB()); event 493 media/filters/ffmpeg_demuxer_unittest.cc event.RunAndWaitForStatus(PIPELINE_OK); event 534 media/filters/ffmpeg_demuxer_unittest.cc WaitableMessageLoopEvent event; event 536 media/filters/ffmpeg_demuxer_unittest.cc event.GetPipelineStatusCB()); event 537 media/filters/ffmpeg_demuxer_unittest.cc event.RunAndWaitForStatus(PIPELINE_OK); event 585 media/filters/ffmpeg_demuxer_unittest.cc WaitableMessageLoopEvent event; event 586 media/filters/ffmpeg_demuxer_unittest.cc demuxer_->Stop(event.GetClosure()); event 587 media/filters/ffmpeg_demuxer_unittest.cc event.RunAndWait(); event 652 media/filters/ffmpeg_demuxer_unittest.cc WaitableMessageLoopEvent event; event 654 media/filters/ffmpeg_demuxer_unittest.cc event.GetPipelineStatusCB()); event 655 media/filters/ffmpeg_demuxer_unittest.cc event.RunAndWaitForStatus(PIPELINE_OK); event 414 media/filters/gpu_video_decoder.cc base::WaitableEvent* event) { event 416 media/filters/gpu_video_decoder.cc event->Signal(); event 424 media/filters/gpu_video_decoder.cc base::WaitableEvent event(true, false); event 431 media/filters/gpu_video_decoder.cc &event))) event 433 media/filters/gpu_video_decoder.cc event.Wait(); event 111 media/filters/video_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 112 media/filters/video_renderer_impl_unittest.cc CallInitialize(event.GetPipelineStatusCB()); event 113 media/filters/video_renderer_impl_unittest.cc event.RunAndWaitForStatus(expected); event 133 media/filters/video_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 134 media/filters/video_renderer_impl_unittest.cc renderer_->Play(event.GetClosure()); event 135 media/filters/video_renderer_impl_unittest.cc event.RunAndWait(); event 140 media/filters/video_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 143 media/filters/video_renderer_impl_unittest.cc event.GetPipelineStatusCB()); event 144 media/filters/video_renderer_impl_unittest.cc event.RunAndWaitForStatus(expected); event 149 media/filters/video_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 150 media/filters/video_renderer_impl_unittest.cc renderer_->Pause(event.GetClosure()); event 151 media/filters/video_renderer_impl_unittest.cc event.RunAndWait(); event 156 media/filters/video_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 157 media/filters/video_renderer_impl_unittest.cc renderer_->Flush(event.GetClosure()); event 158 media/filters/video_renderer_impl_unittest.cc event.RunAndWait(); event 163 media/filters/video_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 164 media/filters/video_renderer_impl_unittest.cc renderer_->Stop(event.GetClosure()); event 165 media/filters/video_renderer_impl_unittest.cc event.RunAndWait(); event 258 media/filters/video_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 259 media/filters/video_renderer_impl_unittest.cc wait_for_pending_read_cb_ = event.GetClosure(); event 260 media/filters/video_renderer_impl_unittest.cc event.RunAndWait(); event 536 media/filters/video_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 538 media/filters/video_renderer_impl_unittest.cc event.GetPipelineStatusCB()); event 546 media/filters/video_renderer_impl_unittest.cc event.RunAndWaitForStatus(PIPELINE_OK); event 564 media/filters/video_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 566 media/filters/video_renderer_impl_unittest.cc event.GetPipelineStatusCB()); event 568 media/filters/video_renderer_impl_unittest.cc event.RunAndWaitForStatus(PIPELINE_OK); event 658 media/filters/video_renderer_impl_unittest.cc WaitableMessageLoopEvent event; event 659 media/filters/video_renderer_impl_unittest.cc renderer_->Stop(event.GetClosure()); event 661 media/filters/video_renderer_impl_unittest.cc event.RunAndWait(); event 108 media/tools/player_x11/player_x11.cc static void SaveStatusAndSignal(base::WaitableEvent* event, event 112 media/tools/player_x11/player_x11.cc event->Signal(); event 158 media/tools/player_x11/player_x11.cc base::WaitableEvent event(true, false); event 163 media/tools/player_x11/player_x11.cc base::Bind(&SaveStatusAndSignal, &event, &status), event 168 media/tools/player_x11/player_x11.cc event.Wait(); event 184 media/video/capture/win/video_capture_device_mf_win.cc void SetSignalOnFlush(base::WaitableEvent* event) { event 185 media/video/capture/win/video_capture_device_mf_win.cc wait_event_ = event; event 239 media/video/capture/win/video_capture_device_mf_win.cc STDMETHOD(OnEvent)(DWORD stream_index, IMFMediaEvent* event) { event 169 mojo/examples/aura_demo/window_tree_host_mojo.cc void WindowTreeHostMojo::OnEvent(const Event& event, event 171 mojo/examples/aura_demo/window_tree_host_mojo.cc switch (event.action()) { event 178 mojo/examples/aura_demo/window_tree_host_mojo.cc gfx::Point location(event.location().x(), event.location().y()); event 179 mojo/examples/aura_demo/window_tree_host_mojo.cc ui::MouseEvent ev(static_cast<ui::EventType>(event.action()), location, event 180 mojo/examples/aura_demo/window_tree_host_mojo.cc location, event.flags(), 0); event 187 mojo/examples/aura_demo/window_tree_host_mojo.cc static_cast<ui::EventType>(event.action()), event 188 mojo/examples/aura_demo/window_tree_host_mojo.cc static_cast<ui::KeyboardCode>(event.key_data().key_code()), event 189 mojo/examples/aura_demo/window_tree_host_mojo.cc event.flags(), event.key_data().is_char()); event 63 mojo/examples/aura_demo/window_tree_host_mojo.h virtual void OnEvent(const Event& event, event 65 mojo/examples/compositor_app/compositor_app.cc virtual void OnEvent(const Event& event, event 84 mojo/examples/launcher/launcher.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE { event 85 mojo/examples/launcher/launcher.cc const ui::EventType type = event->type(); event 90 mojo/examples/launcher/launcher.cc static_cast<ui::TranslatedKeyEvent*>(event)->ConvertToKeyEvent(); event 92 mojo/examples/launcher/launcher.cc if (input_method_->DispatchKeyEvent(*event)) event 93 mojo/examples/launcher/launcher.cc event->StopPropagation(); event 98 mojo/examples/launcher/launcher.cc virtual bool DispatchKeyEventPostIME(const ui::KeyEvent& event) OVERRIDE { event 99 mojo/examples/launcher/launcher.cc ui::TranslatedKeyEvent aura_event(event); event 93 mojo/examples/pepper_container_app/pepper_container_app.cc virtual void OnEvent(const Event& event, event 95 mojo/examples/pepper_container_app/pepper_container_app.cc if (!event.location().is_null()) { event 46 mojo/examples/sample_app/gles2_client_impl.cc void GLES2ClientImpl::HandleInputEvent(const Event& event) { event 47 mojo/examples/sample_app/gles2_client_impl.cc switch (event.action()) { event 51 mojo/examples/sample_app/gles2_client_impl.cc capture_point_.SetPoint(event.location().x(), event.location().y()); event 58 mojo/examples/sample_app/gles2_client_impl.cc int direction = event.location().y() < last_drag_point_.y() || event 59 mojo/examples/sample_app/gles2_client_impl.cc event.location().x() > last_drag_point_.x() ? 1 : -1; event 62 mojo/examples/sample_app/gles2_client_impl.cc CalculateDragDistance(last_drag_point_, event.location())); event 66 mojo/examples/sample_app/gles2_client_impl.cc last_drag_point_.SetPoint(event.location().x(), event.location().y()); event 74 mojo/examples/sample_app/gles2_client_impl.cc CalculateDragDistance(capture_point_, event.location()), event 24 mojo/examples/sample_app/gles2_client_impl.h void HandleInputEvent(const Event& event); event 74 mojo/examples/sample_app/sample_app.cc virtual void OnEvent(const Event& event, event 76 mojo/examples/sample_app/sample_app.cc if (!event.location().is_null()) event 77 mojo/examples/sample_app/sample_app.cc gles2_client_->HandleInputEvent(event); event 85 mojo/examples/view_manager/view_manager.cc virtual void OnEvent(const Event& event, event 87 mojo/examples/view_manager/view_manager.cc if (event.action() == ui::ET_KEY_RELEASED) { event 88 mojo/examples/view_manager/view_manager.cc if (event.key_data().key_code() == ui::VKEY_L && event 89 mojo/examples/view_manager/view_manager.cc (event.flags() & ui::EF_CONTROL_DOWN)) { event 69 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java public boolean onTouchEvent(MotionEvent event) { event 71 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java event.getPointerId(0), event 72 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java event.getAction(), event 73 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java event.getX(), event.getY(), event 74 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java event.getEventTime()); event 84 mojo/services/native_viewport/native_viewport_android.cc ui::TouchEvent event(MotionEventActionToEventType(action), location, event 88 mojo/services/native_viewport/native_viewport_android.cc delegate_->OnEvent(&event); event 22 mojo/services/native_viewport/native_viewport_service.cc bool IsRateLimitedEventType(ui::Event* event) { event 23 mojo/services/native_viewport/native_viewport_service.cc return event->type() == ui::ET_MOUSE_MOVED || event 24 mojo/services/native_viewport/native_viewport_service.cc event->type() == ui::ET_MOUSE_DRAGGED || event 25 mojo/services/native_viewport/native_viewport_service.cc event->type() == ui::ET_TOUCH_MOVED; event 121 mojo/services/native_viewport/native_viewport_service.cc Event::Builder event; event 122 mojo/services/native_viewport/native_viewport_service.cc event.set_action(ui_event->type()); event 123 mojo/services/native_viewport/native_viewport_service.cc event.set_flags(ui_event->flags()); event 124 mojo/services/native_viewport/native_viewport_service.cc event.set_time_stamp(ui_event->time_stamp().ToInternalValue()); event 132 mojo/services/native_viewport/native_viewport_service.cc event.set_location(location.Finish()); event 139 mojo/services/native_viewport/native_viewport_service.cc event.set_touch_data(touch_data.Finish()); event 145 mojo/services/native_viewport/native_viewport_service.cc event.set_key_data(key_data.Finish()); event 148 mojo/services/native_viewport/native_viewport_service.cc client()->OnEvent(event.Finish(), event 106 mojo/services/native_viewport/native_viewport_win.cc ui::MouseEvent event(msg); event 107 mojo/services/native_viewport/native_viewport_win.cc SetMsgHandled(delegate_->OnEvent(&event)); event 112 mojo/services/native_viewport/native_viewport_win.cc ui::KeyEvent event(msg, message == WM_CHAR); event 113 mojo/services/native_viewport/native_viewport_win.cc SetMsgHandled(delegate_->OnEvent(&event)); event 94 mojo/services/native_viewport/native_viewport_x11.cc virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE { event 95 mojo/services/native_viewport/native_viewport_x11.cc switch (event->type) { event 97 mojo/services/native_viewport/native_viewport_x11.cc if (event->xclient.message_type == atom_wm_protocols_) { event 98 mojo/services/native_viewport/native_viewport_x11.cc Atom protocol = static_cast<Atom>(event->xclient.data.l[0]); event 116 mojo/system/dispatcher_unittest.cc ThreadSafetyStressThread(base::WaitableEvent* event, event 120 mojo/system/dispatcher_unittest.cc event_(event), event 227 mojo/system/dispatcher_unittest.cc base::WaitableEvent event(true, false); event 236 mojo/system/dispatcher_unittest.cc threads.push_back(new ThreadSafetyStressThread(&event, d, op)); event 239 mojo/system/dispatcher_unittest.cc event.Signal(); // Kicks off real work on the threads. event 253 mojo/system/dispatcher_unittest.cc base::WaitableEvent event(true, false); event 262 mojo/system/dispatcher_unittest.cc threads.push_back(new ThreadSafetyStressThread(&event, d, op)); event 265 mojo/system/dispatcher_unittest.cc event.Signal(); // Kicks off real work on the threads. event 17 mojo/system/test_utils.cc void PostTaskAndWaitHelper(base::WaitableEvent* event, event 20 mojo/system/test_utils.cc event->Signal(); event 28 mojo/system/test_utils.cc base::WaitableEvent event(false, false); event 30 mojo/system/test_utils.cc base::Bind(&PostTaskAndWaitHelper, &event, task)); event 31 mojo/system/test_utils.cc event.Wait(); event 78 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { event 82 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc if (event.GetType() == PP_INPUTEVENT_TYPE_MOUSEDOWN || event 83 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc event.GetType() == PP_INPUTEVENT_TYPE_MOUSEMOVE) { event 84 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc pp::MouseInputEvent mouse_event(event); event 93 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc if (event.GetType() == PP_INPUTEVENT_TYPE_MOUSEUP) event 143 native_client_sdk/src/examples/api/input_event/input_event.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { event 144 native_client_sdk/src/examples/api/input_event/input_event.cc switch (event.GetType()) { event 158 native_client_sdk/src/examples/api/input_event/input_event.cc pp::MouseInputEvent mouse_event(event); event 168 native_client_sdk/src/examples/api/input_event/input_event.cc << (event.GetType() == PP_INPUTEVENT_TYPE_CONTEXTMENU); event 174 native_client_sdk/src/examples/api/input_event/input_event.cc pp::WheelInputEvent wheel_event(event); event 192 native_client_sdk/src/examples/api/input_event/input_event.cc pp::KeyboardInputEvent key_event(event); event 207 native_client_sdk/src/examples/api/input_event/input_event.cc pp::TouchInputEvent touch_event(event); event 209 native_client_sdk/src/examples/api/input_event/input_event.cc stream << "Touch event:" << TouchKindToString(event.GetType()) event 233 native_client_sdk/src/examples/api/input_event/input_event.cc oss << "Default (unhandled) event, type=" << event.GetType(); event 50 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc bool MouseLockInstance::HandleInputEvent(const pp::InputEvent& event) { event 51 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc switch (event.GetType()) { event 63 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::MouseInputEvent mouse_event(event); event 70 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::KeyboardInputEvent key_event(event); event 45 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h virtual bool HandleInputEvent(const pp::InputEvent& event); event 689 native_client_sdk/src/examples/demo/earth/earth.cc pp::InputEvent event(ps_event->as_resource); event 690 native_client_sdk/src/examples/demo/earth/earth.cc switch (event.GetType()) { event 692 native_client_sdk/src/examples/demo/earth/earth.cc pp::KeyboardInputEvent key(event); event 701 native_client_sdk/src/examples/demo/earth/earth.cc pp::MouseInputEvent mouse = pp::MouseInputEvent(event); event 703 native_client_sdk/src/examples/demo/earth/earth.cc if (event.GetType() == PP_INPUTEVENT_TYPE_MOUSEDOWN) event 711 native_client_sdk/src/examples/demo/earth/earth.cc pp::WheelInputEvent wheel = pp::WheelInputEvent(event); event 720 native_client_sdk/src/examples/demo/earth/earth.cc pp::TouchInputEvent touches = pp::TouchInputEvent(event); event 728 native_client_sdk/src/examples/demo/earth/earth.cc if (event.GetType() == PP_INPUTEVENT_TYPE_TOUCHSTART) event 122 native_client_sdk/src/examples/demo/flock/flock.cc PSEvent* event; event 125 native_client_sdk/src/examples/demo/flock/flock.cc while ((event = PSEventTryAcquire()) != NULL) { event 126 native_client_sdk/src/examples/demo/flock/flock.cc PSContext2DHandleEvent(ctx, event); event 127 native_client_sdk/src/examples/demo/flock/flock.cc PSEventRelease(event); event 135 native_client_sdk/src/examples/demo/flock/flock.cc event = PSEventWaitAcquire(); event 136 native_client_sdk/src/examples/demo/flock/flock.cc if (PSContext2DHandleEvent(ctx, event)) event 138 native_client_sdk/src/examples/demo/flock/flock.cc PSEventRelease(event); event 129 native_client_sdk/src/examples/demo/life/life.c void ProcessTouchEvent(PSEvent* event) { event 130 native_client_sdk/src/examples/demo/life/life.c uint32_t count = g_pTouchInput->GetTouchCount(event->as_resource, event 135 native_client_sdk/src/examples/demo/life/life.c event->as_resource, PP_TOUCHLIST_TYPE_TOUCHES, i); event 151 native_client_sdk/src/examples/demo/life/life.c void ProcessEvent(PSEvent* event) { event 152 native_client_sdk/src/examples/demo/life/life.c switch(event->type) { event 157 native_client_sdk/src/examples/demo/life/life.c g_pView->GetRect(event->as_resource, &rect); event 163 native_client_sdk/src/examples/demo/life/life.c PP_InputEvent_Type type = g_pInputEvent->GetType(event->as_resource); event 165 native_client_sdk/src/examples/demo/life/life.c g_pInputEvent->GetModifiers(event->as_resource); event 171 native_client_sdk/src/examples/demo/life/life.c g_pMouseInput->GetPosition(event->as_resource); event 181 native_client_sdk/src/examples/demo/life/life.c ProcessTouchEvent(event); event 309 native_client_sdk/src/examples/demo/life/life.c PSEvent* event; event 310 native_client_sdk/src/examples/demo/life/life.c while ((event = PSEventTryAcquire()) != NULL) { event 311 native_client_sdk/src/examples/demo/life/life.c ProcessEvent(event); event 312 native_client_sdk/src/examples/demo/life/life.c PSEventRelease(event); event 81 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc PSEvent* event; event 84 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc while ((event = PSEventTryAcquire()) != NULL) { event 85 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc PSContext2DHandleEvent(ctx, event); event 86 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc PSEventRelease(event); event 441 native_client_sdk/src/examples/demo/voronoi/voronoi.cc pp::InputEvent event(ps_event->as_resource); event 442 native_client_sdk/src/examples/demo/voronoi/voronoi.cc switch (event.GetType()) { event 444 native_client_sdk/src/examples/demo/voronoi/voronoi.cc pp::KeyboardInputEvent key = pp::KeyboardInputEvent(event); event 453 native_client_sdk/src/examples/demo/voronoi/voronoi.cc pp::TouchInputEvent touches = pp::TouchInputEvent(event); event 179 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc virtual bool HandleInputEvent(const pp::InputEvent& event); event 732 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc bool Planet::HandleInputEvent(const pp::InputEvent& event) { event 733 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc switch (event.GetType()) { event 735 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::KeyboardInputEvent key(event); event 743 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::MouseInputEvent mouse = pp::MouseInputEvent(event); event 750 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::MouseInputEvent mouse = pp::MouseInputEvent(event); event 764 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::WheelInputEvent wheel = pp::WheelInputEvent(event); event 133 native_client_sdk/src/gonacl_appengine/src/life/life.c void ProcessTouchEvent(PSEvent* event) { event 134 native_client_sdk/src/gonacl_appengine/src/life/life.c uint32_t count = g_pTouchInput->GetTouchCount(event->as_resource, event 139 native_client_sdk/src/gonacl_appengine/src/life/life.c event->as_resource, PP_TOUCHLIST_TYPE_TOUCHES, i); event 155 native_client_sdk/src/gonacl_appengine/src/life/life.c void ProcessEvent(PSEvent* event) { event 156 native_client_sdk/src/gonacl_appengine/src/life/life.c switch(event->type) { event 161 native_client_sdk/src/gonacl_appengine/src/life/life.c g_pView->GetRect(event->as_resource, &rect); event 167 native_client_sdk/src/gonacl_appengine/src/life/life.c PP_InputEvent_Type type = g_pInputEvent->GetType(event->as_resource); event 169 native_client_sdk/src/gonacl_appengine/src/life/life.c g_pInputEvent->GetModifiers(event->as_resource); event 175 native_client_sdk/src/gonacl_appengine/src/life/life.c g_pMouseInput->GetPosition(event->as_resource); event 185 native_client_sdk/src/gonacl_appengine/src/life/life.c ProcessTouchEvent(event); event 308 native_client_sdk/src/gonacl_appengine/src/life/life.c PSEvent* event; event 309 native_client_sdk/src/gonacl_appengine/src/life/life.c while ((event = PSEventTryAcquire()) != NULL) { event 310 native_client_sdk/src/gonacl_appengine/src/life/life.c ProcessEvent(event); event 311 native_client_sdk/src/gonacl_appengine/src/life/life.c PSEventRelease(event); event 420 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc pp::InputEvent event(ps_event->as_resource); event 421 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc switch (event.GetType()) { event 424 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc pp::TouchInputEvent touches = pp::TouchInputEvent(event); event 50 native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.cc int PSContext2DHandleEvent(PSContext2D_t* ctx, PSEvent* event) { event 51 native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.cc switch(event->type) { event 55 native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.cc PSInterfaceView()->GetRect(event->as_resource, &rect); event 53 native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.h int PSContext2DHandleEvent(PSContext2D_t* ctx, PSEvent* event); event 37 native_client_sdk/src/libraries/ppapi_simple/ps_event.cc void PSEventRelease(PSEvent* event) { event 38 native_client_sdk/src/libraries/ppapi_simple/ps_event.cc PSInstance::GetInstance()->ReleaseEvent(event); event 79 native_client_sdk/src/libraries/ppapi_simple/ps_event.h void PSEventRelease(PSEvent* event); event 487 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc pp::Var event(var); event 488 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc if (tty_fd_ >= 0 && event.is_string()) { event 489 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc std::string message = event.AsString(); event 502 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc if (event.is_dictionary()) { event 527 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc PSEvent* event; event 529 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc event = event_queue_.Dequeue(false); event 530 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc if (NULL == event) event 532 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc if (events_enabled_ & event->type) event 535 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc ReleaseEvent(event); event 537 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc return event; event 541 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc PSEvent* event; event 543 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc event = event_queue_.Dequeue(true); event 544 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc if (events_enabled_ & event->type) event 547 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc ReleaseEvent(event); event 549 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc return event; event 552 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc void PSInstance::ReleaseEvent(PSEvent* event) { event 553 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc if (event) { event 554 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc switch(event->type) { event 556 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc PSInterfaceVar()->Release(event->as_var); event 560 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc if (event->as_resource) { event 561 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc PSInterfaceCore()->ReleaseResource(event->as_resource); event 567 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc free(event); event 576 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc bool PSInstance::HandleInputEvent(const pp::InputEvent& event) { event 577 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc PostEvent(PSE_INSTANCE_HANDLEINPUT, event.pp_resource()); event 82 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h void ReleaseEvent(PSEvent* event); event 146 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h virtual bool HandleInputEvent(const pp::InputEvent& event); event 247 native_client_sdk/src/libraries/third_party/pthreads-win32/implement.h HANDLE event; /* Mutex release notification to waiting event 85 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_destroy.c if (!CloseHandle (mx->event)) event 115 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_init.c mx->event = CreateEvent (NULL, PTW32_FALSE, /* manual reset = No */ event 119 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_init.c if (0 == mx->event) event 88 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_lock.c if (WAIT_OBJECT_0 != WaitForSingleObject (mx->event, INFINITE)) event 127 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_lock.c if (WAIT_OBJECT_0 != WaitForSingleObject (mx->event, INFINITE)) event 175 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_lock.c if (WAIT_OBJECT_0 != WaitForSingleObject (mx->event, INFINITE)) event 186 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_lock.c SetEvent(mx->event); event 235 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_lock.c if (WAIT_OBJECT_0 != WaitForSingleObject (mx->event, INFINITE)) event 246 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_lock.c SetEvent(mx->event); event 42 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_timedlock.c ptw32_timed_eventwait (HANDLE event, const struct timespec *abstime) event 69 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_timedlock.c if (event == NULL) event 87 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_timedlock.c status = WaitForSingleObject (event, milliseconds); event 149 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_timedlock.c if (0 != (result = ptw32_timed_eventwait (mx->event, abstime))) event 187 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_timedlock.c if (0 != (result = ptw32_timed_eventwait (mx->event, abstime))) event 231 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_timedlock.c if (0 != (result = ptw32_timed_eventwait (mx->event, abstime))) event 241 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_timedlock.c SetEvent(mx->event); event 293 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_timedlock.c if (0 != (result = ptw32_timed_eventwait (mx->event, abstime))) event 305 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_timedlock.c SetEvent(mx->event); event 78 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_unlock.c if (SetEvent (mx->event) == 0) event 98 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_unlock.c if (SetEvent (mx->event) == 0) event 136 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_unlock.c if (SetEvent (mx->event) == 0) event 155 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_unlock.c if (SetEvent (mx->event) == 0) event 236 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_win32_attach_detach_np.c SetEvent(mx->event); event 84 net/base/keygen_handler_unittest.cc void ConcurrencyTestCallback(base::WaitableEvent* event, event 93 net/base/keygen_handler_unittest.cc event->Signal(); event 306 net/base/net_log.cc const char* NetLog::EventTypeToString(EventType event) { event 307 net/base/net_log.cc switch (event) { event 82 net/dns/dns_session_unittest.cc bool ExpectEvent(const PoolEvent& event); event 160 net/dns/dns_session_unittest.cc PoolEvent event = { PoolEvent::ALLOCATE, server_index }; event 161 net/dns/dns_session_unittest.cc events_.push_back(event); event 165 net/dns/dns_session_unittest.cc PoolEvent event = { PoolEvent::FREE, server_index }; event 166 net/dns/dns_session_unittest.cc events_.push_back(event); event 1272 net/proxy/proxy_config_service_linux.cc inotify_event* event = reinterpret_cast<inotify_event*>(event_ptr); event 1275 net/proxy/proxy_config_service_linux.cc CHECK_LE(event->name + event->len, event_buf + r); event 1276 net/proxy/proxy_config_service_linux.cc if (!strcmp(event->name, "kioslaverc")) event 1279 net/proxy/proxy_config_service_linux.cc event_ptr = event->name + event->len; event 461 net/quic/quic_client_session.cc void QuicClientSession::OnCryptoHandshakeEvent(CryptoHandshakeEvent event) { event 463 net/quic/quic_client_session.cc (!require_confirmation_ || event == HANDSHAKE_CONFIRMED)) { event 470 net/quic/quic_client_session.cc if (event == HANDSHAKE_CONFIRMED) { event 478 net/quic/quic_client_session.cc QuicSession::OnCryptoHandshakeEvent(event); event 130 net/quic/quic_client_session.h virtual void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) OVERRIDE; event 389 net/quic/quic_session.cc void QuicSession::OnCryptoHandshakeEvent(CryptoHandshakeEvent event) { event 390 net/quic/quic_session.cc switch (event) { event 410 net/quic/quic_session.cc LOG(ERROR) << ENDPOINT << "Got unknown handshake event: " << event; event 146 net/quic/quic_session.h virtual void OnCryptoHandshakeEvent(CryptoHandshakeEvent event); event 67 net/quic/test_tools/mock_crypto_client_stream.cc QuicSession::CryptoHandshakeEvent event) { event 69 net/quic/test_tools/mock_crypto_client_stream.cc if (event == QuicSession::HANDSHAKE_CONFIRMED) { event 73 net/quic/test_tools/mock_crypto_client_stream.cc session()->OnCryptoHandshakeEvent(event); event 56 net/quic/test_tools/mock_crypto_client_stream.h void SendOnCryptoHandshakeEvent(QuicSession::CryptoHandshakeEvent event); event 74 net/socket/unix_domain_socket_posix_unittest.cc void Notify(EventType event) { event 76 net/socket/unix_domain_socket_posix_unittest.cc events_.push(event); event 84 net/socket/unix_domain_socket_posix_unittest.cc EventType event = events_.front(); event 86 net/socket/unix_domain_socket_posix_unittest.cc return event; event 136 net/socket/unix_domain_socket_posix_unittest.cc void Notify(EventType event) { event 137 net/socket/unix_domain_socket_posix_unittest.cc event_manager_->Notify(event); event 289 net/socket/unix_domain_socket_posix_unittest.cc EventType event = event_manager_->WaitForEvent(); event 290 net/socket/unix_domain_socket_posix_unittest.cc ASSERT_EQ(EVENT_LISTEN, event); event 295 net/socket/unix_domain_socket_posix_unittest.cc event = event_manager_->WaitForEvent(); event 296 net/socket/unix_domain_socket_posix_unittest.cc ASSERT_EQ(EVENT_AUTH_GRANTED, event); event 297 net/socket/unix_domain_socket_posix_unittest.cc event = event_manager_->WaitForEvent(); event 298 net/socket/unix_domain_socket_posix_unittest.cc ASSERT_EQ(EVENT_ACCEPT, event); event 304 net/socket/unix_domain_socket_posix_unittest.cc event = event_manager_->WaitForEvent(); event 305 net/socket/unix_domain_socket_posix_unittest.cc ASSERT_EQ(EVENT_READ, event); event 310 net/socket/unix_domain_socket_posix_unittest.cc event = event_manager_->WaitForEvent(); event 311 net/socket/unix_domain_socket_posix_unittest.cc ASSERT_EQ(EVENT_CLOSE, event); event 316 net/socket/unix_domain_socket_posix_unittest.cc EventType event = event_manager_->WaitForEvent(); event 317 net/socket/unix_domain_socket_posix_unittest.cc ASSERT_EQ(EVENT_LISTEN, event); event 321 net/socket/unix_domain_socket_posix_unittest.cc event = event_manager_->WaitForEvent(); event 322 net/socket/unix_domain_socket_posix_unittest.cc ASSERT_EQ(EVENT_AUTH_DENIED, event); event 154 net/socket_stream/socket_stream_unittest.cc void DoClose(SocketStreamEvent* event) { event 155 net/socket_stream/socket_stream_unittest.cc event->socket->Close(); event 157 net/socket_stream/socket_stream_unittest.cc void DoRestartWithAuth(SocketStreamEvent* event) { event 160 net/socket_stream/socket_stream_unittest.cc event->socket->RestartWithAuth(credentials_); event 300 net/socket_stream/socket_stream_unittest.cc virtual void DoSendWebSocketHandshake(SocketStreamEvent* event) { event 301 net/socket_stream/socket_stream_unittest.cc event->socket->SendData( event 305 net/socket_stream/socket_stream_unittest.cc virtual void DoCloseFlushPendingWriteTest(SocketStreamEvent* event) { event 312 net/socket_stream/socket_stream_unittest.cc EXPECT_TRUE(event->socket->SendData(&frame[0], frame.size())); event 316 net/socket_stream/socket_stream_unittest.cc event->socket->Close(); event 320 net/socket_stream/socket_stream_unittest.cc SocketStreamEvent* event) { event 321 net/socket_stream/socket_stream_unittest.cc event->socket->DetachContext(); event 328 net/socket_stream/socket_stream_unittest.cc EXPECT_TRUE(event->socket->SendData(&frame[0], frame.size())); event 332 net/socket_stream/socket_stream_unittest.cc event->socket->Close(); event 335 net/socket_stream/socket_stream_unittest.cc virtual void DoFailByTooBigDataAndClose(SocketStreamEvent* event) { event 336 net/socket_stream/socket_stream_unittest.cc std::string frame(event->number + 1, 0x00); event 337 net/socket_stream/socket_stream_unittest.cc VLOG(1) << event->number; event 338 net/socket_stream/socket_stream_unittest.cc EXPECT_FALSE(event->socket->SendData(&frame[0], frame.size())); event 339 net/socket_stream/socket_stream_unittest.cc event->socket->Close(); event 342 net/socket_stream/socket_stream_unittest.cc virtual int DoSwitchToSpdyTest(SocketStreamEvent* event) { event 348 net/socket_stream/socket_stream_unittest.cc virtual int DoIOPending(SocketStreamEvent* event) { event 170 net/spdy/spdy_websocket_stream_unittest.cc void DoSendHelloFrame(SpdyWebSocketStreamEvent* event) { event 176 net/spdy/spdy_websocket_stream_unittest.cc void DoSendClosingFrame(SpdyWebSocketStreamEvent* event) { event 180 net/spdy/spdy_websocket_stream_unittest.cc void DoClose(SpdyWebSocketStreamEvent* event) { event 184 net/spdy/spdy_websocket_stream_unittest.cc void DoSync(SpdyWebSocketStreamEvent* event) { event 454 net/third_party/nss/ssl/sslmutex.c DWORD event; event 476 net/third_party/nss/ssl/sslmutex.c event = WaitForSingleObject(hMutex, INFINITE); event 477 net/third_party/nss/ssl/sslmutex.c switch (event) { event 63 net/tools/epoll_server/epoll_server.cc virtual void OnEvent(int fd, EpollEvent* event) OVERRIDE { event 64 net/tools/epoll_server/epoll_server.cc DCHECK(event->in_events == EPOLLIN); event 699 net/tools/epoll_server/epoll_server.cc EpollEvent event(0, false); event 705 net/tools/epoll_server/epoll_server.cc event.out_ready_mask = 0; event 706 net/tools/epoll_server/epoll_server.cc event.in_events = event 717 net/tools/epoll_server/epoll_server.cc cb_and_mask->cb->OnEvent(cb_and_mask->fd, &event); event 725 net/tools/epoll_server/epoll_server.cc } else if (event.out_ready_mask != 0) { event 726 net/tools/epoll_server/epoll_server.cc cb_and_mask->events_to_fake = event.out_ready_mask; event 92 net/tools/epoll_server/epoll_server.h virtual void OnEvent(int fd, EpollEvent* event) = 0; event 198 net/tools/flip_server/acceptor_thread.cc void SMAcceptorThread::OnEvent(int fd, EpollEvent* event) { event 199 net/tools/flip_server/acceptor_thread.cc if (event->in_events | EPOLLIN) { event 57 net/tools/flip_server/acceptor_thread.h virtual void OnEvent(int fd, EpollEvent* event) OVERRIDE; event 227 net/tools/flip_server/sm_connection.cc void SMConnection::OnEvent(int fd, EpollEvent* event) { event 228 net/tools/flip_server/sm_connection.cc events_ |= event->in_events; event 231 net/tools/flip_server/sm_connection.cc event->out_ready_mask = events_; event 89 net/tools/flip_server/sm_connection.h virtual void OnEvent(int fd, EpollEvent* event) OVERRIDE; event 137 net/tools/quic/end_to_end_test.cc EpollEvent event(EPOLLOUT, false); event 138 net/tools/quic/end_to_end_test.cc client_->OnEvent(client_->fd(), &event); event 218 net/tools/quic/end_to_end_test.cc static EpollEvent event(EPOLLOUT, false); event 259 net/tools/quic/quic_client.cc void QuicClient::OnEvent(int fd, EpollEvent* event) { event 262 net/tools/quic/quic_client.cc if (event->in_events & EPOLLIN) { event 266 net/tools/quic/quic_client.cc if (connected() && (event->in_events & EPOLLOUT)) { event 270 net/tools/quic/quic_client.cc if (event->in_events & EPOLLERR) { event 109 net/tools/quic/quic_client.h virtual void OnEvent(int fd, EpollEvent* event) OVERRIDE; event 199 net/tools/quic/quic_server.cc void QuicServer::OnEvent(int fd, EpollEvent* event) { event 201 net/tools/quic/quic_server.cc event->out_ready_mask = 0; event 203 net/tools/quic/quic_server.cc if (event->in_events & EPOLLIN) { event 212 net/tools/quic/quic_server.cc if (event->in_events & EPOLLOUT) { event 215 net/tools/quic/quic_server.cc event->out_ready_mask |= EPOLLOUT; event 218 net/tools/quic/quic_server.cc if (event->in_events & EPOLLERR) { event 53 net/tools/quic/quic_server.h virtual void OnEvent(int fd, EpollEvent* event) OVERRIDE; event 442 ppapi/c/ppb_input_event.h PP_InputEvent_Type (*GetType)(PP_Resource event); event 457 ppapi/c/ppb_input_event.h PP_TimeTicks (*GetTimeStamp)(PP_Resource event); event 469 ppapi/c/ppb_input_event.h uint32_t (*GetModifiers)(PP_Resource event); event 83 ppapi/c/private/ppb_talk_private.h typedef void (*PP_TalkEventCallback)(void* user_data, PP_TalkEvent event); event 31 ppapi/cpp/dev/ime_input_event_dev.cc IMEInputEvent_Dev::IMEInputEvent_Dev(const InputEvent& event) : InputEvent() { event 35 ppapi/cpp/dev/ime_input_event_dev.cc event.pp_resource())) { event 40 ppapi/cpp/dev/ime_input_event_dev.cc event.pp_resource())) { event 46 ppapi/cpp/dev/ime_input_event_dev.cc Module::Get()->core()->AddRefResource(event.pp_resource()); event 47 ppapi/cpp/dev/ime_input_event_dev.cc PassRefFromConstructor(event.pp_resource()); event 31 ppapi/cpp/dev/ime_input_event_dev.h explicit IMEInputEvent_Dev(const InputEvent& event); event 46 ppapi/cpp/dev/widget_dev.cc bool Widget_Dev::HandleEvent(const InputEvent& event) { event 49 ppapi/cpp/dev/widget_dev.cc pp_resource(), event.pp_resource())); event 52 ppapi/cpp/dev/widget_dev.cc pp_resource(), event.pp_resource())); event 29 ppapi/cpp/dev/widget_dev.h bool HandleEvent(const InputEvent& event); event 89 ppapi/cpp/input_event.cc MouseInputEvent::MouseInputEvent(const InputEvent& event) : InputEvent() { event 94 ppapi/cpp/input_event.cc event.pp_resource())) { event 95 ppapi/cpp/input_event.cc Module::Get()->core()->AddRefResource(event.pp_resource()); event 96 ppapi/cpp/input_event.cc PassRefFromConstructor(event.pp_resource()); event 145 ppapi/cpp/input_event.cc WheelInputEvent::WheelInputEvent(const InputEvent& event) : InputEvent() { event 150 ppapi/cpp/input_event.cc event.pp_resource())) { event 151 ppapi/cpp/input_event.cc Module::Get()->core()->AddRefResource(event.pp_resource()); event 152 ppapi/cpp/input_event.cc PassRefFromConstructor(event.pp_resource()); event 195 ppapi/cpp/input_event.cc KeyboardInputEvent::KeyboardInputEvent(const InputEvent& event) : InputEvent() { event 201 ppapi/cpp/input_event.cc event.pp_resource()); event 205 ppapi/cpp/input_event.cc event.pp_resource()); event 209 ppapi/cpp/input_event.cc Module::Get()->core()->AddRefResource(event.pp_resource()); event 210 ppapi/cpp/input_event.cc PassRefFromConstructor(event.pp_resource()); event 286 ppapi/cpp/input_event.cc TouchInputEvent::TouchInputEvent(const InputEvent& event) : InputEvent() { event 291 ppapi/cpp/input_event.cc event.pp_resource())) { event 292 ppapi/cpp/input_event.cc Module::Get()->core()->AddRefResource(event.pp_resource()); event 293 ppapi/cpp/input_event.cc PassRefFromConstructor(event.pp_resource()); event 344 ppapi/cpp/input_event.cc IMEInputEvent::IMEInputEvent(const InputEvent& event) : InputEvent() { event 347 ppapi/cpp/input_event.cc event.pp_resource())) { event 348 ppapi/cpp/input_event.cc Module::Get()->core()->AddRefResource(event.pp_resource()); event 349 ppapi/cpp/input_event.cc PassRefFromConstructor(event.pp_resource()); event 102 ppapi/cpp/input_event.h explicit MouseInputEvent(const InputEvent& event); event 178 ppapi/cpp/input_event.h explicit WheelInputEvent(const InputEvent& event); event 263 ppapi/cpp/input_event.h explicit KeyboardInputEvent(const InputEvent& event); event 348 ppapi/cpp/input_event.h explicit TouchInputEvent(const InputEvent& event); event 393 ppapi/cpp/input_event.h explicit IMEInputEvent(const InputEvent& event); event 217 ppapi/cpp/instance.h virtual bool HandleInputEvent(const pp::InputEvent& event); event 51 ppapi/examples/2d/paint_manager_example.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { event 52 ppapi/examples/2d/paint_manager_example.cc switch (event.GetType()) { event 54 ppapi/examples/2d/paint_manager_example.cc pp::MouseInputEvent mouse_event(event); event 63 ppapi/examples/2d/paint_manager_example.cc pp::MouseInputEvent mouse_event(event); event 96 ppapi/examples/audio_input/audio_input.cc std::string event = message_data.AsString(); event 97 ppapi/examples/audio_input/audio_input.cc if (event == "PageInitialized") { event 109 ppapi/examples/audio_input/audio_input.cc } else if (event == "UseDefault") { event 111 ppapi/examples/audio_input/audio_input.cc } else if (event == "Stop") { event 113 ppapi/examples/audio_input/audio_input.cc } else if (event == "Start") { event 115 ppapi/examples/audio_input/audio_input.cc } else if (event.find("Monitor:") == 0) { event 116 ppapi/examples/audio_input/audio_input.cc std::string index_str = event.substr(strlen("Monitor:")); event 122 ppapi/examples/audio_input/audio_input.cc } else if (event.find("Enumerate:") == 0) { event 123 ppapi/examples/audio_input/audio_input.cc std::string index_str = event.substr(strlen("Enumerate:")); event 79 ppapi/examples/enumerate_devices/enumerate_devices.cc std::string event = message_data.AsString(); event 80 ppapi/examples/enumerate_devices/enumerate_devices.cc if (event == "EnumerateDevicesAsync") { event 85 ppapi/examples/enumerate_devices/enumerate_devices.cc } else if (event == "EnumerateDevicesSync") { event 24 ppapi/examples/file_chooser/file_chooser.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { event 25 ppapi/examples/file_chooser/file_chooser.cc switch (event.GetType()) { event 27 ppapi/examples/file_chooser/file_chooser.cc pp::MouseInputEvent mouse_event(event); event 59 ppapi/examples/gles2/gles2.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { event 60 ppapi/examples/gles2/gles2.cc if (event.GetType() == PP_INPUTEVENT_TYPE_MOUSEUP) { event 34 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { event 466 ppapi/examples/ime/ime.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { event 468 ppapi/examples/ime/ime.cc switch (event.GetType()) { event 470 ppapi/examples/ime/ime.cc const pp::MouseInputEvent mouseEvent(event); event 475 ppapi/examples/ime/ime.cc const pp::MouseInputEvent mouseEvent(event); event 480 ppapi/examples/ime/ime.cc const pp::MouseInputEvent mouseEvent(event); event 486 ppapi/examples/ime/ime.cc const pp::KeyboardInputEvent keyEvent(event); event 491 ppapi/examples/ime/ime.cc const pp::KeyboardInputEvent keyEvent(event); event 497 ppapi/examples/ime/ime.cc const pp::IMEInputEvent imeEvent(event); event 503 ppapi/examples/ime/ime.cc const pp::IMEInputEvent imeEvent(event); event 509 ppapi/examples/ime/ime.cc const pp::IMEInputEvent imeEvent(event); event 515 ppapi/examples/ime/ime.cc const pp::IMEInputEvent imeEvent(event); event 523 ppapi/examples/ime/ime.cc if (ret && (dragging_ || event.GetType() != PP_INPUTEVENT_TYPE_MOUSEMOVE)) event 51 ppapi/examples/input/pointer_event_input.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { event 52 ppapi/examples/input/pointer_event_input.cc switch (event.GetType()) { event 54 ppapi/examples/input/pointer_event_input.cc pp::MouseInputEvent mouse_event(event); event 63 ppapi/examples/input/pointer_event_input.cc pp::MouseInputEvent mouse_event(event); event 73 ppapi/examples/input/pointer_event_input.cc pp::TouchInputEvent touch(event); event 42 ppapi/examples/mouse_cursor/mouse_cursor.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { event 43 ppapi/examples/mouse_cursor/mouse_cursor.cc switch (event.GetType()) { event 47 ppapi/examples/mouse_cursor/mouse_cursor.cc HandleMove(pp::MouseInputEvent(event)); event 56 ppapi/examples/mouse_cursor/mouse_cursor.cc void HandleMove(const pp::MouseInputEvent& event) { event 57 ppapi/examples/mouse_cursor/mouse_cursor.cc pp::Point point = event.GetPosition(); event 50 ppapi/examples/mouse_lock/mouse_lock.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { event 51 ppapi/examples/mouse_lock/mouse_lock.cc switch (event.GetType()) { event 53 ppapi/examples/mouse_lock/mouse_lock.cc pp::MouseInputEvent mouse_event(event); event 61 ppapi/examples/mouse_lock/mouse_lock.cc pp::MouseInputEvent mouse_event(event); event 70 ppapi/examples/mouse_lock/mouse_lock.cc pp::KeyboardInputEvent key_event(event); event 60 ppapi/examples/scaling/scaling.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { event 61 ppapi/examples/scaling/scaling.cc switch (event.GetType()) { event 63 ppapi/examples/scaling/scaling.cc HandleMouseDown(event); event 94 ppapi/examples/scaling/scaling.cc void HandleMouseDown(const pp::InputEvent& event) { event 95 ppapi/examples/scaling/scaling.cc pp::MouseInputEvent mouse_event(event); event 203 ppapi/examples/video_capture/video_capture.cc std::string event = message_data.AsString(); event 204 ppapi/examples/video_capture/video_capture.cc if (event == "PageInitialized") { event 216 ppapi/examples/video_capture/video_capture.cc } else if (event == "UseDefault") { event 218 ppapi/examples/video_capture/video_capture.cc } else if (event == "Stop") { event 220 ppapi/examples/video_capture/video_capture.cc } else if (event == "Start") { event 222 ppapi/examples/video_capture/video_capture.cc } else if (event.find("Monitor:") == 0) { event 223 ppapi/examples/video_capture/video_capture.cc std::string index_str = event.substr(strlen("Monitor:")); event 229 ppapi/examples/video_capture/video_capture.cc } else if (event.find("Enumerate:") == 0) { event 230 ppapi/examples/video_capture/video_capture.cc std::string index_str = event.substr(strlen("Enumerate:")); event 91 ppapi/proxy/talk_resource.cc PP_TalkEvent event) { event 93 ppapi/proxy/talk_resource.cc event_callback_(event_callback_user_data_, event); event 43 ppapi/proxy/talk_resource.h PP_TalkEvent event); event 27 ppapi/tests/manual/delete_plugin.cc virtual bool HandleInputEvent(const PP_InputEvent& event) { event 28 ppapi/tests/manual/delete_plugin.cc switch (event.type) { event 151 ppapi/tests/test_case.cc bool TestCase::HandleInputEvent(const pp::InputEvent& event) { event 82 ppapi/tests/test_case.h virtual bool HandleInputEvent(const pp::InputEvent& event); event 190 ppapi/tests/test_fullscreen.cc bool TestFullscreen::HandleInputEvent(const pp::InputEvent& event) { event 192 ppapi/tests/test_fullscreen.cc if (event.GetType() != PP_INPUTEVENT_TYPE_MOUSEDOWN && event 193 ppapi/tests/test_fullscreen.cc event.GetType() != PP_INPUTEVENT_TYPE_MOUSEUP) event 30 ppapi/tests/test_fullscreen.h virtual bool HandleInputEvent(const pp::InputEvent& event); event 816 ppapi/tests/test_url_loader.cc NestedEvent event(instance_->pp_instance()); event 817 ppapi/tests/test_url_loader.cc event.PostSignal(10); event 818 ppapi/tests/test_url_loader.cc event.Wait(); event 271 ppapi/tests/test_utils.cc void NestedEvent::SignalThunk(void* event, int32_t /* result */) { event 272 ppapi/tests/test_utils.cc static_cast<NestedEvent*>(event)->SignalOnMainThread(); event 109 ppapi/tests/testing_instance.cc bool TestingInstance::HandleInputEvent(const pp::InputEvent& event) { event 111 ppapi/tests/testing_instance.cc return current_case_->HandleInputEvent(event); event 57 ppapi/tests/testing_instance.h virtual bool HandleInputEvent(const pp::InputEvent& event); event 53 ppapi/thunk/ppb_input_event_thunk.cc PP_InputEvent_Type GetType(PP_Resource event) { event 55 ppapi/thunk/ppb_input_event_thunk.cc EnterInputEvent enter(event, true); event 61 ppapi/thunk/ppb_input_event_thunk.cc PP_TimeTicks GetTimeStamp(PP_Resource event) { event 63 ppapi/thunk/ppb_input_event_thunk.cc EnterInputEvent enter(event, true); event 69 ppapi/thunk/ppb_input_event_thunk.cc uint32_t GetModifiers(PP_Resource event) { event 71 ppapi/thunk/ppb_input_event_thunk.cc EnterInputEvent enter(event, true); event 129 remoting/android/java/src/org/chromium/chromoting/Desktop.java public boolean dispatchKeyEvent(KeyEvent event) { event 141 remoting/android/java/src/org/chromium/chromoting/Desktop.java if (event.getAction() == KeyEvent.ACTION_MULTIPLE) { event 142 remoting/android/java/src/org/chromium/chromoting/Desktop.java JniInterface.sendTextEvent(event.getCharacters()); event 143 remoting/android/java/src/org/chromium/chromoting/Desktop.java return super.dispatchKeyEvent(event); event 146 remoting/android/java/src/org/chromium/chromoting/Desktop.java boolean depressed = event.getAction() == KeyEvent.ACTION_DOWN; event 148 remoting/android/java/src/org/chromium/chromoting/Desktop.java switch (event.getKeyCode()) { event 171 remoting/android/java/src/org/chromium/chromoting/Desktop.java JniInterface.sendKeyEvent(event.getKeyCode(), depressed); event 174 remoting/android/java/src/org/chromium/chromoting/Desktop.java return super.dispatchKeyEvent(event); event 321 remoting/android/java/src/org/chromium/chromoting/DesktopView.java public boolean onTouchEvent(MotionEvent event) { event 322 remoting/android/java/src/org/chromium/chromoting/DesktopView.java return mInputHandler.onTouchEvent(event); event 71 remoting/android/java/src/org/chromium/chromoting/SwipePinchDetector.java public void onTouchEvent(MotionEvent event) { event 72 remoting/android/java/src/org/chromium/chromoting/SwipePinchDetector.java if (event.getPointerCount() != 2) { event 82 remoting/android/java/src/org/chromium/chromoting/SwipePinchDetector.java int action = event.getActionMasked(); event 96 remoting/android/java/src/org/chromium/chromoting/SwipePinchDetector.java float currentX0 = event.getX(0); event 97 remoting/android/java/src/org/chromium/chromoting/SwipePinchDetector.java float currentY0 = event.getY(0); event 98 remoting/android/java/src/org/chromium/chromoting/SwipePinchDetector.java float currentX1 = event.getX(1); event 99 remoting/android/java/src/org/chromium/chromoting/SwipePinchDetector.java float currentY1 = event.getY(1); event 79 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java public boolean onTouchEvent(MotionEvent event) { event 81 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java switch (event.getActionMasked()) { event 86 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java trackDownEvent(event); event 91 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java trackDownEvent(event); event 92 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java mPointerCount = Math.max(mPointerCount, event.getPointerCount()); event 97 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java if (trackMoveEvent(event)) { event 113 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java trackUpEvent(event); event 127 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java private void trackDownEvent(MotionEvent event) { event 129 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java if (event.getActionMasked() == MotionEvent.ACTION_POINTER_DOWN) { event 130 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java pointerIndex = event.getActionIndex(); event 132 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java int pointerId = event.getPointerId(pointerIndex); event 134 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java new PointF(event.getX(pointerIndex), event.getY(pointerIndex))); event 138 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java private void trackUpEvent(MotionEvent event) { event 140 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java if (event.getActionMasked() == MotionEvent.ACTION_POINTER_UP) { event 141 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java pointerIndex = event.getActionIndex(); event 143 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java int pointerId = event.getPointerId(pointerIndex); event 153 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java private boolean trackMoveEvent(MotionEvent event) { event 154 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java int pointerCount = event.getPointerCount(); event 156 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java int pointerId = event.getPointerId(i); event 157 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java float currentX = event.getX(i); event 158 remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java float currentY = event.getY(i); event 26 remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java boolean onTouchEvent(MotionEvent event); event 250 remoting/android/java/src/org/chromium/chromoting/TrackingInputHandler.java public boolean onTouchEvent(MotionEvent event) { event 253 remoting/android/java/src/org/chromium/chromoting/TrackingInputHandler.java boolean handled = mScroller.onTouchEvent(event); event 254 remoting/android/java/src/org/chromium/chromoting/TrackingInputHandler.java handled |= mZoomer.onTouchEvent(event); event 255 remoting/android/java/src/org/chromium/chromoting/TrackingInputHandler.java handled |= mTapDetector.onTouchEvent(event); event 256 remoting/android/java/src/org/chromium/chromoting/TrackingInputHandler.java mSwipePinchDetector.onTouchEvent(event); event 258 remoting/android/java/src/org/chromium/chromoting/TrackingInputHandler.java switch (event.getActionMasked()) { event 256 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { event 40 remoting/android/javatests/src/org/chromium/chromoting/SwipePinchDetectorTest.java MotionEvent event = MotionEvent.obtain(eventTime, eventTime, event 43 remoting/android/javatests/src/org/chromium/chromoting/SwipePinchDetectorTest.java mDetector.onTouchEvent(event); event 51 remoting/android/javatests/src/org/chromium/chromoting/SwipePinchDetectorTest.java event = MotionEvent.obtain(eventTime, eventTime, MotionEvent.ACTION_MOVE, 2, mPointers, event 53 remoting/android/javatests/src/org/chromium/chromoting/SwipePinchDetectorTest.java mDetector.onTouchEvent(event); event 49 remoting/base/auto_thread.cc base::WaitableEvent event; event 52 remoting/base/auto_thread.cc : loop_type(type), event(false, false) {} event 142 remoting/base/auto_thread.cc startup_data.event.Wait(); event 198 remoting/base/auto_thread.cc startup_data_->event.Signal(); event 118 remoting/client/chromoting_client.cc const protocol::ClipboardEvent& event) { event 121 remoting/client/chromoting_client.cc user_interface_->GetClipboardStub()->InjectClipboardEvent(event); event 70 remoting/client/chromoting_client.h const protocol::ClipboardEvent& event) OVERRIDE; event 142 remoting/client/jni/chromoting_jni_instance.cc protocol::MouseEvent event; event 143 remoting/client/jni/chromoting_jni_instance.cc event.set_x(x); event 144 remoting/client/jni/chromoting_jni_instance.cc event.set_y(y); event 145 remoting/client/jni/chromoting_jni_instance.cc event.set_button(button); event 147 remoting/client/jni/chromoting_jni_instance.cc event.set_button_down(button_down); event 149 remoting/client/jni/chromoting_jni_instance.cc connection_->input_stub()->InjectMouseEvent(event); event 161 remoting/client/jni/chromoting_jni_instance.cc protocol::MouseEvent event; event 162 remoting/client/jni/chromoting_jni_instance.cc event.set_wheel_delta_x(delta_x); event 163 remoting/client/jni/chromoting_jni_instance.cc event.set_wheel_delta_y(delta_y); event 164 remoting/client/jni/chromoting_jni_instance.cc connection_->input_stub()->InjectMouseEvent(event); event 177 remoting/client/jni/chromoting_jni_instance.cc protocol::KeyEvent event; event 178 remoting/client/jni/chromoting_jni_instance.cc event.set_usb_keycode(usb_code); event 179 remoting/client/jni/chromoting_jni_instance.cc event.set_pressed(key_down); event 180 remoting/client/jni/chromoting_jni_instance.cc connection_->input_stub()->InjectKeyEvent(event); event 194 remoting/client/jni/chromoting_jni_instance.cc protocol::TextEvent event; event 195 remoting/client/jni/chromoting_jni_instance.cc event.set_text(text); event 196 remoting/client/jni/chromoting_jni_instance.cc connection_->input_stub()->InjectTextEvent(event); event 279 remoting/client/jni/chromoting_jni_instance.cc const protocol::ClipboardEvent& event) { event 101 remoting/client/jni/chromoting_jni_instance.h const protocol::ClipboardEvent& event) OVERRIDE; event 40 remoting/client/key_event_mapper.cc void KeyEventMapper::InjectKeyEvent(const protocol::KeyEvent& event) { event 41 remoting/client/key_event_mapper.cc if (event.has_usb_keycode()) { event 43 remoting/client/key_event_mapper.cc if (!trap_callback.is_null() && event.has_pressed() && event 44 remoting/client/key_event_mapper.cc (trapped_keys.find(event.usb_keycode()) != trapped_keys.end())) { event 45 remoting/client/key_event_mapper.cc trap_callback.Run(event); event 51 remoting/client/key_event_mapper.cc mapped_keys.find(event.usb_keycode()); event 53 remoting/client/key_event_mapper.cc protocol::KeyEvent new_event(event); event 60 remoting/client/key_event_mapper.cc InputFilter::InjectKeyEvent(event); event 42 remoting/client/key_event_mapper.h virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE; event 41 remoting/client/key_event_mapper_unittest.cc KeyEvent event; event 42 remoting/client/key_event_mapper_unittest.cc event.set_usb_keycode(usb_keycode); event 43 remoting/client/key_event_mapper_unittest.cc event.set_pressed(pressed); event 44 remoting/client/key_event_mapper_unittest.cc event.set_lock_states(lock_states); event 46 remoting/client/key_event_mapper_unittest.cc return event; event 106 remoting/client/key_event_mapper_unittest.cc static void HandleTrappedKey(MockInputStub* stub, const KeyEvent& event) { event 107 remoting/client/key_event_mapper_unittest.cc stub->InjectKeyEvent(event); event 367 remoting/client/plugin/chromoting_instance.cc bool ChromotingInstance::HandleInputEvent(const pp::InputEvent& event) { event 373 remoting/client/plugin/chromoting_instance.cc return input_handler_.HandleInputEvent(event); event 514 remoting/client/plugin/chromoting_instance.cc const protocol::ClipboardEvent& event) { event 516 remoting/client/plugin/chromoting_instance.cc data->SetString("mimeType", event.mime_type()); event 517 remoting/client/plugin/chromoting_instance.cc data->SetString("item", event.data()); event 743 remoting/client/plugin/chromoting_instance.cc protocol::KeyEvent event; event 744 remoting/client/plugin/chromoting_instance.cc event.set_usb_keycode(usb_keycode); event 745 remoting/client/plugin/chromoting_instance.cc event.set_pressed(is_pressed); event 749 remoting/client/plugin/chromoting_instance.cc input_tracker_.InjectKeyEvent(event); event 788 remoting/client/plugin/chromoting_instance.cc protocol::ClipboardEvent event; event 789 remoting/client/plugin/chromoting_instance.cc event.set_mime_type(mime_type); event 790 remoting/client/plugin/chromoting_instance.cc event.set_data(item); event 791 remoting/client/plugin/chromoting_instance.cc host_connection_->clipboard_stub()->InjectClipboardEvent(event); event 116 remoting/client/plugin/chromoting_instance.h virtual bool HandleInputEvent(const pp::InputEvent& event) OVERRIDE; event 136 remoting/client/plugin/chromoting_instance.h const protocol::ClipboardEvent& event) OVERRIDE; event 100 remoting/client/plugin/normalizing_input_filter_cros.cc virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE { event 101 remoting/client/plugin/normalizing_input_filter_cros.cc DCHECK(event.has_usb_keycode()); event 102 remoting/client/plugin/normalizing_input_filter_cros.cc DCHECK(event.has_pressed()); event 104 remoting/client/plugin/normalizing_input_filter_cros.cc if (event.pressed()) event 105 remoting/client/plugin/normalizing_input_filter_cros.cc ProcessKeyDown(event); event 107 remoting/client/plugin/normalizing_input_filter_cros.cc ProcessKeyUp(event); event 110 remoting/client/plugin/normalizing_input_filter_cros.cc virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE { event 113 remoting/client/plugin/normalizing_input_filter_cros.cc InputFilter::InjectMouseEvent(event); event 117 remoting/client/plugin/normalizing_input_filter_cros.cc void ProcessKeyDown(const protocol::KeyEvent& event) { event 121 remoting/client/plugin/normalizing_input_filter_cros.cc deferred_keydown_event_.usb_keycode() == event.usb_keycode()) { event 126 remoting/client/plugin/normalizing_input_filter_cros.cc if (modifying_key_ == event.usb_keycode()) { event 127 remoting/client/plugin/normalizing_input_filter_cros.cc InputFilter::InjectKeyEvent(event); event 133 remoting/client/plugin/normalizing_input_filter_cros.cc if (IsOsKey(event.usb_keycode())) { event 134 remoting/client/plugin/normalizing_input_filter_cros.cc deferred_keydown_event_ = event; event 143 remoting/client/plugin/normalizing_input_filter_cros.cc if (IsRewrittenKey(event.usb_keycode())) { event 153 remoting/client/plugin/normalizing_input_filter_cros.cc InputFilter::InjectKeyEvent(event); event 156 remoting/client/plugin/normalizing_input_filter_cros.cc void ProcessKeyUp(const protocol::KeyEvent& event) { event 158 remoting/client/plugin/normalizing_input_filter_cros.cc deferred_keydown_event_.usb_keycode() == event.usb_keycode()) { event 169 remoting/client/plugin/normalizing_input_filter_cros.cc if (modifying_key_ == event.usb_keycode()) event 172 remoting/client/plugin/normalizing_input_filter_cros.cc InputFilter::InjectKeyEvent(event); event 38 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc KeyEvent event; event 39 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc event.set_usb_keycode(keycode); event 40 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc event.set_pressed(pressed); event 41 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc event.set_lock_states(kTestLockStates); event 42 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc return event; event 55 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc MouseEvent event; event 56 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc event.set_x(x); event 57 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc event.set_y(y); event 58 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc return event; event 71 remoting/client/plugin/normalizing_input_filter_mac.cc virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE; event 89 remoting/client/plugin/normalizing_input_filter_mac.cc void NormalizingInputFilterMac::InjectKeyEvent(const protocol::KeyEvent& event) event 91 remoting/client/plugin/normalizing_input_filter_mac.cc DCHECK(event.has_usb_keycode()); event 93 remoting/client/plugin/normalizing_input_filter_mac.cc bool is_special_key = event.usb_keycode() == kUsbLeftControl || event 94 remoting/client/plugin/normalizing_input_filter_mac.cc event.usb_keycode() == kUsbLeftShift || event 95 remoting/client/plugin/normalizing_input_filter_mac.cc event.usb_keycode() == kUsbLeftOption || event 96 remoting/client/plugin/normalizing_input_filter_mac.cc event.usb_keycode() == kUsbRightControl || event 97 remoting/client/plugin/normalizing_input_filter_mac.cc event.usb_keycode() == kUsbRightShift || event 98 remoting/client/plugin/normalizing_input_filter_mac.cc event.usb_keycode() == kUsbRightOption || event 99 remoting/client/plugin/normalizing_input_filter_mac.cc event.usb_keycode() == kUsbTab; event 101 remoting/client/plugin/normalizing_input_filter_mac.cc bool is_cmd_key = event.usb_keycode() == kUsbLeftCmd || event 102 remoting/client/plugin/normalizing_input_filter_mac.cc event.usb_keycode() == kUsbRightCmd; event 104 remoting/client/plugin/normalizing_input_filter_mac.cc if (event.usb_keycode() == kUsbCapsLock) { event 107 remoting/client/plugin/normalizing_input_filter_mac.cc protocol::KeyEvent newEvent(event); event 118 remoting/client/plugin/normalizing_input_filter_mac.cc if (event.pressed()) { event 119 remoting/client/plugin/normalizing_input_filter_mac.cc key_pressed_map_[event.usb_keycode()] = event; event 121 remoting/client/plugin/normalizing_input_filter_mac.cc key_pressed_map_.erase(event.usb_keycode()); event 125 remoting/client/plugin/normalizing_input_filter_mac.cc if (is_cmd_key && !event.pressed()) { event 131 remoting/client/plugin/normalizing_input_filter_mac.cc InputFilter::InjectKeyEvent(event); event 139 remoting/client/plugin/normalizing_input_filter_mac.cc protocol::KeyEvent event = i->second; event 140 remoting/client/plugin/normalizing_input_filter_mac.cc event.set_pressed(false); event 141 remoting/client/plugin/normalizing_input_filter_mac.cc InputFilter::InjectKeyEvent(event); event 37 remoting/client/plugin/normalizing_input_filter_mac_unittest.cc KeyEvent event; event 38 remoting/client/plugin/normalizing_input_filter_mac_unittest.cc event.set_usb_keycode(keycode); event 39 remoting/client/plugin/normalizing_input_filter_mac_unittest.cc event.set_pressed(pressed); event 40 remoting/client/plugin/normalizing_input_filter_mac_unittest.cc event.set_lock_states(kTestLockStates); event 41 remoting/client/plugin/normalizing_input_filter_mac_unittest.cc return event; event 47 remoting/client/plugin/pepper_input_handler.cc bool PepperInputHandler::HandleInputEvent(const pp::InputEvent& event) { event 48 remoting/client/plugin/pepper_input_handler.cc switch (event.GetType()) { event 57 remoting/client/plugin/pepper_input_handler.cc pp::KeyboardInputEvent pp_key_event(event); event 58 remoting/client/plugin/pepper_input_handler.cc uint32_t modifiers = event.GetModifiers(); event 69 remoting/client/plugin/pepper_input_handler.cc key_event.set_pressed(event.GetType() == PP_INPUTEVENT_TYPE_KEYDOWN); event 78 remoting/client/plugin/pepper_input_handler.cc pp::MouseInputEvent pp_mouse_event(event); event 94 remoting/client/plugin/pepper_input_handler.cc bool is_down = (event.GetType() == PP_INPUTEVENT_TYPE_MOUSEDOWN); event 114 remoting/client/plugin/pepper_input_handler.cc pp::MouseInputEvent pp_mouse_event(event); event 131 remoting/client/plugin/pepper_input_handler.cc pp::WheelInputEvent pp_wheel_event(event); event 179 remoting/client/plugin/pepper_input_handler.cc VLOG(0) << "Unhandled input event: " << event.GetType(); event 33 remoting/client/plugin/pepper_input_handler.h bool HandleInputEvent(const pp::InputEvent& event); event 45 remoting/host/client_session_unittest.cc ACTION_P2(InjectClipboardEvent, connection, event) { event 46 remoting/host/client_session_unittest.cc connection->clipboard_stub()->InjectClipboardEvent(event); event 49 remoting/host/client_session_unittest.cc ACTION_P2(InjectKeyEvent, connection, event) { event 50 remoting/host/client_session_unittest.cc connection->input_stub()->InjectKeyEvent(event); event 53 remoting/host/client_session_unittest.cc ACTION_P2(InjectMouseEvent, connection, event) { event 54 remoting/host/client_session_unittest.cc connection->input_stub()->InjectMouseEvent(event); event 57 remoting/host/client_session_unittest.cc ACTION_P2(LocalMouseMoved, client_session, event) { event 59 remoting/host/client_session_unittest.cc webrtc::DesktopVector(event.x(), event.y())); event 32 remoting/host/clipboard.h virtual void InjectClipboardEvent(const protocol::ClipboardEvent& event) = 0; event 108 remoting/host/clipboard_win.cc const protocol::ClipboardEvent& event) OVERRIDE; event 186 remoting/host/clipboard_win.cc const protocol::ClipboardEvent& event) { event 191 remoting/host/clipboard_win.cc if (event.mime_type().compare(kMimeTypeTextUtf8) != 0) event 193 remoting/host/clipboard_win.cc if (!StringIsUtf8(event.data().c_str(), event.data().length())) { event 198 remoting/host/clipboard_win.cc base::string16 text = base::UTF8ToUTF16(ReplaceLfByCrLf(event.data())); event 253 remoting/host/clipboard_win.cc protocol::ClipboardEvent event; event 254 remoting/host/clipboard_win.cc event.set_mime_type(kMimeTypeTextUtf8); event 255 remoting/host/clipboard_win.cc event.set_data(ReplaceCrLfByLf(base::UTF16ToUTF8(text))); event 258 remoting/host/clipboard_win.cc client_clipboard_->InjectClipboardEvent(event); event 29 remoting/host/clipboard_x11.cc const protocol::ClipboardEvent& event) OVERRIDE; event 88 remoting/host/clipboard_x11.cc const protocol::ClipboardEvent& event) { event 89 remoting/host/clipboard_x11.cc x_server_clipboard_.SetClipboard(event.mime_type(), event.data()); event 111 remoting/host/clipboard_x11.cc protocol::ClipboardEvent event; event 112 remoting/host/clipboard_x11.cc event.set_mime_type(mime_type); event 113 remoting/host/clipboard_x11.cc event.set_data(data); event 116 remoting/host/clipboard_x11.cc client_clipboard_->InjectClipboardEvent(event); event 124 remoting/host/clipboard_x11.cc XEvent event; event 125 remoting/host/clipboard_x11.cc XNextEvent(display_, &event); event 126 remoting/host/clipboard_x11.cc x_server_clipboard_.ProcessXEvent(&event); event 51 remoting/host/curtain_mode_linux.cc int opcode, event, error; event 52 remoting/host/curtain_mode_linux.cc if (!XQueryExtension(display, "XInputExtension", &opcode, &event, &error)) { event 63 remoting/host/curtain_mode_mac.cc EventRef event, event 177 remoting/host/curtain_mode_mac.cc EventTypeSpec event; event 178 remoting/host/curtain_mode_mac.cc event.eventClass = kEventClassSystem; event 179 remoting/host/curtain_mode_mac.cc event.eventKind = kEventSystemUserSessionActivated; event 181 remoting/host/curtain_mode_mac.cc NewEventHandlerUPP(SessionActivateHandler), 1, &event, this, event 213 remoting/host/curtain_mode_mac.cc EventRef event, event 189 remoting/host/desktop_resizer_linux.cc XEvent event; event 190 remoting/host/desktop_resizer_linux.cc XNextEvent(display_, &event); event 191 remoting/host/desktop_resizer_linux.cc XRRUpdateConfiguration(&event); event 45 remoting/host/desktop_session_agent.cc const protocol::ClipboardEvent& event) OVERRIDE; event 62 remoting/host/desktop_session_agent.cc const protocol::ClipboardEvent& event) { event 63 remoting/host/desktop_session_agent.cc desktop_session_agent_->InjectClipboardEvent(event); event 337 remoting/host/desktop_session_agent.cc const protocol::ClipboardEvent& event) { event 341 remoting/host/desktop_session_agent.cc if (!event.SerializeToString(&serialized_event)) { event 433 remoting/host/desktop_session_agent.cc protocol::ClipboardEvent event; event 434 remoting/host/desktop_session_agent.cc if (!event.ParseFromString(serialized_event)) { event 441 remoting/host/desktop_session_agent.cc input_injector_->InjectClipboardEvent(event); event 448 remoting/host/desktop_session_agent.cc protocol::KeyEvent event; event 449 remoting/host/desktop_session_agent.cc if (!event.ParseFromString(serialized_event)) { event 456 remoting/host/desktop_session_agent.cc if (!event.has_usb_keycode() || !event.has_pressed()) { event 461 remoting/host/desktop_session_agent.cc remote_input_filter_->InjectKeyEvent(event); event 468 remoting/host/desktop_session_agent.cc protocol::TextEvent event; event 469 remoting/host/desktop_session_agent.cc if (!event.ParseFromString(serialized_event)) { event 476 remoting/host/desktop_session_agent.cc if (!event.has_text()) { event 481 remoting/host/desktop_session_agent.cc remote_input_filter_->InjectTextEvent(event); event 488 remoting/host/desktop_session_agent.cc protocol::MouseEvent event; event 489 remoting/host/desktop_session_agent.cc if (!event.ParseFromString(serialized_event)) { event 496 remoting/host/desktop_session_agent.cc remote_input_filter_->InjectMouseEvent(event); event 87 remoting/host/desktop_session_agent.h void InjectClipboardEvent(const protocol::ClipboardEvent& event); event 330 remoting/host/desktop_session_proxy.cc const protocol::ClipboardEvent& event) { event 334 remoting/host/desktop_session_proxy.cc if (!event.SerializeToString(&serialized_event)) { event 343 remoting/host/desktop_session_proxy.cc void DesktopSessionProxy::InjectKeyEvent(const protocol::KeyEvent& event) { event 347 remoting/host/desktop_session_proxy.cc if (!event.SerializeToString(&serialized_event)) { event 356 remoting/host/desktop_session_proxy.cc void DesktopSessionProxy::InjectTextEvent(const protocol::TextEvent& event) { event 360 remoting/host/desktop_session_proxy.cc if (!event.SerializeToString(&serialized_event)) { event 369 remoting/host/desktop_session_proxy.cc void DesktopSessionProxy::InjectMouseEvent(const protocol::MouseEvent& event) { event 373 remoting/host/desktop_session_proxy.cc if (!event.SerializeToString(&serialized_event)) { event 519 remoting/host/desktop_session_proxy.cc protocol::ClipboardEvent event; event 520 remoting/host/desktop_session_proxy.cc if (!event.ParseFromString(serialized_event)) { event 525 remoting/host/desktop_session_proxy.cc client_clipboard_->InjectClipboardEvent(event); event 113 remoting/host/desktop_session_proxy.h void InjectClipboardEvent(const protocol::ClipboardEvent& event); event 114 remoting/host/desktop_session_proxy.h void InjectKeyEvent(const protocol::KeyEvent& event); event 115 remoting/host/desktop_session_proxy.h void InjectTextEvent(const protocol::TextEvent& event); event 116 remoting/host/desktop_session_proxy.h void InjectMouseEvent(const protocol::MouseEvent& event); event 588 remoting/host/desktop_session_win.cc void DesktopSessionWin::ReportElapsedTime(const std::string& event) { event 601 remoting/host/desktop_session_win.cc event.c_str(), event 104 remoting/host/desktop_session_win.h void ReportElapsedTime(const std::string& event); event 179 remoting/host/disconnect_window_linux.cc GdkEvent* event) { event 188 remoting/host/disconnect_window_linux.cc GdkEventConfigure* event) { event 192 remoting/host/disconnect_window_linux.cc if (event->width == current_width_ && event->height == current_height_) event 195 remoting/host/disconnect_window_linux.cc current_width_ = event->width; event 196 remoting/host/disconnect_window_linux.cc current_height_ = event->height; event 276 remoting/host/disconnect_window_linux.cc GdkEventButton* event) { event 280 remoting/host/disconnect_window_linux.cc event->button, event 281 remoting/host/disconnect_window_linux.cc event->x_root, event 282 remoting/host/disconnect_window_linux.cc event->y_root, event 283 remoting/host/disconnect_window_linux.cc event->time); event 107 remoting/host/host_mock_objects.h void(const protocol::ClipboardEvent& event)); event 108 remoting/host/host_mock_objects.h MOCK_METHOD1(InjectKeyEvent, void(const protocol::KeyEvent& event)); event 109 remoting/host/host_mock_objects.h MOCK_METHOD1(InjectTextEvent, void(const protocol::TextEvent& event)); event 110 remoting/host/host_mock_objects.h MOCK_METHOD1(InjectMouseEvent, void(const protocol::MouseEvent& event)); event 47 remoting/host/input_injector_linux.cc virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE; event 50 remoting/host/input_injector_linux.cc virtual void InjectKeyEvent(const KeyEvent& event) OVERRIDE; event 51 remoting/host/input_injector_linux.cc virtual void InjectTextEvent(const TextEvent& event) OVERRIDE; event 52 remoting/host/input_injector_linux.cc virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE; event 67 remoting/host/input_injector_linux.cc void InjectClipboardEvent(const ClipboardEvent& event); event 70 remoting/host/input_injector_linux.cc void InjectKeyEvent(const KeyEvent& event); event 71 remoting/host/input_injector_linux.cc void InjectTextEvent(const TextEvent& event); event 72 remoting/host/input_injector_linux.cc void InjectMouseEvent(const MouseEvent& event); event 146 remoting/host/input_injector_linux.cc void InputInjectorLinux::InjectClipboardEvent(const ClipboardEvent& event) { event 147 remoting/host/input_injector_linux.cc core_->InjectClipboardEvent(event); event 150 remoting/host/input_injector_linux.cc void InputInjectorLinux::InjectKeyEvent(const KeyEvent& event) { event 151 remoting/host/input_injector_linux.cc core_->InjectKeyEvent(event); event 154 remoting/host/input_injector_linux.cc void InputInjectorLinux::InjectTextEvent(const TextEvent& event) { event 155 remoting/host/input_injector_linux.cc core_->InjectTextEvent(event); event 158 remoting/host/input_injector_linux.cc void InputInjectorLinux::InjectMouseEvent(const MouseEvent& event) { event 159 remoting/host/input_injector_linux.cc core_->InjectMouseEvent(event); event 203 remoting/host/input_injector_linux.cc const ClipboardEvent& event) { event 206 remoting/host/input_injector_linux.cc FROM_HERE, base::Bind(&Core::InjectClipboardEvent, this, event)); event 211 remoting/host/input_injector_linux.cc clipboard_->InjectClipboardEvent(event); event 214 remoting/host/input_injector_linux.cc void InputInjectorLinux::Core::InjectKeyEvent(const KeyEvent& event) { event 216 remoting/host/input_injector_linux.cc if (!event.has_pressed() || !event.has_usb_keycode()) event 221 remoting/host/input_injector_linux.cc base::Bind(&Core::InjectKeyEvent, this, event)); event 226 remoting/host/input_injector_linux.cc int keycode = key_converter->UsbKeycodeToNativeKeycode(event.usb_keycode()); event 228 remoting/host/input_injector_linux.cc VLOG(3) << "Converting USB keycode: " << std::hex << event.usb_keycode() event 235 remoting/host/input_injector_linux.cc if (event.pressed()) { event 259 remoting/host/input_injector_linux.cc XTestFakeKeyEvent(display_, keycode, event.pressed(), CurrentTime); event 263 remoting/host/input_injector_linux.cc void InputInjectorLinux::Core::InjectTextEvent(const TextEvent& event) { event 303 remoting/host/input_injector_linux.cc void InputInjectorLinux::Core::InjectMouseEvent(const MouseEvent& event) { event 306 remoting/host/input_injector_linux.cc base::Bind(&Core::InjectMouseEvent, this, event)); event 310 remoting/host/input_injector_linux.cc if (event.has_delta_x() && event 311 remoting/host/input_injector_linux.cc event.has_delta_y() && event 312 remoting/host/input_injector_linux.cc (event.delta_x() != 0 || event.delta_y() != 0)) { event 314 remoting/host/input_injector_linux.cc VLOG(3) << "Moving mouse by " << event.delta_x() << "," << event.delta_y(); event 316 remoting/host/input_injector_linux.cc event.delta_x(), event.delta_y(), event 319 remoting/host/input_injector_linux.cc } else if (event.has_x() && event.has_y()) { event 325 remoting/host/input_injector_linux.cc webrtc::DesktopVector(event.x(), event.y())); event 326 remoting/host/input_injector_linux.cc if (event.has_button() && event.has_button_down() && !event.button_down()) { event 344 remoting/host/input_injector_linux.cc if (event.has_button() && event.has_button_down()) { event 345 remoting/host/input_injector_linux.cc int button_number = MouseButtonToX11ButtonNumber(event.button()); event 348 remoting/host/input_injector_linux.cc LOG(WARNING) << "Ignoring unknown button type: " << event.button(); event 352 remoting/host/input_injector_linux.cc VLOG(3) << "Button " << event.button() event 354 remoting/host/input_injector_linux.cc << (event.button_down() ? "down " : "up ") event 356 remoting/host/input_injector_linux.cc XTestFakeButtonEvent(display_, button_number, event.button_down(), event 366 remoting/host/input_injector_linux.cc if (event.has_wheel_ticks_y()) { event 367 remoting/host/input_injector_linux.cc ticks_y = event.wheel_ticks_y(); event 368 remoting/host/input_injector_linux.cc } else if (event.has_wheel_delta_y()) { event 369 remoting/host/input_injector_linux.cc wheel_ticks_y_ += event.wheel_delta_y() * kWheelTicksPerPixel; event 379 remoting/host/input_injector_linux.cc if (event.has_wheel_ticks_x()) { event 380 remoting/host/input_injector_linux.cc ticks_x = event.wheel_ticks_x(); event 381 remoting/host/input_injector_linux.cc } else if (event.has_wheel_delta_x()) { event 382 remoting/host/input_injector_linux.cc wheel_ticks_x_ += event.wheel_delta_x() * kWheelTicksPerPixel; event 418 remoting/host/input_injector_linux.cc int opcode, event, error; event 419 remoting/host/input_injector_linux.cc if (!XQueryExtension(display_, "XInputExtension", &opcode, &event, &error)) { event 66 remoting/host/input_injector_mac.cc virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE; event 69 remoting/host/input_injector_mac.cc virtual void InjectKeyEvent(const KeyEvent& event) OVERRIDE; event 70 remoting/host/input_injector_mac.cc virtual void InjectTextEvent(const TextEvent& event) OVERRIDE; event 71 remoting/host/input_injector_mac.cc virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE; event 84 remoting/host/input_injector_mac.cc void InjectClipboardEvent(const ClipboardEvent& event); event 87 remoting/host/input_injector_mac.cc void InjectKeyEvent(const KeyEvent& event); event 88 remoting/host/input_injector_mac.cc void InjectTextEvent(const TextEvent& event); event 89 remoting/host/input_injector_mac.cc void InjectMouseEvent(const MouseEvent& event); event 124 remoting/host/input_injector_mac.cc void InputInjectorMac::InjectClipboardEvent(const ClipboardEvent& event) { event 125 remoting/host/input_injector_mac.cc core_->InjectClipboardEvent(event); event 128 remoting/host/input_injector_mac.cc void InputInjectorMac::InjectKeyEvent(const KeyEvent& event) { event 129 remoting/host/input_injector_mac.cc core_->InjectKeyEvent(event); event 132 remoting/host/input_injector_mac.cc void InputInjectorMac::InjectTextEvent(const TextEvent& event) { event 133 remoting/host/input_injector_mac.cc core_->InjectTextEvent(event); event 136 remoting/host/input_injector_mac.cc void InputInjectorMac::InjectMouseEvent(const MouseEvent& event) { event 137 remoting/host/input_injector_mac.cc core_->InjectMouseEvent(event); event 166 remoting/host/input_injector_mac.cc void InputInjectorMac::Core::InjectClipboardEvent(const ClipboardEvent& event) { event 169 remoting/host/input_injector_mac.cc FROM_HERE, base::Bind(&Core::InjectClipboardEvent, this, event)); event 174 remoting/host/input_injector_mac.cc clipboard_->InjectClipboardEvent(event); event 177 remoting/host/input_injector_mac.cc void InputInjectorMac::Core::InjectKeyEvent(const KeyEvent& event) { event 179 remoting/host/input_injector_mac.cc if (!event.has_pressed() || !event.has_usb_keycode()) event 183 remoting/host/input_injector_mac.cc int keycode = key_converter->UsbKeycodeToNativeKeycode(event.usb_keycode()); event 185 remoting/host/input_injector_mac.cc VLOG(3) << "Converting USB keycode: " << std::hex << event.usb_keycode() event 195 remoting/host/input_injector_mac.cc SetOrClearBit(left_modifiers_, kCGEventFlagMaskCommand, event.pressed()); event 197 remoting/host/input_injector_mac.cc SetOrClearBit(left_modifiers_, kCGEventFlagMaskShift, event.pressed()); event 199 remoting/host/input_injector_mac.cc SetOrClearBit(left_modifiers_, kCGEventFlagMaskControl, event.pressed()); event 201 remoting/host/input_injector_mac.cc SetOrClearBit(left_modifiers_, kCGEventFlagMaskAlternate, event.pressed()); event 203 remoting/host/input_injector_mac.cc SetOrClearBit(right_modifiers_, kCGEventFlagMaskCommand, event.pressed()); event 205 remoting/host/input_injector_mac.cc SetOrClearBit(right_modifiers_, kCGEventFlagMaskShift, event.pressed()); event 207 remoting/host/input_injector_mac.cc SetOrClearBit(right_modifiers_, kCGEventFlagMaskControl, event.pressed()); event 209 remoting/host/input_injector_mac.cc SetOrClearBit(right_modifiers_, kCGEventFlagMaskAlternate, event.pressed()); event 215 remoting/host/input_injector_mac.cc if (event.lock_states() & protocol::KeyEvent::LOCK_STATES_CAPSLOCK) event 218 remoting/host/input_injector_mac.cc CreateAndPostKeyEvent(keycode, event.pressed(), flags, base::string16()); event 221 remoting/host/input_injector_mac.cc void InputInjectorMac::Core::InjectTextEvent(const TextEvent& event) { event 222 remoting/host/input_injector_mac.cc DCHECK(event.has_text()); event 223 remoting/host/input_injector_mac.cc base::string16 text = base::UTF8ToUTF16(event.text()); event 231 remoting/host/input_injector_mac.cc void InputInjectorMac::Core::InjectMouseEvent(const MouseEvent& event) { event 232 remoting/host/input_injector_mac.cc if (event.has_x() && event.has_y()) { event 239 remoting/host/input_injector_mac.cc mouse_pos_.set(event.x(), event.y()); event 267 remoting/host/input_injector_mac.cc if (event.has_button() && event.has_button_down()) { event 268 remoting/host/input_injector_mac.cc if (event.button() >= 1 && event.button() <= 3) { event 269 remoting/host/input_injector_mac.cc VLOG(2) << "Button " << event.button() event 270 remoting/host/input_injector_mac.cc << (event.button_down() ? " down" : " up"); event 271 remoting/host/input_injector_mac.cc int button_change = 1 << (event.button() - 1); event 272 remoting/host/input_injector_mac.cc if (event.button_down()) event 277 remoting/host/input_injector_mac.cc VLOG(1) << "Unknown mouse button: " << event.button(); event 302 remoting/host/input_injector_mac.cc if (event.has_wheel_delta_x() && event.has_wheel_delta_y()) { event 303 remoting/host/input_injector_mac.cc int delta_x = static_cast<int>(event.wheel_delta_x()); event 304 remoting/host/input_injector_mac.cc int delta_y = static_cast<int>(event.wheel_delta_y()); event 305 remoting/host/input_injector_mac.cc base::ScopedCFTypeRef<CGEventRef> event(CGEventCreateScrollWheelEvent( event 307 remoting/host/input_injector_mac.cc if (event) event 308 remoting/host/input_injector_mac.cc CGEventPost(kCGSessionEventTap, event); event 63 remoting/host/input_injector_win.cc virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE; event 66 remoting/host/input_injector_win.cc virtual void InjectKeyEvent(const KeyEvent& event) OVERRIDE; event 67 remoting/host/input_injector_win.cc virtual void InjectTextEvent(const TextEvent& event) OVERRIDE; event 68 remoting/host/input_injector_win.cc virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE; event 82 remoting/host/input_injector_win.cc void InjectClipboardEvent(const ClipboardEvent& event); event 85 remoting/host/input_injector_win.cc void InjectKeyEvent(const KeyEvent& event); event 86 remoting/host/input_injector_win.cc void InjectTextEvent(const TextEvent& event); event 87 remoting/host/input_injector_win.cc void InjectMouseEvent(const MouseEvent& event); event 98 remoting/host/input_injector_win.cc void HandleKey(const KeyEvent& event); event 99 remoting/host/input_injector_win.cc void HandleText(const TextEvent& event); event 100 remoting/host/input_injector_win.cc void HandleMouse(const MouseEvent& event); event 124 remoting/host/input_injector_win.cc void InputInjectorWin::InjectClipboardEvent(const ClipboardEvent& event) { event 125 remoting/host/input_injector_win.cc core_->InjectClipboardEvent(event); event 128 remoting/host/input_injector_win.cc void InputInjectorWin::InjectKeyEvent(const KeyEvent& event) { event 129 remoting/host/input_injector_win.cc core_->InjectKeyEvent(event); event 132 remoting/host/input_injector_win.cc void InputInjectorWin::InjectTextEvent(const TextEvent& event) { event 133 remoting/host/input_injector_win.cc core_->InjectTextEvent(event); event 136 remoting/host/input_injector_win.cc void InputInjectorWin::InjectMouseEvent(const MouseEvent& event) { event 137 remoting/host/input_injector_win.cc core_->InjectMouseEvent(event); event 153 remoting/host/input_injector_win.cc void InputInjectorWin::Core::InjectClipboardEvent(const ClipboardEvent& event) { event 156 remoting/host/input_injector_win.cc FROM_HERE, base::Bind(&Core::InjectClipboardEvent, this, event)); event 161 remoting/host/input_injector_win.cc clipboard_->InjectClipboardEvent(event); event 164 remoting/host/input_injector_win.cc void InputInjectorWin::Core::InjectKeyEvent(const KeyEvent& event) { event 167 remoting/host/input_injector_win.cc base::Bind(&Core::InjectKeyEvent, this, event)); event 171 remoting/host/input_injector_win.cc HandleKey(event); event 174 remoting/host/input_injector_win.cc void InputInjectorWin::Core::InjectTextEvent(const TextEvent& event) { event 177 remoting/host/input_injector_win.cc FROM_HERE, base::Bind(&Core::InjectTextEvent, this, event)); event 181 remoting/host/input_injector_win.cc HandleText(event); event 184 remoting/host/input_injector_win.cc void InputInjectorWin::Core::InjectMouseEvent(const MouseEvent& event) { event 187 remoting/host/input_injector_win.cc FROM_HERE, base::Bind(&Core::InjectMouseEvent, this, event)); event 191 remoting/host/input_injector_win.cc HandleMouse(event); event 217 remoting/host/input_injector_win.cc void InputInjectorWin::Core::HandleKey(const KeyEvent& event) { event 219 remoting/host/input_injector_win.cc DCHECK(event.has_pressed() && event.has_usb_keycode()); event 225 remoting/host/input_injector_win.cc int scancode = key_converter->UsbKeycodeToNativeKeycode(event.usb_keycode()); event 226 remoting/host/input_injector_win.cc VLOG(3) << "Converting USB keycode: " << std::hex << event.usb_keycode() event 233 remoting/host/input_injector_win.cc uint32_t flags = KEYEVENTF_SCANCODE | (event.pressed() ? 0 : KEYEVENTF_KEYUP); event 237 remoting/host/input_injector_win.cc void InputInjectorWin::Core::HandleText(const TextEvent& event) { event 239 remoting/host/input_injector_win.cc DCHECK(event.has_text()); event 241 remoting/host/input_injector_win.cc base::string16 text = base::UTF8ToUTF16(event.text()); event 249 remoting/host/input_injector_win.cc void InputInjectorWin::Core::HandleMouse(const MouseEvent& event) { event 257 remoting/host/input_injector_win.cc if (event.has_delta_x() && event.has_delta_y()) { event 258 remoting/host/input_injector_win.cc input.mi.dx = event.delta_x(); event 259 remoting/host/input_injector_win.cc input.mi.dy = event.delta_y(); event 261 remoting/host/input_injector_win.cc } else if (event.has_x() && event.has_y()) { event 265 remoting/host/input_injector_win.cc int x = std::max(0, std::min(width, event.x())); event 266 remoting/host/input_injector_win.cc int y = std::max(0, std::min(height, event.y())); event 276 remoting/host/input_injector_win.cc if (event.has_wheel_delta_x() && event.has_wheel_delta_y()) { event 277 remoting/host/input_injector_win.cc wheel_delta_x = static_cast<int>(event.wheel_delta_x()); event 278 remoting/host/input_injector_win.cc wheel_delta_y = static_cast<int>(event.wheel_delta_y()); event 292 remoting/host/input_injector_win.cc if (event.has_button() && event.has_button_down()) { event 293 remoting/host/input_injector_win.cc MouseEvent::MouseButton button = event.button(); event 294 remoting/host/input_injector_win.cc bool down = event.button_down(); event 147 remoting/host/ipc_desktop_environment_unittest.cc void ReflectClipboardEvent(const protocol::ClipboardEvent& event); event 360 remoting/host/ipc_desktop_environment_unittest.cc const protocol::ClipboardEvent& event) { event 361 remoting/host/ipc_desktop_environment_unittest.cc clipboard_stub_->InjectClipboardEvent(event); event 520 remoting/host/ipc_desktop_environment_unittest.cc protocol::ClipboardEvent event; event 521 remoting/host/ipc_desktop_environment_unittest.cc event.set_mime_type(kMimeTypeTextUtf8); event 522 remoting/host/ipc_desktop_environment_unittest.cc event.set_data("a"); event 523 remoting/host/ipc_desktop_environment_unittest.cc input_injector_->InjectClipboardEvent(event); event 551 remoting/host/ipc_desktop_environment_unittest.cc protocol::KeyEvent event; event 552 remoting/host/ipc_desktop_environment_unittest.cc event.set_usb_keycode(0x070004); event 553 remoting/host/ipc_desktop_environment_unittest.cc event.set_pressed(true); event 554 remoting/host/ipc_desktop_environment_unittest.cc input_injector_->InjectKeyEvent(event); event 582 remoting/host/ipc_desktop_environment_unittest.cc protocol::TextEvent event; event 583 remoting/host/ipc_desktop_environment_unittest.cc event.set_text("hello"); event 584 remoting/host/ipc_desktop_environment_unittest.cc input_injector_->InjectTextEvent(event); event 612 remoting/host/ipc_desktop_environment_unittest.cc protocol::MouseEvent event; event 613 remoting/host/ipc_desktop_environment_unittest.cc event.set_x(0); event 614 remoting/host/ipc_desktop_environment_unittest.cc event.set_y(0); event 615 remoting/host/ipc_desktop_environment_unittest.cc input_injector_->InjectMouseEvent(event); event 20 remoting/host/ipc_input_injector.cc const protocol::ClipboardEvent& event) { event 21 remoting/host/ipc_input_injector.cc desktop_session_proxy_->InjectClipboardEvent(event); event 24 remoting/host/ipc_input_injector.cc void IpcInputInjector::InjectKeyEvent(const protocol::KeyEvent& event) { event 25 remoting/host/ipc_input_injector.cc desktop_session_proxy_->InjectKeyEvent(event); event 28 remoting/host/ipc_input_injector.cc void IpcInputInjector::InjectTextEvent(const protocol::TextEvent& event) { event 29 remoting/host/ipc_input_injector.cc desktop_session_proxy_->InjectTextEvent(event); event 32 remoting/host/ipc_input_injector.cc void IpcInputInjector::InjectMouseEvent(const protocol::MouseEvent& event) { event 33 remoting/host/ipc_input_injector.cc desktop_session_proxy_->InjectMouseEvent(event); event 26 remoting/host/ipc_input_injector.h const protocol::ClipboardEvent& event) OVERRIDE; event 29 remoting/host/ipc_input_injector.h virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE; event 30 remoting/host/ipc_input_injector.h virtual void InjectTextEvent(const protocol::TextEvent& event) OVERRIDE; event 31 remoting/host/ipc_input_injector.h virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE; event 109 remoting/host/linux/x_server_clipboard.cc void XServerClipboard::ProcessXEvent(XEvent* event) { event 111 remoting/host/linux/x_server_clipboard.cc event->xany.window != clipboard_window_) { event 115 remoting/host/linux/x_server_clipboard.cc switch (event->type) { event 117 remoting/host/linux/x_server_clipboard.cc OnPropertyNotify(event); event 120 remoting/host/linux/x_server_clipboard.cc OnSelectionNotify(event); event 123 remoting/host/linux/x_server_clipboard.cc OnSelectionRequest(event); event 126 remoting/host/linux/x_server_clipboard.cc OnSelectionClear(event); event 132 remoting/host/linux/x_server_clipboard.cc if (event->type == xfixes_event_base_ + XFixesSetSelectionOwnerNotify) { event 134 remoting/host/linux/x_server_clipboard.cc reinterpret_cast<XFixesSelectionNotifyEvent*>(event); event 170 remoting/host/linux/x_server_clipboard.cc void XServerClipboard::OnPropertyNotify(XEvent* event) { event 172 remoting/host/linux/x_server_clipboard.cc event->xproperty.atom == large_selection_property_ && event 173 remoting/host/linux/x_server_clipboard.cc event->xproperty.state == PropertyNewValue) { event 193 remoting/host/linux/x_server_clipboard.cc void XServerClipboard::OnSelectionNotify(XEvent* event) { event 194 remoting/host/linux/x_server_clipboard.cc if (event->xselection.property != None) { event 200 remoting/host/linux/x_server_clipboard.cc event->xselection.property, 0, ~0L, True, event 205 remoting/host/linux/x_server_clipboard.cc large_selection_property_ = event->xselection.property; event 210 remoting/host/linux/x_server_clipboard.cc HandleSelectionNotify(&event->xselection, type, format, item_count, event 217 remoting/host/linux/x_server_clipboard.cc HandleSelectionNotify(&event->xselection, 0, 0, 0, 0); event 220 remoting/host/linux/x_server_clipboard.cc void XServerClipboard::OnSelectionRequest(XEvent* event) { event 223 remoting/host/linux/x_server_clipboard.cc selection_event.display = event->xselectionrequest.display; event 224 remoting/host/linux/x_server_clipboard.cc selection_event.requestor = event->xselectionrequest.requestor; event 225 remoting/host/linux/x_server_clipboard.cc selection_event.selection = event->xselectionrequest.selection; event 226 remoting/host/linux/x_server_clipboard.cc selection_event.time = event->xselectionrequest.time; event 227 remoting/host/linux/x_server_clipboard.cc selection_event.target = event->xselectionrequest.target; event 228 remoting/host/linux/x_server_clipboard.cc if (event->xselectionrequest.property == None) event 229 remoting/host/linux/x_server_clipboard.cc event->xselectionrequest.property = event->xselectionrequest.target; event 233 remoting/host/linux/x_server_clipboard.cc selection_event.property = event->xselectionrequest.property; event 249 remoting/host/linux/x_server_clipboard.cc void XServerClipboard::OnSelectionClear(XEvent* event) { event 250 remoting/host/linux/x_server_clipboard.cc selections_owned_.erase(event->xselectionclear.selection); event 289 remoting/host/linux/x_server_clipboard.cc void XServerClipboard::HandleSelectionNotify(XSelectionEvent* event, event 296 remoting/host/linux/x_server_clipboard.cc if (event->target == targets_atom_) { event 297 remoting/host/linux/x_server_clipboard.cc finished = HandleSelectionTargetsEvent(event, format, item_count, data); event 298 remoting/host/linux/x_server_clipboard.cc } else if (event->target == utf8_string_atom_ || event 299 remoting/host/linux/x_server_clipboard.cc event->target == XA_STRING) { event 300 remoting/host/linux/x_server_clipboard.cc finished = HandleSelectionStringEvent(event, format, item_count, data); event 307 remoting/host/linux/x_server_clipboard.cc bool XServerClipboard::HandleSelectionTargetsEvent(XSelectionEvent* event, event 311 remoting/host/linux/x_server_clipboard.cc if (event->property == targets_atom_) { event 322 remoting/host/linux/x_server_clipboard.cc RequestSelectionString(event->selection, utf8_string_atom_); event 328 remoting/host/linux/x_server_clipboard.cc RequestSelectionString(event->selection, XA_STRING); event 332 remoting/host/linux/x_server_clipboard.cc bool XServerClipboard::HandleSelectionStringEvent(XSelectionEvent* event, event 336 remoting/host/linux/x_server_clipboard.cc if (event->property != selection_string_atom_ || !data || format != 8) event 341 remoting/host/linux/x_server_clipboard.cc if (event->target == XA_STRING || event->target == utf8_string_atom_) event 51 remoting/host/linux/x_server_clipboard.h void ProcessXEvent(XEvent* event); event 56 remoting/host/linux/x_server_clipboard.h void OnPropertyNotify(XEvent* event); event 57 remoting/host/linux/x_server_clipboard.h void OnSelectionNotify(XEvent* event); event 58 remoting/host/linux/x_server_clipboard.h void OnSelectionRequest(XEvent* event); event 59 remoting/host/linux/x_server_clipboard.h void OnSelectionClear(XEvent* event); event 74 remoting/host/linux/x_server_clipboard.h void HandleSelectionNotify(XSelectionEvent* event, event 83 remoting/host/linux/x_server_clipboard.h bool HandleSelectionTargetsEvent(XSelectionEvent* event, event 87 remoting/host/linux/x_server_clipboard.h bool HandleSelectionStringEvent(XSelectionEvent* event, event 47 remoting/host/linux/x_server_clipboard_unittest.cc XEvent event; event 48 remoting/host/linux/x_server_clipboard_unittest.cc XNextEvent(display_, &event); event 49 remoting/host/linux/x_server_clipboard_unittest.cc clipboard_.ProcessXEvent(&event); event 69 remoting/host/local_input_monitor_linux.cc void ProcessXEvent(xEvent* event); event 282 remoting/host/local_input_monitor_linux.cc void LocalInputMonitorLinux::Core::ProcessXEvent(xEvent* event) { event 285 remoting/host/local_input_monitor_linux.cc if (event->u.u.type == MotionNotify) { event 286 remoting/host/local_input_monitor_linux.cc webrtc::DesktopVector position(event->u.keyButtonPointer.rootX, event 287 remoting/host/local_input_monitor_linux.cc event->u.keyButtonPointer.rootY); event 293 remoting/host/local_input_monitor_linux.cc int key_code = event->u.u.detail; event 294 remoting/host/local_input_monitor_linux.cc bool down = event->u.u.type == KeyPress; event 312 remoting/host/local_input_monitor_linux.cc xEvent* event = reinterpret_cast<xEvent*>(data->data); event 313 remoting/host/local_input_monitor_linux.cc reinterpret_cast<Core*>(self)->ProcessXEvent(event); event 522 remoting/host/plugin/host_plugin.cc nppfuncs->event = &HandleEvent; event 72 remoting/host/remote_input_filter.cc void RemoteInputFilter::InjectKeyEvent(const protocol::KeyEvent& event) { event 75 remoting/host/remote_input_filter.cc event_tracker_->InjectKeyEvent(event); event 78 remoting/host/remote_input_filter.cc void RemoteInputFilter::InjectTextEvent(const protocol::TextEvent& event) { event 81 remoting/host/remote_input_filter.cc event_tracker_->InjectTextEvent(event); event 84 remoting/host/remote_input_filter.cc void RemoteInputFilter::InjectMouseEvent(const protocol::MouseEvent& event) { event 87 remoting/host/remote_input_filter.cc if (expect_local_echo_ && event.has_x() && event.has_y()) { event 89 remoting/host/remote_input_filter.cc webrtc::DesktopVector(event.x(), event.y())); event 95 remoting/host/remote_input_filter.cc event_tracker_->InjectMouseEvent(event); event 36 remoting/host/remote_input_filter.h virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE; event 37 remoting/host/remote_input_filter.h virtual void InjectTextEvent(const protocol::TextEvent& event) OVERRIDE; event 38 remoting/host/remote_input_filter.h virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE; event 30 remoting/host/remote_input_filter_unittest.cc protocol::MouseEvent event; event 31 remoting/host/remote_input_filter_unittest.cc event.set_x(x); event 32 remoting/host/remote_input_filter_unittest.cc event.set_y(y); event 33 remoting/host/remote_input_filter_unittest.cc return event; event 37 remoting/host/remote_input_filter_unittest.cc protocol::KeyEvent event; event 38 remoting/host/remote_input_filter_unittest.cc event.set_usb_keycode(usb_keycode); event 39 remoting/host/remote_input_filter_unittest.cc event.set_pressed(pressed); event 40 remoting/host/remote_input_filter_unittest.cc return event; event 148 remoting/host/win/host_service.cc void HostService::OnSessionChange(uint32 event, uint32 session_id) { event 153 remoting/host/win/host_service.cc if (event != WTS_CONSOLE_CONNECT && event != WTS_CONSOLE_DISCONNECT && event 154 remoting/host/win/host_service.cc event != WTS_REMOTE_CONNECT && event != WTS_REMOTE_DISCONNECT) { event 380 remoting/host/win/host_service.cc BOOL WINAPI HostService::ConsoleControlHandler(DWORD event) { event 382 remoting/host/win/host_service.cc switch (event) { event 50 remoting/host/win/host_service.h void OnSessionChange(uint32 event, uint32 session_id); event 77 remoting/host/win/host_service.h static BOOL WINAPI ConsoleControlHandler(DWORD event); event 63 remoting/host/win/session_input_injector.cc const protocol::ClipboardEvent& event) OVERRIDE; event 66 remoting/host/win/session_input_injector.cc virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE; event 67 remoting/host/win/session_input_injector.cc virtual void InjectTextEvent(const protocol::TextEvent& event) OVERRIDE; event 68 remoting/host/win/session_input_injector.cc virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE; event 123 remoting/host/win/session_input_injector.cc const ClipboardEvent& event) { event 126 remoting/host/win/session_input_injector.cc FROM_HERE, base::Bind(&Core::InjectClipboardEvent, this, event)); event 130 remoting/host/win/session_input_injector.cc nested_executor_->InjectClipboardEvent(event); event 133 remoting/host/win/session_input_injector.cc void SessionInputInjectorWin::Core::InjectKeyEvent(const KeyEvent& event) { event 136 remoting/host/win/session_input_injector.cc FROM_HERE, base::Bind(&Core::InjectKeyEvent, this, event)); event 141 remoting/host/win/session_input_injector.cc DCHECK(event.has_pressed()); event 143 remoting/host/win/session_input_injector.cc if (event.has_usb_keycode()) { event 144 remoting/host/win/session_input_injector.cc if (event.pressed()) { event 146 remoting/host/win/session_input_injector.cc if (event.usb_keycode() == kUsbDelete && event 160 remoting/host/win/session_input_injector.cc pressed_keys_.insert(event.usb_keycode()); event 162 remoting/host/win/session_input_injector.cc pressed_keys_.erase(event.usb_keycode()); event 167 remoting/host/win/session_input_injector.cc nested_executor_->InjectKeyEvent(event); event 170 remoting/host/win/session_input_injector.cc void SessionInputInjectorWin::Core::InjectTextEvent(const TextEvent& event) { event 173 remoting/host/win/session_input_injector.cc FROM_HERE, base::Bind(&Core::InjectTextEvent, this, event)); event 178 remoting/host/win/session_input_injector.cc nested_executor_->InjectTextEvent(event); event 181 remoting/host/win/session_input_injector.cc void SessionInputInjectorWin::Core::InjectMouseEvent(const MouseEvent& event) { event 184 remoting/host/win/session_input_injector.cc FROM_HERE, base::Bind(&Core::InjectMouseEvent, this, event)); event 189 remoting/host/win/session_input_injector.cc nested_executor_->InjectMouseEvent(event); event 225 remoting/host/win/session_input_injector.cc const protocol::ClipboardEvent& event) { event 226 remoting/host/win/session_input_injector.cc core_->InjectClipboardEvent(event); event 229 remoting/host/win/session_input_injector.cc void SessionInputInjectorWin::InjectKeyEvent(const protocol::KeyEvent& event) { event 230 remoting/host/win/session_input_injector.cc core_->InjectKeyEvent(event); event 234 remoting/host/win/session_input_injector.cc const protocol::TextEvent& event) { event 235 remoting/host/win/session_input_injector.cc core_->InjectTextEvent(event); event 239 remoting/host/win/session_input_injector.cc const protocol::MouseEvent& event) { event 240 remoting/host/win/session_input_injector.cc core_->InjectMouseEvent(event); event 40 remoting/host/win/session_input_injector.h const protocol::ClipboardEvent& event) OVERRIDE; event 43 remoting/host/win/session_input_injector.h virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE; event 44 remoting/host/win/session_input_injector.h virtual void InjectTextEvent(const protocol::TextEvent& event) OVERRIDE; event 45 remoting/host/win/session_input_injector.h virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE; event 79 remoting/protocol/client_control_dispatcher.cc const ClipboardEvent& event) { event 81 remoting/protocol/client_control_dispatcher.cc message.mutable_clipboard_event()->CopyFrom(event); event 34 remoting/protocol/client_control_dispatcher.h virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE; event 32 remoting/protocol/client_event_dispatcher.cc void ClientEventDispatcher::InjectKeyEvent(const KeyEvent& event) { event 33 remoting/protocol/client_event_dispatcher.cc DCHECK(event.has_usb_keycode()); event 34 remoting/protocol/client_event_dispatcher.cc DCHECK(event.has_pressed()); event 37 remoting/protocol/client_event_dispatcher.cc message.mutable_key_event()->CopyFrom(event); event 41 remoting/protocol/client_event_dispatcher.cc void ClientEventDispatcher::InjectTextEvent(const TextEvent& event) { event 42 remoting/protocol/client_event_dispatcher.cc DCHECK(event.has_text()); event 45 remoting/protocol/client_event_dispatcher.cc message.mutable_text_event()->CopyFrom(event); event 49 remoting/protocol/client_event_dispatcher.cc void ClientEventDispatcher::InjectMouseEvent(const MouseEvent& event) { event 52 remoting/protocol/client_event_dispatcher.cc message.mutable_mouse_event()->CopyFrom(event); event 24 remoting/protocol/client_event_dispatcher.h virtual void InjectKeyEvent(const KeyEvent& event) OVERRIDE; event 25 remoting/protocol/client_event_dispatcher.h virtual void InjectTextEvent(const TextEvent& event) OVERRIDE; event 26 remoting/protocol/client_event_dispatcher.h virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE; event 39 remoting/protocol/clipboard_echo_filter.cc const ClipboardEvent& event) { event 43 remoting/protocol/clipboard_echo_filter.cc if (event.mime_type() == client_latest_mime_type_ && event 44 remoting/protocol/clipboard_echo_filter.cc event.data() == client_latest_data_) { event 47 remoting/protocol/clipboard_echo_filter.cc client_stub_->InjectClipboardEvent(event); event 51 remoting/protocol/clipboard_echo_filter.cc const ClipboardEvent& event) { event 52 remoting/protocol/clipboard_echo_filter.cc client_latest_mime_type_ = event.mime_type(); event 53 remoting/protocol/clipboard_echo_filter.cc client_latest_data_ = event.data(); event 55 remoting/protocol/clipboard_echo_filter.cc host_stub_->InjectClipboardEvent(event); event 64 remoting/protocol/clipboard_echo_filter.cc const ClipboardEvent& event) { event 65 remoting/protocol/clipboard_echo_filter.cc filter_->InjectClipboardEventToClient(event); event 73 remoting/protocol/clipboard_echo_filter.cc const ClipboardEvent& event) { event 74 remoting/protocol/clipboard_echo_filter.cc filter_->InjectClipboardEventToHost(event); event 42 remoting/protocol/clipboard_echo_filter.h virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE; event 51 remoting/protocol/clipboard_echo_filter.h virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE; event 57 remoting/protocol/clipboard_echo_filter.h void InjectClipboardEventToHost(const ClipboardEvent& event); event 58 remoting/protocol/clipboard_echo_filter.h void InjectClipboardEventToClient(const ClipboardEvent& event); event 24 remoting/protocol/clipboard_echo_filter_unittest.cc ClipboardEvent event; event 25 remoting/protocol/clipboard_echo_filter_unittest.cc event.set_mime_type(mime_type); event 26 remoting/protocol/clipboard_echo_filter_unittest.cc event.set_data(data); event 27 remoting/protocol/clipboard_echo_filter_unittest.cc return event; event 80 remoting/protocol/clipboard_echo_filter_unittest.cc ClipboardEvent event = MakeClipboardEvent("text", "a"); event 81 remoting/protocol/clipboard_echo_filter_unittest.cc filter.host_filter()->InjectClipboardEvent(event); event 84 remoting/protocol/clipboard_echo_filter_unittest.cc filter.host_filter()->InjectClipboardEvent(event); event 87 remoting/protocol/clipboard_echo_filter_unittest.cc filter.host_filter()->InjectClipboardEvent(event); event 100 remoting/protocol/clipboard_echo_filter_unittest.cc ClipboardEvent event = MakeClipboardEvent("text", "a"); event 101 remoting/protocol/clipboard_echo_filter_unittest.cc filter.client_filter()->InjectClipboardEvent(event); event 104 remoting/protocol/clipboard_echo_filter_unittest.cc filter.client_filter()->InjectClipboardEvent(event); event 107 remoting/protocol/clipboard_echo_filter_unittest.cc filter.client_filter()->InjectClipboardEvent(event); event 25 remoting/protocol/clipboard_filter.cc void ClipboardFilter::InjectClipboardEvent(const ClipboardEvent& event) { event 27 remoting/protocol/clipboard_filter.cc clipboard_stub_->InjectClipboardEvent(event); event 32 remoting/protocol/clipboard_filter.h virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE; event 23 remoting/protocol/clipboard_filter_unittest.cc ClipboardEvent event; event 24 remoting/protocol/clipboard_filter_unittest.cc event.set_mime_type(mime_type); event 25 remoting/protocol/clipboard_filter_unittest.cc event.set_data(data); event 26 remoting/protocol/clipboard_filter_unittest.cc return event; event 25 remoting/protocol/clipboard_stub.h virtual void InjectClipboardEvent(const ClipboardEvent& event) = 0; event 24 remoting/protocol/clipboard_thread_proxy.cc void ClipboardThreadProxy::InjectClipboardEvent(const ClipboardEvent& event) { event 28 remoting/protocol/clipboard_thread_proxy.cc event)); event 33 remoting/protocol/clipboard_thread_proxy.cc const ClipboardEvent& event) { event 35 remoting/protocol/clipboard_thread_proxy.cc clipboard_stub->InjectClipboardEvent(event); event 33 remoting/protocol/clipboard_thread_proxy.h virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE; event 40 remoting/protocol/clipboard_thread_proxy.h const ClipboardEvent& event); event 57 remoting/protocol/host_control_dispatcher.cc void HostControlDispatcher::InjectClipboardEvent(const ClipboardEvent& event) { event 59 remoting/protocol/host_control_dispatcher.cc message.mutable_clipboard_event()->CopyFrom(event); event 44 remoting/protocol/host_control_dispatcher.h virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE; event 40 remoting/protocol/host_event_dispatcher.cc const KeyEvent& event = message->key_event(); event 41 remoting/protocol/host_event_dispatcher.cc if (event.has_usb_keycode() && event.has_pressed()) { event 42 remoting/protocol/host_event_dispatcher.cc input_stub_->InjectKeyEvent(event); event 47 remoting/protocol/host_event_dispatcher.cc const TextEvent& event = message->text_event(); event 48 remoting/protocol/host_event_dispatcher.cc if (event.has_text()) { event 49 remoting/protocol/host_event_dispatcher.cc input_stub_->InjectTextEvent(event); event 31 remoting/protocol/input_event_tracker.cc KeyEvent event; event 32 remoting/protocol/input_event_tracker.cc event.set_pressed(false); event 33 remoting/protocol/input_event_tracker.cc event.set_usb_keycode(*i); event 34 remoting/protocol/input_event_tracker.cc input_stub_->InjectKeyEvent(event); event 56 remoting/protocol/input_event_tracker.cc void InputEventTracker::InjectKeyEvent(const KeyEvent& event) { event 61 remoting/protocol/input_event_tracker.cc if (event.has_pressed()) { event 62 remoting/protocol/input_event_tracker.cc if (event.has_usb_keycode()) { event 63 remoting/protocol/input_event_tracker.cc if (event.pressed()) { event 64 remoting/protocol/input_event_tracker.cc pressed_keys_.insert(event.usb_keycode()); event 66 remoting/protocol/input_event_tracker.cc pressed_keys_.erase(event.usb_keycode()); event 70 remoting/protocol/input_event_tracker.cc input_stub_->InjectKeyEvent(event); event 73 remoting/protocol/input_event_tracker.cc void InputEventTracker::InjectTextEvent(const TextEvent& event) { event 74 remoting/protocol/input_event_tracker.cc input_stub_->InjectTextEvent(event); event 77 remoting/protocol/input_event_tracker.cc void InputEventTracker::InjectMouseEvent(const MouseEvent& event) { event 78 remoting/protocol/input_event_tracker.cc if (event.has_x() && event.has_y()) { event 79 remoting/protocol/input_event_tracker.cc mouse_pos_ = webrtc::DesktopVector(event.x(), event.y()); event 81 remoting/protocol/input_event_tracker.cc if (event.has_button() && event.has_button_down()) { event 83 remoting/protocol/input_event_tracker.cc if (event.button() >= 1 && event.button() < MouseEvent::BUTTON_MAX) { event 84 remoting/protocol/input_event_tracker.cc uint32 button_change = 1 << (event.button() - 1); event 85 remoting/protocol/input_event_tracker.cc if (event.button_down()) { event 92 remoting/protocol/input_event_tracker.cc input_stub_->InjectMouseEvent(event); event 37 remoting/protocol/input_event_tracker.h virtual void InjectKeyEvent(const KeyEvent& event) OVERRIDE; event 38 remoting/protocol/input_event_tracker.h virtual void InjectTextEvent(const TextEvent& event) OVERRIDE; event 39 remoting/protocol/input_event_tracker.h virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE; event 49 remoting/protocol/input_event_tracker_unittest.cc KeyEvent event; event 50 remoting/protocol/input_event_tracker_unittest.cc event.set_usb_keycode(usb_keycode); event 51 remoting/protocol/input_event_tracker_unittest.cc event.set_pressed(pressed); event 53 remoting/protocol/input_event_tracker_unittest.cc event.set_lock_states(kTestLockStates); event 54 remoting/protocol/input_event_tracker_unittest.cc return event; event 65 remoting/protocol/input_event_tracker_unittest.cc MouseEvent event; event 66 remoting/protocol/input_event_tracker_unittest.cc event.set_x(x); event 67 remoting/protocol/input_event_tracker_unittest.cc event.set_y(y); event 68 remoting/protocol/input_event_tracker_unittest.cc event.set_button(button); event 69 remoting/protocol/input_event_tracker_unittest.cc event.set_button_down(down); event 70 remoting/protocol/input_event_tracker_unittest.cc return event; event 20 remoting/protocol/input_filter.cc void InputFilter::InjectKeyEvent(const KeyEvent& event) { event 22 remoting/protocol/input_filter.cc input_stub_->InjectKeyEvent(event); event 25 remoting/protocol/input_filter.cc void InputFilter::InjectTextEvent(const TextEvent& event) { event 27 remoting/protocol/input_filter.cc input_stub_->InjectTextEvent(event); event 30 remoting/protocol/input_filter.cc void InputFilter::InjectMouseEvent(const MouseEvent& event) { event 32 remoting/protocol/input_filter.cc input_stub_->InjectMouseEvent(event); event 38 remoting/protocol/input_filter.h virtual void InjectKeyEvent(const KeyEvent& event) OVERRIDE; event 39 remoting/protocol/input_filter.h virtual void InjectTextEvent(const TextEvent& event) OVERRIDE; event 40 remoting/protocol/input_filter.h virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE; event 31 remoting/protocol/input_filter_unittest.cc KeyEvent event; event 32 remoting/protocol/input_filter_unittest.cc event.set_usb_keycode(usb_keycode); event 33 remoting/protocol/input_filter_unittest.cc event.set_pressed(pressed); event 34 remoting/protocol/input_filter_unittest.cc return event; event 38 remoting/protocol/input_filter_unittest.cc TextEvent event; event 39 remoting/protocol/input_filter_unittest.cc event.set_text(text); event 40 remoting/protocol/input_filter_unittest.cc return event; event 44 remoting/protocol/input_filter_unittest.cc MouseEvent event; event 45 remoting/protocol/input_filter_unittest.cc event.set_x(x); event 46 remoting/protocol/input_filter_unittest.cc event.set_y(y); event 47 remoting/protocol/input_filter_unittest.cc return event; event 27 remoting/protocol/input_stub.h virtual void InjectKeyEvent(const KeyEvent& event) = 0; event 28 remoting/protocol/input_stub.h virtual void InjectTextEvent(const TextEvent& event) = 0; event 29 remoting/protocol/input_stub.h virtual void InjectMouseEvent(const MouseEvent& event) = 0; event 79 remoting/protocol/message_decoder_unittest.cc EventMessage* event = new EventMessage(); event 81 remoting/protocol/message_decoder_unittest.cc ASSERT_TRUE(event->ParseFromZeroCopyStream(&stream)); event 82 remoting/protocol/message_decoder_unittest.cc message_list.push_back(event); event 22 remoting/protocol/mouse_input_filter.cc void MouseInputFilter::InjectMouseEvent(const MouseEvent& event) { event 30 remoting/protocol/mouse_input_filter.cc MouseEvent out_event(event); event 31 remoting/protocol/mouse_input_filter.h virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE; event 24 remoting/protocol/mouse_input_filter_unittest.cc MouseEvent event; event 25 remoting/protocol/mouse_input_filter_unittest.cc event.set_x(x); event 26 remoting/protocol/mouse_input_filter_unittest.cc event.set_y(y); event 27 remoting/protocol/mouse_input_filter_unittest.cc return event; event 75 remoting/protocol/protocol_mock_objects.h MOCK_METHOD1(InjectClipboardEvent, void(const ClipboardEvent& event)); event 98 remoting/protocol/protocol_mock_objects.h MOCK_METHOD1(InjectKeyEvent, void(const KeyEvent& event)); event 99 remoting/protocol/protocol_mock_objects.h MOCK_METHOD1(InjectTextEvent, void(const TextEvent& event)); event 100 remoting/protocol/protocol_mock_objects.h MOCK_METHOD1(InjectMouseEvent, void(const MouseEvent& event)); event 136 remoting/protocol/protocol_mock_objects.h MOCK_METHOD1(InjectClipboardEvent, void(const ClipboardEvent& event)); event 156 rlz/chromeos/lib/rlz_value_store_chromeos.cc std::string event; event 157 rlz/chromeos/lib/rlz_value_store_chromeos.cc if (events_list->GetString(i, &event)) event 158 rlz/chromeos/lib/rlz_value_store_chromeos.cc events->push_back(event); event 156 rlz/lib/lib_values.cc const char* GetEventName(Event event) { event 157 rlz/lib/lib_values.cc switch (event) { event 172 rlz/lib/lib_values.cc bool GetEventFromName(const char* name, Event* event) { event 173 rlz/lib/lib_values.cc if (!event) { event 177 rlz/lib/lib_values.cc *event = INVALID_EVENT; event 183 rlz/lib/lib_values.cc *event = static_cast<Event>(i); event 91 rlz/lib/lib_values.h const char* GetEventName(Event event); event 92 rlz/lib/lib_values.h bool GetEventFromName(const char* name, Event* event); event 43 rlz/lib/lib_values_unittest.cc rlz_lib::Event event; event 44 rlz/lib/lib_values_unittest.cc EXPECT_FALSE(rlz_lib::GetEventFromName(NULL, &event)); event 45 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::INVALID_EVENT, event); event 47 rlz/lib/lib_values_unittest.cc EXPECT_TRUE(rlz_lib::GetEventFromName("", &event)); event 48 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::INVALID_EVENT, event); event 50 rlz/lib/lib_values_unittest.cc EXPECT_FALSE(rlz_lib::GetEventFromName("i1", &event)); event 51 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::INVALID_EVENT, event); event 53 rlz/lib/lib_values_unittest.cc EXPECT_TRUE(rlz_lib::GetEventFromName("I", &event)); event 54 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::INSTALL, event); event 56 rlz/lib/lib_values_unittest.cc EXPECT_TRUE(rlz_lib::GetEventFromName("F", &event)); event 57 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::FIRST_SEARCH, event); event 59 rlz/lib/lib_values_unittest.cc EXPECT_FALSE(rlz_lib::GetEventFromName("F ", &event)); event 60 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::INVALID_EVENT, event); event 128 rlz/lib/rlz_lib.cc rlz_lib::Event event = rlz_lib::INVALID_EVENT; event 135 rlz/lib/rlz_lib.cc &event) || event == rlz_lib::INVALID_EVENT) { event 139 rlz/lib/rlz_lib.cc ReturnedEvent current_event = {point, event}; event 146 rlz/lib/rlz_lib.cc rlz_lib::Event event) { event 154 rlz/lib/rlz_lib.cc const char* event_name = GetEventName(event); event 243 rlz/lib/rlz_lib.cc bool RecordProductEvent(Product product, AccessPoint point, Event event) { event 251 rlz/lib/rlz_lib.cc const char* event_name = GetEventName(event); event 272 rlz/lib/rlz_lib.cc bool ClearProductEvent(Product product, AccessPoint point, Event event) { event 280 rlz/lib/rlz_lib.cc const char* event_name = GetEventName(event); event 28 sandbox/win/src/app_container_test.cc base::win::ScopedHandle event(CreateEvent(NULL, FALSE, FALSE, name.c_str())); event 29 sandbox/win/src/app_container_test.cc if (!event.IsValid()) event 60 sandbox/win/src/app_container_test.cc if (!AtlSetDacl(event.Get(), SE_KERNEL_OBJECT, new_dacl)) event 61 sandbox/win/src/app_container_test.cc event.Close(); event 64 sandbox/win/src/app_container_test.cc return event.IsValid() ? event.Take() : NULL; event 149 sandbox/win/src/handle_closer_test.cc void WINAPI ThreadPoolTask(void* event, BOOLEAN timeout) { event 152 sandbox/win/src/handle_closer_test.cc CHECK(::CloseHandle(event)); event 165 sandbox/win/src/handle_closer_test.cc HANDLE event = ::CreateEvent(NULL, TRUE, FALSE, NULL); event 166 sandbox/win/src/handle_closer_test.cc CHECK(event); event 167 sandbox/win/src/handle_closer_test.cc CHECK(::RegisterWaitForSingleObject(&pool, event, ThreadPoolTask, event, event 169 sandbox/win/src/handle_closer_test.cc wait_list[i] = event; event 12 sandbox/win/src/threadpool_unittest.cc HANDLE event = reinterpret_cast<HANDLE>(context); event 13 sandbox/win/src/threadpool_unittest.cc ::SetEvent(event); event 39 sync/engine/all_status.cc SyncStatus AllStatus::CalcSyncing(const SyncCycleEvent &event) const { event 41 sync/engine/all_status.cc const sessions::SyncSessionSnapshot& snapshot = event.snapshot; event 48 sync/engine/all_status.cc if (event.what_happened == SyncCycleEvent::SYNC_CYCLE_BEGIN) { event 50 sync/engine/all_status.cc } else if (event.what_happened == SyncCycleEvent::SYNC_CYCLE_ENDED) { event 61 sync/engine/all_status.cc if (event.what_happened == SyncCycleEvent::SYNC_CYCLE_ENDED) { event 94 sync/engine/all_status.cc void AllStatus::OnSyncCycleEvent(const SyncCycleEvent& event) { event 96 sync/engine/all_status.cc switch (event.what_happened) { event 100 sync/engine/all_status.cc status_ = CalcSyncing(event); event 103 sync/engine/all_status.cc LOG(ERROR) << "Unrecognized Syncer Event: " << event.what_happened; event 44 sync/engine/all_status.h virtual void OnSyncCycleEvent(const SyncCycleEvent& event) OVERRIDE; event 49 sync/engine/all_status.h virtual void OnProtocolEvent(const ProtocolEvent& event) OVERRIDE; event 74 sync/engine/all_status.h SyncStatus CalcSyncing(const SyncCycleEvent& event) const; event 104 sync/engine/net/server_connection_manager.h virtual void OnServerConnectionEvent(const ServerConnectionEvent& event) = 0; event 23 sync/engine/sync_engine_event_listener.h virtual void OnSyncCycleEvent(const SyncCycleEvent& event) = 0; event 41 sync/engine/sync_engine_event_listener.h virtual void OnProtocolEvent(const ProtocolEvent& event) = 0; event 258 sync/engine/sync_scheduler_impl.cc SyncCycleEvent event(SyncCycleEvent::STATUS_CHANGED); event 259 sync/engine/sync_scheduler_impl.cc event.snapshot = dummy->TakeSnapshot(); event 262 sync/engine/sync_scheduler_impl.cc OnSyncCycleEvent(event)); event 153 sync/engine/syncer_unittest.cc virtual void OnProtocolEvent(const ProtocolEvent& event) OVERRIDE {} event 165 sync/engine/syncer_unittest.cc virtual void OnSyncCycleEvent(const SyncCycleEvent& event) OVERRIDE { event 166 sync/engine/syncer_unittest.cc DVLOG(1) << "HandleSyncEngineEvent in unittest " << event.what_happened; event 168 sync/engine/syncer_unittest.cc switch (event.what_happened) { event 121 sync/internal_api/debug_info_event_listener.cc void DebugInfoEventListener::OnProtocolEvent(const ProtocolEvent& event) {} event 54 sync/internal_api/debug_info_event_listener.h virtual void OnProtocolEvent(const ProtocolEvent& event) OVERRIDE; event 14 sync/internal_api/events/protocol_event.cc const ProtocolEvent& event) { event 17 sync/internal_api/events/protocol_event.cc dict->SetDouble("time", event.GetTimestamp().ToJsTime()); event 18 sync/internal_api/events/protocol_event.cc dict->SetString("type", event.GetType()); event 19 sync/internal_api/events/protocol_event.cc dict->SetString("details", event.GetDetails()); event 20 sync/internal_api/events/protocol_event.cc dict->Set("proto", event.GetProtoMessage().release()); event 64 sync/internal_api/js_sync_manager_observer.cc const ProtocolEvent& event) { } event 45 sync/internal_api/js_sync_manager_observer.h virtual void OnProtocolEvent(const ProtocolEvent& event) OVERRIDE; event 18 sync/internal_api/protocol_event_buffer.cc void ProtocolEventBuffer::RecordProtocolEvent(const ProtocolEvent& event) { event 19 sync/internal_api/protocol_event_buffer.cc buffer_.push_back(event.Clone().release()); event 28 sync/internal_api/protocol_event_buffer.h void RecordProtocolEvent(const ProtocolEvent& event); event 22 sync/internal_api/protocol_event_buffer_unittest.cc static bool HasId(const ProtocolEvent& event, int64 id); event 40 sync/internal_api/protocol_event_buffer_unittest.cc bool ProtocolEventBufferTest::HasId(const ProtocolEvent& event, int64 id) { event 41 sync/internal_api/protocol_event_buffer_unittest.cc return event.GetTimestamp() == base::Time::FromInternalValue(id); event 37 sync/internal_api/public/events/commit_request_event.h const ProtocolEvent& event); event 36 sync/internal_api/public/events/commit_response_event.h const ProtocolEvent& event); event 54 sync/internal_api/public/events/protocol_event.h const ProtocolEvent& event); event 203 sync/internal_api/public/sync_manager.h virtual void OnProtocolEvent(const ProtocolEvent& event) = 0; event 679 sync/internal_api/sync_manager_impl.cc const ServerConnectionEvent& event) { event 681 sync/internal_api/sync_manager_impl.cc if (event.connection_code == event 687 sync/internal_api/sync_manager_impl.cc if (event.connection_code == HttpResponse::SYNC_AUTH_ERROR) { event 693 sync/internal_api/sync_manager_impl.cc if (event.connection_code == HttpResponse::SYNC_SERVER_ERROR) { event 899 sync/internal_api/sync_manager_impl.cc void SyncManagerImpl::OnSyncCycleEvent(const SyncCycleEvent& event) { event 908 sync/internal_api/sync_manager_impl.cc if (event.what_happened == SyncCycleEvent::SYNC_CYCLE_ENDED) { event 917 sync/internal_api/sync_manager_impl.cc OnSyncCycleCompleted(event.snapshot)); event 937 sync/internal_api/sync_manager_impl.cc void SyncManagerImpl::OnProtocolEvent(const ProtocolEvent& event) { event 938 sync/internal_api/sync_manager_impl.cc protocol_event_buffer_.RecordProtocolEvent(event); event 940 sync/internal_api/sync_manager_impl.cc OnProtocolEvent(event)); event 143 sync/internal_api/sync_manager_impl.h virtual void OnSyncCycleEvent(const SyncCycleEvent& event) OVERRIDE; event 148 sync/internal_api/sync_manager_impl.h virtual void OnProtocolEvent(const ProtocolEvent& event) OVERRIDE; event 152 sync/internal_api/sync_manager_impl.h const ServerConnectionEvent& event) OVERRIDE; event 72 sync/sessions/sync_session.cc SyncCycleEvent event(SyncCycleEvent::SYNC_CYCLE_ENDED); event 73 sync/sessions/sync_session.cc event.snapshot = TakeSnapshotWithSource(source); event 76 sync/sessions/sync_session.cc << event.snapshot.ToString(); event 79 sync/sessions/sync_session.cc OnSyncCycleEvent(event)); event 83 sync/sessions/sync_session.cc SyncCycleEvent event(cause); event 84 sync/sessions/sync_session.cc event.snapshot = TakeSnapshot(); event 86 sync/sessions/sync_session.cc DVLOG(1) << "Sending event with snapshot: " << event.snapshot.ToString(); event 89 sync/sessions/sync_session.cc OnSyncCycleEvent(event)); event 92 sync/sessions/sync_session.cc void SyncSession::SendProtocolEvent(const ProtocolEvent& event) { event 95 sync/sessions/sync_session.cc OnProtocolEvent(event)); event 114 sync/sessions/sync_session.h void SendProtocolEvent(const ProtocolEvent& event); event 464 third_party/harfbuzz-ng/src/hb-coretext.cc feature_event_t *event; event 466 third_party/harfbuzz-ng/src/hb-coretext.cc event = feature_events.push (); event 467 third_party/harfbuzz-ng/src/hb-coretext.cc if (unlikely (!event)) event 469 third_party/harfbuzz-ng/src/hb-coretext.cc event->index = features[i].start; event 470 third_party/harfbuzz-ng/src/hb-coretext.cc event->start = true; event 471 third_party/harfbuzz-ng/src/hb-coretext.cc event->feature = feature; event 473 third_party/harfbuzz-ng/src/hb-coretext.cc event = feature_events.push (); event 474 third_party/harfbuzz-ng/src/hb-coretext.cc if (unlikely (!event)) event 476 third_party/harfbuzz-ng/src/hb-coretext.cc event->index = features[i].end; event 477 third_party/harfbuzz-ng/src/hb-coretext.cc event->start = false; event 478 third_party/harfbuzz-ng/src/hb-coretext.cc event->feature = feature; event 488 third_party/harfbuzz-ng/src/hb-coretext.cc feature_event_t *event = feature_events.push (); event 489 third_party/harfbuzz-ng/src/hb-coretext.cc if (unlikely (!event)) event 491 third_party/harfbuzz-ng/src/hb-coretext.cc event->index = 0; /* This value does magic. */ event 492 third_party/harfbuzz-ng/src/hb-coretext.cc event->start = false; event 493 third_party/harfbuzz-ng/src/hb-coretext.cc event->feature = feature; event 501 third_party/harfbuzz-ng/src/hb-coretext.cc feature_event_t *event = &feature_events[i]; event 503 third_party/harfbuzz-ng/src/hb-coretext.cc if (event->index != last_index) event 563 third_party/harfbuzz-ng/src/hb-coretext.cc range->index_last = event->index - 1; event 565 third_party/harfbuzz-ng/src/hb-coretext.cc last_index = event->index; event 568 third_party/harfbuzz-ng/src/hb-coretext.cc if (event->start) { event 572 third_party/harfbuzz-ng/src/hb-coretext.cc *feature = event->feature; event 574 third_party/harfbuzz-ng/src/hb-coretext.cc active_feature_t *feature = active_features.find (&event->feature); event 618 third_party/harfbuzz-ng/src/hb-uniscribe.cc feature_event_t *event; event 620 third_party/harfbuzz-ng/src/hb-uniscribe.cc event = feature_events.push (); event 621 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (unlikely (!event)) event 623 third_party/harfbuzz-ng/src/hb-uniscribe.cc event->index = features[i].start; event 624 third_party/harfbuzz-ng/src/hb-uniscribe.cc event->start = true; event 625 third_party/harfbuzz-ng/src/hb-uniscribe.cc event->feature = feature; event 627 third_party/harfbuzz-ng/src/hb-uniscribe.cc event = feature_events.push (); event 628 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (unlikely (!event)) event 630 third_party/harfbuzz-ng/src/hb-uniscribe.cc event->index = features[i].end; event 631 third_party/harfbuzz-ng/src/hb-uniscribe.cc event->start = false; event 632 third_party/harfbuzz-ng/src/hb-uniscribe.cc event->feature = feature; event 642 third_party/harfbuzz-ng/src/hb-uniscribe.cc feature_event_t *event = feature_events.push (); event 643 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (unlikely (!event)) event 645 third_party/harfbuzz-ng/src/hb-uniscribe.cc event->index = 0; /* This value does magic. */ event 646 third_party/harfbuzz-ng/src/hb-uniscribe.cc event->start = false; event 647 third_party/harfbuzz-ng/src/hb-uniscribe.cc event->feature = feature; event 655 third_party/harfbuzz-ng/src/hb-uniscribe.cc feature_event_t *event = &feature_events[i]; event 657 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (event->index != last_index) event 688 third_party/harfbuzz-ng/src/hb-uniscribe.cc range->index_last = event->index - 1; event 690 third_party/harfbuzz-ng/src/hb-uniscribe.cc last_index = event->index; event 693 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (event->start) { event 697 third_party/harfbuzz-ng/src/hb-uniscribe.cc *feature = event->feature; event 699 third_party/harfbuzz-ng/src/hb-uniscribe.cc active_feature_t *feature = active_features.find (&event->feature); event 1121 third_party/libXNVCtrl/NVCtrl.c xnvctrlEvent *event; event 1133 third_party/libXNVCtrl/NVCtrl.c event = (xnvctrlEvent *) wire; event 1134 third_party/libXNVCtrl/NVCtrl.c re->attribute_changed.type = event->u.u.type & 0x7F; event 1136 third_party/libXNVCtrl/NVCtrl.c _XSetLastRequestRead(dpy, (xGenericReply*) event); event 1137 third_party/libXNVCtrl/NVCtrl.c re->attribute_changed.send_event = ((event->u.u.type & 0x80) != 0); event 1139 third_party/libXNVCtrl/NVCtrl.c re->attribute_changed.time = event->u.attribute_changed.time; event 1140 third_party/libXNVCtrl/NVCtrl.c re->attribute_changed.screen = event->u.attribute_changed.screen; event 1142 third_party/libXNVCtrl/NVCtrl.c event->u.attribute_changed.display_mask; event 1143 third_party/libXNVCtrl/NVCtrl.c re->attribute_changed.attribute = event->u.attribute_changed.attribute; event 1144 third_party/libXNVCtrl/NVCtrl.c re->attribute_changed.value = event->u.attribute_changed.value; event 58 third_party/libevent/devpoll.c struct event *evread; event 59 third_party/libevent/devpoll.c struct event *evwrite; event 73 third_party/libevent/devpoll.c static int devpoll_add (void *, struct event *); event 74 third_party/libevent/devpoll.c static int devpoll_del (void *, struct event *); event 250 third_party/libevent/devpoll.c struct event *evread = NULL, *evwrite = NULL; event 290 third_party/libevent/devpoll.c devpoll_add(void *arg, struct event *ev) event 344 third_party/libevent/devpoll.c devpoll_del(void *arg, struct event *ev) event 60 third_party/libevent/epoll.c struct event *evread; event 61 third_party/libevent/epoll.c struct event *evwrite; event 73 third_party/libevent/epoll.c static int epoll_add (void *, struct event *); event 74 third_party/libevent/epoll.c static int epoll_del (void *, struct event *); event 216 third_party/libevent/epoll.c struct event *evread = NULL, *evwrite = NULL; event 264 third_party/libevent/epoll.c epoll_add(void *arg, struct event *ev) event 312 third_party/libevent/epoll.c epoll_del(void *arg, struct event *ev) event 42 third_party/libevent/epoll_sub.c epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) event 45 third_party/libevent/epoll_sub.c return (syscall(__NR_epoll_ctl, epfd, op, fd, event)); event 58 third_party/libevent/evbuffer.c bufferevent_add(struct event *ev, int timeout) event 93 third_party/libevent/evbuffer.c bufferevent_readcb(int fd, short event, void *arg) event 101 third_party/libevent/evbuffer.c if (event == EV_TIMEOUT) { event 164 third_party/libevent/evbuffer.c bufferevent_writecb(int fd, short event, void *arg) event 170 third_party/libevent/evbuffer.c if (event == EV_TIMEOUT) { event 372 third_party/libevent/evbuffer.c bufferevent_enable(struct bufferevent *bufev, short event) event 374 third_party/libevent/evbuffer.c if (event & EV_READ) { event 378 third_party/libevent/evbuffer.c if (event & EV_WRITE) { event 383 third_party/libevent/evbuffer.c bufev->enabled |= event; event 388 third_party/libevent/evbuffer.c bufferevent_disable(struct bufferevent *bufev, short event) event 390 third_party/libevent/evbuffer.c if (event & EV_READ) { event 394 third_party/libevent/evbuffer.c if (event & EV_WRITE) { event 399 third_party/libevent/evbuffer.c bufev->enabled &= ~event; event 180 third_party/libevent/evdns.c struct event timeout_event; event 217 third_party/libevent/evdns.c struct event event; event 220 third_party/libevent/evdns.c struct event timeout_event; /* used to keep the timeout for */ event 240 third_party/libevent/evdns.c struct event event; /* Read/write event */ event 1238 third_party/libevent/evdns.c (void) event_del(&port->event); event 1239 third_party/libevent/evdns.c event_set(&port->event, port->socket, EV_READ | EV_PERSIST, event 1241 third_party/libevent/evdns.c if (event_add(&port->event, NULL) < 0) { event 1255 third_party/libevent/evdns.c (void) event_del(&ns->event); event 1256 third_party/libevent/evdns.c event_set(&ns->event, ns->socket, EV_READ | (waiting ? EV_WRITE : 0) | EV_PERSIST, event 1258 third_party/libevent/evdns.c if (event_add(&ns->event, NULL) < 0) { event 1494 third_party/libevent/evdns.c event_set(&port->event, port->socket, EV_READ | EV_PERSIST, event 1496 third_party/libevent/evdns.c event_add(&port->event, NULL); /* check return. */ event 1753 third_party/libevent/evdns.c (void) event_del(&port->event); event 1754 third_party/libevent/evdns.c event_set(&port->event, port->socket, (port->closing?0:EV_READ) | EV_WRITE | EV_PERSIST, server_port_ready_callback, port); event 1756 third_party/libevent/evdns.c if (event_add(&port->event, NULL) < 0) { event 1853 third_party/libevent/evdns.c (void) event_del(&port->event); event 2063 third_party/libevent/evdns.c (void) event_del(&server->event); event 2140 third_party/libevent/evdns.c event_set(&ns->event, ns->socket, EV_READ | EV_PERSIST, nameserver_ready_callback, ns); event 2141 third_party/libevent/evdns.c if (event_add(&ns->event, NULL) < 0) { event 3055 third_party/libevent/evdns.c (void) event_del(&server->event); event 41 third_party/libevent/event-internal.h int (*add)(void *, struct event *); event 42 third_party/libevent/event-internal.h int (*del)(void *, struct event *); event 113 third_party/libevent/event.c static void event_queue_insert(struct event_base *, struct event *, int); event 114 third_party/libevent/event.c static void event_queue_remove(struct event_base *, struct event *, int); event 210 third_party/libevent/event.c struct event *ev; event 221 third_party/libevent/event.c struct event *next = TAILQ_NEXT(ev, ev_next); event 235 third_party/libevent/event.c struct event *next = TAILQ_NEXT(ev, ev_active_next); event 273 third_party/libevent/event.c struct event *ev; event 359 third_party/libevent/event.c struct event *ev; event 542 third_party/libevent/event.c struct event ev; event 615 third_party/libevent/event.c event_set(struct event *ev, int fd, short events, event 638 third_party/libevent/event.c event_base_set(struct event_base *base, struct event *ev) event 656 third_party/libevent/event.c event_priority_set(struct event *ev, int pri) event 673 third_party/libevent/event.c event_pending(struct event *ev, short event, struct timeval *tv) event 685 third_party/libevent/event.c event &= (EV_TIMEOUT|EV_READ|EV_WRITE|EV_SIGNAL); event 688 third_party/libevent/event.c if (tv != NULL && (flags & event & EV_TIMEOUT)) { event 696 third_party/libevent/event.c return (flags & event); event 700 third_party/libevent/event.c event_add(struct event *ev, const struct timeval *tv) event 778 third_party/libevent/event.c event_del(struct event *ev) event 814 third_party/libevent/event.c event_active(struct event *ev, int res, short ncalls) event 832 third_party/libevent/event.c struct event *ev; event 867 third_party/libevent/event.c struct event **pev; event 903 third_party/libevent/event.c struct event *ev; event 924 third_party/libevent/event.c event_queue_remove(struct event_base *base, struct event *ev, int queue) event 952 third_party/libevent/event.c event_queue_insert(struct event_base *base, struct event *ev, int queue) event 214 third_party/libevent/event.h TAILQ_ENTRY (event) ev_next; event 215 third_party/libevent/event.h TAILQ_ENTRY (event) ev_active_next; event 216 third_party/libevent/event.h TAILQ_ENTRY (event) ev_signal_next; event 237 third_party/libevent/event.h struct event; event 260 third_party/libevent/event.h TAILQ_HEAD (event_list, event); event 359 third_party/libevent/event.h int event_base_set(struct event_base *, struct event *); event 546 third_party/libevent/event.h void event_set(struct event *, int, short, void (*)(int, short, void *), void *); event 611 third_party/libevent/event.h int event_add(struct event *ev, const struct timeval *timeout); event 625 third_party/libevent/event.h int event_del(struct event *); event 627 third_party/libevent/event.h void event_active(struct event *, int, short); event 641 third_party/libevent/event.h int event_pending(struct event *ev, short event, struct timeval *tv); event 721 third_party/libevent/event.h int event_priority_set(struct event *, int); event 758 third_party/libevent/event.h struct event ev_read; event 759 third_party/libevent/event.h struct event ev_write; event 920 third_party/libevent/event.h int bufferevent_enable(struct bufferevent *bufev, short event); event 931 third_party/libevent/event.h int bufferevent_disable(struct bufferevent *bufev, short event); event 100 third_party/libevent/evport.c struct event* fdi_revt; /* the event responsible for the "read" */ event 101 third_party/libevent/evport.c struct event* fdi_wevt; /* the event responsible for the "write" */ event 119 third_party/libevent/evport.c static int evport_add (void *, struct event *); event 120 third_party/libevent/evport.c static int evport_del (void *, struct event *); event 197 third_party/libevent/evport.c struct event *ev; event 351 third_party/libevent/evport.c struct event *ev; event 400 third_party/libevent/evport.c evport_add(void *arg, struct event *ev) event 442 third_party/libevent/evport.c evport_del(void *arg, struct event *ev) event 350 third_party/libevent/evrpc.h struct event ev_timeout; event 33 third_party/libevent/evsignal.h struct event ev_signal; event 48 third_party/libevent/evsignal.h int evsignal_add(struct event *); event 49 third_party/libevent/evsignal.h int evsignal_del(struct event *); event 58 third_party/libevent/http-internal.h struct event ev; event 59 third_party/libevent/http-internal.h struct event close_ev; event 110 third_party/libevent/http-internal.h struct event bind_ev; event 324 third_party/libevent/http.c evhttp_add_event(struct event *ev, int timeout, int default_timeout) event 2279 third_party/libevent/http.c struct event *ev; event 82 third_party/libevent/kqueue.c static int kq_add (void *, struct event *); event 83 third_party/libevent/kqueue.c static int kq_del (void *, struct event *); event 223 third_party/libevent/kqueue.c struct event *ev; event 288 third_party/libevent/kqueue.c ev = (struct event *)events[i].udata; event 302 third_party/libevent/kqueue.c kq_add(void *arg, struct event *ev) event 375 third_party/libevent/kqueue.c kq_del(void *arg, struct event *ev) event 35 third_party/libevent/min_heap.h struct event** p; event 41 third_party/libevent/min_heap.h static inline void min_heap_elem_init(struct event* e); event 42 third_party/libevent/min_heap.h static inline int min_heap_elem_greater(struct event *a, struct event *b); event 45 third_party/libevent/min_heap.h static inline struct event* min_heap_top(min_heap_t* s); event 47 third_party/libevent/min_heap.h static inline int min_heap_push(min_heap_t* s, struct event* e); event 48 third_party/libevent/min_heap.h static inline struct event* min_heap_pop(min_heap_t* s); event 49 third_party/libevent/min_heap.h static inline int min_heap_erase(min_heap_t* s, struct event* e); event 50 third_party/libevent/min_heap.h static inline void min_heap_shift_up_(min_heap_t* s, unsigned hole_index, struct event* e); event 51 third_party/libevent/min_heap.h static inline void min_heap_shift_down_(min_heap_t* s, unsigned hole_index, struct event* e); event 53 third_party/libevent/min_heap.h int min_heap_elem_greater(struct event *a, struct event *b) event 60 third_party/libevent/min_heap.h void min_heap_elem_init(struct event* e) { e->min_heap_idx = -1; } event 63 third_party/libevent/min_heap.h struct event* min_heap_top(min_heap_t* s) { return s->n ? *s->p : 0; } event 65 third_party/libevent/min_heap.h int min_heap_push(min_heap_t* s, struct event* e) event 73 third_party/libevent/min_heap.h struct event* min_heap_pop(min_heap_t* s) event 77 third_party/libevent/min_heap.h struct event* e = *s->p; event 85 third_party/libevent/min_heap.h int min_heap_erase(min_heap_t* s, struct event* e) event 89 third_party/libevent/min_heap.h struct event *last = s->p[--s->n]; event 110 third_party/libevent/min_heap.h struct event** p; event 114 third_party/libevent/min_heap.h if(!(p = (struct event**)realloc(s->p, a * sizeof *p))) event 122 third_party/libevent/min_heap.h void min_heap_shift_up_(min_heap_t* s, unsigned hole_index, struct event* e) event 134 third_party/libevent/min_heap.h void min_heap_shift_down_(min_heap_t* s, unsigned hole_index, struct event* e) event 61 third_party/libevent/poll.c struct event **event_r_back; event 62 third_party/libevent/poll.c struct event **event_w_back; event 69 third_party/libevent/poll.c static int poll_add (void *, struct event *); event 70 third_party/libevent/poll.c static int poll_del (void *, struct event *); event 106 third_party/libevent/poll.c struct event *ev; event 168 third_party/libevent/poll.c struct event *r_ev = NULL, *w_ev = NULL; event 205 third_party/libevent/poll.c poll_add(void *arg, struct event *ev) event 219 third_party/libevent/poll.c struct event **tmp_event_r_back; event 220 third_party/libevent/poll.c struct event **tmp_event_w_back; event 238 third_party/libevent/poll.c tmp_event_count * sizeof(struct event *)); event 247 third_party/libevent/poll.c tmp_event_count * sizeof(struct event *)); event 310 third_party/libevent/poll.c poll_del(void *arg, struct event *ev) event 28 third_party/libevent/sample/event-test.c fifo_read(int fd, short event, void *arg) event 32 third_party/libevent/sample/event-test.c struct event *ev = arg; event 41 third_party/libevent/sample/event-test.c fd, event, arg); event 72 third_party/libevent/sample/event-test.c struct event evfifo; event 33 third_party/libevent/sample/signal-test.c signal_cb(int fd, short event, void *arg) event 35 third_party/libevent/sample/signal-test.c struct event *signal = arg; event 48 third_party/libevent/sample/signal-test.c struct event signal_int; event 33 third_party/libevent/sample/time-test.c timeout_cb(int fd, short event, void *arg) event 36 third_party/libevent/sample/time-test.c struct event *timeout = arg; event 51 third_party/libevent/sample/time-test.c struct event timeout; event 77 third_party/libevent/select.c struct event **event_r_by_fd; event 78 third_party/libevent/select.c struct event **event_w_by_fd; event 82 third_party/libevent/select.c static int select_add (void *, struct event *); event 83 third_party/libevent/select.c static int select_del (void *, struct event *); event 180 third_party/libevent/select.c struct event *r_ev = NULL, *w_ev = NULL; event 215 third_party/libevent/select.c struct event **r_by_fd = NULL; event 216 third_party/libevent/select.c struct event **w_by_fd = NULL; event 237 third_party/libevent/select.c n_events*sizeof(struct event*))) == NULL) event 241 third_party/libevent/select.c n_events * sizeof(struct event*))) == NULL) event 250 third_party/libevent/select.c (n_events-n_events_old) * sizeof(struct event*)); event 252 third_party/libevent/select.c (n_events-n_events_old) * sizeof(struct event*)); event 266 third_party/libevent/select.c select_add(void *arg, struct event *ev) event 316 third_party/libevent/select.c select_del(void *arg, struct event *ev) event 204 third_party/libevent/signal.c evsignal_add(struct event *ev) event 267 third_party/libevent/signal.c evsignal_del(struct event *ev) event 314 third_party/libevent/signal.c struct event *ev, *next_ev; event 64 third_party/libevent/test/bench.c static struct event *events; event 159 third_party/libevent/test/bench.c events = calloc(num_pipes, sizeof(struct event)); event 93 third_party/libevent/test/regress.c simple_read_cb(int fd, short event, void *arg) event 115 third_party/libevent/test/regress.c simple_write_cb(int fd, short event, void *arg) event 130 third_party/libevent/test/regress.c multiple_write_cb(int fd, short event, void *arg) event 132 third_party/libevent/test/regress.c struct event *ev = arg; event 163 third_party/libevent/test/regress.c multiple_read_cb(int fd, short event, void *arg) event 165 third_party/libevent/test/regress.c struct event *ev = arg; event 185 third_party/libevent/test/regress.c timeout_cb(int fd, short event, void *arg) event 212 third_party/libevent/test/regress.c signal_cb(int fd, short event, void *arg) event 214 third_party/libevent/test/regress.c struct event *ev = arg; event 222 third_party/libevent/test/regress.c struct event ev; event 227 third_party/libevent/test/regress.c combined_read_cb(int fd, short event, void *arg) event 245 third_party/libevent/test/regress.c combined_write_cb(int fd, short event, void *arg) event 319 third_party/libevent/test/regress.c struct event read_evs[512]; event 320 third_party/libevent/test/regress.c struct event write_evs[512]; event 368 third_party/libevent/test/regress.c struct event ev; event 387 third_party/libevent/test/regress.c struct event ev; event 403 third_party/libevent/test/regress.c struct event ev, ev2; event 432 third_party/libevent/test/regress.c struct event ev, ev2; event 497 third_party/libevent/test/regress.c struct event ev; event 516 third_party/libevent/test/regress.c child_signal_cb(int fd, short event, void *arg) event 532 third_party/libevent/test/regress.c struct event ev, sig_ev; event 599 third_party/libevent/test/regress.c struct event ev; event 625 third_party/libevent/test/regress.c struct event ev_one, ev_two; event 655 third_party/libevent/test/regress.c struct event ev; event 671 third_party/libevent/test/regress.c struct event ev; event 714 third_party/libevent/test/regress.c struct event ev1, ev2; event 764 third_party/libevent/test/regress.c struct event ev; event 795 third_party/libevent/test/regress.c struct event ev; event 828 third_party/libevent/test/regress.c signal_cb_swp(int sig, short event, void *arg) event 837 third_party/libevent/test/regress.c timeout_cb_swp(int fd, short event, void *arg) event 843 third_party/libevent/test/regress.c evtimer_add((struct event *)arg, &tv); event 855 third_party/libevent/test/regress.c struct event ev, ev_timer; event 878 third_party/libevent/test/regress.c struct event ev1; event 894 third_party/libevent/test/regress.c struct event ev1; event 916 third_party/libevent/test/regress.c struct event ev; event 985 third_party/libevent/test/regress.c struct event ev1, ev2; event 1203 third_party/libevent/test/regress.c struct event ev; event 1279 third_party/libevent/test/regress.c test_multiple_cb(int fd, short event, void *arg) event 1281 third_party/libevent/test/regress.c if (event & EV_READ) event 1283 third_party/libevent/test/regress.c else if (event & EV_WRITE) event 1290 third_party/libevent/test/regress.c struct event e1, e2; event 1315 third_party/libevent/test/regress.c read_once_cb(int fd, short event, void *arg) event 1336 third_party/libevent/test/regress.c struct event ev; event 37 third_party/libevent/test/test-eof.c read_cb(int fd, short event, void *arg) event 63 third_party/libevent/test/test-eof.c struct event ev; event 33 third_party/libevent/test/test-time.c struct event *ev[NEVENT]; event 46 third_party/libevent/test/test-time.c time_cb(int fd, short event, void *arg) event 76 third_party/libevent/test/test-time.c ev[i] = malloc(sizeof(struct event)); event 39 third_party/libevent/test/test-weof.c write_cb(int fd, short event, void *arg) event 62 third_party/libevent/test/test-weof.c struct event ev; event 540 third_party/libusb/src/libusb/core.c message.event = LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED; event 566 third_party/libusb/src/libusb/core.c message.event = LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT; event 146 third_party/libusb/src/libusb/hotplug.c struct libusb_device *dev, libusb_hotplug_event event, event 155 third_party/libusb/src/libusb/hotplug.c if (!(hotplug_cb->events & event)) { event 174 third_party/libusb/src/libusb/hotplug.c return hotplug_cb->cb (ctx, dev, event, hotplug_cb->user_data); event 178 third_party/libusb/src/libusb/hotplug.c libusb_hotplug_event event) event 187 third_party/libusb/src/libusb/hotplug.c ret = usbi_hotplug_match_cb (ctx, dev, event, hotplug_cb); event 72 third_party/libusb/src/libusb/hotplug.h libusb_hotplug_event event; event 80 third_party/libusb/src/libusb/hotplug.h libusb_hotplug_event event); event 2010 third_party/libusb/src/libusb/io.c usbi_hotplug_match(ctx, message.device, message.event); event 2013 third_party/libusb/src/libusb/io.c if (LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT == message.event) event 1897 third_party/libusb/src/libusb/libusb.h libusb_hotplug_event event, event 98 third_party/libusb/src/libusb/os/threads_windows.c CloseHandle(pos->event); event 114 third_party/libusb/src/libusb/os/threads_windows.c if(!SetEvent(pos->event)) event 129 third_party/libusb/src/libusb/os/threads_windows.c return SetEvent(pos->event) ? 0 : ((errno=EINVAL)); event 148 third_party/libusb/src/libusb/os/threads_windows.c pos->event = CreateEvent(NULL, FALSE, FALSE, NULL); // auto-reset. event 149 third_party/libusb/src/libusb/os/threads_windows.c if(!pos->event) { event 161 third_party/libusb/src/libusb/os/threads_windows.c r2 = WaitForSingleObject(pos->event, timeout_ms); event 32 third_party/libusb/src/libusb/os/threads_windows.h HANDLE event; event 46 third_party/mozilla/ComplexTextInputPanel.h - (BOOL)interpretKeyEvent:(NSEvent*)event string:(NSString**)string; event 553 third_party/npapi/bindings/npapi.h uint16_t event; event 560 third_party/npapi/bindings/npapi.h uint32_t event; event 843 third_party/npapi/bindings/npapi.h int16_t NP_LOADDS NPP_HandleEvent(NPP instance, void* event); event 912 third_party/npapi/bindings/npapi.h NPBool NP_LOADDS NPN_HandleEvent(NPP instance, void *event, NPBool handled); event 493 third_party/npapi/bindings/npapi_extensions.h NPPepperEvent* event); event 60 third_party/npapi/bindings/npfunctions.h typedef int16_t (* NP_LOADDS NPP_HandleEventProcPtr)(NPP instance, void* event); event 126 third_party/npapi/bindings/npfunctions.h typedef NPBool (*NPN_HandleEventPtr)(NPP instance, void *event, NPBool handled); event 142 third_party/npapi/bindings/npfunctions.h NPP_HandleEventProcPtr event; event 113 third_party/npapi/npspy/common/epmanager.cpp eps->realNPPFuncs.event = funcs->event; event 371 third_party/npapi/npspy/common/epmanager.cpp int16 NPPEntryPointManager::callNPP_HandleEvent(NPP instance, void* event) event 374 third_party/npapi/npspy/common/epmanager.cpp if(!nppfuncs || !nppfuncs->event) event 377 third_party/npapi/npspy/common/epmanager.cpp return CallNPP_HandleEventProc(nppfuncs->event, instance, event); event 1071 third_party/npapi/npspy/common/format.cpp NPEvent *event = (NPEvent*)dw2; event 1072 third_party/npapi/npspy/common/format.cpp *output = StringPrintf("NPP_HandleEvent(%#08lx, %#08lx {event=%d, wParam=%#08lx lParam=%#08lx)", dw1,dw2,event->event, event->wParam, event->lParam); event 210 third_party/npapi/npspy/common/logger.cpp if(pNPPFuncs->event) event 211 third_party/npapi/npspy/common/logger.cpp sprintf(szLog15, " event = %#08lx\r\n", pNPPFuncs->event); event 86 third_party/npapi/npspy/common/np_entry.cpp pFuncs->event = NPP_HandleEvent; event 388 third_party/npapi/npspy/common/npp_gate.cpp int16 NPP_HandleEvent(NPP instance, void* event) event 397 third_party/npapi/npspy/common/npp_gate.cpp logger->logCall(action_npp_handle_event, (DWORD)instance, (DWORD)event); event 399 third_party/npapi/npspy/common/npp_gate.cpp int16 rv = epManager->callNPP_HandleEvent(instance, event); event 2019 third_party/npapi/npspy/extern/nspr/prio.h NSPR_API(PRStatus) PR_DestroyPollableEvent(PRFileDesc *event); event 2021 third_party/npapi/npspy/extern/nspr/prio.h NSPR_API(PRStatus) PR_SetPollableEvent(PRFileDesc *event); event 2023 third_party/npapi/npspy/extern/nspr/prio.h NSPR_API(PRStatus) PR_WaitForPollableEvent(PRFileDesc *event); event 514 third_party/npapi/npspy/extern/plugin/npapi.h uint16 event; event 521 third_party/npapi/npspy/extern/plugin/npapi.h uint32 event; event 700 third_party/npapi/npspy/extern/plugin/npapi.h int16 NP_LOADDS NPP_HandleEvent(NPP instance, void* event); event 152 third_party/npapi/npspy/extern/plugin/npupp.h typedef int16 (* NP_LOADDS NPP_HandleEventUPP)(NPP instance, void* event); event 511 third_party/npapi/npspy/extern/plugin/npupp.h NPP_HandleEventUPP event; event 103 third_party/npapi/npspy/include/epmanager.h int16 callNPP_HandleEvent(NPP instance, void* event); event 362 tools/android/forwarder2/socket.cc Event event; event 363 tools/android/forwarder2/socket.cc event.fd = event_fd; event 364 tools/android/forwarder2/socket.cc event.was_fired = false; event 365 tools/android/forwarder2/socket.cc events_.push_back(event); event 61 tools/android/memconsumer/java/src/org/chromium/memconsumer/MemConsumer.java public boolean onEditorAction (TextView v, int actionId, KeyEvent event) { event 178 tools/win/link_limiter/limiter.cc HANDLE event, event 199 tools/win/link_limiter/limiter.cc if (event) { event 200 tools/win/link_limiter/limiter.cc WaitForSingleObject(event, 60 * 1000 /* ms */); event 224 tools/win/link_limiter/limiter.cc HANDLE event = CreateEvent( event 234 tools/win/link_limiter/limiter.cc WaitForPipe(pipename, event, event 247 tools/win/link_limiter/limiter.cc if (event != NULL) event 248 tools/win/link_limiter/limiter.cc SetEvent(event); event 82 tools/xdisplaycheck/xdisplaycheck.cc int opcode, event, err; event 84 tools/xdisplaycheck/xdisplaycheck.cc &event, &err)) { event 127 ui/app_list/views/app_list_folder_view.cc bool AppListFolderView::OnKeyPressed(const ui::KeyEvent& event) { event 128 ui/app_list/views/app_list_folder_view.cc return items_grid_view_->OnKeyPressed(event); event 65 ui/app_list/views/app_list_folder_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 352 ui/app_list/views/app_list_item_view.cc bool AppListItemView::ShouldEnterPushedState(const ui::Event& event) { event 355 ui/app_list/views/app_list_item_view.cc if (event.type() == ui::ET_GESTURE_TAP_DOWN) event 358 ui/app_list/views/app_list_item_view.cc return views::CustomButton::ShouldEnterPushedState(event); event 361 ui/app_list/views/app_list_item_view.cc bool AppListItemView::OnMousePressed(const ui::MouseEvent& event) { event 362 ui/app_list/views/app_list_item_view.cc CustomButton::OnMousePressed(event); event 364 ui/app_list/views/app_list_item_view.cc if (!ShouldEnterPushedState(event)) event 367 ui/app_list/views/app_list_item_view.cc apps_grid_view_->InitiateDrag(this, AppsGridView::MOUSE, event); event 377 ui/app_list/views/app_list_item_view.cc bool AppListItemView::OnKeyPressed(const ui::KeyEvent& event) { event 382 ui/app_list/views/app_list_item_view.cc if (event.key_code() == ui::VKEY_SPACE) event 385 ui/app_list/views/app_list_item_view.cc return CustomButton::OnKeyPressed(event); event 388 ui/app_list/views/app_list_item_view.cc void AppListItemView::OnMouseReleased(const ui::MouseEvent& event) { event 389 ui/app_list/views/app_list_item_view.cc CustomButton::OnMouseReleased(event); event 403 ui/app_list/views/app_list_item_view.cc bool AppListItemView::OnMouseDragged(const ui::MouseEvent& event) { event 404 ui/app_list/views/app_list_item_view.cc CustomButton::OnMouseDragged(event); event 410 ui/app_list/views/app_list_item_view.cc if (!apps_grid_view_->UpdateDragFromItem(AppsGridView::MOUSE, event)) event 424 ui/app_list/views/app_list_item_view.cc void AppListItemView::OnGestureEvent(ui::GestureEvent* event) { event 425 ui/app_list/views/app_list_item_view.cc switch (event->type()) { event 428 ui/app_list/views/app_list_item_view.cc apps_grid_view_->InitiateDrag(this, AppsGridView::TOUCH, *event); event 429 ui/app_list/views/app_list_item_view.cc event->SetHandled(); event 434 ui/app_list/views/app_list_item_view.cc apps_grid_view_->UpdateDragFromItem(AppsGridView::TOUCH, *event); event 435 ui/app_list/views/app_list_item_view.cc event->SetHandled(); event 443 ui/app_list/views/app_list_item_view.cc event->SetHandled(); event 449 ui/app_list/views/app_list_item_view.cc event->SetHandled(); event 459 ui/app_list/views/app_list_item_view.cc if (!event->handled()) event 460 ui/app_list/views/app_list_item_view.cc CustomButton::OnGestureEvent(event); event 114 ui/app_list/views/app_list_item_view.h virtual bool ShouldEnterPushedState(const ui::Event& event) OVERRIDE; event 117 ui/app_list/views/app_list_item_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 118 ui/app_list/views/app_list_item_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 119 ui/app_list/views/app_list_item_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 121 ui/app_list/views/app_list_item_view.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 124 ui/app_list/views/app_list_item_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 132 ui/app_list/views/apps_container_view.cc bool AppsContainerView::OnKeyPressed(const ui::KeyEvent& event) { event 134 ui/app_list/views/apps_container_view.cc return apps_grid_view_->OnKeyPressed(event); event 136 ui/app_list/views/apps_container_view.cc return app_list_folder_view_->OnKeyPressed(event); event 67 ui/app_list/views/apps_container_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 439 ui/app_list/views/apps_grid_view.cc const ui::LocatedEvent& event) { event 446 ui/app_list/views/apps_grid_view.cc drag_view_offset_ = event.location(); event 448 ui/app_list/views/apps_grid_view.cc ExtractDragLocation(event, &drag_start_grid_view_); event 508 ui/app_list/views/apps_grid_view.cc const ui::LocatedEvent& event) { event 512 ui/app_list/views/apps_grid_view.cc ExtractDragLocation(event, &drag_point_in_grid_view); event 800 ui/app_list/views/apps_grid_view.cc int AppsGridView::OnDragUpdated(const ui::DropTargetEvent& event) { event 824 ui/app_list/views/apps_grid_view.cc bool AppsGridView::OnKeyPressed(const ui::KeyEvent& event) { event 827 ui/app_list/views/apps_grid_view.cc handled = selected_view_->OnKeyPressed(event); event 831 ui/app_list/views/apps_grid_view.cc switch (event.key_code()) { event 860 ui/app_list/views/apps_grid_view.cc bool AppsGridView::OnKeyReleased(const ui::KeyEvent& event) { event 863 ui/app_list/views/apps_grid_view.cc handled = selected_view_->OnKeyReleased(event); event 1189 ui/app_list/views/apps_grid_view.cc void AppsGridView::ExtractDragLocation(const ui::LocatedEvent& event, event 1195 ui/app_list/views/apps_grid_view.cc *drag_point = event.root_location(); event 1210 ui/app_list/views/apps_grid_view.cc *drag_point = event.location(); event 1801 ui/app_list/views/apps_grid_view.cc const ui::Event& event) { event 1816 ui/app_list/views/apps_grid_view.cc event.flags()); event 107 ui/app_list/views/apps_grid_view.h const ui::LocatedEvent& event); event 111 ui/app_list/views/apps_grid_view.h bool UpdateDragFromItem(Pointer pointer, const ui::LocatedEvent& event); event 137 ui/app_list/views/apps_grid_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 138 ui/app_list/views/apps_grid_view.h virtual bool OnKeyReleased(const ui::KeyEvent& event) OVERRIDE; event 145 ui/app_list/views/apps_grid_view.h virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; event 281 ui/app_list/views/apps_grid_view.h void ExtractDragLocation(const ui::LocatedEvent& event, event 354 ui/app_list/views/apps_grid_view.h const ui::Event& event) OVERRIDE; event 93 ui/app_list/views/contents_switcher_view.cc const ui::Event& event) { event 30 ui/app_list/views/contents_switcher_view.h const ui::Event& event) OVERRIDE; event 203 ui/app_list/views/contents_view.cc bool ContentsView::OnKeyPressed(const ui::KeyEvent& event) { event 206 ui/app_list/views/contents_view.cc return GetAppsContainerView(view_model_.get())->OnKeyPressed(event); event 208 ui/app_list/views/contents_view.cc return GetSearchResultListView(view_model_.get())->OnKeyPressed(event); event 215 ui/app_list/views/contents_view.cc bool ContentsView::OnMouseWheel(const ui::MouseWheelEvent& event) { event 220 ui/app_list/views/contents_view.cc if (abs(event.x_offset()) > abs(event.y_offset())) event 221 ui/app_list/views/contents_view.cc offset = event.x_offset(); event 223 ui/app_list/views/contents_view.cc offset = event.y_offset(); event 236 ui/app_list/views/contents_view.cc void ContentsView::OnGestureEvent(ui::GestureEvent* event) { event 240 ui/app_list/views/contents_view.cc switch (event->type()) { event 243 ui/app_list/views/contents_view.cc event->SetHandled(); event 249 ui/app_list/views/contents_view.cc event->details().scroll_x() / GetContentsBounds().width()); event 250 ui/app_list/views/contents_view.cc event->SetHandled(); event 255 ui/app_list/views/contents_view.cc event->SetHandled(); event 259 ui/app_list/views/contents_view.cc if (fabs(event->details().velocity_x()) > kMinHorizVelocityToSwitchPage) { event 261 ui/app_list/views/contents_view.cc event->details().velocity_x() < 0 ? 1 : -1, event 264 ui/app_list/views/contents_view.cc event->SetHandled(); event 272 ui/app_list/views/contents_view.cc void ContentsView::OnScrollEvent(ui::ScrollEvent* event) { event 274 ui/app_list/views/contents_view.cc event->type() == ui::ET_SCROLL_FLING_CANCEL) { event 279 ui/app_list/views/contents_view.cc if (abs(event->x_offset()) > abs(event->y_offset())) event 280 ui/app_list/views/contents_view.cc offset = event->x_offset(); event 282 ui/app_list/views/contents_view.cc offset = event->y_offset(); event 289 ui/app_list/views/contents_view.cc event->SetHandled(); event 290 ui/app_list/views/contents_view.cc event->StopPropagation(); event 68 ui/app_list/views/contents_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 69 ui/app_list/views/contents_view.h virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; event 79 ui/app_list/views/contents_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 80 ui/app_list/views/contents_view.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 160 ui/app_list/views/folder_header_view.cc bool FolderHeaderView::OnKeyPressed(const ui::KeyEvent& event) { event 161 ui/app_list/views/folder_header_view.cc if (event.key_code() == ui::VKEY_RETURN) event 200 ui/app_list/views/folder_header_view.cc const ui::Event& event) { event 202 ui/app_list/views/folder_header_view.cc delegate_->NavigateBack(folder_item_, event); event 62 ui/app_list/views/folder_header_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 71 ui/app_list/views/folder_header_view.h const ui::Event& event) OVERRIDE; event 220 ui/app_list/views/page_switcher.cc const ui::Event& event) { event 45 ui/app_list/views/page_switcher.h const ui::Event& event) OVERRIDE; event 159 ui/app_list/views/search_box_view.cc bool SearchBoxView::OnMouseWheel(const ui::MouseWheelEvent& event) { event 161 ui/app_list/views/search_box_view.cc return contents_view_->OnMouseWheel(event); event 196 ui/app_list/views/search_box_view.cc const ui::Event& event) { event 60 ui/app_list/views/search_box_view.h virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; event 77 ui/app_list/views/search_box_view.h const ui::Event& event) OVERRIDE; event 87 ui/app_list/views/search_box_view_unittest.cc ui::KeyEvent event(ui::ET_KEY_PRESSED, key_code, ui::EF_NONE, true); event 88 ui/app_list/views/search_box_view_unittest.cc view_->search_box()->OnKeyPressed(event); event 99 ui/app_list/views/search_result_actions_view.cc const ui::Event& event) { event 105 ui/app_list/views/search_result_actions_view.cc delegate_->OnSearchResultActionActivated(index, event.flags()); event 41 ui/app_list/views/search_result_actions_view.h const ui::Event& event) OVERRIDE; event 109 ui/app_list/views/search_result_list_view.cc bool SearchResultListView::OnKeyPressed(const ui::KeyEvent& event) { event 111 ui/app_list/views/search_result_list_view.cc results_container_->child_at(selected_index_)->OnKeyPressed(event)) { event 115 ui/app_list/views/search_result_list_view.cc switch (event.key_code()) { event 117 ui/app_list/views/search_result_list_view.cc if (event.IsShiftDown()) event 57 ui/app_list/views/search_result_list_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 86 ui/app_list/views/search_result_list_view_unittest.cc ui::KeyEvent event(ui::ET_KEY_PRESSED, key_code, ui::EF_NONE, true); event 87 ui/app_list/views/search_result_list_view_unittest.cc return view_->OnKeyPressed(event); event 172 ui/app_list/views/search_result_view.cc bool SearchResultView::OnKeyPressed(const ui::KeyEvent& event) { event 177 ui/app_list/views/search_result_view.cc switch (event.key_code()) { event 180 ui/app_list/views/search_result_view.cc + (event.IsShiftDown() ? -1 : 1); event 187 ui/app_list/views/search_result_view.cc OnSearchResultActionActivated(selected, event.flags()); event 189 ui/app_list/views/search_result_view.cc list_view_->SearchResultActivated(this, event.flags()); event 266 ui/app_list/views/search_result_view.cc const ui::Event& event) { event 269 ui/app_list/views/search_result_view.cc list_view_->SearchResultActivated(this, event.flags()); event 67 ui/app_list/views/search_result_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 73 ui/app_list/views/search_result_view.h const ui::Event& event) OVERRIDE; event 122 ui/app_list/views/signin_view.cc void SigninView::ButtonPressed(views::Button* sender, const ui::Event& event) { event 29 ui/app_list/views/signin_view.h const ui::Event& event) OVERRIDE; event 198 ui/app_list/views/speech_view.cc void SpeechView::ButtonPressed(views::Button* sender, const ui::Event& event) { event 44 ui/app_list/views/speech_view.h const ui::Event& event) OVERRIDE; event 89 ui/aura/client/default_activation_client.cc const ui::Event* event) { event 43 ui/aura/client/default_activation_client.h const ui::Event* event) OVERRIDE; event 18 ui/aura/device_list_updater_aurax11.cc const base::NativeEvent& event) { event 21 ui/aura/device_list_updater_aurax11.cc if (event->type == GenericEvent && event 22 ui/aura/device_list_updater_aurax11.cc event->xgeneric.evtype == XI_HierarchyChanged) { event 29 ui/aura/device_list_updater_aurax11.cc void DeviceListUpdaterAuraX11::DidProcessEvent(const base::NativeEvent& event) { event 22 ui/aura/device_list_updater_aurax11.h const base::NativeEvent& event) OVERRIDE; event 24 ui/aura/device_list_updater_aurax11.h const base::NativeEvent& event) OVERRIDE; event 107 ui/aura/env.cc bool Env::CanAcceptEvent(const ui::Event& event) { event 78 ui/aura/env.h virtual bool CanAcceptEvent(const ui::Event& event) OVERRIDE; event 366 ui/aura/gestures/gesture_recognizer_unittest.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE { event 368 ui/aura/gestures/gesture_recognizer_unittest.cc queue_.push(new ui::TouchEvent(*event, window_, window_)); event 369 ui/aura/gestures/gesture_recognizer_unittest.cc event->StopPropagation(); event 386 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<ui::TouchEvent> event(queue_.front()); event 387 ui/aura/gestures/gesture_recognizer_unittest.cc dispatcher_->ProcessedTouchEvent(event.get(), window_, event 429 ui/aura/gestures/gesture_recognizer_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 430 ui/aura/gestures/gesture_recognizer_unittest.cc switch (event->type()) { event 432 ui/aura/gestures/gesture_recognizer_unittest.cc double_click_ = event->flags() & ui::EF_IS_DOUBLE_CLICK; event 450 ui/aura/gestures/gesture_recognizer_unittest.cc event->SetHandled(); event 626 ui/aura/gestures/gesture_recognizer_unittest.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE { event 627 ui/aura/gestures/gesture_recognizer_unittest.cc switch (event->type()) { event 681 ui/aura/gestures/gesture_recognizer_unittest.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE { event 682 ui/aura/gestures/gesture_recognizer_unittest.cc TestEventHandler::OnTouchEvent(event); event 683 ui/aura/gestures/gesture_recognizer_unittest.cc if (event->type() == ui::ET_TOUCH_CANCELLED) { event 684 ui/aura/gestures/gesture_recognizer_unittest.cc Window* target = static_cast<Window*>(event->target()); event 528 ui/aura/remote_window_tree_host_win.cc ui::MouseEvent event(ui::ET_MOUSE_MOVED, location, location, flags, 0); event 529 ui/aura/remote_window_tree_host_win.cc SendEventToProcessor(&event); event 595 ui/aura/remote_window_tree_host_win.cc ui::GestureEvent event( event 603 ui/aura/remote_window_tree_host_win.cc SendEventToProcessor(&event); event 611 ui/aura/remote_window_tree_host_win.cc ui::TouchEvent event(ui::ET_TOUCH_PRESSED, event 615 ui/aura/remote_window_tree_host_win.cc SendEventToProcessor(&event); event 623 ui/aura/remote_window_tree_host_win.cc ui::TouchEvent event(ui::ET_TOUCH_RELEASED, event 627 ui/aura/remote_window_tree_host_win.cc SendEventToProcessor(&event); event 635 ui/aura/remote_window_tree_host_win.cc ui::TouchEvent event(ui::ET_TOUCH_MOVED, event 639 ui/aura/remote_window_tree_host_win.cc SendEventToProcessor(&event); event 759 ui/aura/remote_window_tree_host_win.cc ui::KeyEvent event(type, event 763 ui/aura/remote_window_tree_host_win.cc SendEventToProcessor(&event); event 115 ui/aura/test/aura_test_base.cc bool AuraTestBase::DispatchEventUsingWindowDispatcher(ui::Event* event) { event 117 ui/aura/test/aura_test_base.cc event_processor()->OnEventFromSource(event); event 119 ui/aura/test/aura_test_base.cc return event->handled(); event 41 ui/aura/test/aura_test_base.h bool DispatchEventUsingWindowDispatcher(ui::Event* event); event 491 ui/aura/test/event_generator.cc void EventGenerator::Dispatch(ui::Event* event) { event 492 ui/aura/test/event_generator.cc DoDispatchEvent(event, async_); event 586 ui/aura/test/event_generator.cc void EventGenerator::DoDispatchEvent(ui::Event* event, bool async) { event 589 ui/aura/test/event_generator.cc if (event->IsKeyEvent()) { event 590 ui/aura/test/event_generator.cc pending_event = new ui::KeyEvent(*static_cast<ui::KeyEvent*>(event)); event 591 ui/aura/test/event_generator.cc } else if (event->IsMouseEvent()) { event 592 ui/aura/test/event_generator.cc pending_event = new ui::MouseEvent(*static_cast<ui::MouseEvent*>(event)); event 593 ui/aura/test/event_generator.cc } else if (event->IsTouchEvent()) { event 594 ui/aura/test/event_generator.cc pending_event = new ui::TouchEvent(*static_cast<ui::TouchEvent*>(event)); event 595 ui/aura/test/event_generator.cc } else if (event->IsScrollEvent()) { event 597 ui/aura/test/event_generator.cc new ui::ScrollEvent(*static_cast<ui::ScrollEvent*>(event)); event 611 ui/aura/test/event_generator.cc current_host_->event_processor()->OnEventFromSource(event); event 618 ui/aura/test/event_generator.cc ui::Event* event = pending_events_.front(); event 619 ui/aura/test/event_generator.cc DoDispatchEvent(event, false); event 621 ui/aura/test/event_generator.cc delete event; event 311 ui/aura/test/event_generator.h void Dispatch(ui::Event* event); event 336 ui/aura/test/event_generator.h void DoDispatchEvent(ui::Event* event, bool async); event 110 ui/aura/test/test_window_delegate.cc void ColorTestWindowDelegate::OnKeyEvent(ui::KeyEvent* event) { event 111 ui/aura/test/test_window_delegate.cc last_key_code_ = event->key_code(); event 112 ui/aura/test/test_window_delegate.cc event->SetHandled(); event 152 ui/aura/test/test_window_delegate.cc void EventCountDelegate::OnKeyEvent(ui::KeyEvent* event) { event 153 ui/aura/test/test_window_delegate.cc switch (event->type()) { event 164 ui/aura/test/test_window_delegate.cc void EventCountDelegate::OnMouseEvent(ui::MouseEvent* event) { event 165 ui/aura/test/test_window_delegate.cc switch (event->type()) { event 186 ui/aura/test/test_window_delegate.cc void EventCountDelegate::OnGestureEvent(ui::GestureEvent* event) { event 84 ui/aura/test/test_window_delegate.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 116 ui/aura/test/test_window_delegate.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 117 ui/aura/test/test_window_delegate.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 118 ui/aura/test/test_window_delegate.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 39 ui/aura/test/ui_controls_factory_aurax11.cc typedef bool (*EventWaiterMatcher)(const base::NativeEvent& event); event 53 ui/aura/test/ui_controls_factory_aurax11.cc const base::NativeEvent& event) OVERRIDE { event 54 ui/aura/test/ui_controls_factory_aurax11.cc if ((*matcher_)(event)) { event 61 ui/aura/test/ui_controls_factory_aurax11.cc virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE { event 76 ui/aura/test/ui_controls_factory_aurax11.cc bool Matcher(const base::NativeEvent& event) { event 77 ui/aura/test/ui_controls_factory_aurax11.cc return event->xany.type == ClientMessage && event 78 ui/aura/test/ui_controls_factory_aurax11.cc event->xclient.message_type == MarkerEventAtom(); event 1358 ui/aura/window.cc bool Window::CanAcceptEvent(const ui::Event& event) { event 1368 ui/aura/window.cc if (event.IsEndingEvent()) event 1381 ui/aura/window.cc return event.IsKeyEvent() || delegate_; event 1403 ui/aura/window.cc ui::LocatedEvent* event) { event 1404 ui/aura/window.cc event->ConvertLocationToTarget(this, event 464 ui/aura/window.h virtual bool CanAcceptEvent(const ui::Event& event) OVERRIDE; event 469 ui/aura/window.h ui::LocatedEvent* event) OVERRIDE; event 60 ui/aura/window_event_dispatcher.cc bool IsEventCandidateForHold(const ui::Event& event) { event 61 ui/aura/window_event_dispatcher.cc if (event.type() == ui::ET_TOUCH_MOVED) event 63 ui/aura/window_event_dispatcher.cc if (event.type() == ui::ET_MOUSE_DRAGGED) event 65 ui/aura/window_event_dispatcher.cc if (event.IsMouseEvent() && (event.flags() & ui::EF_IS_SYNTHESIZED)) event 98 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::RepostEvent(const ui::LocatedEvent& event) { event 99 ui/aura/window_event_dispatcher.cc DCHECK(event.type() == ui::ET_MOUSE_PRESSED || event 100 ui/aura/window_event_dispatcher.cc event.type() == ui::ET_GESTURE_TAP_DOWN); event 103 ui/aura/window_event_dispatcher.cc if (event.type() == ui::ET_MOUSE_PRESSED) { event 106 ui/aura/window_event_dispatcher.cc static_cast<const ui::MouseEvent&>(event), event 107 ui/aura/window_event_dispatcher.cc static_cast<aura::Window*>(event.target()), event 114 ui/aura/window_event_dispatcher.cc DCHECK(event.type() == ui::ET_GESTURE_TAP_DOWN); event 129 ui/aura/window_event_dispatcher.cc ui::CancelModeEvent event; event 134 ui/aura/window_event_dispatcher.cc DispatchEvent(focused_window ? focused_window : window(), &event); event 139 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::DispatchGestureEvent(ui::GestureEvent* event) { event 144 ui/aura/window_event_dispatcher.cc Window* target = GetGestureTarget(event); event 146 ui/aura/window_event_dispatcher.cc event->ConvertLocationToTarget(window(), target); event 147 ui/aura/window_event_dispatcher.cc DispatchDetails details = DispatchEvent(target, event); event 154 ui/aura/window_event_dispatcher.cc ui::MouseEvent event(ui::ET_MOUSE_EXITED, point, point, ui::EF_NONE, event 157 ui/aura/window_event_dispatcher.cc DispatchMouseEnterOrExit(event, ui::ET_MOUSE_EXITED); event 162 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::ProcessedTouchEvent(ui::TouchEvent* event, event 167 ui/aura/window_event_dispatcher.cc ProcessTouchEventForGesture(*event, result, window)); event 233 ui/aura/window_event_dispatcher.cc ui::LocatedEvent* event) { event 234 ui/aura/window_event_dispatcher.cc event->UpdateForRootTransform(host_->GetInverseRootTransform()); event 250 ui/aura/window_event_dispatcher.cc const ui::MouseEvent& event, event 252 ui/aura/window_event_dispatcher.cc if (event.type() != ui::ET_MOUSE_CAPTURE_CHANGED && event 253 ui/aura/window_event_dispatcher.cc !(event.flags() & ui::EF_IS_SYNTHESIZED)) { event 254 ui/aura/window_event_dispatcher.cc SetLastMouseLocation(window(), event.root_location()); event 266 ui/aura/window_event_dispatcher.cc aura::Window* target = static_cast<Window*>(event.target()); event 269 ui/aura/window_event_dispatcher.cc ui::MouseEvent translated_event(event, event 273 ui/aura/window_event_dispatcher.cc event.flags() | ui::EF_IS_SYNTHESIZED); event 285 ui/aura/window_event_dispatcher.cc ui::GestureEvent* event = gestures->get().at(i); event 286 ui/aura/window_event_dispatcher.cc event->ConvertLocationToTarget(window(), target); event 287 ui/aura/window_event_dispatcher.cc details = DispatchEvent(target, event); event 336 ui/aura/window_event_dispatcher.cc Window* WindowEventDispatcher::GetGestureTarget(ui::GestureEvent* event) { event 338 ui/aura/window_event_dispatcher.cc if (!event->IsEndingEvent()) { event 345 ui/aura/window_event_dispatcher.cc ui::GestureRecognizer::Get()->GetTargetForGestureEvent(*event)); event 365 ui/aura/window_event_dispatcher.cc ui::MouseEvent event(ui::ET_MOUSE_CAPTURE_CHANGED, gfx::Point(), event 368 ui/aura/window_event_dispatcher.cc DispatchDetails details = DispatchEvent(old_capture, &event); event 408 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::PrepareEventForDispatch(ui::Event* event) { event 415 ui/aura/window_event_dispatcher.cc if (event->IsMouseEvent() || event 416 ui/aura/window_event_dispatcher.cc event->IsScrollEvent() || event 417 ui/aura/window_event_dispatcher.cc event->IsTouchEvent() || event 418 ui/aura/window_event_dispatcher.cc event->IsGestureEvent()) { event 419 ui/aura/window_event_dispatcher.cc TransformEventForDeviceScaleFactor(static_cast<ui::LocatedEvent*>(event)); event 432 ui/aura/window_event_dispatcher.cc ui::Event* event) { event 437 ui/aura/window_event_dispatcher.cc bool can_be_held = IsEventCandidateForHold(*event); event 447 ui/aura/window_event_dispatcher.cc if (event->IsMouseEvent()) { event 448 ui/aura/window_event_dispatcher.cc PreDispatchMouseEvent(target_window, static_cast<ui::MouseEvent*>(event)); event 449 ui/aura/window_event_dispatcher.cc } else if (event->IsScrollEvent()) { event 451 ui/aura/window_event_dispatcher.cc static_cast<ui::ScrollEvent*>(event)); event 452 ui/aura/window_event_dispatcher.cc } else if (event->IsTouchEvent()) { event 453 ui/aura/window_event_dispatcher.cc PreDispatchTouchEvent(target_window, static_cast<ui::TouchEvent*>(event)); event 462 ui/aura/window_event_dispatcher.cc const ui::Event& event) { event 472 ui/aura/window_event_dispatcher.cc if (event.IsTouchEvent() && !details.target_destroyed) { event 475 ui/aura/window_event_dispatcher.cc ui::TouchEvent orig_event(static_cast<const ui::TouchEvent&>(event), event 476 ui/aura/window_event_dispatcher.cc static_cast<Window*>(event.target()), window()); event 480 ui/aura/window_event_dispatcher.cc ProcessTouchEventForGesture(orig_event, event.result(), event 499 ui/aura/window_event_dispatcher.cc ui::GestureEvent* event) { event 500 ui/aura/window_event_dispatcher.cc DispatchGestureEvent(event); event 503 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::DispatchCancelTouchEvent(ui::TouchEvent* event) { event 504 ui/aura/window_event_dispatcher.cc DispatchDetails details = OnEventFromSource(event); event 701 ui/aura/window_event_dispatcher.cc ui::MouseEvent event(ui::ET_MOUSE_MOVED, event 706 ui/aura/window_event_dispatcher.cc return OnEventFromSource(&event); event 710 ui/aura/window_event_dispatcher.cc ui::LocatedEvent* event) { event 711 ui/aura/window_event_dispatcher.cc int flags = event->flags(); event 712 ui/aura/window_event_dispatcher.cc if (IsNonClientLocation(target, event->location())) event 714 ui/aura/window_event_dispatcher.cc event->set_flags(flags); event 717 ui/aura/window_event_dispatcher.cc (event->IsMouseEvent() || event->IsScrollEvent()) && event 718 ui/aura/window_event_dispatcher.cc !(event->flags() & ui::EF_IS_SYNTHESIZED)) { event 719 ui/aura/window_event_dispatcher.cc if (event->type() != ui::ET_MOUSE_CAPTURE_CHANGED) event 720 ui/aura/window_event_dispatcher.cc SetLastMouseLocation(window(), event->root_location()); event 726 ui/aura/window_event_dispatcher.cc ui::MouseEvent* event) { event 733 ui/aura/window_event_dispatcher.cc (event->flags() & ui::EF_IS_SYNTHESIZED) && event 734 ui/aura/window_event_dispatcher.cc (event->type() != ui::ET_MOUSE_EXITED)) { event 735 ui/aura/window_event_dispatcher.cc event->SetHandled(); event 739 ui/aura/window_event_dispatcher.cc if (IsEventCandidateForHold(*event) && !dispatching_held_event_) { event 741 ui/aura/window_event_dispatcher.cc if (!(event->flags() & ui::EF_IS_SYNTHESIZED) && event 742 ui/aura/window_event_dispatcher.cc event->type() != ui::ET_MOUSE_CAPTURE_CHANGED) { event 743 ui/aura/window_event_dispatcher.cc SetLastMouseLocation(window(), event->root_location()); event 745 ui/aura/window_event_dispatcher.cc held_move_event_.reset(new ui::MouseEvent(*event, target, window())); event 746 ui/aura/window_event_dispatcher.cc event->SetHandled(); event 759 ui/aura/window_event_dispatcher.cc switch (event->type()) { event 763 ui/aura/window_event_dispatcher.cc DispatchMouseEnterOrExit(*event, ui::ET_MOUSE_EXITED); event 765 ui/aura/window_event_dispatcher.cc event->SetHandled(); event 780 ui/aura/window_event_dispatcher.cc DispatchMouseEnterOrExit(*event, ui::ET_MOUSE_EXITED); event 782 ui/aura/window_event_dispatcher.cc event->SetHandled(); event 788 ui/aura/window_event_dispatcher.cc event->SetHandled(); event 793 ui/aura/window_event_dispatcher.cc event->SetHandled(); event 799 ui/aura/window_event_dispatcher.cc details = DispatchMouseEnterOrExit(*event, ui::ET_MOUSE_ENTERED); event 801 ui/aura/window_event_dispatcher.cc event->SetHandled(); event 811 ui/aura/window_event_dispatcher.cc if (!(event->flags() & ui::EF_IS_NON_CLIENT) && !mouse_pressed_handler_) event 814 ui/aura/window_event_dispatcher.cc event->flags() & kMouseButtonFlagMask); event 818 ui/aura/window_event_dispatcher.cc Env::GetInstance()->set_mouse_button_flags(event->flags() & event 819 ui/aura/window_event_dispatcher.cc kMouseButtonFlagMask & ~event->changed_button_flags()); event 825 ui/aura/window_event_dispatcher.cc PreDispatchLocatedEvent(target, event); event 829 ui/aura/window_event_dispatcher.cc ui::TouchEvent* event) { event 830 ui/aura/window_event_dispatcher.cc switch (event->type()) { event 832 ui/aura/window_event_dispatcher.cc touch_ids_down_ |= (1 << event->touch_id()); event 838 ui/aura/window_event_dispatcher.cc if (!event->HasNativeEvent()) event 842 ui/aura/window_event_dispatcher.cc touch_ids_down_ = (touch_ids_down_ | (1 << event->touch_id())) ^ event 843 ui/aura/window_event_dispatcher.cc (1 << event->touch_id()); event 849 ui/aura/window_event_dispatcher.cc held_move_event_.reset(new ui::TouchEvent(*event, target, window())); event 850 ui/aura/window_event_dispatcher.cc event->SetHandled(); event 859 ui/aura/window_event_dispatcher.cc PreDispatchLocatedEvent(target, event); event 68 ui/aura/window_event_dispatcher.h void RepostEvent(const ui::LocatedEvent& event); event 78 ui/aura/window_event_dispatcher.h void DispatchGestureEvent(ui::GestureEvent* event); event 92 ui/aura/window_event_dispatcher.h void ProcessedTouchEvent(ui::TouchEvent* event, event 145 ui/aura/window_event_dispatcher.h void TransformEventForDeviceScaleFactor(ui::LocatedEvent* event); event 153 ui/aura/window_event_dispatcher.h const ui::MouseEvent& event, event 166 ui/aura/window_event_dispatcher.h Window* GetGestureTarget(ui::GestureEvent* event); event 176 ui/aura/window_event_dispatcher.h virtual void PrepareEventForDispatch(ui::Event* event) OVERRIDE; event 181 ui/aura/window_event_dispatcher.h ui::Event* event) OVERRIDE; event 183 ui/aura/window_event_dispatcher.h ui::EventTarget* target, const ui::Event& event) OVERRIDE; event 187 ui/aura/window_event_dispatcher.h virtual void DispatchPostponedGestureEvent(ui::GestureEvent* event) OVERRIDE; event 188 ui/aura/window_event_dispatcher.h virtual void DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; event 229 ui/aura/window_event_dispatcher.h void PreDispatchLocatedEvent(Window* target, ui::LocatedEvent* event); event 230 ui/aura/window_event_dispatcher.h void PreDispatchMouseEvent(Window* target, ui::MouseEvent* event); event 231 ui/aura/window_event_dispatcher.h void PreDispatchTouchEvent(Window* target, ui::TouchEvent* event); event 61 ui/aura/window_event_dispatcher_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 63 ui/aura/window_event_dispatcher_unittest.cc mouse_event_location_ = event->location(); event 64 ui/aura/window_event_dispatcher_unittest.cc mouse_event_flags_ = event->flags(); event 65 ui/aura/window_event_dispatcher_unittest.cc event->SetHandled(); event 85 ui/aura/window_event_dispatcher_unittest.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE { event 86 ui/aura/window_event_dispatcher_unittest.cc ui::test::TestEventHandler::OnKeyEvent(event); event 87 ui/aura/window_event_dispatcher_unittest.cc event->StopPropagation(); event 141 ui/aura/window_event_dispatcher_unittest.cc ui::MouseEvent event( event 144 ui/aura/window_event_dispatcher_unittest.cc host()->dispatcher()->RepostEvent(event); event 155 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<ui::MouseEvent> event; event 158 ui/aura/window_event_dispatcher_unittest.cc event.reset(new ui::MouseEvent( event 164 ui/aura/window_event_dispatcher_unittest.cc DispatchEventUsingWindowDispatcher(event.get()); event 168 ui/aura/window_event_dispatcher_unittest.cc event.reset(new ui::MouseEvent( event 174 ui/aura/window_event_dispatcher_unittest.cc DispatchEventUsingWindowDispatcher(event.get()); event 178 ui/aura/window_event_dispatcher_unittest.cc event.reset(new ui::MouseEvent( event 184 ui/aura/window_event_dispatcher_unittest.cc DispatchEventUsingWindowDispatcher(event.get()); event 188 ui/aura/window_event_dispatcher_unittest.cc event.reset(new ui::MouseEvent( event 194 ui/aura/window_event_dispatcher_unittest.cc DispatchEventUsingWindowDispatcher(event.get()); event 198 ui/aura/window_event_dispatcher_unittest.cc event.reset(new ui::MouseEvent( event 204 ui/aura/window_event_dispatcher_unittest.cc DispatchEventUsingWindowDispatcher(event.get()); event 464 ui/aura/window_event_dispatcher_unittest.cc virtual void OnEvent(ui::Event* event) OVERRIDE { event 465 ui/aura/window_event_dispatcher_unittest.cc ui::EventHandler::OnEvent(event); event 466 ui/aura/window_event_dispatcher_unittest.cc events_.push_back(event->type()); event 467 ui/aura/window_event_dispatcher_unittest.cc if (wait_until_event_ == event->type() && run_loop_) { event 473 ui/aura/window_event_dispatcher_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 474 ui/aura/window_event_dispatcher_unittest.cc mouse_locations_.push_back(event->location()); event 477 ui/aura/window_event_dispatcher_unittest.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE { event 478 ui/aura/window_event_dispatcher_unittest.cc touch_locations_.push_back(event->location()); event 933 ui/aura/window_event_dispatcher_unittest.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE { event 935 ui/aura/window_event_dispatcher_unittest.cc delete event->target(); event 938 ui/aura/window_event_dispatcher_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 940 ui/aura/window_event_dispatcher_unittest.cc delete event->target(); event 965 ui/aura/window_event_dispatcher_unittest.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE { event 971 ui/aura/window_event_dispatcher_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 1034 ui/aura/window_event_dispatcher_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 1035 ui/aura/window_event_dispatcher_unittest.cc if (event->type() == ui::ET_GESTURE_TAP_DOWN) { event 1036 ui/aura/window_event_dispatcher_unittest.cc event->SetHandled(); event 1040 ui/aura/window_event_dispatcher_unittest.cc if (event->type() == ui::ET_GESTURE_TAP) { event 1041 ui/aura/window_event_dispatcher_unittest.cc Window* parent = static_cast<Window*>(event->target())->parent(); event 1043 ui/aura/window_event_dispatcher_unittest.cc event->SetHandled(); event 1079 ui/aura/window_event_dispatcher_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 1080 ui/aura/window_event_dispatcher_unittest.cc switch (event->type()) { event 1082 ui/aura/window_event_dispatcher_unittest.cc event->SetHandled(); event 1087 ui/aura/window_event_dispatcher_unittest.cc event->SetHandled(); event 1136 ui/aura/window_event_dispatcher_unittest.cc ui::GestureEvent event( event 1144 ui/aura/window_event_dispatcher_unittest.cc host()->dispatcher()->RepostEvent(event); event 1167 ui/aura/window_event_dispatcher_unittest.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE { event 1168 ui/aura/window_event_dispatcher_unittest.cc if (reposted_ && event->type() == ui::ET_TOUCH_PRESSED) { event 1172 ui/aura/window_event_dispatcher_unittest.cc EventFilterRecorder::OnTouchEvent(event); event 1175 ui/aura/window_event_dispatcher_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 1176 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ(done_cleanup_ ? repost_target_ : repost_source_, event->target()); event 1177 ui/aura/window_event_dispatcher_unittest.cc if (event->type() == ui::ET_GESTURE_TAP_DOWN) { event 1179 ui/aura/window_event_dispatcher_unittest.cc EXPECT_NE(repost_target_, event->target()); event 1181 ui/aura/window_event_dispatcher_unittest.cc repost_target_->GetHost()->dispatcher()->RepostEvent(*event); event 1188 ui/aura/window_event_dispatcher_unittest.cc EventFilterRecorder::OnGestureEvent(event); event 1193 ui/aura/window_event_dispatcher_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE {} event 1274 ui/aura/window_event_dispatcher_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 1275 ui/aura/window_event_dispatcher_unittest.cc EventFilterRecorder::OnMouseEvent(event); event 1386 ui/aura/window_event_dispatcher_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 1387 ui/aura/window_event_dispatcher_unittest.cc if ((event->flags() & ui::EF_SHIFT_DOWN) != 0 && event 1447 ui/aura/window_event_dispatcher_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 1448 ui/aura/window_event_dispatcher_unittest.cc if ((event->flags() & ui::EF_SHIFT_DOWN) != 0) { event 1632 ui/aura/window_event_dispatcher_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 1633 ui/aura/window_event_dispatcher_unittest.cc ui::test::TestEventHandler::OnMouseEvent(event); event 1634 ui/aura/window_event_dispatcher_unittest.cc if (event->type() == ui::ET_MOUSE_PRESSED) event 1696 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<ui::MouseEvent> event) { event 1697 ui/aura/window_event_dispatcher_unittest.cc dispatcher->RepostEvent(*event); event 1799 ui/aura/window_event_dispatcher_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 22 ui/aura/window_targeter.cc const ui::LocatedEvent& event) const { event 33 ui/aura/window_targeter.cc ShouldDescendIntoChildForEventHandling(window, event.location())) { event 40 ui/aura/window_targeter.cc aura::Window* window, const ui::LocatedEvent& event) const { event 41 ui/aura/window_targeter.cc gfx::Point point = event.location(); event 48 ui/aura/window_targeter.cc ui::Event* event) { event 50 ui/aura/window_targeter.cc Window* target = event->IsKeyEvent() ? event 51 ui/aura/window_targeter.cc FindTargetForKeyEvent(window, *static_cast<ui::KeyEvent*>(event)) : event 52 ui/aura/window_targeter.cc static_cast<Window*>(EventTargeter::FindTargetForEvent(root, event)); event 60 ui/aura/window_targeter.cc target->GetHost()->event_processor()->OnEventFromSource(event); event 69 ui/aura/window_targeter.cc const ui::LocatedEvent& event) { event 71 ui/aura/window_targeter.cc if (!WindowCanAcceptEvent(window, event)) event 74 ui/aura/window_targeter.cc return EventLocationInsideBounds(window, event); event 79 ui/aura/window_targeter.cc ui::LocatedEvent* event) { event 82 ui/aura/window_targeter.cc Window* target = FindTargetInRootWindow(window, *event); event 84 ui/aura/window_targeter.cc window->ConvertEventToTarget(target, event); event 88 ui/aura/window_targeter.cc return EventTargeter::FindTargetForLocatedEvent(root, event); event 111 ui/aura/window_targeter.cc const ui::LocatedEvent& event) { event 116 ui/aura/window_targeter.cc if (event.IsScrollEvent() || event.IsMouseEvent()) { event 127 ui/aura/window_targeter.cc if (event.IsTouchEvent()) { event 129 ui/aura/window_targeter.cc const ui::TouchEvent& touch = static_cast<const ui::TouchEvent&>(event); event 136 ui/aura/window_targeter.cc event.location(), touch.source_device_id()); event 141 ui/aura/window_targeter.cc if (!root_window->bounds().Contains(event.location())) event 22 ui/aura/window_targeter.h const ui::LocatedEvent& event) const; event 28 ui/aura/window_targeter.h const ui::LocatedEvent& event) const; event 32 ui/aura/window_targeter.h ui::Event* event) OVERRIDE; event 35 ui/aura/window_targeter.h ui::LocatedEvent* event) OVERRIDE; event 38 ui/aura/window_targeter.h const ui::LocatedEvent& event) OVERRIDE; event 42 ui/aura/window_targeter.h const ui::KeyEvent& event); event 44 ui/aura/window_targeter.h const ui::LocatedEvent& event); event 26 ui/aura/window_targeter_unittest.cc ui::LocatedEvent* event) OVERRIDE { event 50 ui/aura/window_tree_host_mac.h virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; event 42 ui/aura/window_tree_host_ozone.cc ui::Event* event = static_cast<ui::Event*>(ne); event 43 ui/aura/window_tree_host_ozone.cc if (event->IsMouseEvent() || event->IsScrollEvent() || event->IsTouchEvent()) event 44 ui/aura/window_tree_host_ozone.cc return bounds_.Contains(static_cast<ui::LocatedEvent*>(event)->location()); event 49 ui/aura/window_tree_host_ozone.cc ui::Event* event = static_cast<ui::Event*>(ne); event 50 ui/aura/window_tree_host_ozone.cc ui::EventDispatchDetails details ALLOW_UNUSED = SendEventToProcessor(event); event 28 ui/aura/window_tree_host_ozone.h virtual bool CanDispatchEvent(const ui::PlatformEvent& event) OVERRIDE; event 29 ui/aura/window_tree_host_ozone.h virtual uint32_t DispatchEvent(const ui::PlatformEvent& event) OVERRIDE; event 46 ui/aura/window_tree_host_ozone.h virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; event 252 ui/aura/window_tree_host_win.cc ui::MouseEvent event(msg); event 254 ui/aura/window_tree_host_win.cc if (!(event.flags() & ui::EF_IS_NON_CLIENT)) { event 255 ui/aura/window_tree_host_win.cc ui::EventDispatchDetails details = SendEventToProcessor(&event); event 256 ui/aura/window_tree_host_win.cc handled = event.handled() || details.dispatcher_destroyed; event 71 ui/aura/window_tree_host_x11.cc target = static_cast<XIDeviceEvent*>(xev->xcookie.data)->event; event 153 ui/aura/window_tree_host_x11.cc void Calibrate(ui::TouchEvent* event, const gfx::Rect& bounds) { event 155 ui/aura/window_tree_host_x11.cc int x = event->x(); event 156 ui/aura/window_tree_host_x11.cc int y = event->y(); event 200 ui/aura/window_tree_host_x11.cc if (event->root_location() == event->location()) { event 203 ui/aura/window_tree_host_x11.cc event->set_root_location(gfx::Point(x, y)); event 205 ui/aura/window_tree_host_x11.cc event->set_location(gfx::Point(x, y)); event 212 ui/aura/window_tree_host_x11.cc const base::NativeEvent& event) OVERRIDE { event 214 ui/aura/window_tree_host_x11.cc if (event->type == GenericEvent && event 215 ui/aura/window_tree_host_x11.cc (event->xgeneric.evtype == XI_TouchBegin || event 216 ui/aura/window_tree_host_x11.cc event->xgeneric.evtype == XI_TouchUpdate || event 217 ui/aura/window_tree_host_x11.cc event->xgeneric.evtype == XI_TouchEnd)) { event 218 ui/aura/window_tree_host_x11.cc XIDeviceEvent* xievent = static_cast<XIDeviceEvent*>(event->xcookie.data); event 219 ui/aura/window_tree_host_x11.cc xievent->event = xievent->root; event 227 ui/aura/window_tree_host_x11.cc virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE { event 329 ui/aura/window_tree_host_x11.cc uint32_t WindowTreeHostX11::Dispatch(const base::NativeEvent& event) { event 330 ui/aura/window_tree_host_x11.cc XEvent* xev = event; event 332 ui/aura/window_tree_host_x11.cc if (FindEventTarget(event) == x_root_window_) { event 333 ui/aura/window_tree_host_x11.cc if (event->type == GenericEvent) event 334 ui/aura/window_tree_host_x11.cc DispatchXI2Event(event); event 403 ui/aura/window_tree_host_x11.cc DCHECK_EQ(xwindow_, xev->xconfigure.event); event 427 ui/aura/window_tree_host_x11.cc DispatchXI2Event(event); event 742 ui/aura/window_tree_host_x11.cc void WindowTreeHostX11::DispatchXI2Event(const base::NativeEvent& event) { event 744 ui/aura/window_tree_host_x11.cc XEvent* xev = event; event 750 ui/aura/window_tree_host_x11.cc (ui::EventTimeForNow() - ui::EventTimeFromNative(event)). event 847 ui/aura/window_tree_host_x11.cc ui::MouseEvent* event) { event 853 ui/aura/window_tree_host_x11.cc if (screen_position_client && !local.Contains(event->location())) { event 854 ui/aura/window_tree_host_x11.cc gfx::Point location(event->location()); event 862 ui/aura/window_tree_host_x11.cc event->set_location(location); event 863 ui/aura/window_tree_host_x11.cc event->set_root_location(location); event 865 ui/aura/window_tree_host_x11.cc SendEventToProcessor(event); event 45 ui/aura/window_tree_host_x11.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; event 62 ui/aura/window_tree_host_x11.h virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; event 79 ui/aura/window_tree_host_x11.h void DispatchXI2Event(const base::NativeEvent& event); event 92 ui/aura/window_tree_host_x11.h void TranslateAndDispatchMouseEvent(ui::MouseEvent* event); event 28 ui/aura/window_tree_host_x11_unittest.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE { event 29 ui/aura/window_tree_host_x11_unittest.cc last_touch_id_ = event->touch_id(); event 30 ui/aura/window_tree_host_x11_unittest.cc last_touch_type_ = event->type(); event 31 ui/aura/window_tree_host_x11_unittest.cc last_touch_location_ = event->location(); event 176 ui/aura/window_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 177 ui/aura/window_unittest.cc if (event->type() == ui::ET_MOUSE_CAPTURE_CHANGED) event 181 ui/aura/window_unittest.cc virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE { event 184 ui/aura/window_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 206 ui/aura/window_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 207 ui/aura/window_unittest.cc position_ = event->location(); event 208 ui/aura/window_unittest.cc event->StopPropagation(); event 1097 ui/aura/window_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 1098 ui/aura/window_unittest.cc switch (event->type()) { event 1100 ui/aura/window_unittest.cc EXPECT_TRUE(event->flags() & ui::EF_IS_SYNTHESIZED); event 1104 ui/aura/window_unittest.cc EXPECT_TRUE(event->flags() & ui::EF_IS_SYNTHESIZED); event 75 ui/base/clipboard/clipboard_aurax11.cc const base::NativeEvent& event) OVERRIDE; event 77 ui/base/clipboard/clipboard_aurax11.cc const base::NativeEvent& event) OVERRIDE {} event 122 ui/base/clipboard/clipboard_aurax11.cc const base::NativeEvent& event) { event 123 ui/base/clipboard/clipboard_aurax11.cc if (event->type == event_base_ + XFixesSelectionNotify) { event 125 ui/base/clipboard/clipboard_aurax11.cc reinterpret_cast<XFixesSelectionNotifyEvent*>(event); event 286 ui/base/clipboard/clipboard_aurax11.cc virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; event 488 ui/base/clipboard/clipboard_aurax11.cc uint32_t Clipboard::AuraX11Details::Dispatch(const base::NativeEvent& event) { event 489 ui/base/clipboard/clipboard_aurax11.cc XEvent* xev = event; event 92 ui/base/clipboard/clipboard_gtk.cc GdkEvent* event) { event 19 ui/base/cocoa/cocoa_base_utils.h WindowOpenDispositionFromNSEvent(NSEvent* event); event 27 ui/base/cocoa/cocoa_base_utils.h WindowOpenDispositionFromNSEventWithFlags(NSEvent* event, NSUInteger flags); event 498 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc const base::NativeEvent& event) { event 499 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc XEvent* xev = event; event 101 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; event 13 ui/base/gtk/event_synthesis_gtk.cc GdkEvent* event = gdk_event_new(press ? GDK_KEY_PRESS : GDK_KEY_RELEASE); event 15 ui/base/gtk/event_synthesis_gtk.cc event->key.type = press ? GDK_KEY_PRESS : GDK_KEY_RELEASE; event 16 ui/base/gtk/event_synthesis_gtk.cc event->key.window = window; event 19 ui/base/gtk/event_synthesis_gtk.cc event->key.send_event = false; event 23 ui/base/gtk/event_synthesis_gtk.cc event->key.time = ts.tv_sec * 1000 + ts.tv_nsec / 1000000; event 25 ui/base/gtk/event_synthesis_gtk.cc event->key.state = state; event 26 ui/base/gtk/event_synthesis_gtk.cc event->key.keyval = gdk_key; event 30 ui/base/gtk/event_synthesis_gtk.cc if (event->key.keyval != 0 && event 32 ui/base/gtk/event_synthesis_gtk.cc event->key.keyval, &keys, &n_keys)) { event 33 ui/base/gtk/event_synthesis_gtk.cc event->key.hardware_keycode = keys[0].keycode; event 34 ui/base/gtk/event_synthesis_gtk.cc event->key.group = keys[0].group; event 38 ui/base/gtk/event_synthesis_gtk.cc return event; event 414 ui/base/ime/chromeos/character_composer.cc bool CharacterComposer::FilterKeyPress(const ui::KeyEvent& event) { event 415 ui/base/ime/chromeos/character_composer.cc if (!event.HasNativeEvent() || event 416 ui/base/ime/chromeos/character_composer.cc (event.type() != ET_KEY_PRESSED && event.type() != ET_KEY_RELEASED)) event 419 ui/base/ime/chromeos/character_composer.cc XEvent* xevent = event.native_event(); event 424 ui/base/ime/chromeos/character_composer.cc return FilterKeyPressInternal(keysym, xevent->xkey.keycode, event.flags()); event 29 ui/base/ime/chromeos/character_composer.h bool FilterKeyPress(const ui::KeyEvent& event); event 27 ui/base/ime/dummy_input_method.cc bool DummyInputMethod::OnUntranslatedIMEMessage(const base::NativeEvent& event, event 42 ui/base/ime/dummy_input_method.cc bool DummyInputMethod::DispatchKeyEvent(const ui::KeyEvent& event) { event 26 ui/base/ime/dummy_input_method.h const base::NativeEvent& event, NativeEventResult* result) OVERRIDE; event 30 ui/base/ime/dummy_input_method.h virtual bool DispatchKeyEvent(const ui::KeyEvent& event) OVERRIDE; event 76 ui/base/ime/input_method.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, event 99 ui/base/ime/input_method.h virtual bool DispatchKeyEvent(const ui::KeyEvent& event) = 0; event 74 ui/base/ime/input_method_auralinux.cc const base::NativeEvent& event, event 79 ui/base/ime/input_method_auralinux.cc bool InputMethodAuraLinux::DispatchKeyEvent(const ui::KeyEvent& event) { event 80 ui/base/ime/input_method_auralinux.cc DCHECK(event.type() == ET_KEY_PRESSED || event.type() == ET_KEY_RELEASED); event 85 ui/base/ime/input_method_auralinux.cc return DispatchKeyEventPostIME(event); event 88 ui/base/ime/input_method_auralinux.cc if (input_method_context_->DispatchKeyEvent(event)) { event 89 ui/base/ime/input_method_auralinux.cc if (event.type() == ET_KEY_PRESSED) { event 92 ui/base/ime/input_method_auralinux.cc event.flags(), event 100 ui/base/ime/input_method_auralinux.cc const bool handled = DispatchKeyEventPostIME(event); event 101 ui/base/ime/input_method_auralinux.cc if (event.type() == ET_KEY_PRESSED && GetTextInputClient()) { event 102 ui/base/ime/input_method_auralinux.cc const uint16 ch = event.GetCharacter(); event 104 ui/base/ime/input_method_auralinux.cc GetTextInputClient()->InsertChar(ch, event.flags()); event 30 ui/base/ime/input_method_auralinux.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, event 32 ui/base/ime/input_method_auralinux.h virtual bool DispatchKeyEvent(const ui::KeyEvent& event) OVERRIDE; event 110 ui/base/ime/input_method_base.cc const ui::KeyEvent& event) const { event 114 ui/base/ime/input_method_base.cc return delegate_->DispatchKeyEventPostIME(event); event 79 ui/base/ime/input_method_base.h bool DispatchKeyEventPostIME(const ui::KeyEvent& event) const; event 148 ui/base/ime/input_method_base_unittest.cc const base::NativeEvent& event, event 77 ui/base/ime/input_method_chromeos.cc const base::NativeEvent& event, event 83 ui/base/ime/input_method_chromeos.cc ui::KeyEvent* event, event 88 ui/base/ime/input_method_chromeos.cc DCHECK(event); event 89 ui/base/ime/input_method_chromeos.cc if (event->type() == ET_KEY_PRESSED) { event 97 ui/base/ime/input_method_chromeos.cc is_handled = ExecuteCharacterComposer(*event); event 101 ui/base/ime/input_method_chromeos.cc if (event->type() == ET_KEY_PRESSED || event->type() == ET_KEY_RELEASED) event 102 ui/base/ime/input_method_chromeos.cc ProcessKeyEventPostIME(*event, is_handled); event 108 ui/base/ime/input_method_chromeos.cc bool InputMethodChromeOS::DispatchKeyEvent(const ui::KeyEvent& event) { event 109 ui/base/ime/input_method_chromeos.cc DCHECK(event.type() == ET_KEY_PRESSED || event.type() == ET_KEY_RELEASED); event 119 ui/base/ime/input_method_chromeos.cc if (event.type() == ET_KEY_PRESSED) { event 120 ui/base/ime/input_method_chromeos.cc if (ExecuteCharacterComposer(event)) { event 123 ui/base/ime/input_method_chromeos.cc ProcessKeyEventPostIME(event, true); event 126 ui/base/ime/input_method_chromeos.cc ProcessUnfilteredKeyPressEvent(event); event 128 ui/base/ime/input_method_chromeos.cc DispatchKeyEventPostIME(event); event 135 ui/base/ime/input_method_chromeos.cc ui::KeyEvent* copied_event = new ui::KeyEvent(event); event 137 ui/base/ime/input_method_chromeos.cc event, event 333 ui/base/ime/input_method_chromeos.cc const ui::KeyEvent& event, event 339 ui/base/ime/input_method_chromeos.cc DispatchKeyEventPostIME(event); event 343 ui/base/ime/input_method_chromeos.cc if (event.type() == ET_KEY_PRESSED && handled) event 344 ui/base/ime/input_method_chromeos.cc ProcessFilteredKeyPressEvent(event); event 352 ui/base/ime/input_method_chromeos.cc ProcessInputMethodResult(event, handled); event 359 ui/base/ime/input_method_chromeos.cc if (event.type() == ET_KEY_PRESSED && !handled) event 360 ui/base/ime/input_method_chromeos.cc ProcessUnfilteredKeyPressEvent(event); event 361 ui/base/ime/input_method_chromeos.cc else if (event.type() == ET_KEY_RELEASED) event 362 ui/base/ime/input_method_chromeos.cc DispatchKeyEventPostIME(event); event 366 ui/base/ime/input_method_chromeos.cc const ui::KeyEvent& event) { event 368 ui/base/ime/input_method_chromeos.cc DispatchKeyEventPostIME(event); event 372 ui/base/ime/input_method_chromeos.cc event.flags(), event 379 ui/base/ime/input_method_chromeos.cc const ui::KeyEvent& event) { event 381 ui/base/ime/input_method_chromeos.cc DispatchKeyEventPostIME(event); event 397 ui/base/ime/input_method_chromeos.cc const uint32 event_flags = event.flags(); event 399 ui/base/ime/input_method_chromeos.cc if (event.HasNativeEvent()) { event 400 ui/base/ime/input_method_chromeos.cc const base::NativeEvent& native_event = event.native_event(); event 409 ui/base/ime/input_method_chromeos.cc ch = ui::GetCharacterFromKeyCode(event.key_code(), event_flags); event 416 ui/base/ime/input_method_chromeos.cc void InputMethodChromeOS::ProcessInputMethodResult(const ui::KeyEvent& event, event 425 ui/base/ime/input_method_chromeos.cc client->InsertChar(*i, event.flags()); event 556 ui/base/ime/input_method_chromeos.cc bool InputMethodChromeOS::ExecuteCharacterComposer(const ui::KeyEvent& event) { event 557 ui/base/ime/input_method_chromeos.cc if (!character_composer_.FilterKeyPress(event)) event 33 ui/base/ime/input_method_chromeos.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, event 35 ui/base/ime/input_method_chromeos.h virtual bool DispatchKeyEvent(const ui::KeyEvent& event) OVERRIDE; event 51 ui/base/ime/input_method_chromeos.h virtual void ProcessKeyEventPostIME(const ui::KeyEvent& event, event 75 ui/base/ime/input_method_chromeos.h void ProcessFilteredKeyPressEvent(const ui::KeyEvent& event); event 78 ui/base/ime/input_method_chromeos.h void ProcessUnfilteredKeyPressEvent(const ui::KeyEvent& event); event 82 ui/base/ime/input_method_chromeos.h void ProcessInputMethodResult(const ui::KeyEvent& event, bool filtered); event 97 ui/base/ime/input_method_chromeos.h bool ExecuteCharacterComposer(const ui::KeyEvent& event); event 110 ui/base/ime/input_method_chromeos.h void ProcessKeyEventDone(uint32 id, ui::KeyEvent* event, bool is_handled); event 74 ui/base/ime/input_method_chromeos_unittest.cc ProcessKeyEventPostIMEArgs() : event(NULL), handled(false) {} event 75 ui/base/ime/input_method_chromeos_unittest.cc const ui::KeyEvent* event; event 82 ui/base/ime/input_method_chromeos_unittest.cc process_key_event_post_ime_args_.event = &key_event; event 240 ui/base/ime/input_method_chromeos_unittest.cc virtual bool DispatchKeyEventPostIME(const ui::KeyEvent& event) OVERRIDE { event 241 ui/base/ime/input_method_chromeos_unittest.cc dispatched_key_event_ = event; event 904 ui/base/ime/input_method_chromeos_unittest.cc const ui::KeyEvent event(xevent, true); event 909 ui/base/ime/input_method_chromeos_unittest.cc ime_->DispatchKeyEvent(event); event 926 ui/base/ime/input_method_chromeos_unittest.cc ime_->process_key_event_post_ime_args().event; event 940 ui/base/ime/input_method_chromeos_unittest.cc const ui::KeyEvent event(xevent, true); event 943 ui/base/ime/input_method_chromeos_unittest.cc ime_->DispatchKeyEvent(event); event 976 ui/base/ime/input_method_chromeos_unittest.cc ime_->process_key_event_post_ime_args().event; event 986 ui/base/ime/input_method_chromeos_unittest.cc stored_event = ime_->process_key_event_post_ime_args().event; event 995 ui/base/ime/input_method_chromeos_unittest.cc const ui::KeyEvent event(xevent, true); event 1000 ui/base/ime/input_method_chromeos_unittest.cc ime_->DispatchKeyEvent(event); event 21 ui/base/ime/input_method_minimal.cc const base::NativeEvent& event, event 26 ui/base/ime/input_method_minimal.cc bool InputMethodMinimal::DispatchKeyEvent(const ui::KeyEvent& event) { event 27 ui/base/ime/input_method_minimal.cc DCHECK(event.type() == ET_KEY_PRESSED || event.type() == ET_KEY_RELEASED); event 31 ui/base/ime/input_method_minimal.cc return DispatchKeyEventPostIME(event); event 34 ui/base/ime/input_method_minimal.cc const bool handled = DispatchKeyEventPostIME(event); event 35 ui/base/ime/input_method_minimal.cc if (event.type() == ET_KEY_PRESSED && GetTextInputClient()) { event 36 ui/base/ime/input_method_minimal.cc const uint16 ch = event.GetCharacter(); event 38 ui/base/ime/input_method_minimal.cc GetTextInputClient()->InsertChar(ch, event.flags()); event 20 ui/base/ime/input_method_minimal.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, event 22 ui/base/ime/input_method_minimal.h virtual bool DispatchKeyEvent(const ui::KeyEvent& event) OVERRIDE; event 63 ui/base/ime/input_method_win.cc const base::NativeEvent& event, event 67 ui/base/ime/input_method_win.cc switch (event.message) { event 70 ui/base/ime/input_method_win.cc event.hwnd, event.message, event.wParam, event.lParam, &handled); event 74 ui/base/ime/input_method_win.cc event.hwnd, event.message, event.wParam, event.lParam, &handled); event 78 ui/base/ime/input_method_win.cc event.hwnd, event.message, event.wParam, event.lParam, &handled); event 82 ui/base/ime/input_method_win.cc event.hwnd, event.message, event.wParam, event.lParam, &handled); event 86 ui/base/ime/input_method_win.cc event.message, event.wParam, event.lParam, &handled); event 91 ui/base/ime/input_method_win.cc event.hwnd, event.message, event.wParam, event.lParam, &handled); event 95 ui/base/ime/input_method_win.cc event.message, event.wParam, event.lParam, &handled); event 98 ui/base/ime/input_method_win.cc NOTREACHED() << "Unknown IME message:" << event.message; event 106 ui/base/ime/input_method_win.cc bool InputMethodWin::DispatchKeyEvent(const ui::KeyEvent& event) { event 107 ui/base/ime/input_method_win.cc if (!event.HasNativeEvent()) event 108 ui/base/ime/input_method_win.cc return DispatchFabricatedKeyEvent(event); event 110 ui/base/ime/input_method_win.cc const base::NativeEvent& native_key_event = event.native_event(); event 141 ui/base/ime/input_method_win.cc return DispatchKeyEventPostIME(event); event 562 ui/base/ime/input_method_win.cc bool InputMethodWin::DispatchFabricatedKeyEvent(const ui::KeyEvent& event) { event 563 ui/base/ime/input_method_win.cc if (event.is_char()) { event 565 ui/base/ime/input_method_win.cc GetTextInputClient()->InsertChar(event.key_code(), event 570 ui/base/ime/input_method_win.cc return DispatchKeyEventPostIME(event); event 29 ui/base/ime/input_method_win.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, event 31 ui/base/ime/input_method_win.h virtual bool DispatchKeyEvent(const ui::KeyEvent& event) OVERRIDE; event 101 ui/base/ime/input_method_win.h bool DispatchFabricatedKeyEvent(const ui::KeyEvent& event); event 37 ui/base/ime/mock_input_method.cc bool MockInputMethod::DispatchKeyEvent(const ui::KeyEvent& event) { event 52 ui/base/ime/mock_input_method.cc bool MockInputMethod::OnUntranslatedIMEMessage(const base::NativeEvent& event, event 36 ui/base/ime/mock_input_method.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, event 41 ui/base/ime/mock_input_method.h virtual bool DispatchKeyEvent(const ui::KeyEvent& event) OVERRIDE; event 144 ui/base/ime/remote_input_method_win.cc virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, event 185 ui/base/ime/remote_input_method_win.cc virtual bool DispatchKeyEvent(const ui::KeyEvent& event) OVERRIDE { event 186 ui/base/ime/remote_input_method_win.cc if (event.HasNativeEvent()) { event 187 ui/base/ime/remote_input_method_win.cc const base::NativeEvent& native_key_event = event.native_event(); event 198 ui/base/ime/remote_input_method_win.cc if (event.is_char()) { event 200 ui/base/ime/remote_input_method_win.cc text_input_client_->InsertChar(event.key_code(), event 207 ui/base/ime/remote_input_method_win.cc return delegate_->DispatchKeyEventPostIME(event); event 162 ui/base/ime/remote_input_method_win_unittest.cc virtual bool DispatchKeyEventPostIME(const ui::KeyEvent& event) OVERRIDE { event 163 ui/base/ime/remote_input_method_win_unittest.cc EXPECT_FALSE(event.HasNativeEvent()); event 164 ui/base/ime/remote_input_method_win_unittest.cc fabricated_key_events_.push_back(event.key_code()); event 41 ui/base/test/ui_controls_gtk.cc virtual void WillProcessEvent(GdkEvent* event) OVERRIDE { event 42 ui/base/test/ui_controls_gtk.cc if ((event->type == type_) && (--count_ == 0)) { event 54 ui/base/test/ui_controls_gtk.cc virtual void DidProcessEvent(GdkEvent* event) OVERRIDE { event 66 ui/base/test/ui_controls_gtk.cc GdkEvent* event = gdk_event_new(GDK_MOTION_NOTIFY); event 68 ui/base/test/ui_controls_gtk.cc event->motion.send_event = false; event 69 ui/base/test/ui_controls_gtk.cc event->motion.time = XTimeNow(); event 75 ui/base/test/ui_controls_gtk.cc event->motion.window = gtk_widget_get_window(grab_widget); event 77 ui/base/test/ui_controls_gtk.cc event->motion.window = gdk_window_at_pointer(&x, &y); event 79 ui/base/test/ui_controls_gtk.cc g_object_ref(event->motion.window); event 81 ui/base/test/ui_controls_gtk.cc gdk_window_get_origin(event->motion.window, &window_x, &window_y); event 82 ui/base/test/ui_controls_gtk.cc event->motion.x = x - window_x; event 83 ui/base/test/ui_controls_gtk.cc event->motion.y = y - window_y; event 84 ui/base/test/ui_controls_gtk.cc event->motion.x_root = x; event 85 ui/base/test/ui_controls_gtk.cc event->motion.y_root = y; event 87 ui/base/test/ui_controls_gtk.cc event->motion.device = gdk_device_get_core_pointer(); event 88 ui/base/test/ui_controls_gtk.cc event->type = GDK_MOTION_NOTIFY; event 90 ui/base/test/ui_controls_gtk.cc gdk_event_put(event); event 91 ui/base/test/ui_controls_gtk.cc gdk_event_free(event); event 187 ui/base/test/ui_controls_gtk.cc GdkEvent* event = gdk_event_new(GDK_BUTTON_PRESS); event 189 ui/base/test/ui_controls_gtk.cc event->button.send_event = false; event 190 ui/base/test/ui_controls_gtk.cc event->button.time = XTimeNow(); event 197 ui/base/test/ui_controls_gtk.cc event->button.window = gtk_widget_get_window(grab_widget); event 198 ui/base/test/ui_controls_gtk.cc gdk_window_get_pointer(event->button.window, &x, &y, NULL); event 200 ui/base/test/ui_controls_gtk.cc event->button.window = gdk_window_at_pointer(&x, &y); event 201 ui/base/test/ui_controls_gtk.cc CHECK(event->button.window); event 204 ui/base/test/ui_controls_gtk.cc g_object_ref(event->button.window); event 205 ui/base/test/ui_controls_gtk.cc event->button.x = x; event 206 ui/base/test/ui_controls_gtk.cc event->button.y = y; event 208 ui/base/test/ui_controls_gtk.cc gdk_window_get_origin(event->button.window, &origin_x, &origin_y); event 209 ui/base/test/ui_controls_gtk.cc event->button.x_root = x + origin_x; event 210 ui/base/test/ui_controls_gtk.cc event->button.y_root = y + origin_y; event 212 ui/base/test/ui_controls_gtk.cc event->button.axes = NULL; event 214 ui/base/test/ui_controls_gtk.cc gdk_window_get_pointer(event->button.window, NULL, NULL, &modifier); event 215 ui/base/test/ui_controls_gtk.cc event->button.state = modifier; event 216 ui/base/test/ui_controls_gtk.cc event->button.button = type == LEFT ? 1 : (type == MIDDLE ? 2 : 3); event 217 ui/base/test/ui_controls_gtk.cc event->button.device = gdk_device_get_core_pointer(); event 219 ui/base/test/ui_controls_gtk.cc event->button.type = GDK_BUTTON_PRESS; event 221 ui/base/test/ui_controls_gtk.cc gdk_event_put(event); event 224 ui/base/test/ui_controls_gtk.cc GdkEvent* release_event = gdk_event_copy(event); event 230 ui/base/test/ui_controls_gtk.cc gdk_event_free(event); event 11 ui/base/ui_base_types.cc MenuSourceType GetMenuSourceTypeForEvent(const ui::Event& event) { event 13 ui/base/ui_base_types.cc if (event.IsKeyEvent()) event 15 ui/base/ui_base_types.cc if (event.IsTouchEvent() || event.IsGestureEvent()) event 54 ui/base/ui_base_types.h UI_BASE_EXPORT MenuSourceType GetMenuSourceTypeForEvent(const ui::Event& event); event 44 ui/base/x/root_window_property_watcher_x.cc GdkXEvent* xevent, GdkEvent* event) { event 67 ui/base/x/selection_owner.cc void SelectionOwner::OnSelectionRequest(const XSelectionRequestEvent& event) { event 72 ui/base/x/selection_owner.cc reply.xselection.requestor = event.requestor; event 73 ui/base/x/selection_owner.cc reply.xselection.selection = event.selection; event 74 ui/base/x/selection_owner.cc reply.xselection.target = event.target; event 76 ui/base/x/selection_owner.cc reply.xselection.time = event.time; event 80 ui/base/x/selection_owner.cc if (event.target == targets_atom) { event 87 ui/base/x/selection_owner.cc XChangeProperty(x_display_, event.requestor, event.property, XA_ATOM, 32, event 91 ui/base/x/selection_owner.cc reply.xselection.property = event.property; event 92 ui/base/x/selection_owner.cc } else if (event.target == atom_cache_.GetAtom(kMultiple)) { event 99 ui/base/x/selection_owner.cc format_map_.find(event.target); event 101 ui/base/x/selection_owner.cc XChangeProperty(x_display_, event.requestor, event.property, event 102 ui/base/x/selection_owner.cc event.target, 8, event 108 ui/base/x/selection_owner.cc reply.xselection.property = event.property; event 115 ui/base/x/selection_owner.cc XSendEvent(x_display_, event.requestor, False, 0, &reply); event 118 ui/base/x/selection_owner.cc void SelectionOwner::OnSelectionClear(const XSelectionClearEvent& event) { event 50 ui/base/x/selection_owner.h void OnSelectionRequest(const XSelectionRequestEvent& event); event 51 ui/base/x/selection_owner.h void OnSelectionClear(const XSelectionClearEvent& event); event 100 ui/base/x/selection_requestor.cc void SelectionRequestor::OnSelectionNotify(const XSelectionEvent& event) { event 105 ui/base/x/selection_requestor.cc if (selection_name_ == event.selection) { event 111 ui/base/x/selection_requestor.cc if (request->target != event.target) event 124 ui/base/x/selection_requestor.cc request_notified->returned_property = event.property; event 57 ui/base/x/selection_requestor.h void OnSelectionNotify(const XSelectionEvent& event); event 466 ui/base/x/x11_util.cc if (xievent->event == next_xievent->event && event 1354 ui/base/x/x11_util.cc XEvent event; event 1355 ui/base/x/x11_util.cc event.xclient.type = ClientMessage; event 1356 ui/base/x/x11_util.cc event.xclient.window = window; event 1357 ui/base/x/x11_util.cc event.xclient.message_type = GetAtom("_NET_WM_DESKTOP"); event 1358 ui/base/x/x11_util.cc event.xclient.format = 32; event 1359 ui/base/x/x11_util.cc event.xclient.data.l[0] = desktop; event 1360 ui/base/x/x11_util.cc event.xclient.data.l[1] = 1; // source indication event 1363 ui/base/x/x11_util.cc SubstructureNotifyMask, &event); event 711 ui/compositor/layer.cc void Layer::OnAnimationStarted(const cc::AnimationEvent& event) { event 713 ui/compositor/layer.cc animator_->OnThreadedAnimationStarted(event); event 348 ui/compositor/layer.h virtual void OnAnimationStarted(const cc::AnimationEvent& event) OVERRIDE; event 212 ui/compositor/layer_animation_sequence.cc const cc::AnimationEvent& event) { event 213 ui/compositor/layer_animation_sequence.cc if (elements_.empty() || event.group_id != animation_group_id_) event 220 ui/compositor/layer_animation_sequence.cc LayerAnimationElement::ToAnimatableProperty(event.target_property); event 224 ui/compositor/layer_animation_sequence.cc event.monotonic_time * base::Time::kMicrosecondsPerSecond)); event 116 ui/compositor/layer_animation_sequence.h void OnThreadedAnimationStarted(const cc::AnimationEvent& event); event 309 ui/compositor/layer_animator.cc const cc::AnimationEvent& event) { event 311 ui/compositor/layer_animator.cc LayerAnimationElement::ToAnimatableProperty(event.target_property); event 318 ui/compositor/layer_animator.cc if (running->sequence()->animation_group_id() != event.group_id) event 321 ui/compositor/layer_animator.cc running->sequence()->OnThreadedAnimationStarted(event); event 326 ui/compositor/layer_animator.cc event.monotonic_time * base::Time::kMicrosecondsPerSecond); event 337 ui/compositor/layer_animator.cc if (((*iter).sequence()->animation_group_id() == event.group_id) && event 173 ui/compositor/layer_animator.h void OnThreadedAnimationStarted(const cc::AnimationEvent& event); event 67 ui/compositor/test/test_compositor_host_x11.cc XEvent event; event 68 ui/compositor/test/test_compositor_host_x11.cc XNextEvent(display, &event); event 69 ui/compositor/test/test_compositor_host_x11.cc if (event.type == MapNotify && event.xmap.window == window_) event 84 ui/display/chromeos/x11/native_display_delegate_x11.cc virtual void UpdateXRandRConfiguration(const base::NativeEvent& event) event 86 ui/display/chromeos/x11/native_display_delegate_x11.cc XRRUpdateConfiguration(event); event 113 ui/display/chromeos/x11/native_display_delegate_x11.cc virtual base::EventStatus WillProcessEvent(const base::NativeEvent& event) event 115 ui/display/chromeos/x11/native_display_delegate_x11.cc virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; event 131 ui/display/chromeos/x11/native_display_delegate_x11.cc const base::NativeEvent& event) { event 134 ui/display/chromeos/x11/native_display_delegate_x11.cc if (event->type == GenericEvent && event 135 ui/display/chromeos/x11/native_display_delegate_x11.cc event->xgeneric.evtype == XI_HierarchyChanged) { event 146 ui/display/chromeos/x11/native_display_delegate_x11.cc const base::NativeEvent& event) {} event 56 ui/display/chromeos/x11/native_display_delegate_x11.h virtual void UpdateXRandRConfiguration(const base::NativeEvent& event) = 0; event 27 ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc const base::NativeEvent& event) { event 28 ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc if (event->type - xrandr_event_base_ == RRScreenChangeNotify) { event 30 ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc delegate_->UpdateXRandRConfiguration(event); event 36 ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc if (event->type - xrandr_event_base_ != RRNotify) event 38 ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc const XRRNotifyEvent* notify_event = reinterpret_cast<XRRNotifyEvent*>(event); event 42 ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc reinterpret_cast<XRROutputChangeNotifyEvent*>(event); event 30 ui/display/chromeos/x11/native_display_event_dispatcher_x11.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; event 59 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc virtual void UpdateXRandRConfiguration(const base::NativeEvent& event) event 80 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc const base::NativeEvent& event) { event 131 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc XRRScreenChangeNotifyEvent event = {0}; event 132 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc event.type = xrandr_event_base_ + RRScreenChangeNotify; event 134 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc dispatcher_->Dispatch(reinterpret_cast<const base::NativeEvent>(&event)); event 142 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc XRROutputChangeNotifyEvent event = {0}; event 143 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc event.type = xrandr_event_base_ + RRNotify; event 144 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc event.subtype = RRNotify_OutputChange; event 145 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc event.output = output; event 146 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc event.crtc = crtc; event 147 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc event.mode = mode; event 148 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc event.connection = connected ? RR_Connected : RR_Disconnected; event 150 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc dispatcher_->Dispatch(reinterpret_cast<const base::NativeEvent>(&event)); event 22 ui/events/cocoa/cocoa_event_utils.h EVENTS_EXPORT int EventFlagsFromNSEventWithModifiers(NSEvent* event, event 32 ui/events/event.cc base::NativeEvent CopyNativeEvent(const base::NativeEvent& event) { event 34 ui/events/event.cc if (!event || event->type == GenericEvent) event 37 ui/events/event.cc *copy = *event; event 40 ui/events/event.cc return event; event 106 ui/events/event.cc bool IsX11SendEventTrue(const base::NativeEvent& event) { event 108 ui/events/event.cc if (event && event->xany.send_event) event 330 ui/events/event.cc int MouseEvent::GetRepeatCount(const MouseEvent& event) { event 333 ui/events/event.cc if (event.type() == ui::ET_MOUSE_RELEASED) event 335 ui/events/event.cc if (IsX11SendEventTrue(event.native_event())) event 337 ui/events/event.cc else if (IsRepeatedClickEvent(*last_click_event_, event)) event 341 ui/events/event.cc last_click_event_ = new MouseEvent(event); event 34 ui/events/event.h explicit DispatcherApi(Event* event) : event_(event) {} event 18 ui/events/event_dispatcher.cc explicit ScopedDispatchHelper(Event* event) event 19 ui/events/event_dispatcher.cc : Event::DispatcherApi(event) { event 47 ui/events/event_dispatcher.cc Event* event) { event 49 ui/events/event_dispatcher.cc Event::DispatcherApi dispatch_helper(event); event 53 ui/events/event_dispatcher.cc EventDispatchDetails details = PreDispatchEvent(target, event); event 54 ui/events/event_dispatcher.cc if (!event->handled() && event 57 ui/events/event_dispatcher.cc details = DispatchEventToTarget(target, event); event 62 ui/events/event_dispatcher.cc NULL : target, *event); event 70 ui/events/event_dispatcher.cc EventTarget* target, Event* event) { event 75 ui/events/event_dispatcher.cc EventTarget* target, const Event& event) { event 81 ui/events/event_dispatcher.cc Event* event) { event 85 ui/events/event_dispatcher.cc dispatcher.ProcessEvent(target, event); event 115 ui/events/event_dispatcher.cc void EventDispatcher::ProcessEvent(EventTarget* target, Event* event) { event 116 ui/events/event_dispatcher.cc if (!target || !target->CanAcceptEvent(*event)) event 119 ui/events/event_dispatcher.cc ScopedDispatchHelper dispatch_helper(event); event 126 ui/events/event_dispatcher.cc DispatchEventToEventHandlers(&handler_list_, event); event 127 ui/events/event_dispatcher.cc if (event->handled()) event 137 ui/events/event_dispatcher.cc DispatchEvent(target, event); event 138 ui/events/event_dispatcher.cc if (event->handled()) event 148 ui/events/event_dispatcher.cc DispatchEventToEventHandlers(&handler_list_, event); event 159 ui/events/event_dispatcher.cc Event* event) { event 167 ui/events/event_dispatcher.cc if (delegate_ && !event->stopped_propagation()) event 168 ui/events/event_dispatcher.cc DispatchEvent(handler, event); event 180 ui/events/event_dispatcher.cc void EventDispatcher::DispatchEvent(EventHandler* handler, Event* event) { event 182 ui/events/event_dispatcher.cc if (!delegate_->CanDispatchToTarget(event->target())) { event 183 ui/events/event_dispatcher.cc if (event->cancelable()) event 184 ui/events/event_dispatcher.cc event->StopPropagation(); event 188 ui/events/event_dispatcher.cc base::AutoReset<Event*> event_reset(¤t_event_, event); event 189 ui/events/event_dispatcher.cc handler->OnEvent(event); event 190 ui/events/event_dispatcher.cc if (!delegate_ && event->cancelable()) event 191 ui/events/event_dispatcher.cc event->StopPropagation(); event 45 ui/events/event_dispatcher.h EventDispatchDetails DispatchEvent(EventTarget* target, Event* event) event 54 ui/events/event_dispatcher.h Event* event) WARN_UNUSED_RESULT; event 60 ui/events/event_dispatcher.h const Event& event) WARN_UNUSED_RESULT; event 65 ui/events/event_dispatcher.h Event* event) WARN_UNUSED_RESULT; event 78 ui/events/event_dispatcher.h void ProcessEvent(EventTarget* target, Event* event); event 89 ui/events/event_dispatcher.h void DispatchEventToEventHandlers(EventHandlerList* list, Event* event); event 94 ui/events/event_dispatcher.h void DispatchEvent(EventHandler* handler, Event* event); event 41 ui/events/event_dispatcher_unittest.cc virtual bool CanAcceptEvent(const ui::Event& event) OVERRIDE { event 76 ui/events/event_dispatcher_unittest.cc virtual void ReceivedEvent(Event* event) { event 77 ui/events/event_dispatcher_unittest.cc static_cast<TestTarget*>(event->target())->AddHandlerId(id_); event 78 ui/events/event_dispatcher_unittest.cc if (event->phase() == ui::EP_POSTTARGET) { event 82 ui/events/event_dispatcher_unittest.cc } else if (event->phase() == ui::EP_PRETARGET) { event 97 ui/events/event_dispatcher_unittest.cc virtual void OnEvent(Event* event) OVERRIDE { event 98 ui/events/event_dispatcher_unittest.cc ui::EventHandler::OnEvent(event); event 99 ui/events/event_dispatcher_unittest.cc ReceivedEvent(event); event 100 ui/events/event_dispatcher_unittest.cc SetStatusOnEvent(event); event 103 ui/events/event_dispatcher_unittest.cc void SetStatusOnEvent(Event* event) { event 105 ui/events/event_dispatcher_unittest.cc event->StopPropagation(); event 107 ui/events/event_dispatcher_unittest.cc event->SetHandled(); event 144 ui/events/event_dispatcher_unittest.cc virtual void ReceivedEvent(Event* event) OVERRIDE { event 145 ui/events/event_dispatcher_unittest.cc TestEventHandler::ReceivedEvent(event); event 161 ui/events/event_dispatcher_unittest.cc virtual void ReceivedEvent(Event* event) OVERRIDE { event 162 ui/events/event_dispatcher_unittest.cc TestEventHandler::ReceivedEvent(event); event 163 ui/events/event_dispatcher_unittest.cc TestTarget* target = static_cast<TestTarget*>(event->target()); event 189 ui/events/event_dispatcher_unittest.cc virtual void ReceivedEvent(Event* event) OVERRIDE { event 190 ui/events/event_dispatcher_unittest.cc TestEventHandler::ReceivedEvent(event); event 212 ui/events/event_dispatcher_unittest.cc EventDispatchDetails ProcessEvent(EventTarget* target, Event* event) { event 213 ui/events/event_dispatcher_unittest.cc return DispatchEvent(target, event); event 391 ui/events/event_dispatcher_unittest.cc NonCancelableEvent event; event 392 ui/events/event_dispatcher_unittest.cc EventDispatchDetails details = dispatcher->ProcessEvent(&target, &event); event 443 ui/events/event_dispatcher_unittest.cc NonCancelableEvent event; event 444 ui/events/event_dispatcher_unittest.cc EventDispatchDetails details = dispatcher->ProcessEvent(&target, &event); event 483 ui/events/event_dispatcher_unittest.cc NonCancelableEvent event; event 484 ui/events/event_dispatcher_unittest.cc details = dispatcher.ProcessEvent(&target, &event); event 540 ui/events/event_dispatcher_unittest.cc NonCancelableEvent event; event 541 ui/events/event_dispatcher_unittest.cc EventDispatchDetails details = dispatcher.ProcessEvent(&target, &event); event 600 ui/events/event_dispatcher_unittest.cc NonCancelableEvent event; event 601 ui/events/event_dispatcher_unittest.cc EventDispatchDetails details = dispatcher->ProcessEvent(&target, &event); event 23 ui/events/event_handler.cc void EventHandler::OnEvent(Event* event) { event 24 ui/events/event_handler.cc if (event->IsKeyEvent()) event 25 ui/events/event_handler.cc OnKeyEvent(static_cast<KeyEvent*>(event)); event 26 ui/events/event_handler.cc else if (event->IsMouseEvent()) event 27 ui/events/event_handler.cc OnMouseEvent(static_cast<MouseEvent*>(event)); event 28 ui/events/event_handler.cc else if (event->IsScrollEvent()) event 29 ui/events/event_handler.cc OnScrollEvent(static_cast<ScrollEvent*>(event)); event 30 ui/events/event_handler.cc else if (event->IsTouchEvent()) event 31 ui/events/event_handler.cc OnTouchEvent(static_cast<TouchEvent*>(event)); event 32 ui/events/event_handler.cc else if (event->IsGestureEvent()) event 33 ui/events/event_handler.cc OnGestureEvent(static_cast<GestureEvent*>(event)); event 34 ui/events/event_handler.cc else if (event->type() == ET_CANCEL_MODE) event 35 ui/events/event_handler.cc OnCancelMode(static_cast<CancelModeEvent*>(event)); event 38 ui/events/event_handler.cc void EventHandler::OnKeyEvent(KeyEvent* event) { event 41 ui/events/event_handler.cc void EventHandler::OnMouseEvent(MouseEvent* event) { event 44 ui/events/event_handler.cc void EventHandler::OnScrollEvent(ScrollEvent* event) { event 47 ui/events/event_handler.cc void EventHandler::OnTouchEvent(TouchEvent* event) { event 50 ui/events/event_handler.cc void EventHandler::OnGestureEvent(GestureEvent* event) { event 53 ui/events/event_handler.cc void EventHandler::OnCancelMode(CancelModeEvent* event) { event 38 ui/events/event_handler.h virtual void OnEvent(Event* event); event 40 ui/events/event_handler.h virtual void OnKeyEvent(KeyEvent* event); event 42 ui/events/event_handler.h virtual void OnMouseEvent(MouseEvent* event); event 44 ui/events/event_handler.h virtual void OnScrollEvent(ScrollEvent* event); event 46 ui/events/event_handler.h virtual void OnTouchEvent(TouchEvent* event); event 48 ui/events/event_handler.h virtual void OnGestureEvent(GestureEvent* event); event 50 ui/events/event_handler.h virtual void OnCancelMode(CancelModeEvent* event); event 12 ui/events/event_processor.cc EventDispatchDetails EventProcessor::OnEventFromSource(Event* event) { event 18 ui/events/event_processor.cc PrepareEventForDispatch(event); event 19 ui/events/event_processor.cc EventTarget* target = targeter->FindTargetForEvent(root, event); event 22 ui/events/event_processor.cc EventDispatchDetails details = DispatchEvent(target, event); event 25 ui/events/event_processor.cc event->handled()) { event 29 ui/events/event_processor.cc target = targeter->FindNextBestTarget(target, event); event 35 ui/events/event_processor.cc void EventProcessor::PrepareEventForDispatch(Event* event) { event 26 ui/events/event_processor.h virtual EventDispatchDetails OnEventFromSource(Event* event) event 35 ui/events/event_processor.h virtual void PrepareEventForDispatch(Event* event); event 35 ui/events/event_processor_unittest.cc void DispatchEvent(Event* event) { event 36 ui/events/event_processor_unittest.cc processor_.OnEventFromSource(event); event 67 ui/events/event_processor_unittest.cc EventTarget* target, const LocatedEvent& event) OVERRIDE { event 69 ui/events/event_processor_unittest.cc return (t->bounds().Contains(event.location())); event 105 ui/events/event_processor_unittest.cc LocatedEvent* event) OVERRIDE { event 106 ui/events/event_processor_unittest.cc event->ConvertLocationToTarget(this, event 179 ui/events/event_processor_unittest.cc EventTarget* target, const LocatedEvent& event) OVERRIDE { event 221 ui/events/event_processor_unittest.cc Event* event) OVERRIDE { event 226 ui/events/event_processor_unittest.cc Event* event) OVERRIDE { event 52 ui/events/event_rewriter.h const Event& event, event 48 ui/events/event_rewriter_unittest.cc virtual EventDispatchDetails OnEventFromSource(Event* event) OVERRIDE { event 50 ui/events/event_rewriter_unittest.cc EXPECT_EQ(expected_events_.front(), event->type()); event 67 ui/events/event_rewriter_unittest.cc scoped_ptr<Event> event(new TestEvent(type)); event 68 ui/events/event_rewriter_unittest.cc (void)SendEventToProcessor(event.get()); event 86 ui/events/event_rewriter_unittest.cc virtual EventRewriteStatus RewriteEvent(const Event& event, event 116 ui/events/event_rewriter_unittest.cc virtual EventRewriteStatus RewriteEvent(const Event& event, event 120 ui/events/event_rewriter_unittest.cc rules_.find(RewriteCase(state_, event.type())); event 32 ui/events/event_source.cc EventDispatchDetails EventSource::SendEventToProcessor(Event* event) { event 38 ui/events/event_source.cc status = (*it)->RewriteEvent(*event, &rewritten_event); event 51 ui/events/event_source.cc DeliverEventToProcessor(rewritten_event ? rewritten_event.get() : event); event 70 ui/events/event_source.cc EventDispatchDetails EventSource::DeliverEventToProcessor(Event* event) { event 73 ui/events/event_source.cc return processor->OnEventFromSource(event); event 36 ui/events/event_source.h EventDispatchDetails SendEventToProcessor(Event* event); event 40 ui/events/event_source.h EventDispatchDetails DeliverEventToProcessor(Event* event); event 22 ui/events/event_target.cc LocatedEvent* event) { event 59 ui/events/event_target.cc void EventTarget::OnEvent(Event* event) { event 60 ui/events/event_target.cc CHECK_EQ(this, event->target()); event 62 ui/events/event_target.cc target_handler_->OnEvent(event); event 64 ui/events/event_target.cc EventHandler::OnEvent(event); event 67 ui/events/event_target.cc void EventTarget::OnKeyEvent(KeyEvent* event) { event 68 ui/events/event_target.cc CHECK_EQ(this, event->target()); event 70 ui/events/event_target.cc target_handler_->OnKeyEvent(event); event 73 ui/events/event_target.cc void EventTarget::OnMouseEvent(MouseEvent* event) { event 74 ui/events/event_target.cc CHECK_EQ(this, event->target()); event 76 ui/events/event_target.cc target_handler_->OnMouseEvent(event); event 79 ui/events/event_target.cc void EventTarget::OnScrollEvent(ScrollEvent* event) { event 80 ui/events/event_target.cc CHECK_EQ(this, event->target()); event 82 ui/events/event_target.cc target_handler_->OnScrollEvent(event); event 85 ui/events/event_target.cc void EventTarget::OnTouchEvent(TouchEvent* event) { event 86 ui/events/event_target.cc CHECK_EQ(this, event->target()); event 88 ui/events/event_target.cc target_handler_->OnTouchEvent(event); event 91 ui/events/event_target.cc void EventTarget::OnGestureEvent(GestureEvent* event) { event 92 ui/events/event_target.cc CHECK_EQ(this, event->target()); event 94 ui/events/event_target.cc target_handler_->OnGestureEvent(event); event 43 ui/events/event_target.h virtual bool CanAcceptEvent(const Event& event) = 0; event 59 ui/events/event_target.h LocatedEvent* event); event 86 ui/events/event_target.h virtual void OnEvent(Event* event) OVERRIDE; event 87 ui/events/event_target.h virtual void OnKeyEvent(KeyEvent* event) OVERRIDE; event 88 ui/events/event_target.h virtual void OnMouseEvent(MouseEvent* event) OVERRIDE; event 89 ui/events/event_target.h virtual void OnScrollEvent(ScrollEvent* event) OVERRIDE; event 90 ui/events/event_target.h virtual void OnTouchEvent(TouchEvent* event) OVERRIDE; event 91 ui/events/event_target.h virtual void OnGestureEvent(GestureEvent* event) OVERRIDE; event 17 ui/events/event_targeter.cc Event* event) { event 18 ui/events/event_targeter.cc if (event->IsMouseEvent() || event 19 ui/events/event_targeter.cc event->IsScrollEvent() || event 20 ui/events/event_targeter.cc event->IsTouchEvent() || event 21 ui/events/event_targeter.cc event->IsGestureEvent()) { event 23 ui/events/event_targeter.cc static_cast<LocatedEvent*>(event)); event 29 ui/events/event_targeter.cc LocatedEvent* event) { event 38 ui/events/event_targeter.cc if (!targeter->SubtreeShouldBeExploredForEvent(child, *event)) event 40 ui/events/event_targeter.cc target->ConvertEventToTarget(child, event); event 43 ui/events/event_targeter.cc targeter->FindTargetForLocatedEvent(child, event) : event 44 ui/events/event_targeter.cc FindTargetForLocatedEvent(child, event); event 48 ui/events/event_targeter.cc target->ConvertEventToTarget(root, event); event 50 ui/events/event_targeter.cc return root->CanAcceptEvent(*event) ? root : NULL; event 54 ui/events/event_targeter.cc const LocatedEvent& event) { event 59 ui/events/event_targeter.cc Event* event) { event 25 ui/events/event_targeter.h Event* event); event 33 ui/events/event_targeter.h LocatedEvent* event); event 39 ui/events/event_targeter.h const LocatedEvent& event); event 46 ui/events/event_targeter.h Event* event); event 31 ui/events/event_unittest.cc ScopedXI2Event event; event 32 ui/events/event_unittest.cc event.InitKeyEvent(ET_KEY_RELEASED, VKEY_A, 0); event 33 ui/events/event_unittest.cc KeyEvent keyev(event, false); event 48 ui/events/event_unittest.cc ScopedXI2Event event; event 49 ui/events/event_unittest.cc event.InitKeyEvent(ET_KEY_PRESSED, VKEY_RETURN, EF_CONTROL_DOWN); event 50 ui/events/event_unittest.cc KeyEvent keyev3(event, false); event 53 ui/events/event_unittest.cc event.InitKeyEvent(ET_KEY_PRESSED, VKEY_RETURN, 0); event 54 ui/events/event_unittest.cc KeyEvent keyev4(event, false); event 198 ui/events/event_unittest.cc ScopedXI2Event event; event 200 ui/events/event_unittest.cc event.InitKeyEvent(ET_KEY_PRESSED, VKEY_SHIFT, EF_SHIFT_DOWN); event 201 ui/events/event_unittest.cc KeyEvent keyev(event, false); event 205 ui/events/event_unittest.cc event.InitKeyEvent(ET_KEY_RELEASED, VKEY_SHIFT, EF_SHIFT_DOWN); event 206 ui/events/event_unittest.cc KeyEvent keyev(event, false); event 210 ui/events/event_unittest.cc event.InitKeyEvent(ET_KEY_PRESSED, VKEY_CONTROL, EF_CONTROL_DOWN); event 211 ui/events/event_unittest.cc KeyEvent keyev(event, false); event 215 ui/events/event_unittest.cc event.InitKeyEvent(ET_KEY_RELEASED, VKEY_CONTROL, EF_CONTROL_DOWN); event 216 ui/events/event_unittest.cc KeyEvent keyev(event, false); event 220 ui/events/event_unittest.cc event.InitKeyEvent(ET_KEY_PRESSED, VKEY_MENU, EF_ALT_DOWN); event 221 ui/events/event_unittest.cc KeyEvent keyev(event, false); event 225 ui/events/event_unittest.cc event.InitKeyEvent(ET_KEY_RELEASED, VKEY_MENU, EF_ALT_DOWN); event 226 ui/events/event_unittest.cc KeyEvent keyev(event, false); event 135 ui/events/event_utils.h EVENTS_EXPORT bool IsTouchpadEvent(const base::NativeEvent& event); event 21 ui/events/gesture_detection/filtered_gesture_provider.cc bool FilteredGestureProvider::OnTouchEvent(const MotionEvent& event) { event 25 ui/events/gesture_detection/filtered_gesture_provider.cc pending_gesture_packet_ = GestureEventDataPacket::FromTouch(event); event 27 ui/events/gesture_detection/filtered_gesture_provider.cc if (!gesture_provider_.OnTouchEvent(event)) event 65 ui/events/gesture_detection/filtered_gesture_provider.cc void FilteredGestureProvider::OnGestureEvent(const GestureEventData& event) { event 67 ui/events/gesture_detection/filtered_gesture_provider.cc pending_gesture_packet_.Push(event); event 72 ui/events/gesture_detection/filtered_gesture_provider.cc GestureEventDataPacket::FromTouchTimeout(event)); event 76 ui/events/gesture_detection/filtered_gesture_provider.cc const GestureEventData& event) { event 77 ui/events/gesture_detection/filtered_gesture_provider.cc client_->OnGestureEvent(event); event 29 ui/events/gesture_detection/filtered_gesture_provider.h bool OnTouchEvent(const MotionEvent& event); event 44 ui/events/gesture_detection/filtered_gesture_provider.h virtual void OnGestureEvent(const ui::GestureEventData& event) OVERRIDE; event 47 ui/events/gesture_detection/filtered_gesture_provider.h virtual void ForwardGestureEvent(const ui::GestureEventData& event) OVERRIDE; event 103 ui/events/gesture_detection/gesture_detector.cc void StartTimeout(TimeoutEvent event) { event 104 ui/events/gesture_detection/gesture_detector.cc timeout_timers_[event].Start(FROM_HERE, event 105 ui/events/gesture_detection/gesture_detector.cc timeout_delays_[event], event 107 ui/events/gesture_detection/gesture_detector.cc timeout_callbacks_[event]); event 110 ui/events/gesture_detection/gesture_detector.cc void StopTimeout(TimeoutEvent event) { timeout_timers_[event].Stop(); } event 117 ui/events/gesture_detection/gesture_detector.cc bool HasTimeout(TimeoutEvent event) const { event 118 ui/events/gesture_detection/gesture_detector.cc return timeout_timers_[event].IsRunning(); event 14 ui/events/gesture_detection/gesture_event_data_packet.cc const ui::MotionEvent& event) { event 15 ui/events/gesture_detection/gesture_event_data_packet.cc switch (event.GetAction()) { event 29 ui/events/gesture_detection/gesture_event_data_packet.cc NOTREACHED() << "Invalid ui::MotionEvent action: " << event.GetAction(); event 51 ui/events/gesture_detection/gesture_provider.cc const MotionEvent& event, event 54 ui/events/gesture_detection/gesture_provider.cc event.GetId(), event 55 ui/events/gesture_detection/gesture_provider.cc event.GetEventTime(), event 56 ui/events/gesture_detection/gesture_provider.cc event.GetX(), event 57 ui/events/gesture_detection/gesture_provider.cc event.GetY(), event 62 ui/events/gesture_detection/gesture_provider.cc const MotionEvent& event) { event 64 ui/events/gesture_detection/gesture_provider.cc type, event.GetId(), event.GetEventTime(), event.GetX(), event.GetY()); event 68 ui/events/gesture_detection/gesture_provider.cc const MotionEvent& event) { event 74 ui/events/gesture_detection/gesture_provider.cc gfx::RectF(event.GetTouchMajor(), event.GetTouchMajor())); event 100 ui/events/gesture_detection/gesture_provider.cc bool OnTouchEvent(const MotionEvent& event) { event 103 ui/events/gesture_detection/gesture_provider.cc bool handled = scale_gesture_detector_.OnTouchEvent(event); event 105 ui/events/gesture_detection/gesture_provider.cc (event.GetAction() == MotionEvent::ACTION_UP || event 106 ui/events/gesture_detection/gesture_provider.cc event.GetAction() == MotionEvent::ACTION_CANCEL)) { event 542 ui/events/gesture_detection/gesture_provider.cc bool GestureProvider::OnTouchEvent(const MotionEvent& event) { event 544 ui/events/gesture_detection/gesture_provider.cc "action", GetMotionEventActionName(event.GetAction())); event 545 ui/events/gesture_detection/gesture_provider.cc if (!CanHandle(event)) event 551 ui/events/gesture_detection/gesture_provider.cc if (event.GetAction() == MotionEvent::ACTION_DOWN) { event 552 ui/events/gesture_detection/gesture_provider.cc current_down_event_ = event.Clone(); event 556 ui/events/gesture_detection/gesture_provider.cc SendTapCancelIfNecessary(event); event 559 ui/events/gesture_detection/gesture_provider.cc bool handled = gesture_listener_->OnTouchEvent(event, in_scale_gesture); event 560 ui/events/gesture_detection/gesture_provider.cc handled |= scale_gesture_listener_->OnTouchEvent(event); event 562 ui/events/gesture_detection/gesture_provider.cc if (event.GetAction() == MotionEvent::ACTION_UP || event 563 ui/events/gesture_detection/gesture_provider.cc event.GetAction() == MotionEvent::ACTION_CANCEL) { event 566 ui/events/gesture_detection/gesture_provider.cc EndTouchScrollIfNecessary(event, true); event 570 ui/events/gesture_detection/gesture_provider.cc if (event.GetAction() == MotionEvent::ACTION_CANCEL) event 571 ui/events/gesture_detection/gesture_provider.cc SendTapCancelIfNecessary(event); event 640 ui/events/gesture_detection/gesture_provider.cc bool GestureProvider::CanHandle(const MotionEvent& event) const { event 641 ui/events/gesture_detection/gesture_provider.cc return event.GetAction() == MotionEvent::ACTION_DOWN || current_down_event_; event 644 ui/events/gesture_detection/gesture_provider.cc void GestureProvider::Fling(const MotionEvent& event, event 648 ui/events/gesture_detection/gesture_provider.cc EndTouchScrollIfNecessary(event, true); event 659 ui/events/gesture_detection/gesture_provider.cc Send(CreateGesture(ET_GESTURE_SCROLL_BEGIN, event, scroll_details)); event 661 ui/events/gesture_detection/gesture_provider.cc EndTouchScrollIfNecessary(event, false); event 666 ui/events/gesture_detection/gesture_provider.cc ET_SCROLL_FLING_START, event, fling_details)); event 738 ui/events/gesture_detection/gesture_provider.cc void GestureProvider::SendTapCancelIfNecessary(const MotionEvent& event) { event 742 ui/events/gesture_detection/gesture_provider.cc Send(CreateGesture(ET_GESTURE_TAP_CANCEL, event)); event 757 ui/events/gesture_detection/gesture_provider.cc bool GestureProvider::SendLongTapIfNecessary(const MotionEvent& event) { event 758 ui/events/gesture_detection/gesture_provider.cc if (event.GetAction() == MotionEvent::ACTION_UP && event 761 ui/events/gesture_detection/gesture_provider.cc SendTapCancelIfNecessary(event); event 764 ui/events/gesture_detection/gesture_provider.cc gfx::RectF(event.GetTouchMajor(), event.GetTouchMajor())); event 765 ui/events/gesture_detection/gesture_provider.cc Send(CreateGesture(ET_GESTURE_LONG_TAP, event, long_tap_details)); event 771 ui/events/gesture_detection/gesture_provider.cc void GestureProvider::EndTouchScrollIfNecessary(const MotionEvent& event, event 777 ui/events/gesture_detection/gesture_provider.cc Send(CreateGesture(ET_GESTURE_SCROLL_END, event)); event 43 ui/events/gesture_detection/gesture_provider.h bool OnTouchEvent(const MotionEvent& event); event 88 ui/events/gesture_detection/gesture_provider.h bool CanHandle(const MotionEvent& event) const; event 92 ui/events/gesture_detection/gesture_provider.h void SendTapCancelIfNecessary(const MotionEvent& event); event 93 ui/events/gesture_detection/gesture_provider.h void SendTapCancelIfNecessary(const GestureEventData& event); event 94 ui/events/gesture_detection/gesture_provider.h bool SendLongTapIfNecessary(const MotionEvent& event); event 95 ui/events/gesture_detection/gesture_provider.h void EndTouchScrollIfNecessary(const MotionEvent& event, event 154 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 156 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 158 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 160 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneSecond, event 164 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 166 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 182 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent( event 184 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 186 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 212 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 214 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 216 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 219 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond, event 221 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 223 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 240 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 242 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 244 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 248 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond, event 250 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 252 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 269 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 271 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 273 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 277 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + delta_time, event 281 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 282 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 284 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + delta_time * 2, event 288 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 290 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 321 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 323 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 325 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 327 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + delta_time, event 331 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 333 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 349 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + delta_time * 2, event 353 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 355 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 367 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 369 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 385 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 388 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 391 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond, event 395 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 404 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 406 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 410 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond, event 414 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 417 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond * 2, event 421 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 426 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond * 3, event 430 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 433 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond * 3, event 437 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 451 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 453 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 455 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_1 + kOneMicrosecond, event 459 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 462 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent( event 464 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 467 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond, event 471 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 475 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond * 2, event 479 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 483 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond * 3, event 487 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 491 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond * 4, event 495 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 508 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 510 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 514 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond, event 518 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 520 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond * 2, event 524 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 547 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 549 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 552 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time, event 556 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 557 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time, event 559 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 564 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond * i, event 568 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 598 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 600 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 604 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond, event 608 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 611 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond * 2, event 615 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 627 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 629 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 630 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond, event 634 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 635 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond * 2, event 639 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 654 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 656 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 664 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneSecond, MotionEvent::ACTION_UP); event 665 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 672 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 674 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 681 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + long_press_timeout, event 685 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 691 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + long_press_timeout, event 693 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 701 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = ObtainMotionEvent( event 703 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 705 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond, event 709 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 712 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond, event 716 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 725 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + long_press_timeout, event 729 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 731 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 736 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + long_press_timeout + kOneMicrosecond, event 740 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 741 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 755 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 757 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 759 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond * 2, event 763 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 775 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = ObtainMotionEvent( event 777 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 781 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond, event 785 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 788 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond * 2, event 792 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 795 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond * 3, event 799 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 809 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 811 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 813 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_1 + kOneMicrosecond, event 817 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 819 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent( event 821 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 823 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond, event 829 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 833 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond * 2, event 837 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 843 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond * 3, event 847 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 860 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 862 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 864 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_1 + kOneMicrosecond, event 868 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 870 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent( event 872 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 874 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond, event 880 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 884 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond * 2, event 888 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 892 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond * 3, event 896 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 907 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 909 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 910 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_1 + kOneMicrosecond, event 914 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 915 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent( event 917 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 918 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond, event 922 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 931 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond * 2, event 935 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 938 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond * 3, event 942 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 953 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_1, MotionEvent::ACTION_DOWN); event 954 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 955 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_1 + kOneMicrosecond, event 959 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 960 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent( event 962 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 963 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond, event 967 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 973 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond * 2, event 977 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 980 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(down_time_2 + kOneMicrosecond * 3, event 984 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 999 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 1001 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 1002 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 1005 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time, event 1011 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 1013 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 1018 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time, event 1024 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 1026 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 1034 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time, event 1040 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 1042 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 1048 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time, event 1054 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 1056 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 1061 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time, MotionEvent::ACTION_UP); event 1062 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 1071 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 1073 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 1083 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + long_press_timeout, event 1085 ui/events/gesture_detection/gesture_provider_unittest.cc gesture_provider_->OnTouchEvent(event); event 1098 ui/events/gesture_detection/gesture_provider_unittest.cc MockMotionEvent event = event 1100 ui/events/gesture_detection/gesture_provider_unittest.cc event.SetId(++motion_event_id); event 1101 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 1110 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond, event 1112 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_FALSE(gesture_provider_->OnTouchEvent(event)); event 1114 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond * 2, event 1116 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_FALSE(gesture_provider_->OnTouchEvent(event)); event 1118 ui/events/gesture_detection/gesture_provider_unittest.cc event = ObtainMotionEvent(event_time + kOneMicrosecond * 3, event 1120 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_TRUE(gesture_provider_->OnTouchEvent(event)); event 83 ui/events/gesture_detection/scale_gesture_detector.cc bool ScaleGestureDetector::OnTouchEvent(const MotionEvent& event) { event 84 ui/events/gesture_detection/scale_gesture_detector.cc curr_time_ = event.GetEventTime(); event 86 ui/events/gesture_detection/scale_gesture_detector.cc const int action = event.GetAction(); event 91 ui/events/gesture_detection/scale_gesture_detector.cc gesture_detector_->OnTouchEvent(event); event 102 ui/events/gesture_detection/scale_gesture_detector.cc listener_->OnScaleEnd(*this, event); event 124 ui/events/gesture_detection/scale_gesture_detector.cc const int skip_index = pointer_up ? event.GetActionIndex() : -1; event 128 ui/events/gesture_detection/scale_gesture_detector.cc const int count = static_cast<int>(event.GetPointerCount()); event 137 ui/events/gesture_detection/scale_gesture_detector.cc if (event.GetY() < focus_y) { event 146 ui/events/gesture_detection/scale_gesture_detector.cc sum_x += event.GetX(i); event 147 ui/events/gesture_detection/scale_gesture_detector.cc sum_y += event.GetY(i); event 154 ui/events/gesture_detection/scale_gesture_detector.cc AddTouchHistory(event); event 164 ui/events/gesture_detection/scale_gesture_detector.cc dev_sum_x += std::abs(event.GetX(i) - focus_x) + touch_size; event 165 ui/events/gesture_detection/scale_gesture_detector.cc dev_sum_y += std::abs(event.GetY(i) - focus_y) + touch_size; event 190 ui/events/gesture_detection/scale_gesture_detector.cc listener_->OnScaleEnd(*this, event); event 208 ui/events/gesture_detection/scale_gesture_detector.cc in_progress_ = listener_->OnScaleBegin(*this, event); event 220 ui/events/gesture_detection/scale_gesture_detector.cc update_prev = listener_->OnScale(*this, event); event 73 ui/events/gesture_detection/scale_gesture_detector.h bool OnTouchEvent(const MotionEvent& event); event 55 ui/events/gesture_detection/snap_scroll_controller.cc const MotionEvent& event, event 57 ui/events/gesture_detection/snap_scroll_controller.cc switch (event.GetAction()) { event 60 ui/events/gesture_detection/snap_scroll_controller.cc first_touch_x_ = event.GetX(); event 61 ui/events/gesture_detection/snap_scroll_controller.cc first_touch_y_ = event.GetY(); event 71 ui/events/gesture_detection/snap_scroll_controller.cc int x_diff = static_cast<int>(std::abs(event.GetX() - first_touch_x_)); event 72 ui/events/gesture_detection/snap_scroll_controller.cc int y_diff = static_cast<int>(std::abs(event.GetY() - first_touch_y_)); event 37 ui/events/gesture_detection/snap_scroll_controller.h void SetSnapScrollingMode(const MotionEvent& event, event 202 ui/events/gesture_detection/touch_disposition_gesture_filter.cc void TouchDispositionGestureFilter::SendGesture(const GestureEventData& event) { event 205 ui/events/gesture_detection/touch_disposition_gesture_filter.cc switch (event.type) { event 212 ui/events/gesture_detection/touch_disposition_gesture_filter.cc ending_event_motion_event_id_ = event.motion_event_id; event 225 ui/events/gesture_detection/touch_disposition_gesture_filter.cc ending_event_motion_event_id_ = event.motion_event_id; event 233 ui/events/gesture_detection/touch_disposition_gesture_filter.cc ending_event_motion_event_id_ = event.motion_event_id; event 243 ui/events/gesture_detection/touch_disposition_gesture_filter.cc client_->ForwardGestureEvent(event); event 30 ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc virtual void ForwardGestureEvent(const GestureEventData& event) OVERRIDE { event 32 ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc sent_gestures_.push_back(event.type); event 273 ui/events/gesture_detection/velocity_tracker.cc void VelocityTracker::AddMovement(const MotionEvent& event) { event 274 ui/events/gesture_detection/velocity_tracker.cc int32_t actionMasked = event.GetAction(); event 287 ui/events/gesture_detection/velocity_tracker.cc downIdBits.mark_bit(event.GetPointerId(event.GetActionIndex())); event 308 ui/events/gesture_detection/velocity_tracker.cc size_t pointer_count = event.GetPointerCount(); event 315 ui/events/gesture_detection/velocity_tracker.cc id_bits.mark_bit(event.GetPointerId(i)); event 320 ui/events/gesture_detection/velocity_tracker.cc pointer_index[i] = id_bits.get_index_of_bit(event.GetPointerId(i)); event 324 ui/events/gesture_detection/velocity_tracker.cc size_t historySize = event.GetHistorySize(); event 328 ui/events/gesture_detection/velocity_tracker.cc positions[index].x = event.GetHistoricalX(i, h); event 329 ui/events/gesture_detection/velocity_tracker.cc positions[index].y = event.GetHistoricalY(i, h); event 331 ui/events/gesture_detection/velocity_tracker.cc AddMovement(event.GetHistoricalEventTime(h), id_bits, positions); event 336 ui/events/gesture_detection/velocity_tracker.cc positions[index].x = event.GetX(i); event 337 ui/events/gesture_detection/velocity_tracker.cc positions[index].y = event.GetY(i); event 339 ui/events/gesture_detection/velocity_tracker.cc AddMovement(event.GetEventTime(), id_bits, positions); event 102 ui/events/gesture_detection/velocity_tracker.h void AddMovement(const MotionEvent& event); event 31 ui/events/gesture_detection/velocity_tracker_state.cc void VelocityTrackerState::AddMovement(const MotionEvent& event) { event 32 ui/events/gesture_detection/velocity_tracker_state.cc velocity_tracker_.AddMovement(event); event 28 ui/events/gesture_detection/velocity_tracker_state.h void AddMovement(const MotionEvent& event); event 55 ui/events/gestures/gesture_point.cc void GesturePoint::UpdateValues(const TouchEvent& event) { event 57 ui/events/gestures/gesture_point.cc event.time_stamp().InMicroseconds(); event 58 ui/events/gestures/gesture_point.cc if (event.type() == ui::ET_TOUCH_MOVED) { event 59 ui/events/gestures/gesture_point.cc velocity_calculator_.PointSeen(event.location().x(), event 60 ui/events/gestures/gesture_point.cc event.location().y(), event 67 ui/events/gestures/gesture_point.cc last_touch_time_ = event.time_stamp().InSecondsF(); event 68 ui/events/gestures/gesture_point.cc last_touch_position_ = event.location_f(); event 70 ui/events/gestures/gesture_point.cc if (event.type() == ui::ET_TOUCH_PRESSED) { event 74 ui/events/gestures/gesture_point.cc first_touch_position_ = event.location(); event 77 ui/events/gestures/gesture_point.cc velocity_calculator_.PointSeen(event.location().x(), event 78 ui/events/gestures/gesture_point.cc event.location().y(), event 82 ui/events/gestures/gesture_point.cc UpdateEnclosingRectangle(event); event 99 ui/events/gestures/gesture_point.cc bool GesturePoint::IsInClickWindow(const TouchEvent& event) const { event 100 ui/events/gestures/gesture_point.cc return IsInClickTimeWindow() && IsInsideTouchSlopRegion(event); event 103 ui/events/gestures/gesture_point.cc bool GesturePoint::IsInDoubleClickWindow(const TouchEvent& event) const { event 106 ui/events/gestures/gesture_point.cc event.location(), last_tap_position_); event 109 ui/events/gestures/gesture_point.cc bool GesturePoint::IsInTripleClickWindow(const TouchEvent& event) const { event 113 ui/events/gestures/gesture_point.cc event.location(), last_tap_position_) && event 118 ui/events/gestures/gesture_point.cc bool GesturePoint::IsInScrollWindow(const TouchEvent& event) const { event 119 ui/events/gestures/gesture_point.cc return event.type() == ui::ET_TOUCH_MOVED && event 120 ui/events/gestures/gesture_point.cc !IsInsideTouchSlopRegion(event); event 123 ui/events/gestures/gesture_point.cc bool GesturePoint::IsInFlickWindow(const TouchEvent& event) { event 125 ui/events/gestures/gesture_point.cc event.type() != ui::ET_TOUCH_CANCELLED; event 137 ui/events/gestures/gesture_point.cc bool GesturePoint::DidScroll(const TouchEvent& event, int dist) const { event 182 ui/events/gestures/gesture_point.cc bool GesturePoint::IsInsideTouchSlopRegion(const TouchEvent& event) const { event 183 ui/events/gestures/gesture_point.cc const gfx::PointF& p1 = event.location(); event 204 ui/events/gestures/gesture_point.cc void GesturePoint::UpdateEnclosingRectangle(const TouchEvent& event) { event 209 ui/events/gestures/gesture_point.cc if (event.radius_x() > GestureConfiguration::max_radius() || event 210 ui/events/gestures/gesture_point.cc event.radius_y() > GestureConfiguration::max_radius()) event 219 ui/events/gestures/gesture_point.cc if (event.radius_x() || event.radius_y()) event 220 ui/events/gestures/gesture_point.cc radius = std::max(event.radius_x(), event.radius_y()); event 224 ui/events/gestures/gesture_point.cc gfx::RectF rect(event.location_f().x() - radius, event 225 ui/events/gestures/gesture_point.cc event.location_f().y() - radius, event 228 ui/events/gestures/gesture_point.cc if (IsInClickWindow(event)) event 36 ui/events/gestures/gesture_point.h void UpdateValues(const TouchEvent& event); event 40 ui/events/gestures/gesture_point.h bool IsInClickWindow(const TouchEvent& event) const; event 41 ui/events/gestures/gesture_point.h bool IsInDoubleClickWindow(const TouchEvent& event) const; event 42 ui/events/gestures/gesture_point.h bool IsInTripleClickWindow(const TouchEvent& event) const; event 43 ui/events/gestures/gesture_point.h bool IsInFlickWindow(const TouchEvent& event); event 46 ui/events/gestures/gesture_point.h bool IsInsideTouchSlopRegion(const TouchEvent& event) const; event 47 ui/events/gestures/gesture_point.h bool IsInScrollWindow(const TouchEvent& event) const; event 50 ui/events/gestures/gesture_point.h bool DidScroll(const TouchEvent& event, int distance) const; event 108 ui/events/gestures/gesture_point.h void UpdateEnclosingRectangle(const TouchEvent& event); event 34 ui/events/gestures/gesture_recognizer.h virtual Gestures* ProcessTouchEventForGesture(const TouchEvent& event, event 46 ui/events/gestures/gesture_recognizer.h virtual GestureConsumer* GetTouchLockedTarget(const TouchEvent& event) = 0; event 50 ui/events/gestures/gesture_recognizer.h const GestureEvent& event) = 0; event 72 ui/events/gestures/gesture_recognizer_impl.cc const TouchEvent& event) { event 73 ui/events/gestures/gesture_recognizer_impl.cc return touch_id_target_[event.touch_id()]; event 77 ui/events/gestures/gesture_recognizer_impl.cc const GestureEvent& event) { event 79 ui/events/gestures/gesture_recognizer_impl.cc int touch_id = event.GetLowestTouchId(); event 190 ui/events/gestures/gesture_recognizer_impl.cc void GestureRecognizerImpl::SetupTargets(const TouchEvent& event, event 192 ui/events/gestures/gesture_recognizer_impl.cc if (event.type() == ui::ET_TOUCH_RELEASED || event 193 ui/events/gestures/gesture_recognizer_impl.cc event.type() == ui::ET_TOUCH_CANCELLED) { event 194 ui/events/gestures/gesture_recognizer_impl.cc touch_id_target_.erase(event.touch_id()); event 195 ui/events/gestures/gesture_recognizer_impl.cc } else if (event.type() == ui::ET_TOUCH_PRESSED) { event 196 ui/events/gestures/gesture_recognizer_impl.cc touch_id_target_[event.touch_id()] = target; event 198 ui/events/gestures/gesture_recognizer_impl.cc touch_id_target_for_gestures_[event.touch_id()] = target; event 218 ui/events/gestures/gesture_recognizer_impl.cc const TouchEvent& event, event 221 ui/events/gestures/gesture_recognizer_impl.cc SetupTargets(event, target); event 223 ui/events/gestures/gesture_recognizer_impl.cc return gesture_sequence->ProcessTouchEventForGesture(event, result); event 253 ui/events/gestures/gesture_recognizer_impl.cc void GestureRecognizerImpl::DispatchPostponedGestureEvent(GestureEvent* event) { event 254 ui/events/gestures/gesture_recognizer_impl.cc GestureConsumer* consumer = GetTargetForGestureEvent(*event); event 258 ui/events/gestures/gesture_recognizer_impl.cc helper->DispatchPostponedGestureEvent(event); event 38 ui/events/gestures/gesture_recognizer_impl.h const TouchEvent& event) OVERRIDE; event 40 ui/events/gestures/gesture_recognizer_impl.h const GestureEvent& event) OVERRIDE; event 55 ui/events/gestures/gesture_recognizer_impl.h void SetupTargets(const TouchEvent& event, GestureConsumer* consumer); event 60 ui/events/gestures/gesture_recognizer_impl.h const TouchEvent& event, event 69 ui/events/gestures/gesture_recognizer_impl.h virtual void DispatchPostponedGestureEvent(GestureEvent* event) OVERRIDE; event 461 ui/events/gestures/gesture_sequence.cc void UpdateGestureEventLatencyInfo(const TouchEvent& event, event 470 ui/events/gestures/gesture_sequence.cc *event.latency(), ui::INPUT_EVENT_LATENCY_ORIGINAL_COMPONENT); event 472 ui/events/gestures/gesture_sequence.cc *event.latency(), ui::INPUT_EVENT_LATENCY_UI_COMPONENT); event 474 ui/events/gestures/gesture_sequence.cc *event.latency(), ui::INPUT_EVENT_LATENCY_ACKED_TOUCH_COMPONENT); event 508 ui/events/gestures/gesture_sequence.cc const TouchEvent& event, event 510 ui/events/gestures/gesture_sequence.cc StopTimersIfRequired(event); event 511 ui/events/gestures/gesture_sequence.cc last_touch_location_ = event.location(); event 516 ui/events/gestures/gesture_sequence.cc if (event.touch_id() >= kMaxGesturePoints) event 519 ui/events/gestures/gesture_sequence.cc if (event.type() == ui::ET_TOUCH_PRESSED) { event 522 ui/events/gestures/gesture_sequence.cc GesturePoint* new_point = &points_[event.touch_id()]; event 527 ui/events/gestures/gesture_sequence.cc LOG(ERROR) << "Received a second press for a point: " << event.touch_id(); event 529 ui/events/gestures/gesture_sequence.cc new_point->UpdateValues(event); event 533 ui/events/gestures/gesture_sequence.cc new_point->set_touch_id(event.touch_id()); event 534 ui/events/gestures/gesture_sequence.cc new_point->set_source_device_id(event.source_device_id()); event 541 ui/events/gestures/gesture_sequence.cc GesturePoint& point = GesturePointForEvent(event); event 542 ui/events/gestures/gesture_sequence.cc point.UpdateValues(event); event 544 ui/events/gestures/gesture_sequence.cc flags_ = event.flags(); event 550 ui/events/gestures/gesture_sequence.cc if (event.type() == ui::ET_TOUCH_PRESSED) event 557 ui/events/gestures/gesture_sequence.cc event.type(), status_internal); event 560 ui/events/gestures/gesture_sequence.cc signature = Signature(state_, point_id, event.type(), TSI_ALWAYS); event 567 ui/events/gestures/gesture_sequence.cc TouchDown(event, point, gestures.get()); event 572 ui/events/gestures/gesture_sequence.cc if (Click(event, point, gestures.get())) event 580 ui/events/gestures/gesture_sequence.cc if (ScrollStart(event, point, gestures.get())) { event 583 ui/events/gestures/gesture_sequence.cc if (ScrollUpdate(event, point, gestures.get(), FS_FIRST_SCROLL)) event 590 ui/events/gestures/gesture_sequence.cc if (point.IsInScrollWindow(event)) { event 610 ui/events/gestures/gesture_sequence.cc BreakRailScroll(event, point, gestures.get()); event 611 ui/events/gestures/gesture_sequence.cc if (ScrollUpdate(event, point, gestures.get(), FS_NOT_FIRST_SCROLL)) event 615 ui/events/gestures/gesture_sequence.cc if (point.DidScroll(event, 0)) event 620 ui/events/gestures/gesture_sequence.cc ScrollEnd(event, point, gestures.get()); event 626 ui/events/gestures/gesture_sequence.cc TwoFingerTapOrPinch(event, point, gestures.get()); event 629 ui/events/gestures/gesture_sequence.cc TwoFingerTapOrPinch(event, point, gestures.get()); event 632 ui/events/gestures/gesture_sequence.cc PinchStart(event, point, gestures.get()); event 637 ui/events/gestures/gesture_sequence.cc TwoFingerTouchReleased(event, point, gestures.get()); event 642 ui/events/gestures/gesture_sequence.cc if (TwoFingerTouchMove(event, point, gestures.get())) event 664 ui/events/gestures/gesture_sequence.cc TwoFingerTouchReleased(event, point, gestures.get()); event 679 ui/events/gestures/gesture_sequence.cc if (TwoFingerTouchMove(event, point, gestures.get())) event 717 ui/events/gestures/gesture_sequence.cc if (PinchUpdate(event, point, gestures.get())) { event 734 ui/events/gestures/gesture_sequence.cc MaybeSwipe(event, point, gestures.get()); event 737 ui/events/gestures/gesture_sequence.cc PinchEnd(event, point, gestures.get()); event 758 ui/events/gestures/gesture_sequence.cc if (event.type() == ui::ET_TOUCH_RELEASED || event 759 ui/events/gestures/gesture_sequence.cc event.type() == ui::ET_TOUCH_CANCELLED) event 765 ui/events/gestures/gesture_sequence.cc << " touch id: " << event.touch_id(); event 779 ui/events/gestures/gesture_sequence.cc if (event.type() == ui::ET_TOUCH_RELEASED || event 780 ui/events/gestures/gesture_sequence.cc event.type() == ui::ET_TOUCH_CANCELLED) { event 797 ui/events/gestures/gesture_sequence.cc UpdateGestureEventLatencyInfo(event, gestures.get()); event 860 ui/events/gestures/gesture_sequence.cc const TouchEvent& event) { event 861 ui/events/gestures/gesture_sequence.cc return points_[event.touch_id()]; event 1130 ui/events/gestures/gesture_sequence.cc bool GestureSequence::Click(const TouchEvent& event, event 1135 ui/events/gestures/gesture_sequence.cc if (point.IsInClickWindow(event)) { event 1137 ui/events/gestures/gesture_sequence.cc if (point.IsInTripleClickWindow(event)) event 1139 ui/events/gestures/gesture_sequence.cc else if (point.IsInDoubleClickWindow(event)) event 1147 ui/events/gestures/gesture_sequence.cc } else if (point.IsInsideTouchSlopRegion(event) && event 1154 ui/events/gestures/gesture_sequence.cc bool GestureSequence::ScrollStart(const TouchEvent& event, event 1158 ui/events/gestures/gesture_sequence.cc if (!point.IsInScrollWindow(event)) event 1170 ui/events/gestures/gesture_sequence.cc void GestureSequence::BreakRailScroll(const TouchEvent& event, event 1182 ui/events/gestures/gesture_sequence.cc bool GestureSequence::ScrollUpdate(const TouchEvent& event, event 1187 ui/events/gestures/gesture_sequence.cc if (!point.DidScroll(event, 0)) event 1193 ui/events/gestures/gesture_sequence.cc bool GestureSequence::TouchDown(const TouchEvent& event, event 1215 ui/events/gestures/gesture_sequence.cc bool GestureSequence::TwoFingerTouchDown(const TouchEvent& event, event 1228 ui/events/gestures/gesture_sequence.cc second_touch_time_ = event.time_stamp(); event 1232 ui/events/gestures/gesture_sequence.cc bool GestureSequence::TwoFingerTouchMove(const TouchEvent& event, event 1238 ui/events/gestures/gesture_sequence.cc base::TimeDelta time_delta = event.time_stamp() - second_touch_time_; event 1241 ui/events/gestures/gesture_sequence.cc if (time_delta > max_delta || !point.IsInsideTouchSlopRegion(event)) { event 1242 ui/events/gestures/gesture_sequence.cc PinchStart(event, point, gestures); event 1248 ui/events/gestures/gesture_sequence.cc bool GestureSequence::TwoFingerTouchReleased(const TouchEvent& event, event 1253 ui/events/gestures/gesture_sequence.cc base::TimeDelta time_delta = event.time_stamp() - second_touch_time_; event 1256 ui/events/gestures/gesture_sequence.cc if (time_delta < max_delta && point.IsInsideTouchSlopRegion(event)) event 1293 ui/events/gestures/gesture_sequence.cc bool GestureSequence::ScrollEnd(const TouchEvent& event, event 1297 ui/events/gestures/gesture_sequence.cc if (point.IsInFlickWindow(event)) { event 1310 ui/events/gestures/gesture_sequence.cc bool GestureSequence::PinchStart(const TouchEvent& event, event 1336 ui/events/gestures/gesture_sequence.cc bool GestureSequence::PinchUpdate(const TouchEvent& event, event 1348 ui/events/gestures/gesture_sequence.cc if (!points_[i].in_use() || !points_[i].DidScroll(event, 0)) event 1370 ui/events/gestures/gesture_sequence.cc bool GestureSequence::PinchEnd(const TouchEvent& event, event 1387 ui/events/gestures/gesture_sequence.cc bool GestureSequence::MaybeSwipe(const TouchEvent& event, event 1454 ui/events/gestures/gesture_sequence.cc void GestureSequence::TwoFingerTapOrPinch(const TouchEvent& event, event 1458 ui/events/gestures/gesture_sequence.cc TwoFingerTouchDown(event, point, gestures); event 1466 ui/events/gestures/gesture_sequence.cc void GestureSequence::StopTimersIfRequired(const TouchEvent& event) { event 1469 ui/events/gestures/gesture_sequence.cc event.type() != ui::ET_TOUCH_MOVED) event 1474 ui/events/gestures/gesture_sequence.cc if (!point->IsInsideTouchSlopRegion(event)) { event 52 ui/events/gestures/gesture_sequence.h virtual void DispatchPostponedGestureEvent(GestureEvent* event) = 0; event 73 ui/events/gestures/gesture_sequence.h virtual Gestures* ProcessTouchEventForGesture(const TouchEvent& event, event 94 ui/events/gestures/gesture_sequence.h GesturePoint& GesturePointForEvent(const TouchEvent& event); event 164 ui/events/gestures/gesture_sequence.h bool Click(const TouchEvent& event, event 167 ui/events/gestures/gesture_sequence.h bool ScrollStart(const TouchEvent& event, event 170 ui/events/gestures/gesture_sequence.h void BreakRailScroll(const TouchEvent& event, event 173 ui/events/gestures/gesture_sequence.h bool ScrollUpdate(const TouchEvent& event, event 177 ui/events/gestures/gesture_sequence.h bool TouchDown(const TouchEvent& event, event 180 ui/events/gestures/gesture_sequence.h bool TwoFingerTouchDown(const TouchEvent& event, event 183 ui/events/gestures/gesture_sequence.h bool TwoFingerTouchMove(const TouchEvent& event, event 186 ui/events/gestures/gesture_sequence.h bool TwoFingerTouchReleased(const TouchEvent& event, event 189 ui/events/gestures/gesture_sequence.h bool ScrollEnd(const TouchEvent& event, event 192 ui/events/gestures/gesture_sequence.h bool PinchStart(const TouchEvent& event, event 195 ui/events/gestures/gesture_sequence.h bool PinchUpdate(const TouchEvent& event, event 198 ui/events/gestures/gesture_sequence.h bool PinchEnd(const TouchEvent& event, event 201 ui/events/gestures/gesture_sequence.h bool MaybeSwipe(const TouchEvent& event, event 205 ui/events/gestures/gesture_sequence.h void TwoFingerTapOrPinch(const TouchEvent& event, event 209 ui/events/gestures/gesture_sequence.h void StopTimersIfRequired(const TouchEvent& event); event 31 ui/events/gestures/gesture_types.h virtual void DispatchPostponedGestureEvent(GestureEvent* event) = 0; event 32 ui/events/gestures/gesture_types.h virtual void DispatchCancelTouchEvent(TouchEvent* event) = 0; event 38 ui/events/keycodes/keyboard_code_conversion_mac.h EVENTS_BASE_EXPORT KeyboardCode KeyboardCodeFromNSEvent(NSEvent* event); event 40 ui/events/keycodes/keyboard_code_conversion_mac.h EVENTS_BASE_EXPORT const char* CodeFromNSEvent(NSEvent* event); event 16 ui/events/ozone/evdev/event_converter_evdev.cc void EventConverterEvdev::DispatchEventToCallback(ui::Event* event) { event 17 ui/events/ozone/evdev/event_converter_evdev.cc dispatch_callback_.Run(event); event 37 ui/events/ozone/evdev/event_converter_evdev.h virtual void DispatchEventToCallback(ui::Event* event); event 33 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc virtual void DispatchEventToCallback(Event* event) OVERRIDE; event 41 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc void MockKeyEventConverterEvdev::DispatchEventToCallback(Event* event) { event 42 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc dispatched_events_.push_back(new KeyEvent(*static_cast<KeyEvent*>(event))); event 103 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc ui::KeyEvent* event; event 105 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(0); event 106 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); event 107 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_BACK, event->key_code()); event 108 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->flags()); event 110 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(1); event 111 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, event->type()); event 112 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_BACK, event->key_code()); event 113 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->flags()); event 140 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc ui::KeyEvent* event; event 142 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(0); event 143 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); event 144 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_BACK, event->key_code()); event 145 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->flags()); event 147 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(1); event 148 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); event 149 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_BACK, event->key_code()); event 150 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->flags()); event 152 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(2); event 153 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); event 154 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_BACK, event->key_code()); event 155 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->flags()); event 157 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(3); event 158 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, event->type()); event 159 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_BACK, event->key_code()); event 160 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->flags()); event 193 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc ui::KeyEvent* event; event 195 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(0); event 196 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); event 197 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_SHIFT, event->key_code()); event 198 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::EF_SHIFT_DOWN, event->flags()); event 200 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(1); event 201 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); event 202 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_A, event->key_code()); event 203 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::EF_SHIFT_DOWN, event->flags()); event 205 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(2); event 206 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, event->type()); event 207 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_A, event->key_code()); event 208 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::EF_SHIFT_DOWN, event->flags()); event 210 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(3); event 211 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, event->type()); event 212 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_SHIFT, event->key_code()); event 213 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->flags()); event 248 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc ui::KeyEvent* event; event 250 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(0); event 251 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); event 252 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_CONTROL, event->key_code()); event 253 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::EF_CONTROL_DOWN, event->flags()); event 255 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(1); event 256 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); event 257 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_CONTROL, event->key_code()); event 258 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::EF_CONTROL_DOWN, event->flags()); event 260 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(2); event 261 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); event 262 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_Z, event->key_code()); event 263 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::EF_CONTROL_DOWN, event->flags()); event 265 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(3); event 266 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, event->type()); event 267 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_Z, event->key_code()); event 268 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::EF_CONTROL_DOWN, event->flags()); event 270 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(4); event 271 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, event->type()); event 272 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_CONTROL, event->key_code()); event 273 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::EF_CONTROL_DOWN, event->flags()); event 275 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(5); event 276 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, event->type()); event 277 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_CONTROL, event->key_code()); event 278 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->flags()); event 313 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc ui::KeyEvent* event; event 315 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(0); event 316 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); event 317 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_CAPITAL, event->key_code()); event 318 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::EF_CAPS_LOCK_DOWN, event->flags()); event 320 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(1); event 321 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, event->type()); event 322 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_CAPITAL, event->key_code()); event 323 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::EF_CAPS_LOCK_DOWN, event->flags()); event 325 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(2); event 326 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); event 327 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_Q, event->key_code()); event 328 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::EF_CAPS_LOCK_DOWN, event->flags()); event 330 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(3); event 331 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, event->type()); event 332 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_Q, event->key_code()); event 333 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::EF_CAPS_LOCK_DOWN, event->flags()); event 335 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(4); event 336 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, event->type()); event 337 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_CAPITAL, event->key_code()); event 338 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->flags()); event 340 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc event = dev->event(5); event 341 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, event->type()); event 342 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(ui::VKEY_CAPITAL, event->key_code()); event 343 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->flags()); event 56 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc void DispatchCallback(void* event) { event 58 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc new TouchEvent(*static_cast<TouchEvent*>(event))); event 171 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ui::TouchEvent* event = dev->event(0); event 172 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FALSE(event == NULL); event 174 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_TOUCH_PRESSED, event->type()); event 175 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), event->time_stamp()); event 176 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(42, event->x()); event 177 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(51, event->y()); event 178 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->touch_id()); event 179 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FLOAT_EQ(.5f, event->force()); event 180 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FLOAT_EQ(0.f, event->rotation_angle()); event 218 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ui::TouchEvent* event = dev->event(1); event 219 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FALSE(event == NULL); event 221 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_TOUCH_MOVED, event->type()); event 222 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), event->time_stamp()); event 223 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(42, event->x()); event 224 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(43, event->y()); event 225 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->touch_id()); event 226 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FLOAT_EQ(2.f / 3.f, event->force()); event 227 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FLOAT_EQ(0.f, event->rotation_angle()); event 232 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc event = dev->event(2); event 233 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FALSE(event == NULL); event 235 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_TOUCH_MOVED, event->type()); event 236 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), event->time_stamp()); event 237 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(42, event->x()); event 238 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(42, event->y()); event 239 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->touch_id()); event 240 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FLOAT_EQ(2.f / 3.f, event->force()); event 241 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FLOAT_EQ(0.f, event->rotation_angle()); event 263 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ui::TouchEvent* event = dev->event(0); event 264 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FALSE(event == NULL); event 269 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc event = dev->event(1); event 270 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FALSE(event == NULL); event 272 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(ui::ET_TOUCH_RELEASED, event->type()); event 273 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), event->time_stamp()); event 274 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(42, event->x()); event 275 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(51, event->y()); event 276 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(0, event->touch_id()); event 277 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FLOAT_EQ(.5f, event->force()); event 278 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_FLOAT_EQ(0.f, event->rotation_angle()); event 319 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ev0 = dev->event(2); event 320 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ev1 = dev->event(3); event 347 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ev1 = dev->event(4); event 366 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ev0 = dev->event(5); event 384 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ev0 = dev->event(6); event 385 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ev1 = dev->event(7); event 410 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ev1 = dev->event(8); event 14 ui/events/ozone/events_ozone.cc const ui::Event* event = static_cast<const ui::Event*>(native_event); event 15 ui/events/ozone/events_ozone.cc return event->time_stamp(); event 19 ui/events/ozone/events_ozone.cc const ui::Event* event = static_cast<const ui::Event*>(native_event); event 20 ui/events/ozone/events_ozone.cc return event->flags(); event 24 ui/events/ozone/events_ozone.cc const ui::Event* event = static_cast<const ui::Event*>(native_event); event 25 ui/events/ozone/events_ozone.cc return event->type(); event 43 ui/events/ozone/events_ozone.cc const ui::MouseEvent* event = event 45 ui/events/ozone/events_ozone.cc DCHECK(event->IsMouseEvent()); event 46 ui/events/ozone/events_ozone.cc return event->changed_button_flags(); event 50 ui/events/ozone/events_ozone.cc const ui::KeyEvent* event = static_cast<const ui::KeyEvent*>(native_event); event 51 ui/events/ozone/events_ozone.cc DCHECK(event->IsKeyEvent()); event 52 ui/events/ozone/events_ozone.cc return event->key_code(); event 56 ui/events/ozone/events_ozone.cc const ui::KeyEvent* event = static_cast<const ui::KeyEvent*>(native_event); event 57 ui/events/ozone/events_ozone.cc DCHECK(event->IsKeyEvent()); event 58 ui/events/ozone/events_ozone.cc return event->code().c_str(); event 62 ui/events/ozone/events_ozone.cc const ui::MouseWheelEvent* event = event 64 ui/events/ozone/events_ozone.cc DCHECK(event->type() == ET_MOUSEWHEEL); event 65 ui/events/ozone/events_ozone.cc return event->offset(); event 72 ui/events/ozone/events_ozone.cc const ui::TouchEvent* event = event 74 ui/events/ozone/events_ozone.cc DCHECK(event->IsTouchEvent()); event 75 ui/events/ozone/events_ozone.cc return event->touch_id(); event 79 ui/events/ozone/events_ozone.cc const ui::TouchEvent* event = event 81 ui/events/ozone/events_ozone.cc DCHECK(event->IsTouchEvent()); event 82 ui/events/ozone/events_ozone.cc return event->radius_x(); event 86 ui/events/ozone/events_ozone.cc const ui::TouchEvent* event = event 88 ui/events/ozone/events_ozone.cc DCHECK(event->IsTouchEvent()); event 89 ui/events/ozone/events_ozone.cc return event->radius_y(); event 93 ui/events/ozone/events_ozone.cc const ui::TouchEvent* event = event 95 ui/events/ozone/events_ozone.cc DCHECK(event->IsTouchEvent()); event 96 ui/events/ozone/events_ozone.cc return event->rotation_angle(); event 100 ui/events/ozone/events_ozone.cc const ui::TouchEvent* event = event 102 ui/events/ozone/events_ozone.cc DCHECK(event->IsTouchEvent()); event 103 ui/events/ozone/events_ozone.cc return event->force(); event 138 ui/events/ozone/events_ozone.cc bool IsTouchpadEvent(const base::NativeEvent& event) { event 28 ui/events/platform/platform_event_dispatcher.h virtual bool CanDispatchEvent(const PlatformEvent& event) = 0; event 39 ui/events/platform/platform_event_dispatcher.h virtual uint32_t DispatchEvent(const PlatformEvent& event) = 0; event 26 ui/events/platform/platform_event_observer.h virtual EventStatus WillProcessEvent(const PlatformEvent& event) = 0; event 29 ui/events/platform/platform_event_observer.h virtual void DidProcessEvent(const PlatformEvent& event) = 0; event 114 ui/events/platform/platform_event_source.cc bool PlatformEventSource::WillProcessEvent(PlatformEvent event) { event 119 ui/events/platform/platform_event_source.cc if (obs->WillProcessEvent(event)) event 126 ui/events/platform/platform_event_source.cc void PlatformEventSource::DidProcessEvent(PlatformEvent event) { event 127 ui/events/platform/platform_event_source.cc FOR_EACH_OBSERVER(PlatformEventObserver, observers_, DidProcessEvent(event)); event 22 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(new PlatformEvent()); event 23 ui/events/platform/platform_event_source_unittest.cc memset(event.get(), 0, sizeof(PlatformEvent)); event 24 ui/events/platform/platform_event_source_unittest.cc return event.Pass(); event 37 ui/events/platform/platform_event_source_unittest.cc uint32_t Dispatch(const PlatformEvent& event) { return DispatchEvent(event); } event 70 ui/events/platform/platform_event_source_unittest.cc virtual bool CanDispatchEvent(const PlatformEvent& event) OVERRIDE { event 74 ui/events/platform/platform_event_source_unittest.cc virtual uint32_t DispatchEvent(const PlatformEvent& event) OVERRIDE { event 101 ui/events/platform/platform_event_source_unittest.cc virtual EventStatus WillProcessEvent(const PlatformEvent& event) OVERRIDE { event 106 ui/events/platform/platform_event_source_unittest.cc virtual void DidProcessEvent(const PlatformEvent& event) OVERRIDE {} event 138 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 139 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 144 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 145 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 151 ui/events/platform/platform_event_source_unittest.cc event = CreatePlatformEvent(); event 152 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 165 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 166 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 179 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 180 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 187 ui/events/platform/platform_event_source_unittest.cc event = CreatePlatformEvent(); event 188 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 196 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 197 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 202 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 203 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 209 ui/events/platform/platform_event_source_unittest.cc event = CreatePlatformEvent(); event 210 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 223 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 224 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 237 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 238 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 250 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 251 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 257 ui/events/platform/platform_event_source_unittest.cc event = CreatePlatformEvent(); event 258 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 269 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 270 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 280 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 298 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 299 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 313 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 320 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 382 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 383 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 390 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 413 ui/events/platform/platform_event_source_unittest.cc virtual bool CanDispatchEvent(const PlatformEvent& event) OVERRIDE { event 417 ui/events/platform/platform_event_source_unittest.cc virtual uint32_t DispatchEvent(const PlatformEvent& event) OVERRIDE { event 419 ui/events/platform/platform_event_source_unittest.cc return TestPlatformEventDispatcher::DispatchEvent(event); event 436 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 437 ui/events/platform/platform_event_source_unittest.cc events.push_back(event.release()); event 438 ui/events/platform/platform_event_source_unittest.cc event = CreatePlatformEvent(); event 439 ui/events/platform/platform_event_source_unittest.cc events.push_back(event.release()); event 476 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 477 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 498 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 516 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 517 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 526 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 538 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 553 ui/events/platform/platform_event_source_unittest.cc *event)); event 575 ui/events/platform/platform_event_source_unittest.cc scoped_ptr<PlatformEvent> event(CreatePlatformEvent()); event 576 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 599 ui/events/platform/platform_event_source_unittest.cc source()->Dispatch(*event); event 63 ui/events/platform/x11/x11_event_source.cc int event, err; event 66 ui/events/platform/x11/x11_event_source.cc if (!XQueryExtension(display, "XInputExtension", &xiopcode, &event, &err)) { event 97 ui/events/platform/x11/x11_event_source.cc int opcode, event, error; event 100 ui/events/platform/x11/x11_event_source.cc if (!XkbQueryExtension(display, &opcode, &event, &error, &major, &minor)) { event 156 ui/events/platform/x11/x11_event_source.cc XEvent event; event 160 ui/events/platform/x11/x11_event_source.cc XWindowEvent(display_, window, StructureNotifyMask, &event); event 161 ui/events/platform/x11/x11_event_source.cc DispatchEvent(&event); event 162 ui/events/platform/x11/x11_event_source.cc } while (event.type != MapNotify); event 9 ui/events/test/events_test_utils.cc EventTestApi::EventTestApi(Event* event) : event_(event) {} event 12 ui/events/test/events_test_utils.cc LocatedEventTestApi::LocatedEventTestApi(LocatedEvent* event) event 13 ui/events/test/events_test_utils.cc : EventTestApi(event), event 14 ui/events/test/events_test_utils.cc located_event_(event) {} event 15 ui/events/test/events_test_utils.h explicit EventTestApi(Event* event); event 99 ui/events/test/events_test_utils_x11.cc XEvent* event = new XEvent; event 100 ui/events/test/events_test_utils_x11.cc memset(event, 0, sizeof(*event)); event 101 ui/events/test/events_test_utils_x11.cc event->type = GenericEvent; event 102 ui/events/test/events_test_utils_x11.cc event->xcookie.data = new XIDeviceEvent; event 104 ui/events/test/events_test_utils_x11.cc static_cast<XIDeviceEvent*>(event->xcookie.data); event 117 ui/events/test/events_test_utils_x11.cc return event; event 126 ui/events/test/events_test_utils_x11.cc void XEventDeleter::operator()(XEvent* event) { event 127 ui/events/test/events_test_utils_x11.cc if (event->type == GenericEvent) { event 129 ui/events/test/events_test_utils_x11.cc static_cast<XIDeviceEvent*>(event->xcookie.data); event 137 ui/events/test/events_test_utils_x11.cc delete event; event 28 ui/events/test/events_test_utils_x11.h void operator()(XEvent* event); event 32 ui/events/test/test_event_handler.cc void TestEventHandler::OnKeyEvent(KeyEvent* event) { event 36 ui/events/test/test_event_handler.cc event->SetHandled(); event 39 ui/events/test/test_event_handler.cc void TestEventHandler::OnMouseEvent(MouseEvent* event) { event 45 ui/events/test/test_event_handler.cc void TestEventHandler::OnScrollEvent(ScrollEvent* event) { event 51 ui/events/test/test_event_handler.cc void TestEventHandler::OnTouchEvent(TouchEvent* event) { event 57 ui/events/test/test_event_handler.cc void TestEventHandler::OnGestureEvent(GestureEvent* event) { event 43 ui/events/test/test_event_handler.h virtual void OnKeyEvent(KeyEvent* event) OVERRIDE; event 44 ui/events/test/test_event_handler.h virtual void OnMouseEvent(MouseEvent* event) OVERRIDE; event 45 ui/events/test/test_event_handler.h virtual void OnScrollEvent(ScrollEvent* event) OVERRIDE; event 46 ui/events/test/test_event_handler.h virtual void OnTouchEvent(TouchEvent* event) OVERRIDE; event 47 ui/events/test/test_event_handler.h virtual void OnGestureEvent(GestureEvent* event) OVERRIDE; event 27 ui/events/test/test_event_processor.cc EventDispatchDetails TestEventProcessor::OnEventFromSource(Event* event) { event 28 ui/events/test/test_event_processor.cc return EventProcessor::OnEventFromSource(event); event 24 ui/events/test/test_event_processor.h virtual EventDispatchDetails OnEventFromSource(Event* event) OVERRIDE; event 58 ui/events/test/test_event_target.cc bool TestEventTarget::CanAcceptEvent(const ui::Event& event) { event 75 ui/events/test/test_event_target.cc void TestEventTarget::OnEvent(Event* event) { event 78 ui/events/test/test_event_target.cc received_.insert(event->type()); event 79 ui/events/test/test_event_target.cc EventTarget::OnEvent(event); event 80 ui/events/test/test_event_target.cc if (!event->handled() && mark_events_as_handled_) event 81 ui/events/test/test_event_target.cc event->SetHandled(); event 57 ui/events/test/test_event_target.h virtual bool CanAcceptEvent(const ui::Event& event) OVERRIDE; event 63 ui/events/test/test_event_target.h virtual void OnEvent(Event* event) OVERRIDE; event 353 ui/events/win/events_win.cc bool IsTouchpadEvent(const base::NativeEvent& event) { event 131 ui/events/x/device_data_manager.cc int opcode, event, error; event 133 ui/events/x/device_data_manager.cc gfx::GetXDisplay(), "XInputExtension", &opcode, &event, &error)) { event 104 ui/events/x/events_x.cc XIDeviceEvent* event = event 106 ui/events/x/events_x.cc CHECK(event->evtype == XI_TouchBegin || event 107 ui/events/x/events_x.cc event->evtype == XI_TouchUpdate || event 108 ui/events/x/events_x.cc event->evtype == XI_TouchEnd); event 185 ui/events/x/events_x.cc XIDeviceEvent* event = event 188 ui/events/x/events_x.cc switch(event->evtype) { event 201 ui/events/x/events_x.cc DCHECK(ui::TouchFactory::GetInstance()->IsTouchDevice(event->sourceid)); event 202 ui/events/x/events_x.cc switch (event->evtype) { event 210 ui/events/x/events_x.cc if (!(event->flags & XIPointerEmulated) && event 211 ui/events/x/events_x.cc GetButtonMaskForX2Event(event)) event 670 ui/events/x/events_x.cc bool IsTouchpadEvent(const base::NativeEvent& event) { event 671 ui/events/x/events_x.cc return DeviceDataManager::GetInstance()->IsTouchpadXInputEvent(event); event 26 ui/events/x/events_x_unittest.cc void InitButtonEvent(XEvent* event, event 31 ui/events/x/events_x_unittest.cc memset(event, 0, sizeof(*event)); event 35 ui/events/x/events_x_unittest.cc XButtonEvent* button_event = &(event->xbutton); event 46 ui/events/x/events_x_unittest.cc XEvent event; event 50 ui/events/x/events_x_unittest.cc InitButtonEvent(&event, true, location, 1, 0); event 51 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::ET_MOUSE_PRESSED, ui::EventTypeFromNative(&event)); event 52 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::EF_LEFT_MOUSE_BUTTON, ui::EventFlagsFromNative(&event)); event 53 ui/events/x/events_x_unittest.cc EXPECT_EQ(location, ui::EventLocationFromNative(&event)); event 55 ui/events/x/events_x_unittest.cc InitButtonEvent(&event, true, location, 2, Button1Mask | ShiftMask); event 56 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::ET_MOUSE_PRESSED, ui::EventTypeFromNative(&event)); event 59 ui/events/x/events_x_unittest.cc ui::EventFlagsFromNative(&event)); event 60 ui/events/x/events_x_unittest.cc EXPECT_EQ(location, ui::EventLocationFromNative(&event)); event 62 ui/events/x/events_x_unittest.cc InitButtonEvent(&event, false, location, 3, 0); event 63 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::ET_MOUSE_RELEASED, ui::EventTypeFromNative(&event)); event 64 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::EF_RIGHT_MOUSE_BUTTON, ui::EventFlagsFromNative(&event)); event 65 ui/events/x/events_x_unittest.cc EXPECT_EQ(location, ui::EventLocationFromNative(&event)); event 68 ui/events/x/events_x_unittest.cc InitButtonEvent(&event, true, location, 4, 0); event 69 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::ET_MOUSEWHEEL, ui::EventTypeFromNative(&event)); event 70 ui/events/x/events_x_unittest.cc EXPECT_EQ(0, ui::EventFlagsFromNative(&event)); event 71 ui/events/x/events_x_unittest.cc EXPECT_EQ(location, ui::EventLocationFromNative(&event)); event 72 ui/events/x/events_x_unittest.cc offset = ui::GetMouseWheelOffset(&event); event 77 ui/events/x/events_x_unittest.cc InitButtonEvent(&event, true, location, 5, 0); event 78 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::ET_MOUSEWHEEL, ui::EventTypeFromNative(&event)); event 79 ui/events/x/events_x_unittest.cc EXPECT_EQ(0, ui::EventFlagsFromNative(&event)); event 80 ui/events/x/events_x_unittest.cc EXPECT_EQ(location, ui::EventLocationFromNative(&event)); event 81 ui/events/x/events_x_unittest.cc offset = ui::GetMouseWheelOffset(&event); event 86 ui/events/x/events_x_unittest.cc InitButtonEvent(&event, true, location, 6, 0); event 87 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::ET_MOUSEWHEEL, ui::EventTypeFromNative(&event)); event 88 ui/events/x/events_x_unittest.cc EXPECT_EQ(0, ui::EventFlagsFromNative(&event)); event 89 ui/events/x/events_x_unittest.cc EXPECT_EQ(location, ui::EventLocationFromNative(&event)); event 90 ui/events/x/events_x_unittest.cc offset = ui::GetMouseWheelOffset(&event); event 95 ui/events/x/events_x_unittest.cc InitButtonEvent(&event, true, location, 7, 0); event 96 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::ET_MOUSEWHEEL, ui::EventTypeFromNative(&event)); event 97 ui/events/x/events_x_unittest.cc EXPECT_EQ(0, ui::EventFlagsFromNative(&event)); event 98 ui/events/x/events_x_unittest.cc EXPECT_EQ(location, ui::EventLocationFromNative(&event)); event 99 ui/events/x/events_x_unittest.cc offset = ui::GetMouseWheelOffset(&event); event 107 ui/events/x/events_x_unittest.cc XEvent event; event 110 ui/events/x/events_x_unittest.cc InitButtonEvent(&event, true, location, 4, 0); event 111 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::ET_MOUSEWHEEL, ui::EventTypeFromNative(&event)); event 115 ui/events/x/events_x_unittest.cc InitButtonEvent(&event, false, location, 4, 0); event 116 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::ET_UNKNOWN, ui::EventTypeFromNative(&event)); event 122 ui/events/x/events_x_unittest.cc XEvent event; event 123 ui/events/x/events_x_unittest.cc event.xcrossing.type = EnterNotify; event 124 ui/events/x/events_x_unittest.cc event.xcrossing.x = 10; event 125 ui/events/x/events_x_unittest.cc event.xcrossing.y = 20; event 126 ui/events/x/events_x_unittest.cc event.xcrossing.x_root = 110; event 127 ui/events/x/events_x_unittest.cc event.xcrossing.y_root = 120; event 132 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::ET_MOUSE_MOVED, ui::EventTypeFromNative(&event)); event 133 ui/events/x/events_x_unittest.cc EXPECT_EQ("10,20", ui::EventLocationFromNative(&event).ToString()); event 134 ui/events/x/events_x_unittest.cc EXPECT_EQ("110,120", ui::EventSystemLocationFromNative(&event).ToString()); event 136 ui/events/x/events_x_unittest.cc event.xcrossing.type = LeaveNotify; event 137 ui/events/x/events_x_unittest.cc event.xcrossing.x = 30; event 138 ui/events/x/events_x_unittest.cc event.xcrossing.y = 40; event 139 ui/events/x/events_x_unittest.cc event.xcrossing.x_root = 230; event 140 ui/events/x/events_x_unittest.cc event.xcrossing.y_root = 240; event 141 ui/events/x/events_x_unittest.cc EXPECT_EQ(ui::ET_MOUSE_EXITED, ui::EventTypeFromNative(&event)); event 142 ui/events/x/events_x_unittest.cc EXPECT_EQ("30,40", ui::EventLocationFromNative(&event).ToString()); event 143 ui/events/x/events_x_unittest.cc EXPECT_EQ("230,240", ui::EventSystemLocationFromNative(&event).ToString()); event 147 ui/events/x/events_x_unittest.cc XEvent event; event 151 ui/events/x/events_x_unittest.cc InitButtonEvent(&event, true, location, 1, 0); event 153 ui/events/x/events_x_unittest.cc MouseEvent mouseev(&event); event 158 ui/events/x/events_x_unittest.cc InitButtonEvent(&event, false, location, 1, 0); event 160 ui/events/x/events_x_unittest.cc MouseEvent mouseev(&event); event 27 ui/events/x/text_edit_key_bindings_delegate_x11.h virtual bool MatchEvent(const ui::Event& event, event 167 ui/events/x/touch_factory_x11.cc XIEvent* event = static_cast<XIEvent*>(xev->xcookie.data); event 168 ui/events/x/touch_factory_x11.cc XIDeviceEvent* xiev = reinterpret_cast<XIDeviceEvent*>(event); event 171 ui/events/x/touch_factory_x11.cc if (event->evtype == XI_TouchBegin || event 172 ui/events/x/touch_factory_x11.cc event->evtype == XI_TouchUpdate || event 173 ui/events/x/touch_factory_x11.cc event->evtype == XI_TouchEnd) { event 177 ui/events/x/touch_factory_x11.cc if (event->evtype != XI_ButtonPress && event 178 ui/events/x/touch_factory_x11.cc event->evtype != XI_ButtonRelease && event 179 ui/events/x/touch_factory_x11.cc event->evtype != XI_Motion) event 15 ui/gfx/canvas_paint_gtk.cc CanvasSkiaPaint::CanvasSkiaPaint(GdkEventExpose* event) event 17 ui/gfx/canvas_paint_gtk.cc window_(event->window), event 18 ui/gfx/canvas_paint_gtk.cc region_(gdk_region_copy(event->region)), event 23 ui/gfx/canvas_paint_gtk.cc CanvasSkiaPaint::CanvasSkiaPaint(GdkEventExpose* event, bool opaque) event 25 ui/gfx/canvas_paint_gtk.cc window_(event->window), event 26 ui/gfx/canvas_paint_gtk.cc region_(gdk_region_copy(event->region)), event 23 ui/gfx/canvas_paint_gtk.h explicit CanvasSkiaPaint(GdkEventExpose* event); event 24 ui/gfx/canvas_paint_gtk.h CanvasSkiaPaint(GdkEventExpose* event, bool opaque); event 66 ui/keyboard/keyboard_controller_unittest.cc virtual void OnEvent(ui::Event* event) OVERRIDE { event 67 ui/keyboard/keyboard_controller_unittest.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 68 ui/keyboard/keyboard_controller_unittest.cc if (event->type() == ui::ET_MOUSE_PRESSED || event 69 ui/keyboard/keyboard_controller_unittest.cc event->type() == ui::ET_TOUCH_PRESSED) { event 126 ui/keyboard/keyboard_controller_unittest.cc virtual void OnEvent(ui::Event* event) OVERRIDE { event 127 ui/keyboard/keyboard_controller_unittest.cc ui::EventHandler::OnEvent(event); event 128 ui/keyboard/keyboard_controller_unittest.cc event_counts_[event->type()]++; event 31 ui/keyboard/keyboard_util.cc ui::TranslatedKeyEvent event(type == ui::ET_KEY_PRESSED, event 35 ui/keyboard/keyboard_util.cc host->event_processor()->OnEventFromSource(&event); event 236 ui/keyboard/keyboard_util.cc ui::KeyEvent event(event_type, code, key_name, modifiers, false); event 238 ui/keyboard/keyboard_util.cc host->event_processor()->OnEventFromSource(&event); event 336 ui/keyboard/keyboard_util.cc void LogKeyboardControlEvent(KeyboardControlEvent event) { event 339 ui/keyboard/keyboard_util.cc event, event 118 ui/keyboard/keyboard_util.h void LogKeyboardControlEvent(KeyboardControlEvent event); event 250 ui/message_center/views/message_center_button_bar.cc const ui::Event& event) { event 56 ui/message_center/views/message_center_button_bar.h const ui::Event& event) OVERRIDE; event 807 ui/message_center/views/message_center_view.cc bool MessageCenterView::OnMouseWheel(const ui::MouseWheelEvent& event) { event 812 ui/message_center/views/message_center_view.cc if (scroller_->bounds().Contains(event.location())) event 813 ui/message_center/views/message_center_view.cc return scroller_->OnMouseWheel(event); event 814 ui/message_center/views/message_center_view.cc return views::View::OnMouseWheel(event); event 817 ui/message_center/views/message_center_view.cc void MessageCenterView::OnMouseExited(const ui::MouseEvent& event) { event 72 ui/message_center/views/message_center_view.h virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; event 73 ui/message_center/views/message_center_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 361 ui/message_center/views/message_popup_collection_unittest.cc ui::MouseEvent event(ui::ET_MOUSE_MOVED, gfx::Point(), gfx::Point(), 0, 0); event 364 ui/message_center/views/message_popup_collection_unittest.cc toast0->OnMouseEntered(event); event 366 ui/message_center/views/message_popup_collection_unittest.cc toast1->OnMouseEntered(event); event 368 ui/message_center/views/message_popup_collection_unittest.cc toast0->OnMouseExited(event); event 370 ui/message_center/views/message_popup_collection_unittest.cc toast1->OnMouseExited(event); event 374 ui/message_center/views/message_popup_collection_unittest.cc toast0->OnMouseEntered(event); event 376 ui/message_center/views/message_popup_collection_unittest.cc toast1->OnMouseEntered(event); event 396 ui/message_center/views/message_popup_collection_unittest.cc ui::MouseEvent event(ui::ET_MOUSE_MOVED, gfx::Point(), gfx::Point(), 0, 0); event 397 ui/message_center/views/message_popup_collection_unittest.cc toast1->OnMouseEntered(event); event 117 ui/message_center/views/message_view.cc bool MessageView::OnMousePressed(const ui::MouseEvent& event) { event 118 ui/message_center/views/message_view.cc if (!event.IsOnlyLeftMouseButton()) event 125 ui/message_center/views/message_view.cc bool MessageView::OnKeyPressed(const ui::KeyEvent& event) { event 126 ui/message_center/views/message_view.cc if (event.flags() != ui::EF_NONE) event 129 ui/message_center/views/message_view.cc if (event.key_code() == ui::VKEY_RETURN) { event 132 ui/message_center/views/message_view.cc } else if ((event.key_code() == ui::VKEY_DELETE || event 133 ui/message_center/views/message_view.cc event.key_code() == ui::VKEY_BACK)) { event 141 ui/message_center/views/message_view.cc bool MessageView::OnKeyReleased(const ui::KeyEvent& event) { event 144 ui/message_center/views/message_view.cc if (event.flags() != ui::EF_NONE || event.flags() != ui::VKEY_SPACE) event 193 ui/message_center/views/message_view.cc void MessageView::OnGestureEvent(ui::GestureEvent* event) { event 194 ui/message_center/views/message_view.cc if (event->type() == ui::ET_GESTURE_TAP) { event 196 ui/message_center/views/message_view.cc event->SetHandled(); event 200 ui/message_center/views/message_view.cc SlideOutView::OnGestureEvent(event); event 205 ui/message_center/views/message_view.cc if (!event->IsScrollGestureEvent() && !event->IsFlingScrollEvent()) event 209 ui/message_center/views/message_view.cc scroller_->OnGestureEvent(event); event 210 ui/message_center/views/message_view.cc event->SetHandled(); event 214 ui/message_center/views/message_view.cc const ui::Event& event) { event 71 ui/message_center/views/message_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 72 ui/message_center/views/message_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 73 ui/message_center/views/message_view.h virtual bool OnKeyReleased(const ui::KeyEvent& event) OVERRIDE; event 80 ui/message_center/views/message_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 84 ui/message_center/views/message_view.h const ui::Event& event) OVERRIDE; event 548 ui/message_center/views/notification_view.cc gfx::NativeCursor NotificationView::GetCursor(const ui::MouseEvent& event) { event 550 ui/message_center/views/notification_view.cc return views::View::GetCursor(event); event 561 ui/message_center/views/notification_view.cc const ui::Event& event) { event 577 ui/message_center/views/notification_view.cc MessageView::ButtonPressed(sender, event); event 52 ui/message_center/views/notification_view.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; event 56 ui/message_center/views/notification_view.h const ui::Event& event) OVERRIDE; event 147 ui/message_center/views/notifier_settings_view.cc virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 148 ui/message_center/views/notifier_settings_view.cc virtual bool OnKeyReleased(const ui::KeyEvent& event) OVERRIDE; event 193 ui/message_center/views/notifier_settings_view.cc bool EntryView::OnKeyPressed(const ui::KeyEvent& event) { event 194 ui/message_center/views/notifier_settings_view.cc return child_at(0)->OnKeyPressed(event); event 197 ui/message_center/views/notifier_settings_view.cc bool EntryView::OnKeyReleased(const ui::KeyEvent& event) { event 198 ui/message_center/views/notifier_settings_view.cc return child_at(0)->OnKeyReleased(event); event 394 ui/message_center/views/notifier_settings_view.cc const ui::Event& event) { event 400 ui/message_center/views/notifier_settings_view.cc CustomButton::NotifyClick(event); event 676 ui/message_center/views/notifier_settings_view.cc bool NotifierSettingsView::OnKeyPressed(const ui::KeyEvent& event) { event 677 ui/message_center/views/notifier_settings_view.cc if (event.key_code() == ui::VKEY_ESCAPE) { event 682 ui/message_center/views/notifier_settings_view.cc return scroller_->OnKeyPressed(event); event 685 ui/message_center/views/notifier_settings_view.cc bool NotifierSettingsView::OnMouseWheel(const ui::MouseWheelEvent& event) { event 686 ui/message_center/views/notifier_settings_view.cc return scroller_->OnMouseWheel(event); event 690 ui/message_center/views/notifier_settings_view.cc const ui::Event& event) { event 73 ui/message_center/views/notifier_settings_view.h const ui::Event& event) OVERRIDE; event 100 ui/message_center/views/notifier_settings_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 101 ui/message_center/views/notifier_settings_view.h virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; event 105 ui/message_center/views/notifier_settings_view.h const ui::Event& event) OVERRIDE; event 259 ui/message_center/views/toast_contents_view.cc void ToastContentsView::OnMouseEntered(const ui::MouseEvent& event) { event 264 ui/message_center/views/toast_contents_view.cc void ToastContentsView::OnMouseExited(const ui::MouseEvent& event) { event 71 ui/message_center/views/toast_contents_view.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 72 ui/message_center/views/toast_contents_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 19 ui/ozone/platform/caca/caca_event_factory.cc ui::KeyboardCode GetKeyboardCode(const caca_event_t& event) { event 74 ui/ozone/platform/caca/caca_event_factory.cc int key_code = caca_get_event_key_ch(&event); event 85 ui/ozone/platform/caca/caca_event_factory.cc int ModifierFromKey(const caca_event_t& event) { event 86 ui/ozone/platform/caca/caca_event_factory.cc int key_code = caca_get_event_key_ch(&event); event 98 ui/ozone/platform/caca/caca_event_factory.cc int ModifierFromButton(const caca_event_t& event) { event 99 ui/ozone/platform/caca/caca_event_factory.cc switch (caca_get_event_mouse_button(&event)) { event 120 ui/ozone/platform/caca/caca_event_factory.cc ui::EventType GetEventTypeFromNative(const caca_event_t& event) { event 121 ui/ozone/platform/caca/caca_event_factory.cc switch (caca_get_event_type(&event)) { event 170 ui/ozone/platform/caca/caca_event_factory.cc caca_event_t event; event 175 ui/ozone/platform/caca/caca_event_factory.cc caca_get_event(connection_->display(), event_mask, &event, 0)) { event 177 ui/ozone/platform/caca/caca_event_factory.cc ui::EventType type = GetEventTypeFromNative(event); event 184 ui/ozone/platform/caca/caca_event_factory.cc modifier_flags_ |= ModifierFromKey(event); event 186 ui/ozone/platform/caca/caca_event_factory.cc modifier_flags_ &= ~ModifierFromKey(event); event 189 ui/ozone/platform/caca/caca_event_factory.cc type, GetKeyboardCode(event), modifier_flags_, true); event 194 ui/ozone/platform/caca/caca_event_factory.cc last_cursor_location_.SetPoint(caca_get_event_mouse_x(&event), event 195 ui/ozone/platform/caca/caca_event_factory.cc caca_get_event_mouse_y(&event)); event 207 ui/ozone/platform/caca/caca_event_factory.cc changed_flags = ModifierFromButton(event); event 1152 ui/views/accessibility/native_view_accessibility_win.cc int32 NativeViewAccessibilityWin::MSAAEvent(ui::AXEvent event) { event 1153 ui/views/accessibility/native_view_accessibility_win.cc switch (event) { event 342 ui/views/accessibility/native_view_accessibility_win.h static int32 MSAAEvent(ui::AXEvent event); event 27 ui/views/accessible_pane_view_unittest.cc const ui::Event& event) OVERRIDE; event 55 ui/views/accessible_pane_view_unittest.cc void TestBarView::ButtonPressed(Button* sender, const ui::Event& event) { event 92 ui/views/bubble/bubble_delegate.h void set_border_accepts_events(bool event) { border_accepts_events_ = event; } event 226 ui/views/bubble/bubble_frame_view.cc void BubbleFrameView::ButtonPressed(Button* sender, const ui::Event& event) { event 56 ui/views/bubble/bubble_frame_view.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 447 ui/views/bubble/tray_bubble_view.cc void TrayBubbleView::OnMouseEntered(const ui::MouseEvent& event) { event 449 ui/views/bubble/tray_bubble_view.cc if (delegate_ && !(event.flags() & ui::EF_IS_SYNTHESIZED)) { event 472 ui/views/bubble/tray_bubble_view.cc void TrayBubbleView::OnMouseExited(const ui::MouseEvent& event) { event 162 ui/views/bubble/tray_bubble_view.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 163 ui/views/bubble/tray_bubble_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 69 ui/views/color_chooser/color_chooser_view.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE { event 70 ui/views/color_chooser/color_chooser_view.cc ProcessEventAtLocation(event.location()); event 74 ui/views/color_chooser/color_chooser_view.cc virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE { event 75 ui/views/color_chooser/color_chooser_view.cc ProcessEventAtLocation(event.location()); event 79 ui/views/color_chooser/color_chooser_view.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 80 ui/views/color_chooser/color_chooser_view.cc if (event->type() == ui::ET_GESTURE_TAP || event 81 ui/views/color_chooser/color_chooser_view.cc event->type() == ui::ET_GESTURE_TAP_DOWN || event 82 ui/views/color_chooser/color_chooser_view.cc event->IsScrollGestureEvent()) { event 83 ui/views/color_chooser/color_chooser_view.cc ProcessEventAtLocation(event->location()); event 84 ui/views/color_chooser/color_chooser_view.cc event->SetHandled(); event 70 ui/views/controls/button/button.cc void Button::NotifyClick(const ui::Event& event) { event 74 ui/views/controls/button/button.cc listener_->ButtonPressed(this, event); event 20 ui/views/controls/button/button.h virtual void ButtonPressed(Button* sender, const ui::Event& event) = 0; event 70 ui/views/controls/button/button.h virtual void NotifyClick(const ui::Event& event); event 133 ui/views/controls/button/checkbox.cc void Checkbox::NotifyClick(const ui::Event& event) { event 135 ui/views/controls/button/checkbox.cc LabelButton::NotifyClick(event); event 51 ui/views/controls/button/checkbox.h virtual void NotifyClick(const ui::Event& event) OVERRIDE; event 128 ui/views/controls/button/custom_button.cc bool CustomButton::OnMousePressed(const ui::MouseEvent& event) { event 130 ui/views/controls/button/custom_button.cc if (ShouldEnterPushedState(event) && HitTestPoint(event.location())) event 138 ui/views/controls/button/custom_button.cc bool CustomButton::OnMouseDragged(const ui::MouseEvent& event) { event 140 ui/views/controls/button/custom_button.cc if (HitTestPoint(event.location())) event 141 ui/views/controls/button/custom_button.cc SetState(ShouldEnterPushedState(event) ? STATE_PRESSED : STATE_HOVERED); event 148 ui/views/controls/button/custom_button.cc void CustomButton::OnMouseReleased(const ui::MouseEvent& event) { event 152 ui/views/controls/button/custom_button.cc if (!HitTestPoint(event.location())) { event 158 ui/views/controls/button/custom_button.cc if (IsTriggerableEvent(event)) { event 159 ui/views/controls/button/custom_button.cc NotifyClick(event); event 171 ui/views/controls/button/custom_button.cc void CustomButton::OnMouseEntered(const ui::MouseEvent& event) { event 176 ui/views/controls/button/custom_button.cc void CustomButton::OnMouseExited(const ui::MouseEvent& event) { event 182 ui/views/controls/button/custom_button.cc void CustomButton::OnMouseMoved(const ui::MouseEvent& event) { event 184 ui/views/controls/button/custom_button.cc SetState(HitTestPoint(event.location()) ? STATE_HOVERED : STATE_NORMAL); event 187 ui/views/controls/button/custom_button.cc bool CustomButton::OnKeyPressed(const ui::KeyEvent& event) { event 194 ui/views/controls/button/custom_button.cc if (event.key_code() == ui::VKEY_SPACE) { event 196 ui/views/controls/button/custom_button.cc } else if (event.key_code() == ui::VKEY_RETURN) { event 211 ui/views/controls/button/custom_button.cc bool CustomButton::OnKeyReleased(const ui::KeyEvent& event) { event 212 ui/views/controls/button/custom_button.cc if ((state_ == STATE_DISABLED) || (event.key_code() != ui::VKEY_SPACE)) event 226 ui/views/controls/button/custom_button.cc void CustomButton::OnGestureEvent(ui::GestureEvent* event) { event 228 ui/views/controls/button/custom_button.cc Button::OnGestureEvent(event); event 232 ui/views/controls/button/custom_button.cc if (event->type() == ui::ET_GESTURE_TAP && IsTriggerableEvent(*event)) { event 239 ui/views/controls/button/custom_button.cc NotifyClick(*event); event 240 ui/views/controls/button/custom_button.cc event->StopPropagation(); event 241 ui/views/controls/button/custom_button.cc } else if (event->type() == ui::ET_GESTURE_TAP_DOWN && event 242 ui/views/controls/button/custom_button.cc ShouldEnterPushedState(*event)) { event 246 ui/views/controls/button/custom_button.cc event->StopPropagation(); event 247 ui/views/controls/button/custom_button.cc } else if (event->type() == ui::ET_GESTURE_TAP_CANCEL || event 248 ui/views/controls/button/custom_button.cc event->type() == ui::ET_GESTURE_END) { event 251 ui/views/controls/button/custom_button.cc if (!event->handled()) event 252 ui/views/controls/button/custom_button.cc Button::OnGestureEvent(event); event 336 ui/views/controls/button/custom_button.cc bool CustomButton::IsTriggerableEvent(const ui::Event& event) { event 337 ui/views/controls/button/custom_button.cc return event.type() == ui::ET_GESTURE_TAP_DOWN || event 338 ui/views/controls/button/custom_button.cc event.type() == ui::ET_GESTURE_TAP || event 339 ui/views/controls/button/custom_button.cc (event.IsMouseEvent() && event 340 ui/views/controls/button/custom_button.cc (triggerable_event_flags_ & event.flags()) != 0); event 343 ui/views/controls/button/custom_button.cc bool CustomButton::ShouldEnterPushedState(const ui::Event& event) { event 344 ui/views/controls/button/custom_button.cc return IsTriggerableEvent(event); event 73 ui/views/controls/button/custom_button.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 74 ui/views/controls/button/custom_button.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 75 ui/views/controls/button/custom_button.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 77 ui/views/controls/button/custom_button.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 78 ui/views/controls/button/custom_button.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 79 ui/views/controls/button/custom_button.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 80 ui/views/controls/button/custom_button.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 81 ui/views/controls/button/custom_button.h virtual bool OnKeyReleased(const ui::KeyEvent& event) OVERRIDE; event 82 ui/views/controls/button/custom_button.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 110 ui/views/controls/button/custom_button.h virtual bool IsTriggerableEvent(const ui::Event& event); event 115 ui/views/controls/button/custom_button.h virtual bool ShouldEnterPushedState(const ui::Event& event); event 163 ui/views/controls/button/menu_button.cc bool MenuButton::OnMousePressed(const ui::MouseEvent& event) { event 168 ui/views/controls/button/menu_button.cc if (event.IsOnlyLeftMouseButton() && event 169 ui/views/controls/button/menu_button.cc HitTestPoint(event.location()) && event 170 ui/views/controls/button/menu_button.cc GetDragOperations(event.location()) == ui::DragDropTypes::DRAG_NONE) { event 179 ui/views/controls/button/menu_button.cc void MenuButton::OnMouseReleased(const ui::MouseEvent& event) { event 184 ui/views/controls/button/menu_button.cc if (GetDragOperations(event.location()) != ui::DragDropTypes::DRAG_NONE && event 185 ui/views/controls/button/menu_button.cc state() != STATE_DISABLED && !InDrag() && event.IsOnlyLeftMouseButton() && event 186 ui/views/controls/button/menu_button.cc HitTestPoint(event.location())) { event 189 ui/views/controls/button/menu_button.cc TextButton::OnMouseReleased(event); event 198 ui/views/controls/button/menu_button.cc void MenuButton::OnMouseExited(const ui::MouseEvent& event) { event 204 ui/views/controls/button/menu_button.cc void MenuButton::OnGestureEvent(ui::GestureEvent* event) { event 205 ui/views/controls/button/menu_button.cc if (state() != STATE_DISABLED && event->type() == ui::ET_GESTURE_TAP) { event 207 ui/views/controls/button/menu_button.cc event->StopPropagation(); event 210 ui/views/controls/button/menu_button.cc TextButton::OnGestureEvent(event); event 213 ui/views/controls/button/menu_button.cc bool MenuButton::OnKeyPressed(const ui::KeyEvent& event) { event 214 ui/views/controls/button/menu_button.cc switch (event.key_code()) { event 217 ui/views/controls/button/menu_button.cc if (event.IsAltDown()) event 236 ui/views/controls/button/menu_button.cc bool MenuButton::OnKeyReleased(const ui::KeyEvent& event) { event 59 ui/views/controls/button/menu_button.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 60 ui/views/controls/button/menu_button.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 61 ui/views/controls/button/menu_button.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 62 ui/views/controls/button/menu_button.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 63 ui/views/controls/button/menu_button.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 64 ui/views/controls/button/menu_button.h virtual bool OnKeyReleased(const ui::KeyEvent& event) OVERRIDE; event 126 ui/views/controls/button/radio_button.cc ui::MouseEvent event(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), 0, 0); event 127 ui/views/controls/button/radio_button.cc LabelButton::NotifyClick(event); event 130 ui/views/controls/button/radio_button.cc void RadioButton::NotifyClick(const ui::Event& event) { event 136 ui/views/controls/button/radio_button.cc LabelButton::NotifyClick(event); event 31 ui/views/controls/button/radio_button.h virtual void NotifyClick(const ui::Event& event) OVERRIDE; event 566 ui/views/controls/combobox/combobox.cc void Combobox::ButtonPressed(Button* sender, const ui::Event& event) { event 583 ui/views/controls/combobox/combobox.cc if (event.IsKeyEvent()) event 585 ui/views/controls/combobox/combobox.cc else if (event.IsGestureEvent() || event.IsTouchEvent()) event 124 ui/views/controls/combobox/combobox.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 233 ui/views/controls/combobox/combobox_unittest.cc ui::KeyEvent event(type, key_code, 0, false); event 234 ui/views/controls/combobox/combobox_unittest.cc widget_->GetInputMethod()->DispatchKeyEvent(event); event 47 ui/views/controls/link.cc gfx::NativeCursor Link::GetCursor(const ui::MouseEvent& event) { event 59 ui/views/controls/link.cc bool Link::OnMousePressed(const ui::MouseEvent& event) { event 61 ui/views/controls/link.cc (!event.IsLeftMouseButton() && !event.IsMiddleMouseButton())) event 67 ui/views/controls/link.cc bool Link::OnMouseDragged(const ui::MouseEvent& event) { event 69 ui/views/controls/link.cc (event.IsLeftMouseButton() || event.IsMiddleMouseButton()) && event 70 ui/views/controls/link.cc HitTestPoint(event.location())); event 74 ui/views/controls/link.cc void Link::OnMouseReleased(const ui::MouseEvent& event) { event 79 ui/views/controls/link.cc (event.IsLeftMouseButton() || event.IsMiddleMouseButton()) && event 80 ui/views/controls/link.cc HitTestPoint(event.location())) { event 85 ui/views/controls/link.cc listener_->LinkClicked(this, event.flags()); event 93 ui/views/controls/link.cc bool Link::OnKeyPressed(const ui::KeyEvent& event) { event 94 ui/views/controls/link.cc bool activate = ((event.key_code() == ui::VKEY_SPACE) || event 95 ui/views/controls/link.cc (event.key_code() == ui::VKEY_RETURN)); event 105 ui/views/controls/link.cc listener_->LinkClicked(this, event.flags()); event 110 ui/views/controls/link.cc void Link::OnGestureEvent(ui::GestureEvent* event) { event 114 ui/views/controls/link.cc if (event->type() == ui::ET_GESTURE_TAP_DOWN) { event 116 ui/views/controls/link.cc } else if (event->type() == ui::ET_GESTURE_TAP) { event 119 ui/views/controls/link.cc listener_->LinkClicked(this, event->flags()); event 124 ui/views/controls/link.cc event->SetHandled(); event 127 ui/views/controls/link.cc bool Link::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) { event 129 ui/views/controls/link.cc return (event.key_code() == ui::VKEY_SPACE) || event 130 ui/views/controls/link.cc (event.key_code() == ui::VKEY_RETURN); event 38 ui/views/controls/link.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; event 40 ui/views/controls/link.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 41 ui/views/controls/link.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 42 ui/views/controls/link.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 44 ui/views/controls/link.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 45 ui/views/controls/link.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 47 ui/views/controls/link.h const ui::KeyEvent& event) OVERRIDE; event 139 ui/views/controls/menu/menu_controller.cc virtual void OnCancelMode(ui::CancelModeEvent* event) OVERRIDE { event 377 ui/views/controls/menu/menu_controller.cc const ui::Event* event = event 379 ui/views/controls/menu/menu_controller.cc if (event && event->type() == ui::ET_MOUSE_PRESSED) { event 381 ui/views/controls/menu/menu_controller.cc static_cast<const ui::MouseEvent*>(event)->location()); event 383 ui/views/controls/menu/menu_controller.cc static_cast<View*>(event->target()), &screen_loc); event 547 ui/views/controls/menu/menu_controller.cc const ui::MouseEvent& event) { event 548 ui/views/controls/menu/menu_controller.cc SetSelectionOnPointerDown(source, event); event 552 ui/views/controls/menu/menu_controller.cc const ui::MouseEvent& event) { event 553 ui/views/controls/menu/menu_controller.cc MenuPart part = GetMenuPart(source, event.location()); event 560 ui/views/controls/menu/menu_controller.cc if (View::ExceededDragThreshold(event.location() - press_pt_)) event 572 ui/views/controls/menu/menu_controller.cc ShowSiblingMenu(source, event.location()); event 574 ui/views/controls/menu/menu_controller.cc UpdateActiveMouseView(source, event, mouse_menu); event 578 ui/views/controls/menu/menu_controller.cc const ui::MouseEvent& event) { event 585 ui/views/controls/menu/menu_controller.cc MenuPart part = GetMenuPart(source, event.location()); event 586 ui/views/controls/menu/menu_controller.cc if (event.IsRightMouseButton() && part.type == MenuPart::MENU_ITEM) { event 596 ui/views/controls/menu/menu_controller.cc if (menu != NULL && ShowContextMenu(menu, source, event, event 606 ui/views/controls/menu/menu_controller.cc (event.flags() & ui::EF_LEFT_MOUSE_BUTTON))) { event 608 ui/views/controls/menu/menu_controller.cc SendMouseReleaseToActiveView(source, event); event 615 ui/views/controls/menu/menu_controller.cc gfx::Point screen_loc(event.location()); event 625 ui/views/controls/menu/menu_controller.cc part.menu->GetCommand(), event)) { event 627 ui/views/controls/menu/menu_controller.cc event.flags()); event 631 ui/views/controls/menu/menu_controller.cc part.menu->GetDelegate()->IsTriggerableEvent(part.menu, event)) { event 635 ui/views/controls/menu/menu_controller.cc Accept(part.menu, event.flags()); event 648 ui/views/controls/menu/menu_controller.cc const ui::MouseEvent& event) { event 649 ui/views/controls/menu/menu_controller.cc HandleMouseLocation(source, event.location()); event 653 ui/views/controls/menu/menu_controller.cc const ui::MouseEvent& event) { event 659 ui/views/controls/menu/menu_controller.cc const ui::MouseWheelEvent& event) { event 660 ui/views/controls/menu/menu_controller.cc MenuPart part = GetMenuPart(source, event.location()); event 661 ui/views/controls/menu/menu_controller.cc return part.submenu && part.submenu->OnMouseWheel(event); event 665 ui/views/controls/menu/menu_controller.cc ui::GestureEvent* event) { event 666 ui/views/controls/menu/menu_controller.cc MenuPart part = GetMenuPart(source, event->location()); event 667 ui/views/controls/menu/menu_controller.cc if (event->type() == ui::ET_GESTURE_TAP_DOWN) { event 668 ui/views/controls/menu/menu_controller.cc SetSelectionOnPointerDown(source, *event); event 669 ui/views/controls/menu/menu_controller.cc event->StopPropagation(); event 670 ui/views/controls/menu/menu_controller.cc } else if (event->type() == ui::ET_GESTURE_LONG_PRESS) { event 672 ui/views/controls/menu/menu_controller.cc if (ShowContextMenu(part.menu, source, *event, ui::MENU_SOURCE_TOUCH)) event 673 ui/views/controls/menu/menu_controller.cc event->StopPropagation(); event 675 ui/views/controls/menu/menu_controller.cc } else if (event->type() == ui::ET_GESTURE_TAP) { event 679 ui/views/controls/menu/menu_controller.cc part.menu, *event)) { event 680 ui/views/controls/menu/menu_controller.cc Accept(part.menu, event->flags()); event 683 ui/views/controls/menu/menu_controller.cc event->StopPropagation(); event 688 ui/views/controls/menu/menu_controller.cc event->StopPropagation(); event 690 ui/views/controls/menu/menu_controller.cc } else if (event->type() == ui::ET_GESTURE_TAP_CANCEL && event 698 ui/views/controls/menu/menu_controller.cc event->StopPropagation(); event 701 ui/views/controls/menu/menu_controller.cc if (event->stopped_propagation()) event 706 ui/views/controls/menu/menu_controller.cc part.submenu->OnGestureEvent(event); event 728 ui/views/controls/menu/menu_controller.cc const ui::DropTargetEvent& event) { event 733 ui/views/controls/menu/menu_controller.cc const ui::DropTargetEvent& event) { event 736 ui/views/controls/menu/menu_controller.cc gfx::Point screen_loc(event.location()); event 743 ui/views/controls/menu/menu_controller.cc MenuItemView* menu_item = GetMenuItemAt(source, event.x(), event.y()); event 747 ui/views/controls/menu/menu_controller.cc menu_item = GetEmptyMenuItemAt(source, event.x(), event.y()); event 754 ui/views/controls/menu/menu_controller.cc gfx::Point menu_item_loc(event.location()); event 773 ui/views/controls/menu/menu_controller.cc query_menu_item, event, &drop_position); event 800 ui/views/controls/menu/menu_controller.cc const ui::DropTargetEvent& event) { event 832 ui/views/controls/menu/menu_controller.cc drop_target, drop_position, event); event 940 ui/views/controls/menu/menu_controller.cc const ui::LocatedEvent& event) { event 946 ui/views/controls/menu/menu_controller.cc MenuPart part = GetMenuPart(source, event.location()); event 952 ui/views/controls/menu/menu_controller.cc if ((event.flags() & ui::EF_RIGHT_MOUSE_BUTTON) && event 953 ui/views/controls/menu/menu_controller.cc (event.flags() & ui::EF_FROM_TOUCH)) event 978 ui/views/controls/menu/menu_controller.cc RepostEvent(source, event); event 987 ui/views/controls/menu/menu_controller.cc gfx::Point screen_loc(event.location()); event 1001 ui/views/controls/menu/menu_controller.cc RepostEvent(source, event); event 1017 ui/views/controls/menu/menu_controller.cc press_pt_ = event.location(); event 1327 ui/views/controls/menu/menu_controller.cc const ui::LocatedEvent& event, event 1335 ui/views/controls/menu/menu_controller.cc gfx::Point loc(event.location()); event 2116 ui/views/controls/menu/menu_controller.cc const ui::LocatedEvent& event) { event 2117 ui/views/controls/menu/menu_controller.cc gfx::Point screen_loc(event.location()); event 2148 ui/views/controls/menu/menu_controller.cc if (event.IsMouseEvent()) { event 2149 ui/views/controls/menu/menu_controller.cc clone.reset(new ui::MouseEvent(static_cast<const ui::MouseEvent&>(event))); event 2150 ui/views/controls/menu/menu_controller.cc } else if (event.IsGestureEvent()) { event 2196 ui/views/controls/menu/menu_controller.cc const ui::MouseEvent& event, event 2199 ui/views/controls/menu/menu_controller.cc gfx::Point target_menu_loc(event.location()); event 2228 ui/views/controls/menu/menu_controller.cc event.flags(), event 2229 ui/views/controls/menu/menu_controller.cc event.changed_button_flags()); event 2239 ui/views/controls/menu/menu_controller.cc event.flags(), event 2240 ui/views/controls/menu/menu_controller.cc event.changed_button_flags()); event 2246 ui/views/controls/menu/menu_controller.cc const ui::MouseEvent& event) { event 2251 ui/views/controls/menu/menu_controller.cc gfx::Point target_loc(event.location()); event 2256 ui/views/controls/menu/menu_controller.cc event.flags(), event.changed_button_flags()); event 112 ui/views/controls/menu/menu_controller.h void OnMousePressed(SubmenuView* source, const ui::MouseEvent& event); event 113 ui/views/controls/menu/menu_controller.h void OnMouseDragged(SubmenuView* source, const ui::MouseEvent& event); event 114 ui/views/controls/menu/menu_controller.h void OnMouseReleased(SubmenuView* source, const ui::MouseEvent& event); event 115 ui/views/controls/menu/menu_controller.h void OnMouseMoved(SubmenuView* source, const ui::MouseEvent& event); event 116 ui/views/controls/menu/menu_controller.h void OnMouseEntered(SubmenuView* source, const ui::MouseEvent& event); event 117 ui/views/controls/menu/menu_controller.h bool OnMouseWheel(SubmenuView* source, const ui::MouseWheelEvent& event); event 118 ui/views/controls/menu/menu_controller.h void OnGestureEvent(SubmenuView* source, ui::GestureEvent* event); event 126 ui/views/controls/menu/menu_controller.h void OnDragEntered(SubmenuView* source, const ui::DropTargetEvent& event); event 127 ui/views/controls/menu/menu_controller.h int OnDragUpdated(SubmenuView* source, const ui::DropTargetEvent& event); event 129 ui/views/controls/menu/menu_controller.h int OnPerformDrop(SubmenuView* source, const ui::DropTargetEvent& event); event 254 ui/views/controls/menu/menu_controller.h const ui::LocatedEvent& event); event 293 ui/views/controls/menu/menu_controller.h const ui::LocatedEvent& event, event 434 ui/views/controls/menu/menu_controller.h void RepostEvent(SubmenuView* source, const ui::LocatedEvent& event); event 452 ui/views/controls/menu/menu_controller.h const ui::MouseEvent& event, event 458 ui/views/controls/menu/menu_controller.h const ui::MouseEvent& event); event 106 ui/views/controls/menu/menu_delegate.cc const ui::DropTargetEvent& event, event 114 ui/views/controls/menu/menu_delegate.cc const ui::DropTargetEvent& event) { event 176 ui/views/controls/menu/menu_delegate.h const ui::DropTargetEvent& event, event 186 ui/views/controls/menu/menu_delegate.h const ui::DropTargetEvent& event); event 20 ui/views/controls/menu/menu_host_root_view.cc bool MenuHostRootView::OnMousePressed(const ui::MouseEvent& event) { event 22 ui/views/controls/menu/menu_host_root_view.cc !GetLocalBounds().Contains(event.location()) || event 23 ui/views/controls/menu/menu_host_root_view.cc !RootView::OnMousePressed(event) || event 24 ui/views/controls/menu/menu_host_root_view.cc DoesEventTargetEmptyMenuItem(event); event 27 ui/views/controls/menu/menu_host_root_view.cc GetMenuController()->OnMousePressed(submenu_, event); event 31 ui/views/controls/menu/menu_host_root_view.cc bool MenuHostRootView::OnMouseDragged(const ui::MouseEvent& event) { event 33 ui/views/controls/menu/menu_host_root_view.cc GetMenuController()->OnMouseDragged(submenu_, event); event 36 ui/views/controls/menu/menu_host_root_view.cc return RootView::OnMouseDragged(event); event 39 ui/views/controls/menu/menu_host_root_view.cc void MenuHostRootView::OnMouseReleased(const ui::MouseEvent& event) { event 40 ui/views/controls/menu/menu_host_root_view.cc RootView::OnMouseReleased(event); event 43 ui/views/controls/menu/menu_host_root_view.cc GetMenuController()->OnMouseReleased(submenu_, event); event 47 ui/views/controls/menu/menu_host_root_view.cc void MenuHostRootView::OnMouseMoved(const ui::MouseEvent& event) { event 48 ui/views/controls/menu/menu_host_root_view.cc RootView::OnMouseMoved(event); event 50 ui/views/controls/menu/menu_host_root_view.cc GetMenuController()->OnMouseMoved(submenu_, event); event 53 ui/views/controls/menu/menu_host_root_view.cc bool MenuHostRootView::OnMouseWheel(const ui::MouseWheelEvent& event) { event 55 ui/views/controls/menu/menu_host_root_view.cc GetMenuController()->OnMouseWheel(submenu_, event); event 58 ui/views/controls/menu/menu_host_root_view.cc void MenuHostRootView::DispatchGestureEvent(ui::GestureEvent* event) { event 59 ui/views/controls/menu/menu_host_root_view.cc RootView::DispatchGestureEvent(event); event 60 ui/views/controls/menu/menu_host_root_view.cc if (event->handled()) event 66 ui/views/controls/menu/menu_host_root_view.cc GetMenuController()->OnGestureEvent(submenu_, event); event 74 ui/views/controls/menu/menu_host_root_view.cc const ui::MouseEvent& event) { event 75 ui/views/controls/menu/menu_host_root_view.cc View* view = GetEventHandlerForPoint(event.location()); event 28 ui/views/controls/menu/menu_host_root_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 29 ui/views/controls/menu/menu_host_root_view.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 30 ui/views/controls/menu/menu_host_root_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 31 ui/views/controls/menu/menu_host_root_view.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 32 ui/views/controls/menu/menu_host_root_view.h virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; event 42 ui/views/controls/menu/menu_host_root_view.h bool DoesEventTargetEmptyMenuItem(const ui::MouseEvent& event); event 26 ui/views/controls/menu/menu_message_pump_dispatcher.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; event 15 ui/views/controls/menu/menu_message_pump_dispatcher_linux.cc uint32_t MenuMessagePumpDispatcher::Dispatch(const base::NativeEvent& event) { event 20 ui/views/controls/menu/menu_message_pump_dispatcher_linux.cc switch (ui::EventTypeFromNative(event)) { event 22 ui/views/controls/menu/menu_message_pump_dispatcher_linux.cc if (!menu_controller_->OnKeyDown(ui::KeyboardCodeFromNative(event))) event 26 ui/views/controls/menu/menu_message_pump_dispatcher_linux.cc int flags = ui::EventFlagsFromNative(event); event 28 ui/views/controls/menu/menu_message_pump_dispatcher_linux.cc char c = ui::GetCharacterFromKeyCode(ui::KeyboardCodeFromNative(event), event 54 ui/views/controls/menu/menu_scroll_view_container.cc virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE { event 60 ui/views/controls/menu/menu_scroll_view_container.cc virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE { event 69 ui/views/controls/menu/menu_scroll_view_container.cc virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE { event 204 ui/views/controls/menu/submenu_view.cc void SubmenuView::OnDragEntered(const ui::DropTargetEvent& event) { event 206 ui/views/controls/menu/submenu_view.cc GetMenuItem()->GetMenuController()->OnDragEntered(this, event); event 209 ui/views/controls/menu/submenu_view.cc int SubmenuView::OnDragUpdated(const ui::DropTargetEvent& event) { event 211 ui/views/controls/menu/submenu_view.cc return GetMenuItem()->GetMenuController()->OnDragUpdated(this, event); event 219 ui/views/controls/menu/submenu_view.cc int SubmenuView::OnPerformDrop(const ui::DropTargetEvent& event) { event 221 ui/views/controls/menu/submenu_view.cc return GetMenuItem()->GetMenuController()->OnPerformDrop(this, event); event 273 ui/views/controls/menu/submenu_view.cc void SubmenuView::OnGestureEvent(ui::GestureEvent* event) { event 275 ui/views/controls/menu/submenu_view.cc switch (event->type()) { event 280 ui/views/controls/menu/submenu_view.cc handled = OnScroll(0, event->details().scroll_y()); event 285 ui/views/controls/menu/submenu_view.cc if (event->details().velocity_y() != 0.0f) event 286 ui/views/controls/menu/submenu_view.cc scroll_animator_->Start(0, event->details().velocity_y()); event 300 ui/views/controls/menu/submenu_view.cc event->SetHandled(); event 73 ui/views/controls/menu/submenu_view.h virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; event 74 ui/views/controls/menu/submenu_view.h virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; event 76 ui/views/controls/menu/submenu_view.h virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; event 83 ui/views/controls/menu/submenu_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 195 ui/views/controls/native/native_view_host.cc gfx::NativeCursor NativeViewHost::GetCursor(const ui::MouseEvent& event) { event 196 ui/views/controls/native/native_view_host.cc return native_wrapper_->GetCursor(event.x(), event.y()); event 89 ui/views/controls/native/native_view_host.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; event 32 ui/views/controls/resize_area.cc gfx::NativeCursor ResizeArea::GetCursor(const ui::MouseEvent& event) { event 36 ui/views/controls/resize_area.cc bool ResizeArea::OnMousePressed(const ui::MouseEvent& event) { event 37 ui/views/controls/resize_area.cc if (!event.IsOnlyLeftMouseButton()) event 43 ui/views/controls/resize_area.cc gfx::Point point(event.x(), 0); event 50 ui/views/controls/resize_area.cc bool ResizeArea::OnMouseDragged(const ui::MouseEvent& event) { event 51 ui/views/controls/resize_area.cc if (!event.IsLeftMouseButton()) event 54 ui/views/controls/resize_area.cc ReportResizeAmount(event.x(), false); event 58 ui/views/controls/resize_area.cc void ResizeArea::OnMouseReleased(const ui::MouseEvent& event) { event 59 ui/views/controls/resize_area.cc ReportResizeAmount(event.x(), true); event 30 ui/views/controls/resize_area.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; event 31 ui/views/controls/resize_area.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 32 ui/views/controls/resize_area.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 33 ui/views/controls/resize_area.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 335 ui/views/controls/scroll_view.cc bool ScrollView::OnKeyPressed(const ui::KeyEvent& event) { event 340 ui/views/controls/scroll_view.cc processed = vert_sb_->OnKeyPressed(event); event 343 ui/views/controls/scroll_view.cc processed = horiz_sb_->OnKeyPressed(event); event 360 ui/views/controls/scroll_view.cc void ScrollView::OnMouseEntered(const ui::MouseEvent& event) { event 362 ui/views/controls/scroll_view.cc horiz_sb_->OnMouseEnteredScrollView(event); event 364 ui/views/controls/scroll_view.cc vert_sb_->OnMouseEnteredScrollView(event); event 367 ui/views/controls/scroll_view.cc void ScrollView::OnMouseExited(const ui::MouseEvent& event) { event 369 ui/views/controls/scroll_view.cc horiz_sb_->OnMouseExitedScrollView(event); event 371 ui/views/controls/scroll_view.cc vert_sb_->OnMouseExitedScrollView(event); event 374 ui/views/controls/scroll_view.cc void ScrollView::OnGestureEvent(ui::GestureEvent* event) { event 378 ui/views/controls/scroll_view.cc bool scroll_event = event->type() == ui::ET_GESTURE_SCROLL_UPDATE || event 379 ui/views/controls/scroll_view.cc event->type() == ui::ET_GESTURE_SCROLL_BEGIN || event 380 ui/views/controls/scroll_view.cc event->type() == ui::ET_GESTURE_SCROLL_END || event 381 ui/views/controls/scroll_view.cc event->type() == ui::ET_SCROLL_FLING_START; event 384 ui/views/controls/scroll_view.cc if (vert_sb_->bounds().Contains(event->location()) || scroll_event) event 385 ui/views/controls/scroll_view.cc vert_sb_->OnGestureEvent(event); event 387 ui/views/controls/scroll_view.cc if (!event->handled() && horiz_sb_->visible()) { event 388 ui/views/controls/scroll_view.cc if (horiz_sb_->bounds().Contains(event->location()) || scroll_event) event 389 ui/views/controls/scroll_view.cc horiz_sb_->OnGestureEvent(event); event 81 ui/views/controls/scroll_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 83 ui/views/controls/scroll_view.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 84 ui/views/controls/scroll_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 85 ui/views/controls/scroll_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 131 ui/views/controls/scrollbar/base_scroll_bar.cc bool BaseScrollBar::OnMousePressed(const ui::MouseEvent& event) { event 132 ui/views/controls/scrollbar/base_scroll_bar.cc if (event.IsOnlyLeftMouseButton()) event 133 ui/views/controls/scrollbar/base_scroll_bar.cc ProcessPressEvent(event); event 137 ui/views/controls/scrollbar/base_scroll_bar.cc void BaseScrollBar::OnMouseReleased(const ui::MouseEvent& event) { event 138 ui/views/controls/scrollbar/base_scroll_bar.cc SetState(HitTestPoint(event.location()) ? event 146 ui/views/controls/scrollbar/base_scroll_bar.cc void BaseScrollBar::OnMouseEntered(const ui::MouseEvent& event) { event 150 ui/views/controls/scrollbar/base_scroll_bar.cc void BaseScrollBar::OnMouseExited(const ui::MouseEvent& event) { event 155 ui/views/controls/scrollbar/base_scroll_bar.cc bool BaseScrollBar::OnKeyPressed(const ui::KeyEvent& event) { event 157 ui/views/controls/scrollbar/base_scroll_bar.cc switch (event.key_code()) { event 196 ui/views/controls/scrollbar/base_scroll_bar.cc bool BaseScrollBar::OnMouseWheel(const ui::MouseWheelEvent& event) { event 197 ui/views/controls/scrollbar/base_scroll_bar.cc ScrollByContentsOffset(event.y_offset()); event 201 ui/views/controls/scrollbar/base_scroll_bar.cc void BaseScrollBar::OnGestureEvent(ui::GestureEvent* event) { event 206 ui/views/controls/scrollbar/base_scroll_bar.cc (event->type() != ui::ET_GESTURE_END || event 207 ui/views/controls/scrollbar/base_scroll_bar.cc event->details().touch_points() > 1)) { event 211 ui/views/controls/scrollbar/base_scroll_bar.cc if (event->type() == ui::ET_GESTURE_TAP_DOWN) { event 212 ui/views/controls/scrollbar/base_scroll_bar.cc ProcessPressEvent(*event); event 213 ui/views/controls/scrollbar/base_scroll_bar.cc event->SetHandled(); event 217 ui/views/controls/scrollbar/base_scroll_bar.cc if (event->type() == ui::ET_GESTURE_LONG_PRESS) { event 225 ui/views/controls/scrollbar/base_scroll_bar.cc if (event->type() == ui::ET_GESTURE_TAP) { event 228 ui/views/controls/scrollbar/base_scroll_bar.cc event->SetHandled(); event 232 ui/views/controls/scrollbar/base_scroll_bar.cc if (event->type() == ui::ET_GESTURE_SCROLL_BEGIN || event 233 ui/views/controls/scrollbar/base_scroll_bar.cc event->type() == ui::ET_GESTURE_SCROLL_END) { event 234 ui/views/controls/scrollbar/base_scroll_bar.cc event->SetHandled(); event 238 ui/views/controls/scrollbar/base_scroll_bar.cc if (event->type() == ui::ET_GESTURE_SCROLL_UPDATE) { event 242 ui/views/controls/scrollbar/base_scroll_bar.cc scroll_amount_f = event->details().scroll_x() - roundoff_error_.x(); event 246 ui/views/controls/scrollbar/base_scroll_bar.cc scroll_amount_f = event->details().scroll_y() - roundoff_error_.y(); event 251 ui/views/controls/scrollbar/base_scroll_bar.cc event->SetHandled(); event 255 ui/views/controls/scrollbar/base_scroll_bar.cc if (event->type() == ui::ET_SCROLL_FLING_START) { event 259 ui/views/controls/scrollbar/base_scroll_bar.cc IsHorizontal() ? event->details().velocity_x() : 0.f, event 260 ui/views/controls/scrollbar/base_scroll_bar.cc IsHorizontal() ? 0.f : event->details().velocity_y()); event 261 ui/views/controls/scrollbar/base_scroll_bar.cc event->SetHandled(); event 451 ui/views/controls/scrollbar/base_scroll_bar.cc void BaseScrollBar::ProcessPressEvent(const ui::LocatedEvent& event) { event 455 ui/views/controls/scrollbar/base_scroll_bar.cc if (GetMirroredXInView(event.x()) < thumb_bounds.x()) { event 457 ui/views/controls/scrollbar/base_scroll_bar.cc } else if (GetMirroredXInView(event.x()) > thumb_bounds.right()) { event 461 ui/views/controls/scrollbar/base_scroll_bar.cc if (event.y() < thumb_bounds.y()) { event 463 ui/views/controls/scrollbar/base_scroll_bar.cc } else if (event.y() > thumb_bounds.bottom()) { event 69 ui/views/controls/scrollbar/base_scroll_bar.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 70 ui/views/controls/scrollbar/base_scroll_bar.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 72 ui/views/controls/scrollbar/base_scroll_bar.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 73 ui/views/controls/scrollbar/base_scroll_bar.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 74 ui/views/controls/scrollbar/base_scroll_bar.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 75 ui/views/controls/scrollbar/base_scroll_bar.h virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; event 78 ui/views/controls/scrollbar/base_scroll_bar.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 120 ui/views/controls/scrollbar/base_scroll_bar.h void ProcessPressEvent(const ui::LocatedEvent& event); event 22 ui/views/controls/scrollbar/base_scroll_bar_button.cc bool BaseScrollBarButton::OnMousePressed(const ui::MouseEvent& event) { event 23 ui/views/controls/scrollbar/base_scroll_bar_button.cc Button::NotifyClick(event); event 28 ui/views/controls/scrollbar/base_scroll_bar_button.cc void BaseScrollBarButton::OnMouseReleased(const ui::MouseEvent& event) { event 41 ui/views/controls/scrollbar/base_scroll_bar_button.cc ui::MouseEvent event(ui::ET_MOUSE_RELEASED, event 45 ui/views/controls/scrollbar/base_scroll_bar_button.cc Button::NotifyClick(event); event 33 ui/views/controls/scrollbar/base_scroll_bar_button.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 34 ui/views/controls/scrollbar/base_scroll_bar_button.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 68 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc void BaseScrollBarThumb::OnMouseEntered(const ui::MouseEvent& event) { event 72 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc void BaseScrollBarThumb::OnMouseExited(const ui::MouseEvent& event) { event 76 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc bool BaseScrollBarThumb::OnMousePressed(const ui::MouseEvent& event) { event 77 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc mouse_offset_ = scroll_bar_->IsHorizontal() ? event.x() : event.y(); event 83 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc bool BaseScrollBarThumb::OnMouseDragged(const ui::MouseEvent& event) { event 88 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc if ((event.y() < y() - kScrollThumbDragOutSnap) || event 89 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc (event.y() > (y() + height() + kScrollThumbDragOutSnap))) { event 94 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc if ((event.x() < x() - kScrollThumbDragOutSnap) || event 95 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc (event.x() > (x() + width() + kScrollThumbDragOutSnap))) { event 101 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc int thumb_x = event.x() - mouse_offset_; event 106 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc int thumb_y = event.y() - mouse_offset_; event 112 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc void BaseScrollBarThumb::OnMouseReleased(const ui::MouseEvent& event) { event 113 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc SetState(HitTestPoint(event.location()) ? event 52 ui/views/controls/scrollbar/base_scroll_bar_thumb.h virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 53 ui/views/controls/scrollbar/base_scroll_bar_thumb.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 54 ui/views/controls/scrollbar/base_scroll_bar_thumb.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 55 ui/views/controls/scrollbar/base_scroll_bar_thumb.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 56 ui/views/controls/scrollbar/base_scroll_bar_thumb.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 72 ui/views/controls/scrollbar/native_scroll_bar.cc bool NativeScrollBar::OnKeyPressed(const ui::KeyEvent& event) { event 75 ui/views/controls/scrollbar/native_scroll_bar.cc return native_wrapper_->GetView()->OnKeyPressed(event); event 78 ui/views/controls/scrollbar/native_scroll_bar.cc void NativeScrollBar::OnGestureEvent(ui::GestureEvent* event) { event 81 ui/views/controls/scrollbar/native_scroll_bar.cc native_wrapper_->GetView()->OnGestureEvent(event); event 84 ui/views/controls/scrollbar/native_scroll_bar.cc bool NativeScrollBar::OnMouseWheel(const ui::MouseWheelEvent& event) { event 87 ui/views/controls/scrollbar/native_scroll_bar.cc return native_wrapper_->GetView()->OnMouseWheel(event); event 50 ui/views/controls/scrollbar/native_scroll_bar.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 54 ui/views/controls/scrollbar/native_scroll_bar.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 325 ui/views/controls/scrollbar/native_scroll_bar_views.cc const ui::Event& event) { event 51 ui/views/controls/scrollbar/native_scroll_bar_views.h const ui::Event& event) OVERRIDE; event 117 ui/views/controls/scrollbar/overlay_scroll_bar.cc void OverlayScrollBar::OnMouseEnteredScrollView(const ui::MouseEvent& event) { event 121 ui/views/controls/scrollbar/overlay_scroll_bar.cc void OverlayScrollBar::OnMouseExitedScrollView(const ui::MouseEvent& event) { event 125 ui/views/controls/scrollbar/overlay_scroll_bar.cc void OverlayScrollBar::OnGestureEvent(ui::GestureEvent* event) { event 126 ui/views/controls/scrollbar/overlay_scroll_bar.cc switch (event->type()) { event 138 ui/views/controls/scrollbar/overlay_scroll_bar.cc BaseScrollBar::OnGestureEvent(event); event 22 ui/views/controls/scrollbar/overlay_scroll_bar.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 27 ui/views/controls/scrollbar/overlay_scroll_bar.h virtual void OnMouseEnteredScrollView(const ui::MouseEvent& event) OVERRIDE; event 28 ui/views/controls/scrollbar/overlay_scroll_bar.h virtual void OnMouseExitedScrollView(const ui::MouseEvent& event) OVERRIDE; event 38 ui/views/controls/scrollbar/scroll_bar.cc void ScrollBar::OnMouseEnteredScrollView(const ui::MouseEvent& event) { event 41 ui/views/controls/scrollbar/scroll_bar.cc void ScrollBar::OnMouseExitedScrollView(const ui::MouseEvent& event) { event 93 ui/views/controls/scrollbar/scroll_bar.h virtual void OnMouseEnteredScrollView(const ui::MouseEvent& event); event 94 ui/views/controls/scrollbar/scroll_bar.h virtual void OnMouseExitedScrollView(const ui::MouseEvent& event); event 88 ui/views/controls/single_split_view.cc gfx::NativeCursor SingleSplitView::GetCursor(const ui::MouseEvent& event) { event 89 ui/views/controls/single_split_view.cc if (!IsPointInDivider(event.location())) event 146 ui/views/controls/single_split_view.cc bool SingleSplitView::OnMousePressed(const ui::MouseEvent& event) { event 147 ui/views/controls/single_split_view.cc if (!IsPointInDivider(event.location())) event 149 ui/views/controls/single_split_view.cc drag_info_.initial_mouse_offset = GetPrimaryAxisSize(event.x(), event.y()); event 155 ui/views/controls/single_split_view.cc bool SingleSplitView::OnMouseDragged(const ui::MouseEvent& event) { event 159 ui/views/controls/single_split_view.cc int delta_offset = GetPrimaryAxisSize(event.x(), event.y()) - event 44 ui/views/controls/single_split_view.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; event 84 ui/views/controls/single_split_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 85 ui/views/controls/single_split_view.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 24 ui/views/controls/slide_out_view.cc void SlideOutView::OnGestureEvent(ui::GestureEvent* event) { event 25 ui/views/controls/slide_out_view.cc if (event->type() == ui::ET_SCROLL_FLING_START) { event 29 ui/views/controls/slide_out_view.cc if (fabsf(event->details().velocity_x()) > kFlingThresholdForClose) { event 30 ui/views/controls/slide_out_view.cc SlideOutAndClose(event->details().velocity_x() < 0 ? SLIDE_LEFT : event 32 ui/views/controls/slide_out_view.cc event->StopPropagation(); event 39 ui/views/controls/slide_out_view.cc if (!event->IsScrollGestureEvent()) event 42 ui/views/controls/slide_out_view.cc if (event->type() == ui::ET_GESTURE_SCROLL_BEGIN) { event 44 ui/views/controls/slide_out_view.cc } else if (event->type() == ui::ET_GESTURE_SCROLL_UPDATE) { event 46 ui/views/controls/slide_out_view.cc gesture_scroll_amount_ += event->details().scroll_x(); event 54 ui/views/controls/slide_out_view.cc } else if (event->type() == ui::ET_GESTURE_SCROLL_END) { event 59 ui/views/controls/slide_out_view.cc event->StopPropagation(); event 65 ui/views/controls/slide_out_view.cc event->SetHandled(); event 26 ui/views/controls/slide_out_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 267 ui/views/controls/slider.cc bool Slider::OnMousePressed(const ui::MouseEvent& event) { event 268 ui/views/controls/slider.cc if (!event.IsOnlyLeftMouseButton()) event 272 ui/views/controls/slider.cc PrepareForMove(event.location()); event 273 ui/views/controls/slider.cc MoveButtonTo(event.location()); event 277 ui/views/controls/slider.cc bool Slider::OnMouseDragged(const ui::MouseEvent& event) { event 278 ui/views/controls/slider.cc MoveButtonTo(event.location()); event 282 ui/views/controls/slider.cc void Slider::OnMouseReleased(const ui::MouseEvent& event) { event 287 ui/views/controls/slider.cc bool Slider::OnKeyPressed(const ui::KeyEvent& event) { event 289 ui/views/controls/slider.cc if (event.key_code() == ui::VKEY_LEFT) { event 292 ui/views/controls/slider.cc } else if (event.key_code() == ui::VKEY_RIGHT) { event 297 ui/views/controls/slider.cc if (event.key_code() == ui::VKEY_DOWN) { event 300 ui/views/controls/slider.cc } else if (event.key_code() == ui::VKEY_UP) { event 308 ui/views/controls/slider.cc void Slider::OnGestureEvent(ui::GestureEvent* event) { event 309 ui/views/controls/slider.cc if (event->type() == ui::ET_GESTURE_SCROLL_BEGIN || event 310 ui/views/controls/slider.cc event->type() == ui::ET_GESTURE_TAP_DOWN) { event 311 ui/views/controls/slider.cc PrepareForMove(event->location()); event 312 ui/views/controls/slider.cc MoveButtonTo(event->location()); event 313 ui/views/controls/slider.cc event->SetHandled(); event 314 ui/views/controls/slider.cc } else if (event->type() == ui::ET_GESTURE_SCROLL_UPDATE || event 315 ui/views/controls/slider.cc event->type() == ui::ET_GESTURE_SCROLL_END) { event 316 ui/views/controls/slider.cc MoveButtonTo(event->location()); event 317 ui/views/controls/slider.cc event->SetHandled(); event 87 ui/views/controls/slider.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 88 ui/views/controls/slider.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 89 ui/views/controls/slider.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 90 ui/views/controls/slider.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 94 ui/views/controls/slider.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 46 ui/views/controls/tabbed_pane/tabbed_pane.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 47 ui/views/controls/tabbed_pane/tabbed_pane.cc virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 48 ui/views/controls/tabbed_pane/tabbed_pane.cc virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 49 ui/views/controls/tabbed_pane/tabbed_pane.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 110 ui/views/controls/tabbed_pane/tabbed_pane.cc bool Tab::OnMousePressed(const ui::MouseEvent& event) { event 111 ui/views/controls/tabbed_pane/tabbed_pane.cc if (event.IsOnlyLeftMouseButton() && event 112 ui/views/controls/tabbed_pane/tabbed_pane.cc GetLocalBounds().Contains(event.location())) event 117 ui/views/controls/tabbed_pane/tabbed_pane.cc void Tab::OnMouseEntered(const ui::MouseEvent& event) { event 121 ui/views/controls/tabbed_pane/tabbed_pane.cc void Tab::OnMouseExited(const ui::MouseEvent& event) { event 125 ui/views/controls/tabbed_pane/tabbed_pane.cc void Tab::OnGestureEvent(ui::GestureEvent* event) { event 126 ui/views/controls/tabbed_pane/tabbed_pane.cc switch (event->type()) { event 139 ui/views/controls/tabbed_pane/tabbed_pane.cc event->SetHandled(); event 165 ui/views/controls/table/table_header.cc gfx::NativeCursor TableHeader::GetCursor(const ui::MouseEvent& event) { event 166 ui/views/controls/table/table_header.cc return GetResizeColumn(GetMirroredXInView(event.x())) != -1 ? event 167 ui/views/controls/table/table_header.cc ui::kCursorColumnResize : View::GetCursor(event); event 170 ui/views/controls/table/table_header.cc bool TableHeader::OnMousePressed(const ui::MouseEvent& event) { event 171 ui/views/controls/table/table_header.cc if (event.IsOnlyLeftMouseButton()) { event 172 ui/views/controls/table/table_header.cc StartResize(event); event 180 ui/views/controls/table/table_header.cc bool TableHeader::OnMouseDragged(const ui::MouseEvent& event) { event 181 ui/views/controls/table/table_header.cc ContinueResize(event); event 185 ui/views/controls/table/table_header.cc void TableHeader::OnMouseReleased(const ui::MouseEvent& event) { event 188 ui/views/controls/table/table_header.cc if (!was_resizing && event.IsOnlyLeftMouseButton()) event 189 ui/views/controls/table/table_header.cc ToggleSortOrder(event); event 200 ui/views/controls/table/table_header.cc void TableHeader::OnGestureEvent(ui::GestureEvent* event) { event 201 ui/views/controls/table/table_header.cc switch (event->type()) { event 204 ui/views/controls/table/table_header.cc ToggleSortOrder(*event); event 207 ui/views/controls/table/table_header.cc StartResize(*event); event 210 ui/views/controls/table/table_header.cc ContinueResize(*event); event 218 ui/views/controls/table/table_header.cc event->SetHandled(); event 221 ui/views/controls/table/table_header.cc bool TableHeader::StartResize(const ui::LocatedEvent& event) { event 225 ui/views/controls/table/table_header.cc const int index = GetResizeColumn(GetMirroredXInView(event.x())); event 231 ui/views/controls/table/table_header.cc resize_details_->initial_x = event.root_location().x(); event 236 ui/views/controls/table/table_header.cc void TableHeader::ContinueResize(const ui::LocatedEvent& event) { event 242 ui/views/controls/table/table_header.cc (event.root_location().x() - resize_details_->initial_x); event 248 ui/views/controls/table/table_header.cc void TableHeader::ToggleSortOrder(const ui::LocatedEvent& event) { event 252 ui/views/controls/table/table_header.cc const int x = GetMirroredXInView(event.x()); event 255 ui/views/controls/table/table_header.cc if (x >= column.x && x < column.x + column.width && event.y() >= 0 && event 256 ui/views/controls/table/table_header.cc event.y() < height()) event 34 ui/views/controls/table/table_header.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; event 35 ui/views/controls/table/table_header.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 36 ui/views/controls/table/table_header.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 37 ui/views/controls/table/table_header.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 39 ui/views/controls/table/table_header.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 58 ui/views/controls/table/table_header.h bool StartResize(const ui::LocatedEvent& event); event 62 ui/views/controls/table/table_header.h void ContinueResize(const ui::LocatedEvent& event); event 65 ui/views/controls/table/table_header.h void ToggleSortOrder(const ui::LocatedEvent& event); event 328 ui/views/controls/table/table_view.cc bool TableView::OnKeyPressed(const ui::KeyEvent& event) { event 332 ui/views/controls/table/table_view.cc switch (event.key_code()) { event 335 ui/views/controls/table/table_view.cc if (event.IsControlDown() && !single_selection_ && RowCount()) { event 367 ui/views/controls/table/table_view.cc table_view_observer_->OnKeyDown(event.key_code()); event 371 ui/views/controls/table/table_view.cc bool TableView::OnMousePressed(const ui::MouseEvent& event) { event 373 ui/views/controls/table/table_view.cc if (!event.IsOnlyLeftMouseButton()) event 376 ui/views/controls/table/table_view.cc const int row = event.y() / row_height_; event 380 ui/views/controls/table/table_view.cc if (event.GetClickCount() == 2) { event 384 ui/views/controls/table/table_view.cc } else if (event.GetClickCount() == 1) { event 386 ui/views/controls/table/table_view.cc ConfigureSelectionModelForEvent(event, &new_model); event 393 ui/views/controls/table/table_view.cc void TableView::OnGestureEvent(ui::GestureEvent* event) { event 394 ui/views/controls/table/table_view.cc if (event->type() != ui::ET_GESTURE_TAP) event 397 ui/views/controls/table/table_view.cc const int row = event->y() / row_height_; event 401 ui/views/controls/table/table_view.cc event->StopPropagation(); event 403 ui/views/controls/table/table_view.cc ConfigureSelectionModelForEvent(*event, &new_model); event 810 ui/views/controls/table/table_view.cc const ui::LocatedEvent& event, event 812 ui/views/controls/table/table_view.cc const int view_index = event.y() / row_height_; event 817 ui/views/controls/table/table_view.cc (!event.IsControlDown() && !event.IsShiftDown())) { event 823 ui/views/controls/table/table_view.cc if ((event.IsControlDown() && event.IsShiftDown()) || event.IsShiftDown()) { event 828 ui/views/controls/table/table_view.cc if (event.IsControlDown() && event.IsShiftDown()) event 839 ui/views/controls/table/table_view.cc DCHECK(event.IsControlDown()); event 170 ui/views/controls/table/table_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 171 ui/views/controls/table/table_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 172 ui/views/controls/table/table_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 275 ui/views/controls/table/table_view.h void ConfigureSelectionModelForEvent(const ui::LocatedEvent& event, event 226 ui/views/controls/table/table_view_unittest.cc ui::KeyEvent event(ui::ET_KEY_PRESSED, code, 0, false); event 227 ui/views/controls/table/table_view_unittest.cc table_->OnKeyPressed(event); event 66 ui/views/controls/textfield/textfield.cc int GetCommandForKeyEvent(const ui::KeyEvent& event, bool has_selection) { event 67 ui/views/controls/textfield/textfield.cc if (event.type() != ui::ET_KEY_PRESSED || event.IsUnicodeKeyCode()) event 70 ui/views/controls/textfield/textfield.cc const bool shift = event.IsShiftDown(); event 71 ui/views/controls/textfield/textfield.cc const bool control = event.IsControlDown(); event 72 ui/views/controls/textfield/textfield.cc const bool alt = event.IsAltDown() || event.IsAltGrDown(); event 73 ui/views/controls/textfield/textfield.cc switch (event.key_code()) { event 487 ui/views/controls/textfield/textfield.cc gfx::NativeCursor Textfield::GetCursor(const ui::MouseEvent& event) { event 488 ui/views/controls/textfield/textfield.cc bool in_selection = GetRenderText()->IsPointInSelection(event.location()); event 489 ui/views/controls/textfield/textfield.cc bool drag_event = event.type() == ui::ET_MOUSE_DRAGGED; event 494 ui/views/controls/textfield/textfield.cc bool Textfield::OnMousePressed(const ui::MouseEvent& event) { event 495 ui/views/controls/textfield/textfield.cc TrackMouseClicks(event); event 497 ui/views/controls/textfield/textfield.cc if (!controller_ || !controller_->HandleMouseEvent(this, event)) { event 498 ui/views/controls/textfield/textfield.cc if (event.IsOnlyLeftMouseButton() || event.IsOnlyRightMouseButton()) { event 503 ui/views/controls/textfield/textfield.cc if (event.IsOnlyLeftMouseButton()) { event 508 ui/views/controls/textfield/textfield.cc if (GetRenderText()->IsPointInSelection(event.location())) event 511 ui/views/controls/textfield/textfield.cc MoveCursorTo(event.location(), event.IsShiftDown()); event 514 ui/views/controls/textfield/textfield.cc model_->MoveCursorTo(event.location(), false); event 529 ui/views/controls/textfield/textfield.cc if (event.IsOnlyMiddleMouseButton()) { event 530 ui/views/controls/textfield/textfield.cc if (GetRenderText()->IsPointInSelection(event.location())) { event 538 ui/views/controls/textfield/textfield.cc PasteSelectionClipboard(event); event 548 ui/views/controls/textfield/textfield.cc bool Textfield::OnMouseDragged(const ui::MouseEvent& event) { event 551 ui/views/controls/textfield/textfield.cc if (initiating_drag_ || !event.IsOnlyLeftMouseButton() || event 552 ui/views/controls/textfield/textfield.cc !ExceededDragThreshold(event.location() - last_click_location_)) { event 557 ui/views/controls/textfield/textfield.cc model_->MoveCursorTo(event.location(), true); event 576 ui/views/controls/textfield/textfield.cc void Textfield::OnMouseReleased(const ui::MouseEvent& event) { event 580 ui/views/controls/textfield/textfield.cc MoveCursorTo(event.location(), false); event 586 ui/views/controls/textfield/textfield.cc bool Textfield::OnKeyPressed(const ui::KeyEvent& event) { event 587 ui/views/controls/textfield/textfield.cc bool handled = controller_ && controller_->HandleKeyEvent(this, event); event 597 ui/views/controls/textfield/textfield.cc if (!delegate->MatchEvent(event, &commands)) event 611 ui/views/controls/textfield/textfield.cc const int command = GetCommandForKeyEvent(event, HasSelection()); event 623 ui/views/controls/textfield/textfield.cc void Textfield::OnGestureEvent(ui::GestureEvent* event) { event 624 ui/views/controls/textfield/textfield.cc switch (event->type()) { event 632 ui/views/controls/textfield/textfield.cc if (!GetRenderText()->IsPointInSelection(event->location())) event 633 ui/views/controls/textfield/textfield.cc MoveCursorTo(event->location(), false); event 635 ui/views/controls/textfield/textfield.cc event->SetHandled(); event 639 ui/views/controls/textfield/textfield.cc MoveCursorTo(event->location(), true); event 641 ui/views/controls/textfield/textfield.cc event->SetHandled(); event 646 ui/views/controls/textfield/textfield.cc event->SetHandled(); event 649 ui/views/controls/textfield/textfield.cc if (event->details().tap_count() == 1) { event 655 ui/views/controls/textfield/textfield.cc event->SetHandled(); event 670 ui/views/controls/textfield/textfield.cc if (!GetRenderText()->IsPointInSelection(event->location())) { event 678 ui/views/controls/textfield/textfield.cc event->SetHandled(); event 686 ui/views/controls/textfield/textfield.cc event->SetHandled(); event 697 ui/views/controls/textfield/textfield.cc event->SetHandled(); event 708 ui/views/controls/textfield/textfield.cc bool Textfield::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) { event 714 ui/views/controls/textfield/textfield.cc if (delegate && delegate->MatchEvent(event, &commands)) { event 724 ui/views/controls/textfield/textfield.cc return event.key_code() == ui::VKEY_BACK || event.IsUnicodeKeyCode(); event 747 ui/views/controls/textfield/textfield.cc int Textfield::OnDragUpdated(const ui::DropTargetEvent& event) { event 748 ui/views/controls/textfield/textfield.cc DCHECK(CanDrop(event.data())); event 751 ui/views/controls/textfield/textfield.cc drop_cursor_position_ = render_text->FindCursorPosition(event.location()); event 762 ui/views/controls/textfield/textfield.cc return event.IsControlDown() ? ui::DragDropTypes::DRAG_COPY : event 773 ui/views/controls/textfield/textfield.cc int Textfield::OnPerformDrop(const ui::DropTargetEvent& event) { event 774 ui/views/controls/textfield/textfield.cc DCHECK(CanDrop(event.data())); event 778 ui/views/controls/textfield/textfield.cc int drag_operation = controller_->OnDrop(event.data()); event 785 ui/views/controls/textfield/textfield.cc !render_text->IsPointInSelection(event.location())); event 790 ui/views/controls/textfield/textfield.cc render_text->FindCursorPosition(event.location()); event 792 ui/views/controls/textfield/textfield.cc event.data().GetString(&new_text); event 795 ui/views/controls/textfield/textfield.cc const bool move = initiating_drag_ && !event.IsControlDown() && event 796 ui/views/controls/textfield/textfield.cc event.source_operations() & ui::DragDropTypes::DRAG_MOVE; event 1605 ui/views/controls/textfield/textfield.cc void Textfield::TrackMouseClicks(const ui::MouseEvent& event) { event 1606 ui/views/controls/textfield/textfield.cc if (event.IsOnlyLeftMouseButton()) { event 1607 ui/views/controls/textfield/textfield.cc base::TimeDelta time_delta = event.time_stamp() - last_click_time_; event 1609 ui/views/controls/textfield/textfield.cc !ExceededDragThreshold(event.location() - last_click_location_)) { event 1617 ui/views/controls/textfield/textfield.cc last_click_time_ = event.time_stamp(); event 1618 ui/views/controls/textfield/textfield.cc last_click_location_ = event.location(); event 1658 ui/views/controls/textfield/textfield.cc void Textfield::PasteSelectionClipboard(const ui::MouseEvent& event) { event 1659 ui/views/controls/textfield/textfield.cc DCHECK(event.IsOnlyMiddleMouseButton()); event 1667 ui/views/controls/textfield/textfield.cc GetRenderText()->FindCursorPosition(event.location()); event 184 ui/views/controls/textfield/textfield.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; event 185 ui/views/controls/textfield/textfield.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 186 ui/views/controls/textfield/textfield.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 187 ui/views/controls/textfield/textfield.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 188 ui/views/controls/textfield/textfield.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 190 ui/views/controls/textfield/textfield.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 193 ui/views/controls/textfield/textfield.h const ui::KeyEvent& event) OVERRIDE; event 198 ui/views/controls/textfield/textfield.h virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; event 200 ui/views/controls/textfield/textfield.h virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; event 343 ui/views/controls/textfield/textfield.h void TrackMouseClicks(const ui::MouseEvent& event); event 358 ui/views/controls/textfield/textfield.h void PasteSelectionClipboard(const ui::MouseEvent& event); event 226 ui/views/controls/textfield/textfield_unittest.cc ui::KeyEvent event(ui::ET_KEY_PRESSED, key_code, flags, false); event 227 ui/views/controls/textfield/textfield_unittest.cc input_method_->DispatchKeyEvent(event); event 245 ui/views/controls/textfield/textfield_unittest.cc ui::KeyEvent event(ui::ET_KEY_PRESSED, ui::VKEY_UNKNOWN, 0, false); event 246 ui/views/controls/textfield/textfield_unittest.cc event.set_character(ch); event 247 ui/views/controls/textfield/textfield_unittest.cc input_method_->DispatchKeyEvent(event); event 369 ui/views/controls/tree/tree_view.cc bool TreeView::OnMousePressed(const ui::MouseEvent& event) { event 370 ui/views/controls/tree/tree_view.cc return OnClickOrTap(event); event 379 ui/views/controls/tree/tree_view.cc void TreeView::OnGestureEvent(ui::GestureEvent* event) { event 380 ui/views/controls/tree/tree_view.cc if (event->type() == ui::ET_GESTURE_TAP) { event 381 ui/views/controls/tree/tree_view.cc if (OnClickOrTap(*event)) event 382 ui/views/controls/tree/tree_view.cc event->SetHandled(); event 550 ui/views/controls/tree/tree_view.cc bool TreeView::OnKeyPressed(const ui::KeyEvent& event) { event 554 ui/views/controls/tree/tree_view.cc switch (event.key_code()) { event 567 ui/views/controls/tree/tree_view.cc IncrementSelection(event.key_code() == ui::VKEY_UP ? event 637 ui/views/controls/tree/tree_view.cc bool TreeView::OnClickOrTap(const ui::LocatedEvent& event) { event 641 ui/views/controls/tree/tree_view.cc int row = (event.y() - kVerticalInset) / row_height_; event 646 ui/views/controls/tree/tree_view.cc if (bounds.Contains(event.location())) { event 647 ui/views/controls/tree/tree_view.cc int relative_x = event.x() - bounds.x(); event 659 ui/views/controls/tree/tree_view.cc if (event.type() == ui::ET_GESTURE_TAP) { event 661 ui/views/controls/tree/tree_view.cc static_cast<const ui::GestureEvent&>(event); event 664 ui/views/controls/tree/tree_view.cc should_toggle = (event.flags() & ui::EF_IS_DOUBLE_CLICK) != 0; event 126 ui/views/controls/tree/tree_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 128 ui/views/controls/tree/tree_view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 167 ui/views/controls/tree/tree_view.h virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; event 177 ui/views/controls/tree/tree_view.h bool OnClickOrTap(const ui::LocatedEvent& event); event 25 ui/views/controls/webview/unhandled_keyboard_event_handler.h void HandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, event 21 ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc const NativeWebKeyboardEvent& event, event 31 ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc if (event.type == blink::WebInputEvent::Char && ignore_next_char_event_) { event 39 ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc if (event.type == blink::WebInputEvent::RawKeyDown) { event 41 ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc static_cast<ui::KeyboardCode>(event.windowsKeyCode), event 42 ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc content::GetModifiersFromNativeWebKeyboardEvent(event)); event 59 ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc if (event.os_event && !event.skip_in_browser) event 60 ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc focus_manager->OnKeyEvent(*static_cast<ui::KeyEvent*>(event.os_event)); event 21 ui/views/controls/webview/unhandled_keyboard_event_handler_win.cc const NativeWebKeyboardEvent& event, event 30 ui/views/controls/webview/unhandled_keyboard_event_handler_win.cc if (event.type == blink::WebInputEvent::Char && ignore_next_char_event_) { event 38 ui/views/controls/webview/unhandled_keyboard_event_handler_win.cc if (event.type == blink::WebInputEvent::RawKeyDown) { event 40 ui/views/controls/webview/unhandled_keyboard_event_handler_win.cc static_cast<ui::KeyboardCode>(event.windowsKeyCode), event 41 ui/views/controls/webview/unhandled_keyboard_event_handler_win.cc content::GetModifiersFromNativeWebKeyboardEvent(event)); event 60 ui/views/controls/webview/unhandled_keyboard_event_handler_win.cc if (!event.os_event) event 62 ui/views/controls/webview/unhandled_keyboard_event_handler_win.cc const MSG& message(event.os_event->native_event()); event 280 ui/views/controls/webview/web_dialog_view.cc const NativeWebKeyboardEvent& event) { event 281 ui/views/controls/webview/web_dialog_view.cc if (!event.os_event) event 283 ui/views/controls/webview/web_dialog_view.cc ui::KeyEvent aura_event(event.os_event->native_event(), false); event 102 ui/views/controls/webview/web_dialog_view.h const content::NativeWebKeyboardEvent& event) OVERRIDE; event 158 ui/views/controls/webview/webview.cc bool WebView::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) { event 160 ui/views/controls/webview/webview.cc return FocusManager::IsTabTraversalKeyEvent(event); event 104 ui/views/controls/webview/webview.h const ui::KeyEvent& event) OVERRIDE; event 54 ui/views/corewm/desktop_capture_controller_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 56 ui/views/corewm/desktop_capture_controller_unittest.cc return View::OnGestureEvent(event); event 49 ui/views/corewm/tooltip_controller.cc aura::Window* GetTooltipTarget(const ui::MouseEvent& event, event 51 ui/views/corewm/tooltip_controller.cc switch (event.type()) { event 60 ui/views/corewm/tooltip_controller.cc aura::Window* event_target = static_cast<aura::Window*>(event.target()); event 86 ui/views/corewm/tooltip_controller.cc gfx::Point screen_loc(event.location()); event 172 ui/views/corewm/tooltip_controller.cc void TooltipController::OnKeyEvent(ui::KeyEvent* event) { event 182 ui/views/corewm/tooltip_controller.cc void TooltipController::OnMouseEvent(ui::MouseEvent* event) { event 183 ui/views/corewm/tooltip_controller.cc switch (event->type()) { event 188 ui/views/corewm/tooltip_controller.cc curr_mouse_loc_ = event->location(); event 189 ui/views/corewm/tooltip_controller.cc aura::Window* target = GetTooltipTarget(*event, &curr_mouse_loc_); event 199 ui/views/corewm/tooltip_controller.cc if ((event->flags() & ui::EF_IS_NON_CLIENT) == 0) { event 200 ui/views/corewm/tooltip_controller.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 218 ui/views/corewm/tooltip_controller.cc void TooltipController::OnTouchEvent(ui::TouchEvent* event) { event 226 ui/views/corewm/tooltip_controller.cc void TooltipController::OnCancelMode(ui::CancelModeEvent* event) { event 47 ui/views/corewm/tooltip_controller.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 48 ui/views/corewm/tooltip_controller.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 49 ui/views/corewm/tooltip_controller.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 50 ui/views/corewm/tooltip_controller.h virtual void OnCancelMode(ui::CancelModeEvent* event) OVERRIDE; event 759 ui/views/corewm/tooltip_controller_unittest.cc ui::CancelModeEvent event; event 760 ui/views/corewm/tooltip_controller_unittest.cc helper_->controller()->OnCancelMode(&event); event 23 ui/views/event_utils.h const ui::LocatedEvent& event); event 28 ui/views/event_utils.h const ui::LocatedEvent& event); event 21 ui/views/event_utils_aura.cc const ui::LocatedEvent& event) { event 28 ui/views/event_utils_aura.cc target_window = ::WindowFromPoint(event.location().ToPOINT()); event 37 ui/views/event_utils_aura.cc return RepostLocatedEventWin(target_window, event); event 44 ui/views/event_utils_aura.cc gfx::Point root_loc(event.location()); event 53 ui/views/event_utils_aura.cc if (!event.IsMouseEvent()) { event 56 ui/views/event_utils_aura.cc DCHECK(event.IsGestureEvent()); event 60 ui/views/event_utils_aura.cc const ui::MouseEvent& orig = static_cast<const ui::MouseEvent&>(event); event 17 ui/views/event_utils_win.cc const ui::LocatedEvent& event) { event 23 ui/views/event_utils_win.cc const gfx::Point screen_loc = event.location(); event 33 ui/views/event_utils_win.cc int flags = event.flags(); event 54 ui/views/event_utils_win.cc WPARAM target = in_client_area ? event.native_event().wParam : nc_hit_result; event 88 ui/views/examples/bubble_example.cc void BubbleExample::ButtonPressed(Button* sender, const ui::Event& event) { event 91 ui/views/examples/bubble_example.cc arrow_index = (arrow_index + count + (event.IsShiftDown() ? -1 : 1)) % count; event 93 ui/views/examples/bubble_example.cc if (event.IsControlDown()) event 95 ui/views/examples/bubble_example.cc else if (event.IsAltDown()) event 26 ui/views/examples/bubble_example.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 81 ui/views/examples/button_example.cc void ButtonExample::TextButtonPressed(const ui::Event& event) { event 83 ui/views/examples/button_example.cc if (event.IsControlDown()) { event 84 ui/views/examples/button_example.cc if (event.IsShiftDown()) { event 85 ui/views/examples/button_example.cc if (event.IsAltDown()) { event 102 ui/views/examples/button_example.cc } else if (event.IsAltDown()) { event 121 ui/views/examples/button_example.cc } else if (event.IsShiftDown()) { event 122 ui/views/examples/button_example.cc if (event.IsAltDown()) { event 135 ui/views/examples/button_example.cc } else if (event.IsAltDown()) { event 143 ui/views/examples/button_example.cc void ButtonExample::LabelButtonPressed(const ui::Event& event) { event 145 ui/views/examples/button_example.cc if (event.IsControlDown()) { event 146 ui/views/examples/button_example.cc if (event.IsShiftDown()) { event 147 ui/views/examples/button_example.cc if (event.IsAltDown()) { event 156 ui/views/examples/button_example.cc } else if (event.IsAltDown()) { event 165 ui/views/examples/button_example.cc } else if (event.IsShiftDown()) { event 166 ui/views/examples/button_example.cc if (event.IsAltDown()) { event 172 ui/views/examples/button_example.cc } else if (event.IsAltDown()) { event 180 ui/views/examples/button_example.cc void ButtonExample::ButtonPressed(Button* sender, const ui::Event& event) { event 182 ui/views/examples/button_example.cc TextButtonPressed(event); event 184 ui/views/examples/button_example.cc LabelButtonPressed(event); event 30 ui/views/examples/button_example.h void TextButtonPressed(const ui::Event& event); event 31 ui/views/examples/button_example.h void LabelButtonPressed(const ui::Event& event); event 34 ui/views/examples/button_example.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 29 ui/views/examples/checkbox_example.cc void CheckboxExample::ButtonPressed(Button* sender, const ui::Event& event) { event 29 ui/views/examples/checkbox_example.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 55 ui/views/examples/message_box_example.cc void MessageBoxExample::ButtonPressed(Button* sender, const ui::Event& event) { event 31 ui/views/examples/message_box_example.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 158 ui/views/examples/multiline_example.cc void MultilineExample::ButtonPressed(Button* sender, const ui::Event& event) { event 32 ui/views/examples/multiline_example.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 62 ui/views/examples/progress_bar_example.cc void ProgressBarExample::ButtonPressed(Button* sender, const ui::Event& event) { event 28 ui/views/examples/progress_bar_example.h virtual void ButtonPressed(Button* button, const ui::Event& event) OVERRIDE; event 54 ui/views/examples/radio_button_example.cc void RadioButtonExample::ButtonPressed(Button* sender, const ui::Event& event) { event 32 ui/views/examples/radio_button_example.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 96 ui/views/examples/scroll_view_example.cc void ScrollViewExample::ButtonPressed(Button* sender, const ui::Event& event) { event 32 ui/views/examples/scroll_view_example.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 58 ui/views/examples/tabbed_pane_example.cc void TabbedPaneExample::ButtonPressed(Button* sender, const ui::Event& event) { event 33 ui/views/examples/tabbed_pane_example.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 162 ui/views/examples/table_example.cc void TableExample::ButtonPressed(Button* sender, const ui::Event& event) { event 57 ui/views/examples/table_example.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 244 ui/views/examples/text_example.cc void TextExample::ButtonPressed(Button* button, const ui::Event& event) { event 43 ui/views/examples/text_example.h virtual void ButtonPressed(Button* button, const ui::Event& event) OVERRIDE; event 105 ui/views/examples/textfield_example.cc void TextfieldExample::ButtonPressed(Button* sender, const ui::Event& event) { event 42 ui/views/examples/textfield_example.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 95 ui/views/examples/tree_view_example.cc void TreeViewExample::ButtonPressed(Button* sender, const ui::Event& event) { event 51 ui/views/examples/tree_view_example.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 109 ui/views/examples/widget_example.cc void WidgetExample::ButtonPressed(Button* sender, const ui::Event& event) { event 44 ui/views/examples/widget_example.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 49 ui/views/focus/focus_manager.cc bool FocusManager::OnKeyEvent(const ui::KeyEvent& event) { event 50 ui/views/focus/focus_manager.cc const int key_code = event.key_code(); event 52 ui/views/focus/focus_manager.cc if (event.type() != ui::ET_KEY_PRESSED && event.type() != ui::ET_KEY_RELEASED) event 59 ui/views/focus/focus_manager.cc if (event.IsShiftDown()) event 61 ui/views/focus/focus_manager.cc if (event.IsControlDown()) event 63 ui/views/focus/focus_manager.cc if (event.IsAltDown()) event 65 ui/views/focus/focus_manager.cc ui::Accelerator accelerator(event.key_code(), modifiers); event 66 ui/views/focus/focus_manager.cc accelerator.set_type(event.type()); event 68 ui/views/focus/focus_manager.cc if (event.type() == ui::ET_KEY_PRESSED) { event 70 ui/views/focus/focus_manager.cc if (focused_view_ && focused_view_->SkipDefaultKeyEventProcessing(event) && event 78 ui/views/focus/focus_manager.cc if (IsTabTraversalKeyEvent(event)) { event 79 ui/views/focus/focus_manager.cc AdvanceFocus(event.IsShiftDown()); event 83 ui/views/focus/focus_manager.cc if (arrow_key_traversal_enabled_ && ProcessArrowKeyTraversal(event)) event 523 ui/views/focus/focus_manager.cc bool FocusManager::ProcessArrowKeyTraversal(const ui::KeyEvent& event) { event 524 ui/views/focus/focus_manager.cc if (event.IsShiftDown() || event.IsControlDown() || event.IsAltDown()) event 527 ui/views/focus/focus_manager.cc const int key_code = event.key_code(); event 157 ui/views/focus/focus_manager.h bool OnKeyEvent(const ui::KeyEvent& event); event 333 ui/views/focus/focus_manager.h bool ProcessArrowKeyTraversal(const ui::KeyEvent& event); event 63 ui/views/ime/input_method.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, event 114 ui/views/ime/input_method_bridge.cc bool InputMethodBridge::OnUntranslatedIMEMessage(const base::NativeEvent& event, event 118 ui/views/ime/input_method_bridge.cc return host_->OnUntranslatedIMEMessage(event, result); event 40 ui/views/ime/input_method_bridge.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, event 53 ui/views/ime/mock_input_method.cc const base::NativeEvent& event, event 29 ui/views/ime/mock_input_method.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, event 39 ui/views/mouse_watcher.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 40 ui/views/mouse_watcher.cc switch (event->type()) { event 18 ui/views/test/capture_tracking_view.cc bool CaptureTrackingView::OnMousePressed(const ui::MouseEvent& event) { event 29 ui/views/test/capture_tracking_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 199 ui/views/test/child_modal_window.cc const ui::Event& event) { event 47 ui/views/test/child_modal_window.h const ui::Event& event) OVERRIDE; event 44 ui/views/test/ui_controls_factory_desktop_aurax11.cc typedef bool (*EventWaiterMatcher)(const base::NativeEvent& event); event 58 ui/views/test/ui_controls_factory_desktop_aurax11.cc const base::NativeEvent& event) OVERRIDE { event 59 ui/views/test/ui_controls_factory_desktop_aurax11.cc if ((*matcher_)(event)) { event 66 ui/views/test/ui_controls_factory_desktop_aurax11.cc virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE { event 81 ui/views/test/ui_controls_factory_desktop_aurax11.cc bool Matcher(const base::NativeEvent& event) { event 82 ui/views/test/ui_controls_factory_desktop_aurax11.cc return event->xany.type == ClientMessage && event 83 ui/views/test/ui_controls_factory_desktop_aurax11.cc event->xclient.message_type == MarkerEventAtom(); event 91 ui/views/touchui/touch_editing_menu.cc const ui::Event& event) { event 94 ui/views/touchui/touch_editing_menu.cc controller_->ExecuteCommand(sender->tag(), event.flags()); event 62 ui/views/touchui/touch_editing_menu.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 197 ui/views/touchui/touch_selection_controller_impl.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 198 ui/views/touchui/touch_selection_controller_impl.cc event->SetHandled(); event 199 ui/views/touchui/touch_selection_controller_impl.cc switch (event->type()) { event 203 ui/views/touchui/touch_selection_controller_impl.cc drag_offset_ = event->y() - selection_rect_.height() + event 207 ui/views/touchui/touch_selection_controller_impl.cc gfx::Point drag_pos(event->location().x(), event 208 ui/views/touchui/touch_selection_controller_impl.cc event->location().y() - drag_offset_); event 96 ui/views/view.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 97 ui/views/view.cc DCHECK_EQ(ui::EP_POSTTARGET, event->phase()); event 98 ui/views/view.cc if (event->handled()) event 102 ui/views/view.cc if (event->type() == ui::ET_GESTURE_LONG_PRESS && event 105 ui/views/view.cc owner_, event->location(), event->location()))) { event 106 ui/views/view.cc if (owner_->DoDrag(*event, event->location(), event 108 ui/views/view.cc event->StopPropagation(); event 115 ui/views/view.cc (event->type() == ui::ET_GESTURE_LONG_PRESS || event 116 ui/views/view.cc event->type() == ui::ET_GESTURE_LONG_TAP || event 117 ui/views/view.cc event->type() == ui::ET_GESTURE_TWO_FINGER_TAP)) { event 118 ui/views/view.cc gfx::Point location(event->location()); event 121 ui/views/view.cc event->StopPropagation(); event 904 ui/views/view.cc gfx::NativeCursor View::GetCursor(const ui::MouseEvent& event) { event 957 ui/views/view.cc bool View::OnMousePressed(const ui::MouseEvent& event) { event 961 ui/views/view.cc bool View::OnMouseDragged(const ui::MouseEvent& event) { event 965 ui/views/view.cc void View::OnMouseReleased(const ui::MouseEvent& event) { event 971 ui/views/view.cc void View::OnMouseMoved(const ui::MouseEvent& event) { event 974 ui/views/view.cc void View::OnMouseEntered(const ui::MouseEvent& event) { event 977 ui/views/view.cc void View::OnMouseExited(const ui::MouseEvent& event) { event 986 ui/views/view.cc bool View::OnKeyPressed(const ui::KeyEvent& event) { event 990 ui/views/view.cc bool View::OnKeyReleased(const ui::KeyEvent& event) { event 994 ui/views/view.cc bool View::OnMouseWheel(const ui::MouseWheelEvent& event) { event 998 ui/views/view.cc void View::OnKeyEvent(ui::KeyEvent* event) { event 999 ui/views/view.cc bool consumed = (event->type() == ui::ET_KEY_PRESSED) ? OnKeyPressed(*event) : event 1000 ui/views/view.cc OnKeyReleased(*event); event 1002 ui/views/view.cc event->StopPropagation(); event 1005 ui/views/view.cc void View::OnMouseEvent(ui::MouseEvent* event) { event 1006 ui/views/view.cc switch (event->type()) { event 1008 ui/views/view.cc if (ProcessMousePressed(*event)) event 1009 ui/views/view.cc event->SetHandled(); event 1013 ui/views/view.cc if ((event->flags() & (ui::EF_LEFT_MOUSE_BUTTON | event 1016 ui/views/view.cc OnMouseMoved(*event); event 1021 ui/views/view.cc if (ProcessMouseDragged(*event)) event 1022 ui/views/view.cc event->SetHandled(); event 1026 ui/views/view.cc ProcessMouseReleased(*event); event 1030 ui/views/view.cc if (OnMouseWheel(*static_cast<ui::MouseWheelEvent*>(event))) event 1031 ui/views/view.cc event->SetHandled(); event 1035 ui/views/view.cc OnMouseEntered(*event); event 1039 ui/views/view.cc OnMouseExited(*event); event 1047 ui/views/view.cc void View::OnScrollEvent(ui::ScrollEvent* event) { event 1050 ui/views/view.cc void View::OnTouchEvent(ui::TouchEvent* event) { event 1054 ui/views/view.cc void View::OnGestureEvent(ui::GestureEvent* event) { event 1078 ui/views/view.cc bool View::CanAcceptEvent(const ui::Event& event) { event 1211 ui/views/view.cc bool View::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) { event 1265 ui/views/view.cc void View::OnDragEntered(const ui::DropTargetEvent& event) { event 1268 ui/views/view.cc int View::OnDragUpdated(const ui::DropTargetEvent& event) { event 1275 ui/views/view.cc int View::OnPerformDrop(const ui::DropTargetEvent& event) { event 2141 ui/views/view.cc bool View::ProcessMousePressed(const ui::MouseEvent& event) { event 2143 ui/views/view.cc (enabled_ && event.IsOnlyLeftMouseButton() && event 2144 ui/views/view.cc HitTestPoint(event.location())) ? event 2145 ui/views/view.cc GetDragOperations(event.location()) : 0; event 2146 ui/views/view.cc ContextMenuController* context_menu_controller = event.IsRightMouseButton() ? event 2151 ui/views/view.cc const bool result = OnMousePressed(event); event 2156 ui/views/view.cc if (event.IsOnlyRightMouseButton() && context_menu_controller && event 2160 ui/views/view.cc gfx::Point location(event.location()); event 2170 ui/views/view.cc drag_info->PossibleDrag(event.location()); event 2176 ui/views/view.cc bool View::ProcessMouseDragged(const ui::MouseEvent& event) { event 2182 ui/views/view.cc ExceededDragThreshold(GetDragInfo()->start_pt - event.location()) && event 2185 ui/views/view.cc this, GetDragInfo()->start_pt, event.location()))) { event 2186 ui/views/view.cc DoDrag(event, GetDragInfo()->start_pt, event 2189 ui/views/view.cc if (OnMouseDragged(event)) event 2197 ui/views/view.cc void View::ProcessMouseReleased(const ui::MouseEvent& event) { event 2199 ui/views/view.cc event.IsOnlyRightMouseButton()) { event 2202 ui/views/view.cc gfx::Point location(event.location()); event 2203 ui/views/view.cc OnMouseReleased(event); event 2209 ui/views/view.cc OnMouseReleased(event); event 2333 ui/views/view.cc bool View::DoDrag(const ui::LocatedEvent& event, event 2355 ui/views/view.cc gfx::Point widget_location(event.location()); event 583 ui/views/view.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event); event 611 ui/views/view.h virtual bool OnMousePressed(const ui::MouseEvent& event); event 623 ui/views/view.h virtual bool OnMouseDragged(const ui::MouseEvent& event); event 631 ui/views/view.h virtual void OnMouseReleased(const ui::MouseEvent& event); event 641 ui/views/view.h virtual void OnMouseMoved(const ui::MouseEvent& event); event 646 ui/views/view.h virtual void OnMouseEntered(const ui::MouseEvent& event); event 651 ui/views/view.h virtual void OnMouseExited(const ui::MouseEvent& event); event 678 ui/views/view.h virtual bool OnKeyPressed(const ui::KeyEvent& event); event 679 ui/views/view.h virtual bool OnKeyReleased(const ui::KeyEvent& event); event 685 ui/views/view.h virtual bool OnMouseWheel(const ui::MouseWheelEvent& event); event 712 ui/views/view.h virtual bool CanAcceptEvent(const ui::Event& event) OVERRIDE; event 718 ui/views/view.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 719 ui/views/view.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 720 ui/views/view.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 721 ui/views/view.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE FINAL; event 722 ui/views/view.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 806 ui/views/view.h virtual bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& event); event 905 ui/views/view.h virtual void OnDragEntered(const ui::DropTargetEvent& event); event 911 ui/views/view.h virtual int OnDragUpdated(const ui::DropTargetEvent& event); event 919 ui/views/view.h virtual int OnPerformDrop(const ui::DropTargetEvent& event); event 1373 ui/views/view.h bool ProcessMousePressed(const ui::MouseEvent& event); event 1374 ui/views/view.h bool ProcessMouseDragged(const ui::MouseEvent& event); event 1375 ui/views/view.h void ProcessMouseReleased(const ui::MouseEvent& event); event 1420 ui/views/view.h bool DoDrag(const ui::LocatedEvent& event, event 17 ui/views/view_targeter.cc ui::Event* event) { event 19 ui/views/view_targeter.cc if (event->IsKeyEvent()) event 20 ui/views/view_targeter.cc return FindTargetForKeyEvent(view, *static_cast<ui::KeyEvent*>(event)); event 28 ui/views/view_targeter.cc ui::Event* event) { event 28 ui/views/view_targeter.h ui::Event* event) OVERRIDE; event 30 ui/views/view_targeter.h ui::Event* event) OVERRIDE; event 234 ui/views/view_unittest.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 235 ui/views/view_unittest.cc virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 236 ui/views/view_unittest.cc virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 237 ui/views/view_unittest.cc virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; event 238 ui/views/view_unittest.cc virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 241 ui/views/view_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 279 ui/views/view_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 280 ui/views/view_unittest.cc last_gesture_event_type_ = event->type(); event 281 ui/views/view_unittest.cc location_.SetPoint(event->x(), event->y()); event 282 ui/views/view_unittest.cc event->StopPropagation(); event 296 ui/views/view_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 310 ui/views/view_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 311 ui/views/view_unittest.cc if (event->IsScrollGestureEvent()) event 313 ui/views/view_unittest.cc TestViewConsumeGesture::OnGestureEvent(event); event 347 ui/views/view_unittest.cc bool TestView::OnMousePressed(const ui::MouseEvent& event) { event 348 ui/views/view_unittest.cc last_mouse_event_type_ = event.type(); event 349 ui/views/view_unittest.cc location_.SetPoint(event.x(), event.y()); event 355 ui/views/view_unittest.cc bool TestView::OnMouseDragged(const ui::MouseEvent& event) { event 356 ui/views/view_unittest.cc last_mouse_event_type_ = event.type(); event 357 ui/views/view_unittest.cc location_.SetPoint(event.x(), event.y()); event 361 ui/views/view_unittest.cc void TestView::OnMouseReleased(const ui::MouseEvent& event) { event 362 ui/views/view_unittest.cc last_mouse_event_type_ = event.type(); event 363 ui/views/view_unittest.cc location_.SetPoint(event.x(), event.y()); event 366 ui/views/view_unittest.cc void TestView::OnMouseEntered(const ui::MouseEvent& event) { event 370 ui/views/view_unittest.cc void TestView::OnMouseExited(const ui::MouseEvent& event) { event 468 ui/views/view_unittest.cc void TestView::OnGestureEvent(ui::GestureEvent* event) { event 167 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const XClientMessageEvent& event); event 204 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; event 245 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const XClientMessageEvent& event) event 248 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc source_window_(event.data.l[0]), event 252 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc bool get_types = ((event.data.l[1] & 1) != 0); event 263 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc if (event.data.l[2+i] != None) { event 264 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc unfetched_targets_.push_back(event.data.l[2+i]); event 337 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const XSelectionEvent& event) { event 340 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc DCHECK_EQ(event.property, atom_cache_->GetAtom(kChromiumDragReciever)); event 344 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc if (ui::GetRawBytesOfProperty(local_window_, event.property, event 346 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc fetched_targets_.Insert(event.target, data); event 402 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const base::NativeEvent& event) { event 403 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc if (event->type == PropertyNotify && event 404 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc event->xproperty.atom == atom_cache_->GetAtom("XdndActionList")) { event 462 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const XClientMessageEvent& event) { event 465 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc int version = (event.data.l[1] & 0xff000000) >> 24; event 474 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc new X11DragContext(&atom_cache_, xwindow_, event)); event 483 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const XClientMessageEvent& event) { event 490 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const XClientMessageEvent& event) { event 493 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc unsigned long source_window = event.data.l[0]; event 494 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc int x_root_window = event.data.l[2] >> 16; event 495 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc int y_root_window = event.data.l[2] & 0xffff; event 496 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc ::Atom suggested_action = event.data.l[4]; event 511 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const XClientMessageEvent& event) { event 514 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc unsigned long source_window = event.data.l[0]; event 521 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc if (event.data.l[1] & 1) { event 522 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc ::Atom atom_operation = event.data.l[4]; event 566 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const XClientMessageEvent& event) { event 569 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc negotiated_operation_[event.data.l[0]]); event 574 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const XClientMessageEvent& event) { event 577 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc unsigned long source_window = event.data.l[0]; event 587 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc ui::DropTargetEvent event(data, event 591 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc drag_operation = delegate->OnPerformDrop(event); event 680 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const ui::LocatedEvent& event) { event 685 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const ui::LocatedEvent& event) { event 702 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc void DesktopDragDropClientAuraX11::OnMouseMovement(XMotionEvent* event) { event 703 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc gfx::Point screen_point(event->x_root, event->y_root); event 729 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc std::make_pair(screen_point, event->time); event 731 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc SendXdndPosition(dest_window, screen_point, event->time); event 792 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc scoped_ptr<ui::DropTargetEvent>* event, event 822 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc event->reset(new ui::DropTargetEvent( event 828 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc (*delegate)->OnDragEntered(*event->get()); event 66 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h void OnXdndEnter(const XClientMessageEvent& event); event 67 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h void OnXdndLeave(const XClientMessageEvent& event); event 68 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h void OnXdndPosition(const XClientMessageEvent& event); event 69 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h void OnXdndStatus(const XClientMessageEvent& event); event 70 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h void OnXdndFinished(const XClientMessageEvent& event); event 71 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h void OnXdndDrop(const XClientMessageEvent& event); event 85 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h const ui::LocatedEvent& event) OVERRIDE; event 87 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h const ui::LocatedEvent& event) OVERRIDE; event 95 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h virtual void OnMouseMovement(XMotionEvent* event) OVERRIDE; event 130 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h scoped_ptr<ui::DropTargetEvent>* event, event 54 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc const ui::LocatedEvent& event) { event 58 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc const ui::LocatedEvent& event) { event 35 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h const ui::LocatedEvent& event) OVERRIDE; event 37 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h const ui::LocatedEvent& event) OVERRIDE; event 40 ui/views/widget/desktop_aura/desktop_drop_target_win.cc scoped_ptr<ui::DropTargetEvent> event; event 43 ui/views/widget/desktop_aura/desktop_drop_target_win.cc Translate(data_object, key_state, position, effect, &data, &event, &delegate); event 54 ui/views/widget/desktop_aura/desktop_drop_target_win.cc scoped_ptr<ui::DropTargetEvent> event; event 56 ui/views/widget/desktop_aura/desktop_drop_target_win.cc Translate(data_object, key_state, position, effect, &data, &event, &delegate); event 58 ui/views/widget/desktop_aura/desktop_drop_target_win.cc drag_operation = delegate->OnDragUpdated(*event); event 72 ui/views/widget/desktop_aura/desktop_drop_target_win.cc scoped_ptr<ui::DropTargetEvent> event; event 74 ui/views/widget/desktop_aura/desktop_drop_target_win.cc Translate(data_object, key_state, position, effect, &data, &event, &delegate); event 76 ui/views/widget/desktop_aura/desktop_drop_target_win.cc drag_operation = delegate->OnPerformDrop(*event); event 95 ui/views/widget/desktop_aura/desktop_drop_target_win.cc scoped_ptr<ui::DropTargetEvent>* event, event 122 ui/views/widget/desktop_aura/desktop_drop_target_win.cc event->reset(new ui::DropTargetEvent( event 131 ui/views/widget/desktop_aura/desktop_drop_target_win.cc (*event)->set_flags(flags); event 133 ui/views/widget/desktop_aura/desktop_drop_target_win.cc (*delegate)->OnDragEntered(*event->get()); event 60 ui/views/widget/desktop_aura/desktop_drop_target_win.h scoped_ptr<ui::DropTargetEvent>* event, event 206 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE { event 209 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc !widget->GetFocusManager()->OnKeyEvent(*event)) { event 210 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc event->SetHandled(); event 990 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::OnKeyEvent(ui::KeyEvent* event) { event 991 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc if (event->is_char()) { event 1003 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc native_widget_delegate_->OnKeyEvent(event); event 1004 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc if (event->handled()) event 1008 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc !GetWidget()->GetFocusManager()->OnKeyEvent(*event)) event 1009 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc event->SetHandled(); event 1012 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::OnMouseEvent(ui::MouseEvent* event) { event 1017 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc native_widget_delegate_->OnMouseEvent(event); event 1021 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::OnScrollEvent(ui::ScrollEvent* event) { event 1022 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc if (event->type() == ui::ET_SCROLL) { event 1023 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc native_widget_delegate_->OnScrollEvent(event); event 1024 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc if (event->handled()) event 1028 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc ui::MouseWheelEvent mwe(*static_cast<ui::ScrollEvent*>(event)); event 1031 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc event->SetHandled(); event 1033 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc native_widget_delegate_->OnScrollEvent(event); event 1037 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::OnGestureEvent(ui::GestureEvent* event) { event 1038 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc native_widget_delegate_->OnGestureEvent(event); event 1103 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::OnDragEntered(const ui::DropTargetEvent& event) { event 1105 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc last_drop_operation_ = drop_helper_->OnDragOver(event.data(), event 1106 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc event.location(), event.source_operations()); event 1109 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc int DesktopNativeWidgetAura::OnDragUpdated(const ui::DropTargetEvent& event) { event 1111 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc last_drop_operation_ = drop_helper_->OnDragOver(event.data(), event 1112 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc event.location(), event.source_operations()); event 1121 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc int DesktopNativeWidgetAura::OnPerformDrop(const ui::DropTargetEvent& event) { event 1124 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc return drop_helper_->OnDrop(event.data(), event.location(), event 205 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 206 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 207 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 208 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 225 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; event 226 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; event 228 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; event 309 ui/views/widget/desktop_aura/desktop_screen_x11.cc uint32_t DesktopScreenX11::Dispatch(const base::NativeEvent& event) { event 310 ui/views/widget/desktop_aura/desktop_screen_x11.cc if (event->type - xrandr_event_base_ == RRScreenChangeNotify) { event 312 ui/views/widget/desktop_aura/desktop_screen_x11.cc XRRUpdateConfiguration(event); event 313 ui/views/widget/desktop_aura/desktop_screen_x11.cc } else if (event->type - xrandr_event_base_ == RRNotify) { event 56 ui/views/widget/desktop_aura/desktop_screen_x11.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; event 60 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE { event 62 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc if (event->type == PropertyNotify && event 63 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc event->xproperty.window == x_root_window_ && event 64 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc event->xproperty.atom == atom_cache_->GetAtom("_NET_ACTIVE_WINDOW") && event 843 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc bool DesktopWindowTreeHostWin::HandleMouseEvent(const ui::MouseEvent& event) { event 844 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc SendEventToProcessor(const_cast<ui::MouseEvent*>(&event)); event 845 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc return event.handled(); event 848 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc bool DesktopWindowTreeHostWin::HandleKeyEvent(const ui::KeyEvent& event) { event 853 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc const ui::KeyEvent& event) { event 854 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc ui::KeyEvent duplicate_event(event); event 860 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc const ui::TouchEvent& event) { event 874 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc POINT target_location(event.location().ToPOINT()); event 877 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc ui::TouchEvent target_event(event, static_cast<View*>(NULL), event 885 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc SendEventToProcessor(const_cast<ui::TouchEvent*>(&event)); event 952 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc const ui::ScrollEvent& event) { event 953 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc SendEventToProcessor(const_cast<ui::ScrollEvent*>(&event)); event 954 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc return event.handled(); event 189 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual bool HandleMouseEvent(const ui::MouseEvent& event) OVERRIDE; event 190 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual bool HandleKeyEvent(const ui::KeyEvent& event) OVERRIDE; event 191 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual bool HandleUntranslatedKeyEvent(const ui::KeyEvent& event) OVERRIDE; event 192 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void HandleTouchEvent(const ui::TouchEvent& event) OVERRIDE; event 215 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual bool HandleScrollEvent(const ui::ScrollEvent& event) OVERRIDE; event 1143 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc void DesktopWindowTreeHostX11::DispatchMouseEvent(ui::MouseEvent* event) { event 1161 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc int flags = event->flags(); event 1163 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc content_window_->delegate()->GetNonClientComponent(event->location()); event 1166 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc event->set_flags(flags); event 1171 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc if (event->IsAnyButton() || event->IsMouseWheelEvent()) event 1175 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc SendEventToProcessor(event); event 1179 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc event->ConvertLocationToTarget(window(), g_current_capture->window()); event 1180 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc g_current_capture->SendEventToProcessor(event); event 1184 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc void DesktopWindowTreeHostX11::DispatchTouchEvent(ui::TouchEvent* event) { event 1186 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc event->type() == ui::ET_TOUCH_PRESSED) { event 1187 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc event->ConvertLocationToTarget(window(), g_current_capture->window()); event 1188 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc g_current_capture->SendEventToProcessor(event); event 1190 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc SendEventToProcessor(event); event 1312 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc uint32_t DesktopWindowTreeHostX11::Dispatch(const base::NativeEvent& event) { event 1313 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc XEvent* xev = event; event 1316 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc "event->type", event->type); event 1381 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc DCHECK_EQ(xwindow_, xev->xconfigure.event); event 186 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h void DispatchMouseEvent(ui::MouseEvent* event); event 191 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h void DispatchTouchEvent(ui::TouchEvent* event); event 207 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; event 105 ui/views/widget/desktop_aura/x11_desktop_handler.cc void X11DesktopHandler::ProcessXEvent(const base::NativeEvent& event) { event 106 ui/views/widget/desktop_aura/x11_desktop_handler.cc switch (event->type) { event 108 ui/views/widget/desktop_aura/x11_desktop_handler.cc if (event->xcrossing.focus == True && event 109 ui/views/widget/desktop_aura/x11_desktop_handler.cc current_window_ != event->xcrossing.window) event 110 ui/views/widget/desktop_aura/x11_desktop_handler.cc OnActiveWindowChanged(event->xcrossing.window); event 113 ui/views/widget/desktop_aura/x11_desktop_handler.cc if (event->xcrossing.focus == False && event 114 ui/views/widget/desktop_aura/x11_desktop_handler.cc current_window_ == event->xcrossing.window) event 118 ui/views/widget/desktop_aura/x11_desktop_handler.cc if (event->xfocus.mode == NotifyNormal && event 119 ui/views/widget/desktop_aura/x11_desktop_handler.cc current_window_ != event->xfocus.window) event 120 ui/views/widget/desktop_aura/x11_desktop_handler.cc OnActiveWindowChanged(event->xfocus.window); event 127 ui/views/widget/desktop_aura/x11_desktop_handler.cc uint32_t X11DesktopHandler::Dispatch(const base::NativeEvent& event) { event 129 ui/views/widget/desktop_aura/x11_desktop_handler.cc switch (event->type) { event 133 ui/views/widget/desktop_aura/x11_desktop_handler.cc if (event->xproperty.window == x_root_window_ && event 134 ui/views/widget/desktop_aura/x11_desktop_handler.cc event->xproperty.atom == active_window_atom) { event 154 ui/views/widget/desktop_aura/x11_desktop_handler.cc XCreateWindowEvent *xcwe = &event->xcreatewindow; event 159 ui/views/widget/desktop_aura/x11_desktop_handler.cc XDestroyWindowEvent *xdwe = &event->xdestroywindow; event 43 ui/views/widget/desktop_aura/x11_desktop_handler.h void ProcessXEvent(const base::NativeEvent& event); event 46 ui/views/widget/desktop_aura/x11_desktop_handler.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; event 49 ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc void X11DesktopWindowMoveClient::OnMouseMovement(XMotionEvent* event) { event 50 ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc gfx::Point cursor_point(event->x_root, event->y_root); event 39 ui/views/widget/desktop_aura/x11_desktop_window_move_client.h virtual void OnMouseMovement(XMotionEvent* event) OVERRIDE; event 80 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc uint32_t X11WholeScreenMoveLoop::Dispatch(const base::NativeEvent& event) { event 81 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc XEvent* xev = event; event 35 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; event 19 ui/views/widget/desktop_aura/x11_whole_screen_move_loop_delegate.h virtual void OnMouseMovement(XMotionEvent* event) = 0; event 93 ui/views/widget/desktop_aura/x11_window_event_filter.cc void X11WindowEventFilter::OnMouseEvent(ui::MouseEvent* event) { event 94 ui/views/widget/desktop_aura/x11_window_event_filter.cc if (event->type() != ui::ET_MOUSE_PRESSED) event 97 ui/views/widget/desktop_aura/x11_window_event_filter.cc if (!(event->IsLeftMouseButton() || event->IsMiddleMouseButton())) event 100 ui/views/widget/desktop_aura/x11_window_event_filter.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 105 ui/views/widget/desktop_aura/x11_window_event_filter.cc target->delegate()->GetNonClientComponent(event->location()); event 109 ui/views/widget/desktop_aura/x11_window_event_filter.cc if (event->IsMiddleMouseButton() && (component == HTCAPTION)) { event 111 ui/views/widget/desktop_aura/x11_window_event_filter.cc event->SetHandled(); event 116 ui/views/widget/desktop_aura/x11_window_event_filter.cc if (event->flags() & ui::EF_IS_DOUBLE_CLICK && event 126 ui/views/widget/desktop_aura/x11_window_event_filter.cc event->SetHandled(); event 131 ui/views/widget/desktop_aura/x11_window_event_filter.cc if (event->native_event()) { event 133 ui/views/widget/desktop_aura/x11_window_event_filter.cc ui::EventSystemLocationFromNative(event->native_event()); event 137 ui/views/widget/desktop_aura/x11_window_event_filter.cc event->StopPropagation(); event 184 ui/views/widget/desktop_aura/x11_window_event_filter.cc XEvent event; event 185 ui/views/widget/desktop_aura/x11_window_event_filter.cc memset(&event, 0, sizeof(event)); event 186 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.type = ClientMessage; event 187 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.display = xdisplay_; event 188 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.window = xwindow_; event 189 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.message_type = atom_cache_.GetAtom("_NET_WM_MOVERESIZE"); event 190 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.format = 32; event 191 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.data.l[0] = screen_location.x(); event 192 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.data.l[1] = screen_location.y(); event 193 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.data.l[2] = direction; event 194 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.data.l[3] = 0; event 195 ui/views/widget/desktop_aura/x11_window_event_filter.cc event.xclient.data.l[4] = 0; event 199 ui/views/widget/desktop_aura/x11_window_event_filter.cc &event); event 39 ui/views/widget/desktop_aura/x11_window_event_filter.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 817 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::OnKeyEvent(ui::KeyEvent* event) { event 819 ui/views/widget/native_widget_aura.cc if (event->is_char()) { event 830 ui/views/widget/native_widget_aura.cc GetWidget()->GetInputMethod()->DispatchKeyEvent(*event); event 831 ui/views/widget/native_widget_aura.cc event->SetHandled(); event 834 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::OnMouseEvent(ui::MouseEvent* event) { event 837 ui/views/widget/native_widget_aura.cc if (event->type() == ui::ET_MOUSEWHEEL) { event 838 ui/views/widget/native_widget_aura.cc delegate_->OnMouseEvent(event); event 839 ui/views/widget/native_widget_aura.cc if (event->handled()) event 846 ui/views/widget/native_widget_aura.cc delegate_->OnMouseEvent(event); event 849 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::OnScrollEvent(ui::ScrollEvent* event) { event 850 ui/views/widget/native_widget_aura.cc delegate_->OnScrollEvent(event); event 853 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::OnGestureEvent(ui::GestureEvent* event) { event 855 ui/views/widget/native_widget_aura.cc DCHECK(window_->IsVisible() || event->IsEndingEvent()); event 856 ui/views/widget/native_widget_aura.cc delegate_->OnGestureEvent(event); event 916 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::OnDragEntered(const ui::DropTargetEvent& event) { event 918 ui/views/widget/native_widget_aura.cc last_drop_operation_ = drop_helper_->OnDragOver(event.data(), event 919 ui/views/widget/native_widget_aura.cc event.location(), event.source_operations()); event 922 ui/views/widget/native_widget_aura.cc int NativeWidgetAura::OnDragUpdated(const ui::DropTargetEvent& event) { event 924 ui/views/widget/native_widget_aura.cc last_drop_operation_ = drop_helper_->OnDragOver(event.data(), event 925 ui/views/widget/native_widget_aura.cc event.location(), event.source_operations()); event 934 ui/views/widget/native_widget_aura.cc int NativeWidgetAura::OnPerformDrop(const ui::DropTargetEvent& event) { event 936 ui/views/widget/native_widget_aura.cc return drop_helper_->OnDrop(event.data(), event.location(), event 163 ui/views/widget/native_widget_aura.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 164 ui/views/widget/native_widget_aura.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 165 ui/views/widget/native_widget_aura.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 166 ui/views/widget/native_widget_aura.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 180 ui/views/widget/native_widget_aura.h virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; event 181 ui/views/widget/native_widget_aura.h virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; event 183 ui/views/widget/native_widget_aura.h virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; event 214 ui/views/widget/native_widget_aura_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 217 ui/views/widget/native_widget_aura_unittest.cc event->StopPropagation(); event 115 ui/views/widget/native_widget_delegate.h virtual void OnKeyEvent(ui::KeyEvent* event) = 0; event 116 ui/views/widget/native_widget_delegate.h virtual void OnMouseEvent(ui::MouseEvent* event) = 0; event 119 ui/views/widget/native_widget_delegate.h virtual void OnScrollEvent(ui::ScrollEvent* event) = 0; event 120 ui/views/widget/native_widget_delegate.h virtual void OnGestureEvent(ui::GestureEvent* event) = 0; event 39 ui/views/widget/root_view.cc MouseEnterExitEvent(const ui::MouseEvent& event, ui::EventType type) event 40 ui/views/widget/root_view.cc : ui::MouseEvent(event, event 65 ui/views/widget/root_view.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE { event 66 ui/views/widget/root_view.cc CHECK_EQ(ui::EP_PRETARGET, event->phase()); event 67 ui/views/widget/root_view.cc if (event->handled()) event 75 ui/views/widget/root_view.cc if (v && v->enabled() && ((event->key_code() == ui::VKEY_APPS) || event 76 ui/views/widget/root_view.cc (event->key_code() == ui::VKEY_F10 && event->IsShiftDown()))) { event 86 ui/views/widget/root_view.cc event->StopPropagation(); event 201 ui/views/widget/root_view.cc ui::EventDispatchDetails RootView::OnEventFromSource(ui::Event* event) { event 207 ui/views/widget/root_view.cc if (event->IsKeyEvent()) event 208 ui/views/widget/root_view.cc return EventProcessor::OnEventFromSource(event); event 209 ui/views/widget/root_view.cc else if (event->IsScrollEvent()) event 210 ui/views/widget/root_view.cc DispatchScrollEvent(static_cast<ui::ScrollEvent*>(event)); event 211 ui/views/widget/root_view.cc else if (event->IsTouchEvent()) event 213 ui/views/widget/root_view.cc else if (event->IsGestureEvent()) event 214 ui/views/widget/root_view.cc DispatchGestureEvent(static_cast<ui::GestureEvent*>(event)); event 215 ui/views/widget/root_view.cc else if (event->IsMouseEvent()) event 258 ui/views/widget/root_view.cc bool RootView::OnMousePressed(const ui::MouseEvent& event) { event 259 ui/views/widget/root_view.cc UpdateCursor(event); event 260 ui/views/widget/root_view.cc SetMouseLocationAndFlags(event); event 266 ui/views/widget/root_view.cc ui::MouseEvent mouse_pressed_event(event, static_cast<View*>(this), event 279 ui/views/widget/root_view.cc for (mouse_pressed_handler_ = GetEventHandlerForPoint(event.location()); event 291 ui/views/widget/root_view.cc ui::MouseEvent mouse_pressed_event(event, static_cast<View*>(this), event 297 ui/views/widget/root_view.cc mouse_pressed_event.set_flags(event.flags() & ~ui::EF_IS_DOUBLE_CLICK); event 333 ui/views/widget/root_view.cc if (last_click_handler_ && (event.flags() & ui::EF_IS_DOUBLE_CLICK)) event 340 ui/views/widget/root_view.cc bool RootView::OnMouseDragged(const ui::MouseEvent& event) { event 342 ui/views/widget/root_view.cc SetMouseLocationAndFlags(event); event 344 ui/views/widget/root_view.cc ui::MouseEvent mouse_event(event, static_cast<View*>(this), event 354 ui/views/widget/root_view.cc void RootView::OnMouseReleased(const ui::MouseEvent& event) { event 355 ui/views/widget/root_view.cc UpdateCursor(event); event 358 ui/views/widget/root_view.cc ui::MouseEvent mouse_released(event, static_cast<View*>(this), event 397 ui/views/widget/root_view.cc void RootView::OnMouseMoved(const ui::MouseEvent& event) { event 398 ui/views/widget/root_view.cc View* v = GetEventHandlerForPoint(event.location()); event 410 ui/views/widget/root_view.cc MouseEnterExitEvent exit(event, ui::ET_MOUSE_EXITED); event 417 ui/views/widget/root_view.cc NotifyEnterExitOfDescendant(event, ui::ET_MOUSE_EXITED, event 424 ui/views/widget/root_view.cc MouseEnterExitEvent entered(event, ui::ET_MOUSE_ENTERED); event 431 ui/views/widget/root_view.cc NotifyEnterExitOfDescendant(event, ui::ET_MOUSE_ENTERED, event 435 ui/views/widget/root_view.cc ui::MouseEvent moved_event(event, static_cast<View*>(this), event 444 ui/views/widget/root_view.cc MouseEnterExitEvent exited(event, ui::ET_MOUSE_EXITED); event 449 ui/views/widget/root_view.cc NotifyEnterExitOfDescendant(event, ui::ET_MOUSE_EXITED, event 454 ui/views/widget/root_view.cc if (!(event.flags() & ui::EF_IS_NON_CLIENT)) event 460 ui/views/widget/root_view.cc void RootView::OnMouseExited(const ui::MouseEvent& event) { event 462 ui/views/widget/root_view.cc MouseEnterExitEvent exited(event, ui::ET_MOUSE_EXITED); event 467 ui/views/widget/root_view.cc NotifyEnterExitOfDescendant(event, ui::ET_MOUSE_EXITED, event 473 ui/views/widget/root_view.cc bool RootView::OnMouseWheel(const ui::MouseWheelEvent& event) { event 474 ui/views/widget/root_view.cc for (View* v = GetEventHandlerForPoint(event.location()); event 475 ui/views/widget/root_view.cc v && v != this && !event.handled(); v = v->parent()) { event 477 ui/views/widget/root_view.cc DispatchEvent(v, const_cast<ui::MouseWheelEvent*>(&event)); event 480 ui/views/widget/root_view.cc return event.handled(); event 483 ui/views/widget/root_view.cc return event.handled(); event 508 ui/views/widget/root_view.cc void RootView::DispatchGestureEvent(ui::GestureEvent* event) { event 513 ui/views/widget/root_view.cc (event->IsScrollGestureEvent() || event->IsFlingScrollEvent()) ? event 515 ui/views/widget/root_view.cc ui::GestureEvent handler_event(*event, static_cast<View*>(this), handler); event 521 ui/views/widget/root_view.cc if (event->type() == ui::ET_GESTURE_END && event 522 ui/views/widget/root_view.cc event->details().touch_points() <= 1) { event 532 ui/views/widget/root_view.cc (event->type() == ui::ET_GESTURE_SCROLL_END || event 533 ui/views/widget/root_view.cc event->type() == ui::ET_SCROLL_FLING_START)) { event 538 ui/views/widget/root_view.cc event->StopPropagation(); event 541 ui/views/widget/root_view.cc event->SetHandled(); event 545 ui/views/widget/root_view.cc if (event->type() == ui::ET_GESTURE_SCROLL_BEGIN && event 554 ui/views/widget/root_view.cc ui::GestureEvent gesture_event(*event, static_cast<View*>(this), event 559 ui/views/widget/root_view.cc event->StopPropagation(); event 562 ui/views/widget/root_view.cc event->SetHandled(); event 577 ui/views/widget/root_view.cc switch (event->type()) { event 588 ui/views/widget/root_view.cc !event->details().bounding_box().IsEmpty()) { event 591 ui/views/widget/root_view.cc gfx::Rect touch_rect(event->details().bounding_box()); event 592 ui/views/widget/root_view.cc touch_rect.set_origin(event->location()); event 596 ui/views/widget/root_view.cc gesture_handler = GetEventHandlerForPoint(event->location()); event 609 ui/views/widget/root_view.cc ui::GestureEvent gesture_event(*event, static_cast<View*>(this), event 626 ui/views/widget/root_view.cc event->StopPropagation(); event 628 ui/views/widget/root_view.cc event->SetHandled(); event 631 ui/views/widget/root_view.cc event->details().touch_points() <= 1) { event 703 ui/views/widget/root_view.cc void RootView::DispatchScrollEvent(ui::ScrollEvent* event) { event 704 ui/views/widget/root_view.cc for (View* v = GetEventHandlerForPoint(event->location()); event 705 ui/views/widget/root_view.cc v && v != this && !event->stopped_propagation(); v = v->parent()) { event 706 ui/views/widget/root_view.cc ui::EventDispatchDetails dispatch_details = DispatchEvent(v, event); event 713 ui/views/widget/root_view.cc if (event->handled() || event->type() != ui::ET_SCROLL) event 717 ui/views/widget/root_view.cc ui::MouseWheelEvent wheel(*event); event 719 ui/views/widget/root_view.cc event->SetHandled(); event 722 ui/views/widget/root_view.cc void RootView::UpdateCursor(const ui::MouseEvent& event) { event 723 ui/views/widget/root_view.cc if (!(event.flags() & ui::EF_IS_NON_CLIENT)) { event 724 ui/views/widget/root_view.cc View* v = GetEventHandlerForPoint(event.location()); event 725 ui/views/widget/root_view.cc ui::MouseEvent me(event, static_cast<View*>(this), v); event 730 ui/views/widget/root_view.cc void RootView::SetMouseLocationAndFlags(const ui::MouseEvent& event) { event 731 ui/views/widget/root_view.cc last_mouse_event_flags_ = event.flags(); event 732 ui/views/widget/root_view.cc last_mouse_event_x_ = event.x(); event 733 ui/views/widget/root_view.cc last_mouse_event_y_ = event.y(); event 736 ui/views/widget/root_view.cc void RootView::NotifyEnterExitOfDescendant(const ui::MouseEvent& event, event 748 ui/views/widget/root_view.cc MouseEnterExitEvent notify_event(event, type); event 762 ui/views/widget/root_view.cc ui::Event* event) { event 769 ui/views/widget/root_view.cc const ui::Event& event) { event 92 ui/views/widget/root_view.h virtual ui::EventDispatchDetails OnEventFromSource(ui::Event* event) OVERRIDE; event 101 ui/views/widget/root_view.h virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; event 102 ui/views/widget/root_view.h virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; event 103 ui/views/widget/root_view.h virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; event 105 ui/views/widget/root_view.h virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; event 106 ui/views/widget/root_view.h virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; event 107 ui/views/widget/root_view.h virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; event 113 ui/views/widget/root_view.h virtual void DispatchGestureEvent(ui::GestureEvent* event); event 134 ui/views/widget/root_view.h void DispatchScrollEvent(ui::ScrollEvent* event); event 141 ui/views/widget/root_view.h void UpdateCursor(const ui::MouseEvent& event); event 146 ui/views/widget/root_view.h void SetMouseLocationAndFlags(const ui::MouseEvent& event); event 151 ui/views/widget/root_view.h void NotifyEnterExitOfDescendant(const ui::MouseEvent& event, event 159 ui/views/widget/root_view.h ui::Event* event) OVERRIDE; event 161 ui/views/widget/root_view.h ui::EventTarget* target, const ui::Event& event) OVERRIDE; event 69 ui/views/widget/root_view_unittest.cc virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE { event 1130 ui/views/widget/widget.cc void Widget::OnKeyEvent(ui::KeyEvent* event) { event 1131 ui/views/widget/widget.cc SendEventToProcessor(event); event 1137 ui/views/widget/widget.cc void Widget::OnMouseEvent(ui::MouseEvent* event) { event 1139 ui/views/widget/widget.cc switch (event->type()) { event 1157 ui/views/widget/widget.cc if (root_view && root_view->OnMousePressed(*event) && event 1163 ui/views/widget/widget.cc event->SetHandled(); event 1175 ui/views/widget/widget.cc root_view->OnMouseReleased(*event); event 1176 ui/views/widget/widget.cc if ((event->flags() & ui::EF_IS_NON_CLIENT) == 0) event 1177 ui/views/widget/widget.cc event->SetHandled(); event 1185 ui/views/widget/widget.cc root_view->OnMouseDragged(*event); event 1187 ui/views/widget/widget.cc last_mouse_event_position_ != event->location()) { event 1188 ui/views/widget/widget.cc last_mouse_event_position_ = event->location(); event 1191 ui/views/widget/widget.cc root_view->OnMouseMoved(*event); event 1198 ui/views/widget/widget.cc root_view->OnMouseExited(*event); event 1203 ui/views/widget/widget.cc static_cast<const ui::MouseWheelEvent&>(*event))) event 1204 ui/views/widget/widget.cc event->SetHandled(); event 1222 ui/views/widget/widget.cc void Widget::OnScrollEvent(ui::ScrollEvent* event) { event 1223 ui/views/widget/widget.cc SendEventToProcessor(event); event 1226 ui/views/widget/widget.cc void Widget::OnGestureEvent(ui::GestureEvent* event) { event 1227 ui/views/widget/widget.cc switch (event->type()) { event 1236 ui/views/widget/widget.cc if (event->details().touch_points() == 1) event 1243 ui/views/widget/widget.cc SendEventToProcessor(event); event 733 ui/views/widget/widget.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 734 ui/views/widget/widget.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 736 ui/views/widget/widget.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 737 ui/views/widget/widget.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 45 ui/views/widget/widget_interactive_uitest.cc virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE { event 61 ui/views/widget/widget_interactive_uitest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 62 ui/views/widget/widget_interactive_uitest.cc if (event->type() == ui::ET_GESTURE_BEGIN) { event 64 ui/views/widget/widget_interactive_uitest.cc event->StopPropagation(); event 82 ui/views/widget/widget_interactive_uitest.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE { event 87 ui/views/widget/widget_interactive_uitest.cc virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE { event 91 ui/views/widget/widget_interactive_uitest.cc virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE { event 129 ui/views/widget/widget_interactive_uitest.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE { event 752 ui/views/widget/widget_interactive_uitest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 754 ui/views/widget/widget_interactive_uitest.cc Widget::OnMouseEvent(event); event 65 ui/views/widget/widget_unittest.cc virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE { event 66 ui/views/widget/widget_unittest.cc RecordEvent(*event); event 68 ui/views/widget/widget_unittest.cc virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { event 69 ui/views/widget/widget_unittest.cc RecordEvent(*event); event 71 ui/views/widget/widget_unittest.cc virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE { event 72 ui/views/widget/widget_unittest.cc RecordEvent(*event); event 74 ui/views/widget/widget_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 75 ui/views/widget/widget_unittest.cc RecordEvent(*event); event 79 ui/views/widget/widget_unittest.cc void RecordEvent(const ui::Event& event) { event 80 ui/views/widget/widget_unittest.cc ++event_count_[event.type()]; event 97 ui/views/widget/widget_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 98 ui/views/widget/widget_unittest.cc EventCountView::OnGestureEvent(event); event 99 ui/views/widget/widget_unittest.cc switch (event->type()) { event 104 ui/views/widget/widget_unittest.cc event->SetHandled(); event 146 ui/views/widget/widget_unittest.cc virtual void OnEvent(ui::Event* event) OVERRIDE { event 147 ui/views/widget/widget_unittest.cc RecordEvent(*event); event 148 ui/views/widget/widget_unittest.cc ui::EventHandler::OnEvent(event); event 152 ui/views/widget/widget_unittest.cc void RecordEvent(const ui::Event& event) { event 153 ui/views/widget/widget_unittest.cc ++event_count_[event.type()]; event 170 ui/views/widget/widget_unittest.cc virtual void OnEvent(ui::Event* event) OVERRIDE { event 171 ui/views/widget/widget_unittest.cc if (event->type() == event_type_) { event 176 ui/views/widget/widget_unittest.cc View::OnEvent(event); event 177 ui/views/widget/widget_unittest.cc if (!event->IsTouchEvent()) event 178 ui/views/widget/widget_unittest.cc event->SetHandled(); event 1804 ui/views/widget/widget_unittest.cc virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE { event 1808 ui/views/widget/widget_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 1809 ui/views/widget/widget_unittest.cc if (event->type() == ui::ET_GESTURE_TAP_DOWN) event 1810 ui/views/widget/widget_unittest.cc event->SetHandled(); event 1874 ui/views/widget/widget_unittest.cc virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE { event 1875 ui/views/widget/widget_unittest.cc if (event->type() == ui::ET_GESTURE_END) event 1876 ui/views/widget/widget_unittest.cc event->SetHandled(); event 1925 ui/views/win/hwnd_message_handler.cc ui::ScrollEvent event(msg); event 1926 ui/views/win/hwnd_message_handler.cc delegate_->HandleScrollEvent(event); event 2156 ui/views/win/hwnd_message_handler.cc ui::TouchEvent event(touch_event_type, event 2160 ui/views/win/hwnd_message_handler.cc event.set_flags(flags); event 2161 ui/views/win/hwnd_message_handler.cc event.latency()->AddLatencyNumberWithTimestamp( event 2166 ui/views/win/hwnd_message_handler.cc event.time_stamp().ToInternalValue()), event 2169 ui/views/win/hwnd_message_handler.cc touch_events.push_back(event); event 2364 ui/views/win/hwnd_message_handler.cc ui::MouseEvent event(msg); event 2366 ui/views/win/hwnd_message_handler.cc event.set_flags(event.flags() | ui::EF_FROM_TOUCH); event 2368 ui/views/win/hwnd_message_handler.cc if (!(event.flags() & ui::EF_IS_NON_CLIENT)) event 2371 ui/views/win/hwnd_message_handler.cc if (event.type() == ui::ET_MOUSE_MOVED && !HasCapture() && track_mouse) { event 2377 ui/views/win/hwnd_message_handler.cc } else if (event.type() == ui::ET_MOUSE_EXITED) { event 2382 ui/views/win/hwnd_message_handler.cc } else if (event.type() == ui::ET_MOUSEWHEEL) { event 2391 ui/views/win/hwnd_message_handler.cc bool handled = delegate_->HandleMouseEvent(event); event 177 ui/views/win/hwnd_message_handler_delegate.h virtual bool HandleMouseEvent(const ui::MouseEvent& event) = 0; event 181 ui/views/win/hwnd_message_handler_delegate.h virtual bool HandleKeyEvent(const ui::KeyEvent& event) = 0; event 185 ui/views/win/hwnd_message_handler_delegate.h virtual bool HandleUntranslatedKeyEvent(const ui::KeyEvent& event) = 0; event 188 ui/views/win/hwnd_message_handler_delegate.h virtual void HandleTouchEvent(const ui::TouchEvent& event) = 0; event 241 ui/views/win/hwnd_message_handler_delegate.h virtual bool HandleScrollEvent(const ui::ScrollEvent& event) = 0; event 245 ui/views/window/custom_frame_view.cc void CustomFrameView::ButtonPressed(Button* sender, const ui::Event& event) { event 59 ui/views/window/custom_frame_view.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 310 ui/views/window/dialog_client_view.cc void DialogClientView::ButtonPressed(Button* sender, const ui::Event& event) { event 68 ui/views/window/dialog_client_view.h virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; event 44 ui/views/window/dialog_delegate_unittest.cc virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE { event 61 ui/web_dialogs/web_dialog_web_contents_delegate.cc const blink::WebGestureEvent& event) { event 63 ui/web_dialogs/web_dialog_web_contents_delegate.cc return event.type == blink::WebGestureEvent::GesturePinchBegin || event 64 ui/web_dialogs/web_dialog_web_contents_delegate.cc event.type == blink::WebGestureEvent::GesturePinchUpdate || event 65 ui/web_dialogs/web_dialog_web_contents_delegate.cc event.type == blink::WebGestureEvent::GesturePinchEnd; event 69 ui/web_dialogs/web_dialog_web_contents_delegate.h const blink::WebGestureEvent& event) OVERRIDE; event 28 ui/wm/core/compound_event_filter.cc bool ShouldHideCursorOnKeyEvent(const ui::KeyEvent& event) { event 31 ui/wm/core/compound_event_filter.cc if (event.IsAltDown() || event.IsControlDown()) event 67 ui/wm/core/compound_event_filter.cc if (ignored_keys.count(event.key_code()) > 0) event 77 ui/wm/core/compound_event_filter.cc bool ShouldHideCursorOnTouch(const ui::TouchEvent& event) { event 83 ui/wm/core/compound_event_filter.cc int device_id = event.source_device_id(); event 151 ui/wm/core/compound_event_filter.cc ui::MouseEvent* event) { event 163 ui/wm/core/compound_event_filter.cc gfx::NativeCursor cursor = target->GetCursor(event->location()); event 164 ui/wm/core/compound_event_filter.cc if ((event->flags() & ui::EF_IS_NON_CLIENT)) { event 167 ui/wm/core/compound_event_filter.cc target->delegate()->GetNonClientComponent(event->location()); event 179 ui/wm/core/compound_event_filter.cc void CompoundEventFilter::FilterKeyEvent(ui::KeyEvent* event) { event 183 ui/wm/core/compound_event_filter.cc while (!event->stopped_propagation() && (handler = it.GetNext()) != NULL) event 184 ui/wm/core/compound_event_filter.cc handler->OnKeyEvent(event); event 188 ui/wm/core/compound_event_filter.cc void CompoundEventFilter::FilterMouseEvent(ui::MouseEvent* event) { event 192 ui/wm/core/compound_event_filter.cc while (!event->stopped_propagation() && (handler = it.GetNext()) != NULL) event 193 ui/wm/core/compound_event_filter.cc handler->OnMouseEvent(event); event 197 ui/wm/core/compound_event_filter.cc void CompoundEventFilter::FilterTouchEvent(ui::TouchEvent* event) { event 201 ui/wm/core/compound_event_filter.cc while (!event->stopped_propagation() && (handler = it.GetNext()) != NULL) event 202 ui/wm/core/compound_event_filter.cc handler->OnTouchEvent(event); event 207 ui/wm/core/compound_event_filter.cc ui::Event* event, event 209 ui/wm/core/compound_event_filter.cc if (event->flags() & ui::EF_IS_SYNTHESIZED) event 224 ui/wm/core/compound_event_filter.cc ui::Event* event, event 226 ui/wm/core/compound_event_filter.cc if (event->flags() & ui::EF_IS_SYNTHESIZED) event 242 ui/wm/core/compound_event_filter.cc void CompoundEventFilter::OnKeyEvent(ui::KeyEvent* event) { event 243 ui/wm/core/compound_event_filter.cc if (ShouldHideCursorOnKeyEvent(*event)) { event 245 ui/wm/core/compound_event_filter.cc static_cast<aura::Window*>(event->target()), event, false); event 248 ui/wm/core/compound_event_filter.cc FilterKeyEvent(event); event 251 ui/wm/core/compound_event_filter.cc void CompoundEventFilter::OnMouseEvent(ui::MouseEvent* event) { event 252 ui/wm/core/compound_event_filter.cc aura::Window* window = static_cast<aura::Window*>(event->target()); event 264 ui/wm/core/compound_event_filter.cc if (!(event->flags() & ui::EF_FROM_TOUCH) && event 265 ui/wm/core/compound_event_filter.cc (event->type() == ui::ET_MOUSE_ENTERED || event 266 ui/wm/core/compound_event_filter.cc event->type() == ui::ET_MOUSE_MOVED || event 267 ui/wm/core/compound_event_filter.cc event->type() == ui::ET_MOUSE_PRESSED || event 268 ui/wm/core/compound_event_filter.cc event->type() == ui::ET_MOUSEWHEEL)) { event 269 ui/wm/core/compound_event_filter.cc SetMouseEventsEnableStateOnEvent(window, event, true); event 270 ui/wm/core/compound_event_filter.cc SetCursorVisibilityOnEvent(window, event, true); event 271 ui/wm/core/compound_event_filter.cc UpdateCursor(window, event); event 274 ui/wm/core/compound_event_filter.cc FilterMouseEvent(event); event 277 ui/wm/core/compound_event_filter.cc void CompoundEventFilter::OnScrollEvent(ui::ScrollEvent* event) { event 280 ui/wm/core/compound_event_filter.cc void CompoundEventFilter::OnTouchEvent(ui::TouchEvent* event) { event 281 ui/wm/core/compound_event_filter.cc FilterTouchEvent(event); event 282 ui/wm/core/compound_event_filter.cc if (!event->handled() && event->type() == ui::ET_TOUCH_PRESSED && event 283 ui/wm/core/compound_event_filter.cc ShouldHideCursorOnTouch(*event) && event 286 ui/wm/core/compound_event_filter.cc static_cast<aura::Window*>(event->target()), event, false); event 290 ui/wm/core/compound_event_filter.cc void CompoundEventFilter::OnGestureEvent(ui::GestureEvent* event) { event 294 ui/wm/core/compound_event_filter.cc while (!event->stopped_propagation() && (handler = it.GetNext()) != NULL) event 295 ui/wm/core/compound_event_filter.cc handler->OnGestureEvent(event); event 58 ui/wm/core/compound_event_filter.h void UpdateCursor(aura::Window* target, ui::MouseEvent* event); event 61 ui/wm/core/compound_event_filter.h void FilterKeyEvent(ui::KeyEvent* event); event 62 ui/wm/core/compound_event_filter.h void FilterMouseEvent(ui::MouseEvent* event); event 63 ui/wm/core/compound_event_filter.h void FilterTouchEvent(ui::TouchEvent* event); event 67 ui/wm/core/compound_event_filter.h ui::Event* event, event 72 ui/wm/core/compound_event_filter.h ui::Event* event, event 76 ui/wm/core/compound_event_filter.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 77 ui/wm/core/compound_event_filter.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 78 ui/wm/core/compound_event_filter.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 79 ui/wm/core/compound_event_filter.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 80 ui/wm/core/compound_event_filter.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 28 ui/wm/core/easy_resize_window_targeter.cc const ui::LocatedEvent& event) const { event 32 ui/wm/core/easy_resize_window_targeter.cc gfx::Point point = event.location(); event 37 ui/wm/core/easy_resize_window_targeter.cc if (event.IsTouchEvent() || event.IsGestureEvent()) event 44 ui/wm/core/easy_resize_window_targeter.cc return WindowTargeter::EventLocationInsideBounds(window, event); event 37 ui/wm/core/easy_resize_window_targeter.h const ui::LocatedEvent& event) const OVERRIDE; event 88 ui/wm/core/focus_controller.cc const ui::Event* event) { event 167 ui/wm/core/focus_controller.cc void FocusController::OnKeyEvent(ui::KeyEvent* event) { event 170 ui/wm/core/focus_controller.cc void FocusController::OnMouseEvent(ui::MouseEvent* event) { event 171 ui/wm/core/focus_controller.cc if (event->type() == ui::ET_MOUSE_PRESSED) event 172 ui/wm/core/focus_controller.cc WindowFocusedFromInputEvent(static_cast<aura::Window*>(event->target())); event 175 ui/wm/core/focus_controller.cc void FocusController::OnScrollEvent(ui::ScrollEvent* event) { event 178 ui/wm/core/focus_controller.cc void FocusController::OnTouchEvent(ui::TouchEvent* event) { event 181 ui/wm/core/focus_controller.cc void FocusController::OnGestureEvent(ui::GestureEvent* event) { event 182 ui/wm/core/focus_controller.cc if (event->type() == ui::ET_GESTURE_BEGIN && event 183 ui/wm/core/focus_controller.cc event->details().touch_points() == 1) { event 184 ui/wm/core/focus_controller.cc WindowFocusedFromInputEvent(static_cast<aura::Window*>(event->target())); event 58 ui/wm/core/focus_controller.h const ui::Event* event) OVERRIDE; event 71 ui/wm/core/focus_controller.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 72 ui/wm/core/focus_controller.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 73 ui/wm/core/focus_controller.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 74 ui/wm/core/focus_controller.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 75 ui/wm/core/focus_controller.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 39 ui/wm/core/input_method_event_filter.cc void InputMethodEventFilter::OnKeyEvent(ui::KeyEvent* event) { event 40 ui/wm/core/input_method_event_filter.cc const ui::EventType type = event->type(); event 45 ui/wm/core/input_method_event_filter.cc static_cast<ui::TranslatedKeyEvent*>(event)->ConvertToKeyEvent(); event 49 ui/wm/core/input_method_event_filter.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 52 ui/wm/core/input_method_event_filter.cc if (input_method_->DispatchKeyEvent(*event)) event 53 ui/wm/core/input_method_event_filter.cc event->StopPropagation(); event 61 ui/wm/core/input_method_event_filter.cc const ui::KeyEvent& event) { event 63 ui/wm/core/input_method_event_filter.cc DCHECK(!event.HasNativeEvent() || event.native_event().message != WM_CHAR); event 65 ui/wm/core/input_method_event_filter.cc ui::TranslatedKeyEvent aura_event(event); event 38 ui/wm/core/input_method_event_filter.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 41 ui/wm/core/input_method_event_filter.h virtual bool DispatchKeyEventPostIME(const ui::KeyEvent& event) OVERRIDE; event 20 ui/wm/core/masked_window_targeter.cc const ui::LocatedEvent& event) const { event 24 ui/wm/core/masked_window_targeter.cc return WindowTargeter::EventLocationInsideBounds(window, event); event 30 ui/wm/core/masked_window_targeter.cc gfx::Point point = event.location(); event 39 ui/wm/core/masked_window_targeter.cc return WindowTargeter::EventLocationInsideBounds(window, event); event 30 ui/wm/core/masked_window_targeter.h const ui::LocatedEvent& event) const OVERRIDE; event 18 ui/wm/core/user_activity_detector.cc std::string GetEventDebugString(const ui::Event* event) { event 21 ui/wm/core/user_activity_detector.cc event->type(), event->name().c_str(), event->flags(), event 22 ui/wm/core/user_activity_detector.cc event->time_stamp().InMilliseconds()); event 24 ui/wm/core/user_activity_detector.cc if (event->IsKeyEvent()) { event 26 ui/wm/core/user_activity_detector.cc static_cast<const ui::KeyEvent*>(event)->key_code()); event 27 ui/wm/core/user_activity_detector.cc } else if (event->IsMouseEvent() || event->IsTouchEvent() || event 28 ui/wm/core/user_activity_detector.cc event->IsGestureEvent()) { event 31 ui/wm/core/user_activity_detector.cc event)->location().ToString().c_str()); event 69 ui/wm/core/user_activity_detector.cc void UserActivityDetector::OnKeyEvent(ui::KeyEvent* event) { event 70 ui/wm/core/user_activity_detector.cc HandleActivity(event); event 73 ui/wm/core/user_activity_detector.cc void UserActivityDetector::OnMouseEvent(ui::MouseEvent* event) { event 74 ui/wm/core/user_activity_detector.cc if (event->flags() & ui::EF_IS_SYNTHESIZED) event 80 ui/wm/core/user_activity_detector.cc HandleActivity(event); event 83 ui/wm/core/user_activity_detector.cc void UserActivityDetector::OnScrollEvent(ui::ScrollEvent* event) { event 84 ui/wm/core/user_activity_detector.cc HandleActivity(event); event 87 ui/wm/core/user_activity_detector.cc void UserActivityDetector::OnTouchEvent(ui::TouchEvent* event) { event 88 ui/wm/core/user_activity_detector.cc HandleActivity(event); event 91 ui/wm/core/user_activity_detector.cc void UserActivityDetector::OnGestureEvent(ui::GestureEvent* event) { event 92 ui/wm/core/user_activity_detector.cc HandleActivity(event); event 99 ui/wm/core/user_activity_detector.cc void UserActivityDetector::HandleActivity(const ui::Event* event) { event 106 ui/wm/core/user_activity_detector.cc VLOG(1) << "Reporting user activity: " << GetEventDebugString(event); event 107 ui/wm/core/user_activity_detector.cc FOR_EACH_OBSERVER(UserActivityObserver, observers_, OnUserActivity(event)); event 44 ui/wm/core/user_activity_detector.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 45 ui/wm/core/user_activity_detector.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 46 ui/wm/core/user_activity_detector.h virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; event 47 ui/wm/core/user_activity_detector.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 48 ui/wm/core/user_activity_detector.h virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; event 57 ui/wm/core/user_activity_detector.h void HandleActivity(const ui::Event* event); event 29 ui/wm/core/user_activity_detector_unittest.cc virtual void OnUserActivity(const ui::Event* event) OVERRIDE { event 156 ui/wm/core/user_activity_detector_unittest.cc ui::KeyEvent event(ui::ET_KEY_PRESSED, ui::VKEY_A, ui::EF_NONE, false); event 157 ui/wm/core/user_activity_detector_unittest.cc detector_->OnKeyEvent(&event); event 158 ui/wm/core/user_activity_detector_unittest.cc EXPECT_FALSE(event.handled()); event 164 ui/wm/core/user_activity_detector_unittest.cc detector_->OnKeyEvent(&event); event 165 ui/wm/core/user_activity_detector_unittest.cc EXPECT_FALSE(event.handled()); event 173 ui/wm/core/user_activity_detector_unittest.cc detector_->OnKeyEvent(&event); event 174 ui/wm/core/user_activity_detector_unittest.cc EXPECT_FALSE(event.handled()); event 183 ui/wm/core/user_activity_detector_unittest.cc detector_->OnKeyEvent(&event); event 184 ui/wm/core/user_activity_detector_unittest.cc EXPECT_FALSE(event.handled()); event 24 ui/wm/core/user_activity_observer.h virtual void OnUserActivity(const ui::Event* event) = 0; event 117 ui/wm/core/window_modality_controller.cc void WindowModalityController::OnKeyEvent(ui::KeyEvent* event) { event 118 ui/wm/core/window_modality_controller.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 120 ui/wm/core/window_modality_controller.cc event->SetHandled(); event 123 ui/wm/core/window_modality_controller.cc void WindowModalityController::OnMouseEvent(ui::MouseEvent* event) { event 124 ui/wm/core/window_modality_controller.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 125 ui/wm/core/window_modality_controller.cc if (ProcessLocatedEvent(target, event)) event 126 ui/wm/core/window_modality_controller.cc event->SetHandled(); event 129 ui/wm/core/window_modality_controller.cc void WindowModalityController::OnTouchEvent(ui::TouchEvent* event) { event 130 ui/wm/core/window_modality_controller.cc aura::Window* target = static_cast<aura::Window*>(event->target()); event 131 ui/wm/core/window_modality_controller.cc if (ProcessLocatedEvent(target, event)) event 132 ui/wm/core/window_modality_controller.cc event->SetHandled(); event 181 ui/wm/core/window_modality_controller.cc ui::LocatedEvent* event) { event 182 ui/wm/core/window_modality_controller.cc if (event->handled()) event 185 ui/wm/core/window_modality_controller.cc if (modal_transient_child && (event->type() == ui::ET_MOUSE_PRESSED || event 186 ui/wm/core/window_modality_controller.cc event->type() == ui::ET_TOUCH_PRESSED)) { event 189 ui/wm/core/window_modality_controller.cc if (event->type() == ui::ET_TOUCH_CANCELLED) event 41 ui/wm/core/window_modality_controller.h virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; event 42 ui/wm/core/window_modality_controller.h virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; event 43 ui/wm/core/window_modality_controller.h virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; event 60 ui/wm/core/window_modality_controller.h ui::LocatedEvent* event); event 49 ui/wm/public/activation_client.h virtual bool OnWillFocusWindow(Window* window, const ui::Event* event) = 0; event 42 ui/wm/public/drag_drop_client.h const ui::LocatedEvent& event) = 0; event 46 ui/wm/public/drag_drop_client.h const ui::LocatedEvent& event) = 0; event 24 ui/wm/public/drag_drop_delegate.h virtual void OnDragEntered(const ui::DropTargetEvent& event) = 0; event 30 ui/wm/public/drag_drop_delegate.h virtual int OnDragUpdated(const ui::DropTargetEvent& event) = 0; event 38 ui/wm/public/drag_drop_delegate.h virtual int OnPerformDrop(const ui::DropTargetEvent& event) = 0; event 41 webkit/browser/quota/storage_monitor.cc void StorageObserverList::OnStorageChange(const StorageObserver::Event& event) { event 47 webkit/browser/quota/storage_monitor.cc MaybeDispatchEvent(event); event 51 webkit/browser/quota/storage_monitor.cc const StorageObserver::Event& event) { event 68 webkit/browser/quota/storage_monitor.cc if (it->second.origin == event.filter.origin) { event 69 webkit/browser/quota/storage_monitor.cc it->first->OnStorageEvent(event); event 76 webkit/browser/quota/storage_monitor.cc StorageObserver::Event dispatch_event(event); event 93 webkit/browser/quota/storage_monitor.cc pending_event_ = event; event 135 webkit/browser/quota/storage_monitor.cc StorageObserver::Event event(params.filter, event 138 webkit/browser/quota/storage_monitor.cc observer->OnStorageEvent(event); event 201 webkit/browser/quota/storage_monitor.cc StorageObserver::Event event(filter, event 205 webkit/browser/quota/storage_monitor.cc observers_.OnStorageChange(event); event 207 webkit/browser/quota/storage_monitor.cc observers_.MaybeDispatchEvent(event); event 37 webkit/browser/quota/storage_monitor.h void OnStorageChange(const StorageObserver::Event& event); event 40 webkit/browser/quota/storage_monitor.h void MaybeDispatchEvent(const StorageObserver::Event& event); event 39 webkit/browser/quota/storage_monitor_unittest.cc virtual void OnStorageEvent(const StorageObserver::Event& event) OVERRIDE { event 40 webkit/browser/quota/storage_monitor_unittest.cc events_.push_back(event); event 175 webkit/browser/quota/storage_monitor_unittest.cc StorageObserver::Event event; event 176 webkit/browser/quota/storage_monitor_unittest.cc event.filter = params.filter; event 179 webkit/browser/quota/storage_monitor_unittest.cc event.quota = 1; event 180 webkit/browser/quota/storage_monitor_unittest.cc event.usage = 1; event 181 webkit/browser/quota/storage_monitor_unittest.cc observer_list.OnStorageChange(event); event 183 webkit/browser/quota/storage_monitor_unittest.cc EXPECT_EQ(event, mock_observer.LastEvent()); event 188 webkit/browser/quota/storage_monitor_unittest.cc event.quota = 2; event 189 webkit/browser/quota/storage_monitor_unittest.cc event.usage = 2; event 190 webkit/browser/quota/storage_monitor_unittest.cc observer_list.OnStorageChange(event); event 193 webkit/browser/quota/storage_monitor_unittest.cc EXPECT_EQ(event, *GetPendingEvent(observer_list)); event 198 webkit/browser/quota/storage_monitor_unittest.cc event.quota = 3; event 199 webkit/browser/quota/storage_monitor_unittest.cc event.usage = 3; event 200 webkit/browser/quota/storage_monitor_unittest.cc observer_list.OnStorageChange(event); event 202 webkit/browser/quota/storage_monitor_unittest.cc EXPECT_EQ(event, mock_observer.LastEvent()); event 207 webkit/browser/quota/storage_monitor_unittest.cc event.quota = 4; event 208 webkit/browser/quota/storage_monitor_unittest.cc event.usage = 4; event 210 webkit/browser/quota/storage_monitor_unittest.cc observer_list.OnStorageChange(event); event 234 webkit/browser/quota/storage_monitor_unittest.cc StorageObserver::Event event; event 235 webkit/browser/quota/storage_monitor_unittest.cc event.filter = filter; event 238 webkit/browser/quota/storage_monitor_unittest.cc event.quota = 1; event 239 webkit/browser/quota/storage_monitor_unittest.cc event.usage = 1; event 240 webkit/browser/quota/storage_monitor_unittest.cc observer_list.OnStorageChange(event); event 243 webkit/browser/quota/storage_monitor_unittest.cc EXPECT_EQ(event, mock_observer1.LastEvent()); event 244 webkit/browser/quota/storage_monitor_unittest.cc EXPECT_EQ(event, mock_observer2.LastEvent()); event 251 webkit/browser/quota/storage_monitor_unittest.cc event.quota = 2; event 252 webkit/browser/quota/storage_monitor_unittest.cc event.usage = 2; event 253 webkit/browser/quota/storage_monitor_unittest.cc observer_list.OnStorageChange(event); event 256 webkit/browser/quota/storage_monitor_unittest.cc EXPECT_EQ(event, mock_observer1.LastEvent()); event 258 webkit/browser/quota/storage_monitor_unittest.cc EXPECT_EQ(event, *GetPendingEvent(observer_list)); event 266 webkit/browser/quota/storage_monitor_unittest.cc EXPECT_EQ(event, mock_observer1.LastEvent()); event 267 webkit/browser/quota/storage_monitor_unittest.cc EXPECT_EQ(event, mock_observer2.LastEvent()); event 635 webkit/browser/quota/storage_monitor_unittest.cc const StorageObserver::Event& event = mock_observer.LastEvent(); event 636 webkit/browser/quota/storage_monitor_unittest.cc EXPECT_EQ(params.filter, event.filter); event 637 webkit/browser/quota/storage_monitor_unittest.cc EXPECT_EQ(kTestUsage, event.usage); event 71 webkit/browser/quota/storage_observer.h virtual void OnStorageEvent(const Event& event) = 0; event 897 win8/metro_driver/chrome_app_view_ash.cc void ChromeAppViewAsh::OnImePopupChanged(ImePopupObserver::EventType event) { event 900 win8/metro_driver/chrome_app_view_ash.cc switch (event) { event 912 win8/metro_driver/chrome_app_view_ash.cc NOTREACHED() << "unknown event type: " << event; event 121 win8/metro_driver/chrome_app_view_ash.h virtual void OnImePopupChanged(ImePopupObserver::EventType event) OVERRIDE; event 20 win8/metro_driver/ime/ime_popup_monitor.cc DWORD event, event 32 win8/metro_driver/ime/ime_popup_monitor.cc switch (event) {