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

Unified Diff: sky/engine/core/view/View.h

Issue 1214943005: Rename scheduleFrame/setBeginFrameCallback (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add missing files Created 5 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
« no previous file with comments | « sky/engine/core/view/FrameCallback.idl ('k') | sky/engine/core/view/View.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/view/View.h
diff --git a/sky/engine/core/view/View.h b/sky/engine/core/view/View.h
index 5297cf66959afa34221bf6cfa585593e141ece08..b5a5599fbec19da521ebb900282874b9a836fccf 100644
--- a/sky/engine/core/view/View.h
+++ b/sky/engine/core/view/View.h
@@ -9,8 +9,8 @@
#include "base/time/time.h"
#include "sky/engine/core/html/VoidCallback.h"
#include "sky/engine/core/painting/Picture.h"
-#include "sky/engine/core/view/BeginFrameCallback.h"
#include "sky/engine/core/view/EventCallback.h"
+#include "sky/engine/core/view/FrameCallback.h"
#include "sky/engine/public/platform/sky_display_metrics.h"
#include "sky/engine/tonic/dart_wrappable.h"
#include "sky/engine/wtf/PassRefPtr.h"
@@ -35,7 +35,7 @@ public:
void setMetricsChangedCallback(PassOwnPtr<VoidCallback> callback);
- void setBeginFrameCallback(PassOwnPtr<BeginFrameCallback> callback);
+ void setFrameCallback(PassOwnPtr<FrameCallback> callback);
void scheduleFrame();
void setDisplayMetrics(const SkyDisplayMetrics& metrics);
@@ -49,7 +49,7 @@ private:
SkyDisplayMetrics m_displayMetrics;
OwnPtr<EventCallback> m_eventCallback;
OwnPtr<VoidCallback> m_metricsChangedCallback;
- OwnPtr<BeginFrameCallback> m_beginFrameCallback;
+ OwnPtr<FrameCallback> m_frameCallback;
RefPtr<Picture> m_picture;
};
« no previous file with comments | « sky/engine/core/view/FrameCallback.idl ('k') | sky/engine/core/view/View.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698