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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h

Issue 1958963002: Remove older and unused ScriptState methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 16 matching lines...) Expand all
27 #define V8ScriptRunner_h 27 #define V8ScriptRunner_h
28 28
29 #include "bindings/core/v8/ScriptState.h" 29 #include "bindings/core/v8/ScriptState.h"
30 #include "bindings/core/v8/ScriptValue.h" 30 #include "bindings/core/v8/ScriptValue.h"
31 #include "bindings/core/v8/V8BindingMacros.h" 31 #include "bindings/core/v8/V8BindingMacros.h"
32 #include "bindings/core/v8/V8CacheOptions.h" 32 #include "bindings/core/v8/V8CacheOptions.h"
33 #include "core/CoreExport.h" 33 #include "core/CoreExport.h"
34 #include "core/fetch/AccessControlStatus.h" 34 #include "core/fetch/AccessControlStatus.h"
35 #include "platform/text/CompressibleString.h" 35 #include "platform/text/CompressibleString.h"
36 #include "wtf/Allocator.h" 36 #include "wtf/Allocator.h"
37 #include "wtf/PassOwnPtr.h"
38 #include "wtf/text/TextPosition.h" 37 #include "wtf/text/TextPosition.h"
39 #include "wtf/text/WTFString.h" 38 #include "wtf/text/WTFString.h"
40 #include <v8.h> 39 #include <v8.h>
41 40
42 namespace blink { 41 namespace blink {
43 42
44 class CachedMetadataHandler; 43 class CachedMetadataHandler;
45 class Resource; 44 class Resource;
46 class ScriptResource; 45 class ScriptResource;
47 class ScriptSourceCode; 46 class ScriptSourceCode;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 v8::Local<v8::Value> undefined = v8::Undefined(isolate); 94 v8::Local<v8::Value> undefined = v8::Undefined(isolate);
96 v8::Local<v8::Value> functionValue = scriptState->getFromExtrasExports(n ame).v8Value(); 95 v8::Local<v8::Value> functionValue = scriptState->getFromExtrasExports(n ame).v8Value();
97 v8::Local<v8::Function> function = functionValue.As<v8::Function>(); 96 v8::Local<v8::Function> function = functionValue.As<v8::Function>();
98 return V8ScriptRunner::callInternalFunction(function, undefined, numArgs , args, isolate); 97 return V8ScriptRunner::callInternalFunction(function, undefined, numArgs , args, isolate);
99 } 98 }
100 }; 99 };
101 100
102 } // namespace blink 101 } // namespace blink
103 102
104 #endif // V8ScriptRunner_h 103 #endif // V8ScriptRunner_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698