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

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.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
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 void updateAllLifecyclePhases() override; 134 void updateAllLifecyclePhases() override;
135 void paint(WebCanvas*, const WebRect&) override; 135 void paint(WebCanvas*, const WebRect&) override;
136 #if OS(ANDROID) 136 #if OS(ANDROID)
137 void paintIgnoringCompositing(WebCanvas*, const WebRect&) override; 137 void paintIgnoringCompositing(WebCanvas*, const WebRect&) override;
138 #endif 138 #endif
139 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; 139 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override;
140 void compositeAndReadbackAsync( 140 void compositeAndReadbackAsync(
141 WebCompositeAndReadbackAsyncCallback*) override; 141 WebCompositeAndReadbackAsyncCallback*) override;
142 void themeChanged() override; 142 void themeChanged() override;
143 WebInputEventResult handleInputEvent(const WebInputEvent&) override; 143 WebInputEventResult handleInputEvent(const WebCoalescedInputEvent&) override;
144 void setCursorVisibilityState(bool isVisible) override; 144 void setCursorVisibilityState(bool isVisible) override;
145 bool hasTouchEventHandlersAt(const WebPoint&) override; 145 bool hasTouchEventHandlersAt(const WebPoint&) override;
146 146
147 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, 147 void applyViewportDeltas(const WebFloatSize& visualViewportDelta,
148 const WebFloatSize& layoutViewportDelta, 148 const WebFloatSize& layoutViewportDelta,
149 const WebFloatSize& elasticOverscrollDelta, 149 const WebFloatSize& elasticOverscrollDelta,
150 float pageScaleDelta, 150 float pageScaleDelta,
151 float browserControlsShownRatioDelta) override; 151 float browserControlsShownRatioDelta) override;
152 void mouseCaptureLost() override; 152 void mouseCaptureLost() override;
153 void setFocus(bool enable) override; 153 void setFocus(bool enable) override;
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 739 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
740 }; 740 };
741 741
742 // We have no ways to check if the specified WebView is an instance of 742 // We have no ways to check if the specified WebView is an instance of
743 // WebViewImpl because WebViewImpl is the only implementation of WebView. 743 // WebViewImpl because WebViewImpl is the only implementation of WebView.
744 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 744 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
745 745
746 } // namespace blink 746 } // namespace blink
747 747
748 #endif 748 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698