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

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

Issue 1161273004: Add a Color class to dart:sky. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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: 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 776b1f250a6ecba06eb0aa29382161f3d716abc2..11e7bebf1aba37e9af3a3ffb0577668ff94b2220 100644
--- a/sky/engine/core/script/dom_dart_state.h
+++ b/sky/engine/core/script/dom_dart_state.h
@@ -35,6 +35,7 @@ class DOMDartState : public DartState {
Dart_Handle x_handle() { return x_handle_.value(); }
Dart_Handle y_handle() { return y_handle_.value(); }
Dart_Handle value_handle() { return value_handle_.value(); }
+ Dart_Handle color_class() { return color_class_.value(); }
private:
RefPtr<Document> document_;
@@ -43,6 +44,7 @@ class DOMDartState : public DartState {
DartPersistentValue x_handle_;
DartPersistentValue y_handle_;
DartPersistentValue value_handle_;
+ DartPersistentValue color_class_;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698