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

Side by Side Diff: Source/bindings/v8/V8Binding.h

Issue 302893004: Remove V8TestingScope::create (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/bindings/v8/ScriptPromiseTest.cpp ('k') | Source/bindings/v8/V8Binding.cpp » ('j') | 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 * 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 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 { 918 {
919 m_isolate->ClearInterrupt(); 919 m_isolate->ClearInterrupt();
920 } 920 }
921 921
922 private: 922 private:
923 v8::Isolate* m_isolate; 923 v8::Isolate* m_isolate;
924 }; 924 };
925 925
926 class V8TestingScope { 926 class V8TestingScope {
927 public: 927 public:
928 static PassOwnPtr<V8TestingScope> create(v8::Isolate*);
929 explicit V8TestingScope(v8::Isolate*); 928 explicit V8TestingScope(v8::Isolate*);
930 ScriptState* scriptState() const; 929 ScriptState* scriptState() const;
931 v8::Isolate* isolate() const; 930 v8::Isolate* isolate() const;
932 ~V8TestingScope(); 931 ~V8TestingScope();
933 932
934 private: 933 private:
935 v8::HandleScope m_handleScope; 934 v8::HandleScope m_handleScope;
936 v8::Context::Scope m_contextScope; 935 v8::Context::Scope m_contextScope;
937 RefPtr<ScriptState> m_scriptState; 936 RefPtr<ScriptState> m_scriptState;
938 }; 937 };
939 938
940 void GetDevToolsFunctionInfo(v8::Handle<v8::Function>, v8::Isolate*, int& script Id, String& resourceName, int& lineNumber); 939 void GetDevToolsFunctionInfo(v8::Handle<v8::Function>, v8::Isolate*, int& script Id, String& resourceName, int& lineNumber);
941 PassRefPtr<TraceEvent::ConvertableToTraceFormat> devToolsTraceEventData(Executio nContext*, v8::Handle<v8::Function>, v8::Isolate*); 940 PassRefPtr<TraceEvent::ConvertableToTraceFormat> devToolsTraceEventData(Executio nContext*, v8::Handle<v8::Function>, v8::Isolate*);
942 941
943 942
944 } // namespace WebCore 943 } // namespace WebCore
945 944
946 #endif // V8Binding_h 945 #endif // V8Binding_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/ScriptPromiseTest.cpp ('k') | Source/bindings/v8/V8Binding.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698