Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Side by Side Diff: Source/WebCore/inspector/InspectorAgent.h

Issue 13646003: DevTools: Remove ENABLE(INSPECTOR) and ENABLE(JAVASCRIPT_DEBUGGER) from the code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698