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

Unified Diff: Source/web/WebViewImpl.h

Issue 321373003: Changing animate to beginFrame and use struct rather than naked double to allow extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Refactoring and reducing this patch based on nduca's suggestions. Created 6 years, 5 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: Source/web/WebViewImpl.h
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h
index 79bff424c394b5d4e19488b42197f28ec51d067b..dab8ea835e77129eb63d75dfe7c0dc112081fb97 100644
--- a/Source/web/WebViewImpl.h
+++ b/Source/web/WebViewImpl.h
@@ -41,6 +41,7 @@
#include "public/platform/WebRect.h"
#include "public/platform/WebSize.h"
#include "public/platform/WebString.h"
+#include "public/web/WebBeginFrameArgs.h"
Sami 2014/07/16 10:41:15 I don't think you need this include here since the
mithro-old 2014/07/16 14:26:49 Done.
#include "public/web/WebInputEvent.h"
#include "public/web/WebNavigationPolicy.h"
#include "public/web/WebView.h"
@@ -98,7 +99,9 @@ public:
virtual void didEnterFullScreen() OVERRIDE;
virtual void willExitFullScreen() OVERRIDE;
virtual void didExitFullScreen() OVERRIDE;
- virtual void animate(double) OVERRIDE;
+
+ virtual void beginFrame(WebBeginFrameArgs) OVERRIDE;
+
virtual void layout() OVERRIDE;
virtual void paint(WebCanvas*, const WebRect&) OVERRIDE;
#if OS(ANDROID)

Powered by Google App Engine
This is Rietveld 408576698