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

Unified Diff: third_party/WebKit/Source/platform/bindings/README.md

Issue 2851563004: Add documentation for platform/bindings (Closed)
Patch Set: Address code review Created 3 years, 8 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/Source/platform/bindings/README.md
diff --git a/third_party/WebKit/Source/platform/bindings/README.md b/third_party/WebKit/Source/platform/bindings/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..e7d530b5126c1516dec924a8bd9841f8b18f0bfa
--- /dev/null
+++ b/third_party/WebKit/Source/platform/bindings/README.md
@@ -0,0 +1,10 @@
+# Bindings
+
+This directory contains classes and functionality used to implement the V8 bindings layer in Blink. Any reusable bindings components/infrastructure that are independent of `core/` objects (or can be generalized to be independent) should be added to this directory, otherwise they can be kept in `bindings/core/`.
+
+Some of the things you can find here are:
+
+* Functionality to wrap Blink C++ objects with a JavaScript object and maintain wrappers in multiple worlds (see [ScriptWrappable](ScriptWrappable.h), [ActiveScriptWrappable](ActiveScriptWrappable.h))
+* Implementation of wrapper tracing (see [documentation](TraceWrapperReference.md))
+* Important abstractions for script execution (see [ScriptState](ScriptState.h), [V8PerIsolateData](V8PerIsolateData.h), [V8PerContextData](V8PerContextData.h))
+* Utility functions to interface with V8 and convert between V8 and Blink types (see [V8Binding.h](V8Binding.h), [ToV8.h](ToV8.h))

Powered by Google App Engine
This is Rietveld 408576698