Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: content/renderer/render_widget.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 463
464 // Used to force the size of a window when running layout tests. 464 // Used to force the size of a window when running layout tests.
465 void SetWindowRectSynchronously(const gfx::Rect& new_window_rect); 465 void SetWindowRectSynchronously(const gfx::Rect& new_window_rect);
466 #if defined(USE_EXTERNAL_POPUP_MENU) 466 #if defined(USE_EXTERNAL_POPUP_MENU)
467 void SetExternalPopupOriginAdjustmentsForEmulation( 467 void SetExternalPopupOriginAdjustmentsForEmulation(
468 ExternalPopupMenu* popup, 468 ExternalPopupMenu* popup,
469 RenderWidgetScreenMetricsEmulator* emulator); 469 RenderWidgetScreenMetricsEmulator* emulator);
470 #endif 470 #endif
471 471
472 // RenderWidget IPC message handlers 472 // RenderWidget IPC message handlers
473 void OnHandleInputEvent(const blink::WebInputEvent* event, 473 void OnHandleInputEvent(
474 const ui::LatencyInfo& latency_info, 474 const blink::WebInputEvent* event,
475 InputEventDispatchType dispatch_type); 475 const std::vector<const blink::WebInputEvent*>& coalescedEvents,
476 const ui::LatencyInfo& latency_info,
477 InputEventDispatchType dispatch_type);
476 void OnCursorVisibilityChange(bool is_visible); 478 void OnCursorVisibilityChange(bool is_visible);
477 void OnMouseCaptureLost(); 479 void OnMouseCaptureLost();
478 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); 480 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands);
479 virtual void OnSetFocus(bool enable); 481 virtual void OnSetFocus(bool enable);
480 void OnClose(); 482 void OnClose();
481 void OnCreatingNewAck(); 483 void OnCreatingNewAck();
482 virtual void OnResize(const ResizeParams& params); 484 virtual void OnResize(const ResizeParams& params);
483 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params); 485 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params);
484 void OnDisableDeviceEmulation(); 486 void OnDisableDeviceEmulation();
485 virtual void OnWasHidden(); 487 virtual void OnWasHidden();
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 // being handled. If the current event results in starting a drag/drop 860 // being handled. If the current event results in starting a drag/drop
859 // session, this info is sent to the browser along with other drag/drop info. 861 // session, this info is sent to the browser along with other drag/drop info.
860 DragEventSourceInfo possible_drag_event_info_; 862 DragEventSourceInfo possible_drag_event_info_;
861 863
862 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 864 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
863 }; 865 };
864 866
865 } // namespace content 867 } // namespace content
866 868
867 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 869 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698