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

Side by Side Diff: Source/core/inspector/InjectedScriptHost.h

Issue 16143005: monitor console command implemented. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed custom bindings. Created 7 years, 6 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 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 void clearInspectedObjects(); 101 void clearInspectedObjects();
102 InspectableObject* inspectedObject(unsigned int num); 102 InspectableObject* inspectedObject(unsigned int num);
103 103
104 void inspectImpl(PassRefPtr<InspectorValue> objectToInspect, PassRefPtr<Insp ectorValue> hints); 104 void inspectImpl(PassRefPtr<InspectorValue> objectToInspect, PassRefPtr<Insp ectorValue> hints);
105 void getEventListenersImpl(Node*, Vector<EventListenerInfo>& listenersArray) ; 105 void getEventListenersImpl(Node*, Vector<EventListenerInfo>& listenersArray) ;
106 106
107 void clearConsoleMessages(); 107 void clearConsoleMessages();
108 void copyText(const String& text); 108 void copyText(const String& text);
109 String databaseIdImpl(Database*); 109 String databaseIdImpl(Database*);
110 String storageIdImpl(Storage*); 110 String storageIdImpl(Storage*);
111 void setBreakpoint(const String& scriptId, int lineNumber, int columnNumber) ; 111 void setBreakpoint(const String& scriptId, int lineNumber, int columnNumber, const String& origin, const String& condition);
112 void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumb er); 112 void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumb er, const String& origin);
113 113
114 ScriptDebugServer& scriptDebugServer() { return *m_scriptDebugServer; } 114 ScriptDebugServer& scriptDebugServer() { return *m_scriptDebugServer; }
115 115
116 private: 116 private:
117 InjectedScriptHost(); 117 InjectedScriptHost();
118 118
119 InspectorAgent* m_inspectorAgent; 119 InspectorAgent* m_inspectorAgent;
120 InspectorConsoleAgent* m_consoleAgent; 120 InspectorConsoleAgent* m_consoleAgent;
121 InspectorDatabaseAgent* m_databaseAgent; 121 InspectorDatabaseAgent* m_databaseAgent;
122 InspectorDOMStorageAgent* m_domStorageAgent; 122 InspectorDOMStorageAgent* m_domStorageAgent;
123 InspectorDOMAgent* m_domAgent; 123 InspectorDOMAgent* m_domAgent;
124 InspectorDebuggerAgent* m_debuggerAgent; 124 InspectorDebuggerAgent* m_debuggerAgent;
125 ScriptDebugServer* m_scriptDebugServer; 125 ScriptDebugServer* m_scriptDebugServer;
126 Vector<OwnPtr<InspectableObject> > m_inspectedObjects; 126 Vector<OwnPtr<InspectableObject> > m_inspectedObjects;
127 OwnPtr<InspectableObject> m_defaultInspectableObject; 127 OwnPtr<InspectableObject> m_defaultInspectableObject;
128 }; 128 };
129 129
130 } // namespace WebCore 130 } // namespace WebCore
131 131
132 #endif // !defined(InjectedScriptHost_h) 132 #endif // !defined(InjectedScriptHost_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698