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

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

Issue 2851563004: Add documentation for platform/bindings (Closed)
Patch Set: 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/TraceWrapperReference.md
diff --git a/third_party/WebKit/Source/bindings/core/v8/TraceWrapperReference.md b/third_party/WebKit/Source/platform/bindings/TraceWrapperReference.md
similarity index 96%
rename from third_party/WebKit/Source/bindings/core/v8/TraceWrapperReference.md
rename to third_party/WebKit/Source/platform/bindings/TraceWrapperReference.md
index 4908ec22f11a85c3006a454dcff23273312a63a9..9b99506a953711fff1cb2c38eb7884dc1d87ca93 100644
--- a/third_party/WebKit/Source/bindings/core/v8/TraceWrapperReference.md
+++ b/third_party/WebKit/Source/platform/bindings/TraceWrapperReference.md
@@ -26,9 +26,9 @@ object should keep alive.
The following example illustrates these steps:
```c++
-#include "bindings/core/v8/ScriptWrappable.h"
-#include "bindings/core/v8/TraceWrapperMember.h"
-#include "bindings/core/v8/TraceWrapperV8Reference.h"
+#include "platform/bindings/ScriptWrappable.h"
+#include "platform/bindings/TraceWrapperMember.h"
+#include "platform/bindings/TraceWrapperV8Reference.h"
class SomeDOMObject : public ScriptWrappable { // (1)
public:
@@ -81,10 +81,9 @@ The annotations that are required can be found in the following header files.
Pick the header file depending on what types are needed.
```c++
-#include "bindings/core/v8/ScriptWrappable.h"
-#include "bindings/core/v8/TraceWrapperBase.h"
-#include "bindings/core/v8/TraceWrapperMember.h"
-#include "bindings/core/v8/TraceWrapperV8Reference.h"
+#include "platform/bindings/ScriptWrappable.h"
+#include "platform/bindings/TraceWrapperMember.h"
+#include "platform/bindings/TraceWrapperV8Reference.h"
```
The following example will guide through the modifications that are needed to

Powered by Google App Engine
This is Rietveld 408576698