OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 void setInjectedScriptForOrigin(const String& origin, const String& source); | 80 void setInjectedScriptForOrigin(const String& origin, const String& source); |
81 | 81 |
82 void inspect(PassRefPtr<TypeBuilder::Runtime::RemoteObject> objectToInspect,
PassRefPtr<JSONObject> hints); | 82 void inspect(PassRefPtr<TypeBuilder::Runtime::RemoteObject> objectToInspect,
PassRefPtr<JSONObject> hints); |
83 | 83 |
84 private: | 84 private: |
85 InspectorInspectorAgent(Page*, InjectedScriptManager*); | 85 InspectorInspectorAgent(Page*, InjectedScriptManager*); |
86 | 86 |
87 RawPtrWillBeMember<Page> m_inspectedPage; | 87 RawPtrWillBeMember<Page> m_inspectedPage; |
88 InspectorFrontend* m_frontend; | 88 InspectorFrontend* m_frontend; |
89 // FIXME: Oilpan: Move InjectedScriptManager to heap in follow-up CL. | 89 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; |
90 InjectedScriptManager* m_injectedScriptManager; | |
91 | 90 |
92 Vector<pair<long, String> > m_pendingEvaluateTestCommands; | 91 Vector<pair<long, String> > m_pendingEvaluateTestCommands; |
93 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<JSONObject> > m_pend
ingInspectData; | 92 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<JSONObject> > m_pend
ingInspectData; |
94 typedef HashMap<String, String> InjectedScriptForOriginMap; | 93 typedef HashMap<String, String> InjectedScriptForOriginMap; |
95 InjectedScriptForOriginMap m_injectedScriptForOrigin; | 94 InjectedScriptForOriginMap m_injectedScriptForOrigin; |
96 }; | 95 }; |
97 | 96 |
98 } // namespace WebCore | 97 } // namespace WebCore |
99 | 98 |
100 #endif // !defined(InspectorInspectorAgent_h) | 99 #endif // !defined(InspectorInspectorAgent_h) |
OLD | NEW |