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

Side by Side Diff: Source/bindings/tests/results/V8TestPrivateScriptInterface.cpp

Issue 351423002: Moved files under Source/bindings/v8 to Source/bindings/core/v8. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestPrivateScriptInterface.h" 8 #include "V8TestPrivateScriptInterface.h"
9 9
10 #include "bindings/core/v8/PrivateScriptRunner.h"
10 #include "bindings/core/v8/V8Window.h" 11 #include "bindings/core/v8/V8Window.h"
11 #include "bindings/tests/v8/V8Document.h" 12 #include "bindings/tests/v8/V8Document.h"
12 #include "bindings/tests/v8/V8Node.h" 13 #include "bindings/tests/v8/V8Node.h"
13 #include "bindings/v8/PrivateScriptRunner.h"
14 #include "core/dom/ScriptForbiddenScope.h" 14 #include "core/dom/ScriptForbiddenScope.h"
15 #include "core/frame/LocalFrame.h" 15 #include "core/frame/LocalFrame.h"
16 16
17 namespace WebCore { 17 namespace WebCore {
18 18
19 bool V8TestPrivateScriptInterface::voidMethod(LocalFrame* frame) 19 bool V8TestPrivateScriptInterface::voidMethod(LocalFrame* frame)
20 { 20 {
21 v8::Handle<v8::Context> context = toV8Context(frame, DOMWrapperWorld::privat eScriptIsolatedWorld()); 21 v8::Handle<v8::Context> context = toV8Context(frame, DOMWrapperWorld::privat eScriptIsolatedWorld());
22 if (context.IsEmpty()) 22 if (context.IsEmpty())
23 return false; 23 return false;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 return false; 169 return false;
170 ExceptionState exceptionState(ExceptionState::ExecutionContext, "nodeMethodW ithVariousArguments", "TestPrivateScriptInterface", scriptState->context()->Glob al(), scriptState->isolate()); 170 ExceptionState exceptionState(ExceptionState::ExecutionContext, "nodeMethodW ithVariousArguments", "TestPrivateScriptInterface", scriptState->context()->Glob al(), scriptState->isolate());
171 Node* cppValue = V8Node::toNativeWithTypeCheck(scriptState->isolate(), v8Val ue); 171 Node* cppValue = V8Node::toNativeWithTypeCheck(scriptState->isolate(), v8Val ue);
172 if (block.HasCaught()) 172 if (block.HasCaught())
173 return false; 173 return false;
174 *output = cppValue; 174 *output = cppValue;
175 return true; 175 return true;
176 } 176 }
177 177
178 } // namespace WebCore 178 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestPrivateScriptInterface.h ('k') | Source/bindings/tests/results/V8TestSpecialOperations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698