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

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

Issue 2621303004: Keep track of coalesced events in main thread event queue (Closed)
Patch Set: Keep coalesced events in main thread event queue unittests 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
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_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 // Platform specific theme preferences if any are updated here. 633 // Platform specific theme preferences if any are updated here.
634 #if defined(OS_WIN) 634 #if defined(OS_WIN)
635 void UpdateThemePrefs(); 635 void UpdateThemePrefs();
636 #else 636 #else
637 void UpdateThemePrefs() {} 637 void UpdateThemePrefs() {}
638 #endif 638 #endif
639 639
640 void UpdateWebViewWithDeviceScaleFactor(); 640 void UpdateWebViewWithDeviceScaleFactor();
641 641
642 // Send the appropriate ack to be able discard this input event message. 642 // Send the appropriate ack to be able discard this input event message.
643 void OnDiscardInputEvent(const blink::WebInputEvent* input_event, 643 void OnDiscardInputEvent(
644 const ui::LatencyInfo& latency_info, 644 const blink::WebInputEvent* input_event,
645 InputEventDispatchType dispatch_type); 645 const std::vector<const blink::WebInputEvent*>& coalescedEvents,
646 const ui::LatencyInfo& latency_info,
647 InputEventDispatchType dispatch_type);
646 648
647 // --------------------------------------------------------------------------- 649 // ---------------------------------------------------------------------------
648 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put 650 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put
649 // it in the same order in the .cc file as it was in the header. 651 // it in the same order in the .cc file as it was in the header.
650 // --------------------------------------------------------------------------- 652 // ---------------------------------------------------------------------------
651 653
652 // Settings ------------------------------------------------------------------ 654 // Settings ------------------------------------------------------------------
653 655
654 WebPreferences webkit_preferences_; 656 WebPreferences webkit_preferences_;
655 RendererPreferences renderer_preferences_; 657 RendererPreferences renderer_preferences_;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 // use the Observer interface to filter IPC messages and receive frame change 845 // use the Observer interface to filter IPC messages and receive frame change
844 // notifications. 846 // notifications.
845 // --------------------------------------------------------------------------- 847 // ---------------------------------------------------------------------------
846 848
847 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 849 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
848 }; 850 };
849 851
850 } // namespace content 852 } // namespace content
851 853
852 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 854 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698