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

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

Issue 325143002: Oilpan: Prepare moving inspector script related classes to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 Google Inc. All rights reserved. 2 * Copyright (c) 2011 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 static void interruptAndRun(PassOwnPtr<Task>); 57 static void interruptAndRun(PassOwnPtr<Task>);
58 58
59 class ClientMessageLoop { 59 class ClientMessageLoop {
60 public: 60 public:
61 virtual ~ClientMessageLoop() { } 61 virtual ~ClientMessageLoop() { }
62 virtual void run(Page*) = 0; 62 virtual void run(Page*) = 0;
63 virtual void quitNow() = 0; 63 virtual void quitNow() = 0;
64 }; 64 };
65 void setClientMessageLoop(PassOwnPtr<ClientMessageLoop>); 65 void setClientMessageLoop(PassOwnPtr<ClientMessageLoop>);
66 66
67 virtual void compileScript(ScriptState*, const String& expression, const Str ing& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtr<ScriptCallStack>* stackTrace) OVERRIDE; 67 virtual void compileScript(ScriptState*, const String& expression, const Str ing& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) OVERRIDE;
68 virtual void clearCompiledScripts() OVERRIDE; 68 virtual void clearCompiledScripts() OVERRIDE;
69 virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* re sult, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* colum nNumber, RefPtr<ScriptCallStack>* stackTrace) OVERRIDE; 69 virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* re sult, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* colum nNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) OVERRIDE;
70 virtual void setPreprocessorSource(const String&) OVERRIDE; 70 virtual void setPreprocessorSource(const String&) OVERRIDE;
71 virtual void preprocessBeforeCompile(const v8::Debug::EventDetails&) OVERRID E; 71 virtual void preprocessBeforeCompile(const v8::Debug::EventDetails&) OVERRID E;
72 virtual PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSou rceCode&) OVERRIDE; 72 virtual PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSou rceCode&) OVERRIDE;
73 virtual String preprocessEventListener(LocalFrame*, const String& source, co nst String& url, const String& functionName) OVERRIDE; 73 virtual String preprocessEventListener(LocalFrame*, const String& source, co nst String& url, const String& functionName) OVERRIDE;
74 74
75 virtual void muteWarningsAndDeprecations() OVERRIDE; 75 virtual void muteWarningsAndDeprecations() OVERRIDE;
76 virtual void unmuteWarningsAndDeprecations() OVERRIDE; 76 virtual void unmuteWarningsAndDeprecations() OVERRIDE;
77 77
78 private: 78 private:
79 PageScriptDebugServer(); 79 PageScriptDebugServer();
(...skipping 12 matching lines...) Expand all
92 OwnPtr<ScriptSourceCode> m_preprocessorSourceCode; 92 OwnPtr<ScriptSourceCode> m_preprocessorSourceCode;
93 OwnPtr<ScriptPreprocessor> m_scriptPreprocessor; 93 OwnPtr<ScriptPreprocessor> m_scriptPreprocessor;
94 bool canPreprocess(LocalFrame*); 94 bool canPreprocess(LocalFrame*);
95 static v8::Isolate* s_mainThreadIsolate; 95 static v8::Isolate* s_mainThreadIsolate;
96 }; 96 };
97 97
98 } // namespace WebCore 98 } // namespace WebCore
99 99
100 100
101 #endif // PageScriptDebugServer_h 101 #endif // PageScriptDebugServer_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.cpp ('k') | Source/bindings/v8/PageScriptDebugServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698