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

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

Issue 2621303004: Keep track of coalesced events in main thread event queue (Closed)
Patch Set: Rebase Created 3 years, 11 months 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 467
468 // Used to force the size of a window when running layout tests. 468 // Used to force the size of a window when running layout tests.
469 void SetWindowRectSynchronously(const gfx::Rect& new_window_rect); 469 void SetWindowRectSynchronously(const gfx::Rect& new_window_rect);
470 #if defined(USE_EXTERNAL_POPUP_MENU) 470 #if defined(USE_EXTERNAL_POPUP_MENU)
471 void SetExternalPopupOriginAdjustmentsForEmulation( 471 void SetExternalPopupOriginAdjustmentsForEmulation(
472 ExternalPopupMenu* popup, 472 ExternalPopupMenu* popup,
473 RenderWidgetScreenMetricsEmulator* emulator); 473 RenderWidgetScreenMetricsEmulator* emulator);
474 #endif 474 #endif
475 475
476 // RenderWidget IPC message handlers 476 // RenderWidget IPC message handlers
477 void OnHandleInputEvent(const blink::WebInputEvent* event, 477 void OnHandleInputEvent(
478 const ui::LatencyInfo& latency_info, 478 const blink::WebInputEvent* event,
479 InputEventDispatchType dispatch_type); 479 const std::vector<const blink::WebInputEvent*>& coalesced_events,
480 const ui::LatencyInfo& latency_info,
481 InputEventDispatchType dispatch_type);
480 void OnCursorVisibilityChange(bool is_visible); 482 void OnCursorVisibilityChange(bool is_visible);
481 void OnMouseCaptureLost(); 483 void OnMouseCaptureLost();
482 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); 484 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands);
483 virtual void OnSetFocus(bool enable); 485 virtual void OnSetFocus(bool enable);
484 void OnClose(); 486 void OnClose();
485 void OnCreatingNewAck(); 487 void OnCreatingNewAck();
486 virtual void OnResize(const ResizeParams& params); 488 virtual void OnResize(const ResizeParams& params);
487 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params); 489 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params);
488 void OnDisableDeviceEmulation(); 490 void OnDisableDeviceEmulation();
489 virtual void OnWasHidden(); 491 virtual void OnWasHidden();
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 DragEventSourceInfo possible_drag_event_info_; 847 DragEventSourceInfo possible_drag_event_info_;
846 848
847 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 849 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
848 850
849 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 851 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
850 }; 852 };
851 853
852 } // namespace content 854 } // namespace content
853 855
854 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 856 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698