| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |