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

Side by Side Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: 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 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void resizeVisualViewport(const WebSize&) override; 78 void resizeVisualViewport(const WebSize&) override;
79 void didEnterFullscreen() override; 79 void didEnterFullscreen() override;
80 void didExitFullscreen() override; 80 void didExitFullscreen() override;
81 void beginFrame(double lastFrameTimeMonotonic) override; 81 void beginFrame(double lastFrameTimeMonotonic) override;
82 void updateAllLifecyclePhases() override; 82 void updateAllLifecyclePhases() override;
83 void paint(WebCanvas*, const WebRect&) override; 83 void paint(WebCanvas*, const WebRect&) override;
84 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; 84 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override;
85 void compositeAndReadbackAsync( 85 void compositeAndReadbackAsync(
86 WebCompositeAndReadbackAsyncCallback*) override; 86 WebCompositeAndReadbackAsyncCallback*) override;
87 void themeChanged() override; 87 void themeChanged() override;
88 WebInputEventResult handleInputEvent(const WebInputEvent&) override; 88 WebInputEventResult handleInputEvent(
89 const WebInputEvent&,
90 const std::vector<const WebInputEvent*>&) override;
89 void setCursorVisibilityState(bool isVisible) override; 91 void setCursorVisibilityState(bool isVisible) override;
90 bool hasTouchEventHandlersAt(const WebPoint&) override; 92 bool hasTouchEventHandlersAt(const WebPoint&) override;
91 93
92 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, 94 void applyViewportDeltas(const WebFloatSize& visualViewportDelta,
93 const WebFloatSize& mainFrameDelta, 95 const WebFloatSize& mainFrameDelta,
94 const WebFloatSize& elasticOverscrollDelta, 96 const WebFloatSize& elasticOverscrollDelta,
95 float pageScaleDelta, 97 float pageScaleDelta,
96 float browserControlsDelta) override; 98 float browserControlsDelta) override;
97 void mouseCaptureLost() override; 99 void mouseCaptureLost() override;
98 void setFocus(bool enable) override; 100 void setFocus(bool enable) override;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 248
247 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, 249 DEFINE_TYPE_CASTS(WebFrameWidgetImpl,
248 WebFrameWidgetBase, 250 WebFrameWidgetBase,
249 widget, 251 widget,
250 widget->forSubframe(), 252 widget->forSubframe(),
251 widget.forSubframe()); 253 widget.forSubframe());
252 254
253 } // namespace blink 255 } // namespace blink
254 256
255 #endif 257 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698