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

Unified Diff: third_party/WebKit/public/platform/WebLayer.h

Issue 1602773006: blink: Make WebMainThreadScrollingReason wrap the cc enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enumwrap: rebase Created 4 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
Index: third_party/WebKit/public/platform/WebLayer.h
diff --git a/third_party/WebKit/public/platform/WebLayer.h b/third_party/WebKit/public/platform/WebLayer.h
index 0d40182168086ee216f963a653aae11863990c22..617c8691c4132aab6d64b6c3a32cf1828bbc27c1 100644
--- a/third_party/WebKit/public/platform/WebLayer.h
+++ b/third_party/WebKit/public/platform/WebLayer.h
@@ -32,7 +32,6 @@
#include "WebCompositorAnimation.h"
#include "WebDoublePoint.h"
#include "WebFloatPoint3D.h"
-#include "WebMainThreadScrollingReason.h"
#include "WebPoint.h"
#include "WebRect.h"
#include "WebScrollBlocksOn.h"
@@ -209,7 +208,7 @@ public:
virtual bool haveScrollEventHandlers() const = 0;
// Indicates that this layer will always scroll on the main thread for the provided reason.
- virtual void addMainThreadScrollingReasons(WebMainThreadScrollingReason::WebMainThreadScrollingReason) = 0;
+ virtual void addMainThreadScrollingReasons(uint32_t) = 0;
// Indicates that the layer could scroll on the compositor thread.
virtual void clearMainThreadScrollingReasons() = 0;
virtual bool shouldScrollOnMainThread() const = 0;
« no previous file with comments | « third_party/WebKit/public/platform/DEPS ('k') | third_party/WebKit/public/platform/WebMainThreadScrollingReason.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698