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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 WTF_MAKE_NONCOPYABLE(InspectorRuntimeAgent); | 50 WTF_MAKE_NONCOPYABLE(InspectorRuntimeAgent); |
51 public: | 51 public: |
52 static PassOwnPtr<InspectorRuntimeAgent> create(InjectedScriptHost* injected
ScriptHost) | 52 static PassOwnPtr<InspectorRuntimeAgent> create(InjectedScriptHost* injected
ScriptHost) |
53 { | 53 { |
54 return adoptPtr(new InspectorRuntimeAgent(injectedScriptHost)); | 54 return adoptPtr(new InspectorRuntimeAgent(injectedScriptHost)); |
55 } | 55 } |
56 | 56 |
57 ~InspectorRuntimeAgent(); | 57 ~InspectorRuntimeAgent(); |
58 | 58 |
59 // Part of the protocol. | 59 // Part of the protocol. |
60 void evaluate(const String& expression, const String& objectGroup, RefPtr<In
spectorValue>* result); | 60 void evaluate(const String& expression, const String& objectGroup, bool incl
udeCommandLineAPI, RefPtr<InspectorValue>* result); |
61 void getCompletions(const String& expression, bool includeInspectorCommandLi
neAPI, RefPtr<InspectorValue>* result); | 61 void getCompletions(const String& expression, bool includeCommandLineAPI, Re
fPtr<InspectorValue>* result); |
62 void getProperties(PassRefPtr<InspectorObject> objectId, bool ignoreHasOwnPr
operty, bool abbreviate, RefPtr<InspectorValue>* result); | 62 void getProperties(PassRefPtr<InspectorObject> objectId, bool ignoreHasOwnPr
operty, bool abbreviate, RefPtr<InspectorValue>* result); |
63 void setPropertyValue(PassRefPtr<InspectorObject> objectId, const String& pr
opertyName, const String& expression, RefPtr<InspectorValue>* result); | 63 void setPropertyValue(PassRefPtr<InspectorObject> objectId, const String& pr
opertyName, const String& expression, RefPtr<InspectorValue>* result); |
64 void releaseWrapperObjectGroup(long injectedScriptId, const String& objectGr
oup); | 64 void releaseWrapperObjectGroup(long injectedScriptId, const String& objectGr
oup); |
65 | 65 |
66 private: | 66 private: |
67 InspectorRuntimeAgent(InjectedScriptHost*); | 67 InspectorRuntimeAgent(InjectedScriptHost*); |
68 | 68 |
69 InjectedScriptHost* m_injectedScriptHost; | 69 InjectedScriptHost* m_injectedScriptHost; |
70 }; | 70 }; |
71 | 71 |
72 } // namespace WebCore | 72 } // namespace WebCore |
73 | 73 |
74 #endif // ENABLE(INSPECTOR) | 74 #endif // ENABLE(INSPECTOR) |
75 #endif // InspectorRuntimeAgent_h | 75 #endif // InspectorRuntimeAgent_h |
OLD | NEW |