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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 WTF_MAKE_NONCOPYABLE(InspectorRuntimeAgent); | 51 WTF_MAKE_NONCOPYABLE(InspectorRuntimeAgent); |
52 public: | 52 public: |
53 class Client { | 53 class Client { |
54 public: | 54 public: |
55 virtual ~Client() { } | 55 virtual ~Client() { } |
56 | 56 |
57 virtual void resumeStartup() { } | 57 virtual void resumeStartup() { } |
58 virtual bool isRunRequired() { return false; } | 58 virtual bool isRunRequired() { return false; } |
59 }; | 59 }; |
60 | 60 |
61 virtual ~InspectorRuntimeAgent(); | 61 ~InspectorRuntimeAgent() override; |
62 DECLARE_VIRTUAL_TRACE(); | 62 DECLARE_VIRTUAL_TRACE(); |
63 | 63 |
64 // Part of the protocol. | 64 // Part of the protocol. |
65 void enable(ErrorString*) override; | 65 void enable(ErrorString*) override; |
66 void disable(ErrorString*) override; | 66 void disable(ErrorString*) override; |
67 void restore() override; | 67 void restore() override; |
68 | 68 |
69 void evaluate(ErrorString*, | 69 void evaluate(ErrorString*, |
70 const String& expression, | 70 const String& expression, |
71 const String* objectGroup, | 71 const String* objectGroup, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 class InjectedScriptCallScope; | 109 class InjectedScriptCallScope; |
110 | 110 |
111 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; | 111 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; |
112 V8Debugger* m_debugger; | 112 V8Debugger* m_debugger; |
113 Client* m_client; | 113 Client* m_client; |
114 }; | 114 }; |
115 | 115 |
116 } // namespace blink | 116 } // namespace blink |
117 | 117 |
118 #endif // InspectorRuntimeAgent_h | 118 #endif // InspectorRuntimeAgent_h |
OLD | NEW |