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

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

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/core/testing/PrivateScriptTest.h ('k') | Source/core/testing/PrivateScriptTest.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/PrivateScriptTest.cpp
diff --git a/Source/core/testing/PrivateScriptTest.cpp b/Source/core/testing/PrivateScriptTest.cpp
index 09ef7b90d30d1fa95b66b5f9c7df353be74dffa1..e49e119419f29be14ab5c4c2d9a1cb3535e8bf10 100644
--- a/Source/core/testing/PrivateScriptTest.cpp
+++ b/Source/core/testing/PrivateScriptTest.cpp
@@ -18,4 +18,19 @@ PrivateScriptTest::PrivateScriptTest(LocalFrame* frame)
RELEASE_ASSERT(!classObject.IsEmpty());
}
+int PrivateScriptTest::addIntegerImplementedInCPPForPrivateScriptOnly(int value1, int value2)
+{
+ return value1 + value2;
+}
+
+String PrivateScriptTest::stringAttributeImplementedInCPPForPrivateScriptOnly()
+{
+ return m_stringAttributeImplementedInCPPForPrivateSriptOnly;
+}
+
+void PrivateScriptTest::setStringAttributeImplementedInCPPForPrivateScriptOnly(String value)
+{
+ m_stringAttributeImplementedInCPPForPrivateSriptOnly = value;
+}
+
} // namespace blink
« no previous file with comments | « Source/core/testing/PrivateScriptTest.h ('k') | Source/core/testing/PrivateScriptTest.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698