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

Unified Diff: Source/core/testing/PrivateScriptTest.h

Issue 413393003: Blink-in-JS: Implement internal APIs exposed only to private scripts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Source/bindings/tests/results/V8TestTypedefs.cpp ('k') | Source/core/testing/PrivateScriptTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/PrivateScriptTest.h
diff --git a/Source/core/testing/PrivateScriptTest.h b/Source/core/testing/PrivateScriptTest.h
index a7133815cf6ead0a6dbb85504edeae43d153a7bd..c0fb370916f287c0d4f2f1d493f70320c44b3f5d 100644
--- a/Source/core/testing/PrivateScriptTest.h
+++ b/Source/core/testing/PrivateScriptTest.h
@@ -8,6 +8,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "platform/heap/Handle.h"
#include "wtf/RefCounted.h"
+#include "wtf/text/WTFString.h"
namespace blink {
@@ -20,10 +21,16 @@ public:
return new PrivateScriptTest(frame);
}
+ int addIntegerImplementedInCPPForPrivateScriptOnly(int value1, int value2);
+ String stringAttributeImplementedInCPPForPrivateScriptOnly();
+ void setStringAttributeImplementedInCPPForPrivateScriptOnly(String);
+
void trace(Visitor*) { }
private:
- PrivateScriptTest(LocalFrame*);
+ explicit PrivateScriptTest(LocalFrame*);
+
+ String m_stringAttributeImplementedInCPPForPrivateSriptOnly;
};
} // namespace blink
« no previous file with comments | « Source/bindings/tests/results/V8TestTypedefs.cpp ('k') | Source/core/testing/PrivateScriptTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698