OLD | NEW |
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 virtual void init() OVERRIDE; | 49 virtual void init() OVERRIDE; |
50 virtual void enable(ErrorString*) OVERRIDE; | 50 virtual void enable(ErrorString*) OVERRIDE; |
51 | 51 |
52 // Protocol commands. | 52 // Protocol commands. |
53 virtual void run(ErrorString*) OVERRIDE; | 53 virtual void run(ErrorString*) OVERRIDE; |
54 | 54 |
55 void willEvaluateWorkerScript(WorkerGlobalScope*, int workerThreadStartMode)
; | 55 void willEvaluateWorkerScript(WorkerGlobalScope*, int workerThreadStartMode)
; |
56 | 56 |
57 private: | 57 private: |
58 WorkerRuntimeAgent(InjectedScriptManager*, ScriptDebugServer*, WorkerGlobalS
cope*); | 58 WorkerRuntimeAgent(InjectedScriptManager*, ScriptDebugServer*, WorkerGlobalS
cope*); |
59 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut
ionContextId) OVERRIDE; | 59 virtual InjectedScript& injectedScriptForEval(ErrorString*, const int* execu
tionContextId) OVERRIDE; |
60 virtual void muteConsole() OVERRIDE; | 60 virtual void muteConsole() OVERRIDE; |
61 virtual void unmuteConsole() OVERRIDE; | 61 virtual void unmuteConsole() OVERRIDE; |
62 WorkerGlobalScope* m_workerGlobalScope; | 62 WorkerGlobalScope* m_workerGlobalScope; |
63 bool m_paused; | 63 bool m_paused; |
64 }; | 64 }; |
65 | 65 |
66 } // namespace WebCore | 66 } // namespace WebCore |
67 | 67 |
68 #endif // !defined(InspectorPagerAgent_h) | 68 #endif // !defined(InspectorPagerAgent_h) |
OLD | NEW |