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

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

Issue 14294004: Implementing console command 'debug'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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) ;
110 void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumb er);
109 111
110 ScriptDebugServer& scriptDebugServer(); 112 ScriptDebugServer& scriptDebugServer();
111 113
112 private: 114 private:
113 InjectedScriptHost(); 115 InjectedScriptHost();
114 116
115 InspectorAgent* m_inspectorAgent; 117 InspectorAgent* m_inspectorAgent;
116 InspectorConsoleAgent* m_consoleAgent; 118 InspectorConsoleAgent* m_consoleAgent;
117 InspectorDatabaseAgent* m_databaseAgent; 119 InspectorDatabaseAgent* m_databaseAgent;
118 InspectorDOMStorageAgent* m_domStorageAgent; 120 InspectorDOMStorageAgent* m_domStorageAgent;
119 InspectorDOMAgent* m_domAgent; 121 InspectorDOMAgent* m_domAgent;
120 InspectorDebuggerAgent* m_debuggerAgent; 122 InspectorDebuggerAgent* m_debuggerAgent;
121 Vector<OwnPtr<InspectableObject> > m_inspectedObjects; 123 Vector<OwnPtr<InspectableObject> > m_inspectedObjects;
122 OwnPtr<InspectableObject> m_defaultInspectableObject; 124 OwnPtr<InspectableObject> m_defaultInspectableObject;
123 }; 125 };
124 126
125 } // namespace WebCore 127 } // namespace WebCore
126 128
127 #endif // !defined(InjectedScriptHost_h) 129 #endif // !defined(InjectedScriptHost_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InjectedScriptExterns.js ('k') | Source/core/inspector/InjectedScriptHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698