| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 void setInjectedScriptForOrigin(const String& origin, const String& source); | 88 void setInjectedScriptForOrigin(const String& origin, const String& source); |
| 89 | 89 |
| 90 void inspect(PassRefPtr<TypeBuilder::Runtime::RemoteObject> objectToInspect,
PassRefPtr<InspectorObject> hints); | 90 void inspect(PassRefPtr<TypeBuilder::Runtime::RemoteObject> objectToInspect,
PassRefPtr<InspectorObject> hints); |
| 91 | 91 |
| 92 private: | 92 private: |
| 93 InspectorAgent(Page*, InjectedScriptManager*, InstrumentingAgents*, Inspecto
rCompositeState*); | 93 InspectorAgent(Page*, InjectedScriptManager*, InstrumentingAgents*, Inspecto
rCompositeState*); |
| 94 | 94 |
| 95 void unbindAllResources(); | 95 void unbindAllResources(); |
| 96 | 96 |
| 97 #if ENABLE(JAVASCRIPT_DEBUGGER) | |
| 98 void toggleRecordButton(bool); | 97 void toggleRecordButton(bool); |
| 99 #endif | |
| 100 | 98 |
| 101 bool isMainResourceLoader(DocumentLoader*, const KURL& requestUrl); | 99 bool isMainResourceLoader(DocumentLoader*, const KURL& requestUrl); |
| 102 | 100 |
| 103 Page* m_inspectedPage; | 101 Page* m_inspectedPage; |
| 104 InspectorFrontend* m_frontend; | 102 InspectorFrontend* m_frontend; |
| 105 InjectedScriptManager* m_injectedScriptManager; | 103 InjectedScriptManager* m_injectedScriptManager; |
| 106 | 104 |
| 107 Vector<pair<long, String> > m_pendingEvaluateTestCommands; | 105 Vector<pair<long, String> > m_pendingEvaluateTestCommands; |
| 108 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<InspectorObject> > m
_pendingInspectData; | 106 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<InspectorObject> > m
_pendingInspectData; |
| 109 typedef HashMap<String, String> InjectedScriptForOriginMap; | 107 typedef HashMap<String, String> InjectedScriptForOriginMap; |
| 110 InjectedScriptForOriginMap m_injectedScriptForOrigin; | 108 InjectedScriptForOriginMap m_injectedScriptForOrigin; |
| 111 }; | 109 }; |
| 112 | 110 |
| 113 } // namespace WebCore | 111 } // namespace WebCore |
| 114 | 112 |
| 115 #endif // !defined(InspectorAgent_h) | 113 #endif // !defined(InspectorAgent_h) |
| OLD | NEW |