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

Unified Diff: third_party/WebKit/public/platform/WebCoalescedInputEvent.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | third_party/WebKit/public/web/WebWidget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebCoalescedInputEvent.h
diff --git a/third_party/WebKit/public/platform/WebCoalescedInputEvent.h b/third_party/WebKit/public/platform/WebCoalescedInputEvent.h
index 94dd15021d2ff30317fc9fa3f7002c784ce1b970..e1a282a542c6f01cd7fa08d2fe06723689344ddb 100644
--- a/third_party/WebKit/public/platform/WebCoalescedInputEvent.h
+++ b/third_party/WebKit/public/platform/WebCoalescedInputEvent.h
@@ -24,8 +24,8 @@ using WebScopedInputEvent =
// coalesced events. The event could be any events defined in WebInputEvent.h.
class BLINK_COMMON_EXPORT WebCoalescedInputEvent {
public:
- WebCoalescedInputEvent(WebScopedInputEvent);
- WebCoalescedInputEvent(const WebInputEvent&);
+ explicit WebCoalescedInputEvent(WebScopedInputEvent);
+ explicit WebCoalescedInputEvent(const WebInputEvent&);
WebCoalescedInputEvent(const WebInputEvent&,
const std::vector<const WebInputEvent*>&);
@@ -33,7 +33,7 @@ class BLINK_COMMON_EXPORT WebCoalescedInputEvent {
void addCoalescedEvent(const blink::WebInputEvent&);
const WebInputEvent& event() const;
size_t coalescedEventSize() const;
- const WebInputEvent* coalescedEvent(int index) const;
+ const WebInputEvent& coalescedEvent(size_t index) const;
std::vector<const WebInputEvent*> getCoalescedEventsPointers() const;
private:
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | third_party/WebKit/public/web/WebWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698