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

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

Issue 2618613006: Remove ContextClient from DOMWindowSpeechSynthesis (Closed)
Patch Set: temp Created 3 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Ericsson AB. All rights reserved. 3 * Copyright (C) 2012 Ericsson AB. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 static inline Vector<T> nativeValue(v8::Isolate* isolate, 965 static inline Vector<T> nativeValue(v8::Isolate* isolate,
966 v8::Local<v8::Value> value, 966 v8::Local<v8::Value> value,
967 ExceptionState& exceptionState) { 967 ExceptionState& exceptionState) {
968 return toImplArray<Vector<T>>(value, 0, isolate, exceptionState); 968 return toImplArray<Vector<T>>(value, 0, isolate, exceptionState);
969 } 969 }
970 }; 970 };
971 971
972 CORE_EXPORT v8::Isolate* toIsolate(ExecutionContext*); 972 CORE_EXPORT v8::Isolate* toIsolate(ExecutionContext*);
973 CORE_EXPORT v8::Isolate* toIsolate(LocalFrame*); 973 CORE_EXPORT v8::Isolate* toIsolate(LocalFrame*);
974 974
975 DOMWindow* toDOMWindow(v8::Isolate*, v8::Local<v8::Value>); 975 CORE_EXPORT DOMWindow* toDOMWindow(v8::Isolate*, v8::Local<v8::Value>);
976 DOMWindow* toDOMWindow(v8::Local<v8::Context>); 976 DOMWindow* toDOMWindow(v8::Local<v8::Context>);
977 LocalDOMWindow* enteredDOMWindow(v8::Isolate*); 977 LocalDOMWindow* enteredDOMWindow(v8::Isolate*);
978 CORE_EXPORT LocalDOMWindow* currentDOMWindow(v8::Isolate*); 978 CORE_EXPORT LocalDOMWindow* currentDOMWindow(v8::Isolate*);
979 CORE_EXPORT ExecutionContext* toExecutionContext(v8::Local<v8::Context>); 979 CORE_EXPORT ExecutionContext* toExecutionContext(v8::Local<v8::Context>);
980 CORE_EXPORT void registerToExecutionContextForModules( 980 CORE_EXPORT void registerToExecutionContextForModules(
981 ExecutionContext* (*toExecutionContextForModules)(v8::Local<v8::Context>)); 981 ExecutionContext* (*toExecutionContextForModules)(v8::Local<v8::Context>));
982 CORE_EXPORT ExecutionContext* currentExecutionContext(v8::Isolate*); 982 CORE_EXPORT ExecutionContext* currentExecutionContext(v8::Isolate*);
983 CORE_EXPORT ExecutionContext* enteredExecutionContext(v8::Isolate*); 983 CORE_EXPORT ExecutionContext* enteredExecutionContext(v8::Isolate*);
984 984
985 // Returns a V8 context associated with a ExecutionContext and a 985 // Returns a V8 context associated with a ExecutionContext and a
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 // If the argument isn't an object, this will crash. 1165 // If the argument isn't an object, this will crash.
1166 CORE_EXPORT v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value>, 1166 CORE_EXPORT v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value>,
1167 v8::Isolate*); 1167 v8::Isolate*);
1168 1168
1169 CORE_EXPORT v8::Local<v8::Value> fromJSONString(v8::Isolate*, 1169 CORE_EXPORT v8::Local<v8::Value> fromJSONString(v8::Isolate*,
1170 const String& stringifiedJSON, 1170 const String& stringifiedJSON,
1171 ExceptionState&); 1171 ExceptionState&);
1172 } // namespace blink 1172 } // namespace blink
1173 1173
1174 #endif // V8Binding_h 1174 #endif // V8Binding_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698