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

Unified Diff: sky/engine/core/script/dom_dart_state.h

Issue 1214833004: Split Size into Size and Offset. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/painting/Size.dart ('k') | sky/engine/core/script/dom_dart_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/script/dom_dart_state.h
diff --git a/sky/engine/core/script/dom_dart_state.h b/sky/engine/core/script/dom_dart_state.h
index ba45f36bafd88ba09cb110a232cfc2499e2da294..3aaf9a797a26acd3106659093ef310f1e3e3f7eb 100644
--- a/sky/engine/core/script/dom_dart_state.h
+++ b/sky/engine/core/script/dom_dart_state.h
@@ -34,6 +34,8 @@ class DOMDartState : public DartState {
// Cached handles to strings used in Dart/C++ conversions.
Dart_Handle x_handle() { return x_handle_.value(); }
Dart_Handle y_handle() { return y_handle_.value(); }
+ Dart_Handle dx_handle() { return dx_handle_.value(); }
+ Dart_Handle dy_handle() { return dy_handle_.value(); }
Dart_Handle value_handle() { return value_handle_.value(); }
Dart_Handle color_class() { return color_class_.value(); }
@@ -43,6 +45,8 @@ class DOMDartState : public DartState {
DartPersistentValue x_handle_;
DartPersistentValue y_handle_;
+ DartPersistentValue dx_handle_;
+ DartPersistentValue dy_handle_;
DartPersistentValue value_handle_;
DartPersistentValue color_class_;
};
« no previous file with comments | « sky/engine/core/painting/Size.dart ('k') | sky/engine/core/script/dom_dart_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698