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

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: Replacing set[Debug/Monitor]Breakpoint() by setBreakpoint(..., source,...). 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void clearInspectedObjects(); 99 void clearInspectedObjects();
100 InspectableObject* inspectedObject(unsigned int num); 100 InspectableObject* inspectedObject(unsigned int num);
101 101
102 void inspectImpl(PassRefPtr<InspectorValue> objectToInspect, PassRefPtr<Insp ectorValue> hints); 102 void inspectImpl(PassRefPtr<InspectorValue> objectToInspect, PassRefPtr<Insp ectorValue> hints);
103 void getEventListenersImpl(Node*, Vector<EventListenerInfo>& listenersArray) ; 103 void getEventListenersImpl(Node*, Vector<EventListenerInfo>& listenersArray) ;
104 104
105 void clearConsoleMessages(); 105 void clearConsoleMessages();
106 void copyText(const String& text); 106 void copyText(const String& text);
107 String databaseIdImpl(Database*); 107 String databaseIdImpl(Database*);
108 String storageIdImpl(Storage*); 108 String storageIdImpl(Storage*);
109 void setBreakpoint(const String& scriptId, int lineNumber, int columnNumber) ; 109 void setBreakpoint(const String& scriptId, int lineNumber, int columnNumber, const String& origin, const String& condition);
110 void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumb er); 110 void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumb er, const String& origin);
111 111
112 ScriptDebugServer& scriptDebugServer(); 112 ScriptDebugServer& scriptDebugServer();
113 113
114 private: 114 private:
115 InjectedScriptHost(); 115 InjectedScriptHost();
116 116
117 InspectorAgent* m_inspectorAgent; 117 InspectorAgent* m_inspectorAgent;
118 InspectorConsoleAgent* m_consoleAgent; 118 InspectorConsoleAgent* m_consoleAgent;
119 InspectorDatabaseAgent* m_databaseAgent; 119 InspectorDatabaseAgent* m_databaseAgent;
120 InspectorDOMStorageAgent* m_domStorageAgent; 120 InspectorDOMStorageAgent* m_domStorageAgent;
121 InspectorDOMAgent* m_domAgent; 121 InspectorDOMAgent* m_domAgent;
122 InspectorDebuggerAgent* m_debuggerAgent; 122 InspectorDebuggerAgent* m_debuggerAgent;
123 Vector<OwnPtr<InspectableObject> > m_inspectedObjects; 123 Vector<OwnPtr<InspectableObject> > m_inspectedObjects;
124 OwnPtr<InspectableObject> m_defaultInspectableObject; 124 OwnPtr<InspectableObject> m_defaultInspectableObject;
125 }; 125 };
126 126
127 } // namespace WebCore 127 } // namespace WebCore
128 128
129 #endif // !defined(InjectedScriptHost_h) 129 #endif // !defined(InjectedScriptHost_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698