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

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: Fixing windows build. 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 setDebugBreakpoint(const String& scriptId, int lineNumber, int columnNu mber);
110 void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumb er); 110 void removeDebugBreakpoint(const String& scriptId, int lineNumber, int colum nNumber);
111 void setMonitorBreakpoint(const String& scriptId, int lineNumber, int column Number, const String& monitorCode);
112 void removeMonitorBreakpoint(const String& scriptId, int lineNumber, int col umnNumber);
111 113
112 ScriptDebugServer& scriptDebugServer(); 114 ScriptDebugServer& scriptDebugServer();
113 115
114 private: 116 private:
115 InjectedScriptHost(); 117 InjectedScriptHost();
116 118
117 InspectorAgent* m_inspectorAgent; 119 InspectorAgent* m_inspectorAgent;
118 InspectorConsoleAgent* m_consoleAgent; 120 InspectorConsoleAgent* m_consoleAgent;
119 InspectorDatabaseAgent* m_databaseAgent; 121 InspectorDatabaseAgent* m_databaseAgent;
120 InspectorDOMStorageAgent* m_domStorageAgent; 122 InspectorDOMStorageAgent* m_domStorageAgent;
121 InspectorDOMAgent* m_domAgent; 123 InspectorDOMAgent* m_domAgent;
122 InspectorDebuggerAgent* m_debuggerAgent; 124 InspectorDebuggerAgent* m_debuggerAgent;
123 Vector<OwnPtr<InspectableObject> > m_inspectedObjects; 125 Vector<OwnPtr<InspectableObject> > m_inspectedObjects;
124 OwnPtr<InspectableObject> m_defaultInspectableObject; 126 OwnPtr<InspectableObject> m_defaultInspectableObject;
125 }; 127 };
126 128
127 } // namespace WebCore 129 } // namespace WebCore
128 130
129 #endif // !defined(InjectedScriptHost_h) 131 #endif // !defined(InjectedScriptHost_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698