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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.h

Issue 2096783004: Seperate visualviewportchanged event into scroll and resize events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: third_party/WebKit/Source/core/frame/VisualViewport.h
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.h b/third_party/WebKit/Source/core/frame/VisualViewport.h
index 06d54456be592c8c4ed5f8fa1112da94d6859a3b..5e672ec2008b3aad83120c72c811018799e3a827 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.h
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.h
@@ -225,7 +225,8 @@ private:
void updateStyleAndLayoutIgnorePendingStylesheets();
- void enqueueChangedEvent();
+ void enqueueScrollEvent();
+ void enqueueResizeEvent();
// GraphicsLayerClient implementation.
bool needsRepaint(const GraphicsLayer&) const { ASSERT_NOT_REACHED(); return true; }

Powered by Google App Engine
This is Rietveld 408576698