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 27 matching lines...) Expand all Loading... |
38 #include <wtf/Noncopyable.h> | 38 #include <wtf/Noncopyable.h> |
39 | 39 |
40 namespace WebCore { | 40 namespace WebCore { |
41 | 41 |
42 class InjectedScript; | 42 class InjectedScript; |
43 class InjectedScriptManager; | 43 class InjectedScriptManager; |
44 class InspectorFrontend; | 44 class InspectorFrontend; |
45 class InstrumentingAgents; | 45 class InstrumentingAgents; |
46 class JSONArray; | 46 class JSONArray; |
47 class ScriptDebugServer; | 47 class ScriptDebugServer; |
48 class WorkerContext; | 48 class WorkerGlobalScope; |
49 | 49 |
50 typedef String ErrorString; | 50 typedef String ErrorString; |
51 | 51 |
52 class InspectorRuntimeAgent : public InspectorBaseAgent<InspectorRuntimeAgent>,
public InspectorBackendDispatcher::RuntimeCommandHandler { | 52 class InspectorRuntimeAgent : public InspectorBaseAgent<InspectorRuntimeAgent>,
public InspectorBackendDispatcher::RuntimeCommandHandler { |
53 WTF_MAKE_NONCOPYABLE(InspectorRuntimeAgent); | 53 WTF_MAKE_NONCOPYABLE(InspectorRuntimeAgent); |
54 public: | 54 public: |
55 virtual ~InspectorRuntimeAgent(); | 55 virtual ~InspectorRuntimeAgent(); |
56 | 56 |
57 bool enabled() { return m_enabled; } | 57 bool enabled() { return m_enabled; } |
58 // Part of the protocol. | 58 // Part of the protocol. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 bool m_enabled; | 93 bool m_enabled; |
94 | 94 |
95 private: | 95 private: |
96 InjectedScriptManager* m_injectedScriptManager; | 96 InjectedScriptManager* m_injectedScriptManager; |
97 ScriptDebugServer* m_scriptDebugServer; | 97 ScriptDebugServer* m_scriptDebugServer; |
98 }; | 98 }; |
99 | 99 |
100 } // namespace WebCore | 100 } // namespace WebCore |
101 | 101 |
102 #endif // InspectorRuntimeAgent_h | 102 #endif // InspectorRuntimeAgent_h |
OLD | NEW |