| 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 20 matching lines...) Expand all Loading... |
| 31 #define InspectorInspectorAgent_h | 31 #define InspectorInspectorAgent_h |
| 32 | 32 |
| 33 #include "core/InspectorFrontend.h" | 33 #include "core/InspectorFrontend.h" |
| 34 #include "core/inspector/InspectorBaseAgent.h" | 34 #include "core/inspector/InspectorBaseAgent.h" |
| 35 #include "wtf/HashMap.h" | 35 #include "wtf/HashMap.h" |
| 36 #include "wtf/PassOwnPtr.h" | 36 #include "wtf/PassOwnPtr.h" |
| 37 #include "wtf/Vector.h" | 37 #include "wtf/Vector.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class DOMWrapperWorld; | |
| 42 class DocumentLoader; | |
| 43 class LocalFrame; | 41 class LocalFrame; |
| 44 class InjectedScriptManager; | 42 class InjectedScriptManager; |
| 45 class InstrumentingAgents; | |
| 46 class JSONObject; | 43 class JSONObject; |
| 47 class Page; | 44 class Page; |
| 48 | 45 |
| 49 typedef String ErrorString; | 46 typedef String ErrorString; |
| 50 | 47 |
| 51 class InspectorInspectorAgent final : public InspectorBaseAgent<InspectorInspect
orAgent>, public InspectorBackendDispatcher::InspectorCommandHandler { | 48 class InspectorInspectorAgent final : public InspectorBaseAgent<InspectorInspect
orAgent>, public InspectorBackendDispatcher::InspectorCommandHandler { |
| 52 WTF_MAKE_NONCOPYABLE(InspectorInspectorAgent); | 49 WTF_MAKE_NONCOPYABLE(InspectorInspectorAgent); |
| 53 public: | 50 public: |
| 54 static PassOwnPtrWillBeRawPtr<InspectorInspectorAgent> create(Page* page, In
jectedScriptManager* injectedScriptManager) | 51 static PassOwnPtrWillBeRawPtr<InspectorInspectorAgent> create(Page* page, In
jectedScriptManager* injectedScriptManager) |
| 55 { | 52 { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 87 |
| 91 Vector<pair<long, String> > m_pendingEvaluateTestCommands; | 88 Vector<pair<long, String> > m_pendingEvaluateTestCommands; |
| 92 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<JSONObject> > m_pend
ingInspectData; | 89 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<JSONObject> > m_pend
ingInspectData; |
| 93 typedef HashMap<String, String> InjectedScriptForOriginMap; | 90 typedef HashMap<String, String> InjectedScriptForOriginMap; |
| 94 InjectedScriptForOriginMap m_injectedScriptForOrigin; | 91 InjectedScriptForOriginMap m_injectedScriptForOrigin; |
| 95 }; | 92 }; |
| 96 | 93 |
| 97 } // namespace blink | 94 } // namespace blink |
| 98 | 95 |
| 99 #endif // !defined(InspectorInspectorAgent_h) | 96 #endif // !defined(InspectorInspectorAgent_h) |
| OLD | NEW |