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

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 void updateAllLifecyclePhases() override; 119 void updateAllLifecyclePhases() override;
120 void paint(WebCanvas*, const WebRect&) override; 120 void paint(WebCanvas*, const WebRect&) override;
121 #if OS(ANDROID) 121 #if OS(ANDROID)
122 void paintIgnoringCompositing(WebCanvas*, const WebRect&) override; 122 void paintIgnoringCompositing(WebCanvas*, const WebRect&) override;
123 #endif 123 #endif
124 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; 124 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override;
125 void compositeAndReadbackAsync( 125 void compositeAndReadbackAsync(
126 WebCompositeAndReadbackAsyncCallback*) override; 126 WebCompositeAndReadbackAsyncCallback*) override;
127 void themeChanged() override; 127 void themeChanged() override;
128 WebInputEventResult handleInputEvent(const WebInputEvent&) override; 128 WebInputEventResult handleInputEvent(
129 const WebInputEvent&,
130 const std::vector<const WebInputEvent*>& =
131 std::vector<const WebInputEvent*>()) override;
129 void setCursorVisibilityState(bool isVisible) override; 132 void setCursorVisibilityState(bool isVisible) override;
130 bool hasTouchEventHandlersAt(const WebPoint&) override; 133 bool hasTouchEventHandlersAt(const WebPoint&) override;
131 134
132 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, 135 void applyViewportDeltas(const WebFloatSize& visualViewportDelta,
133 const WebFloatSize& layoutViewportDelta, 136 const WebFloatSize& layoutViewportDelta,
134 const WebFloatSize& elasticOverscrollDelta, 137 const WebFloatSize& elasticOverscrollDelta,
135 float pageScaleDelta, 138 float pageScaleDelta,
136 float browserControlsShownRatioDelta) override; 139 float browserControlsShownRatioDelta) override;
137 void mouseCaptureLost() override; 140 void mouseCaptureLost() override;
138 void setFocus(bool enable) override; 141 void setFocus(bool enable) override;
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 765 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
763 }; 766 };
764 767
765 // We have no ways to check if the specified WebView is an instance of 768 // We have no ways to check if the specified WebView is an instance of
766 // WebViewImpl because WebViewImpl is the only implementation of WebView. 769 // WebViewImpl because WebViewImpl is the only implementation of WebView.
767 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 770 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
768 771
769 } // namespace blink 772 } // namespace blink
770 773
771 #endif 774 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698