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

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: Added test. 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 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void clearInspectedObjects(); 93 void clearInspectedObjects();
94 InspectableObject* inspectedObject(unsigned int num); 94 InspectableObject* inspectedObject(unsigned int num);
95 95
96 void inspectImpl(PassRefPtr<InspectorValue> objectToInspect, PassRefPtr<Insp ectorValue> hints); 96 void inspectImpl(PassRefPtr<InspectorValue> objectToInspect, PassRefPtr<Insp ectorValue> hints);
97 void getEventListenersImpl(Node*, Vector<EventListenerInfo>& listenersArray) ; 97 void getEventListenersImpl(Node*, Vector<EventListenerInfo>& listenersArray) ;
98 98
99 void clearConsoleMessages(); 99 void clearConsoleMessages();
100 void copyText(const String& text); 100 void copyText(const String& text);
101 String databaseIdImpl(Database*); 101 String databaseIdImpl(Database*);
102 String storageIdImpl(Storage*); 102 String storageIdImpl(Storage*);
103 void setBreakpoint(const String& scriptId, int lineNumber, int columnNumber) ;
103 104
104 ScriptDebugServer& scriptDebugServer(); 105 ScriptDebugServer& scriptDebugServer();
105 106
106 private: 107 private:
107 InjectedScriptHost(); 108 InjectedScriptHost();
108 109
109 InspectorAgent* m_inspectorAgent; 110 InspectorAgent* m_inspectorAgent;
110 InspectorConsoleAgent* m_consoleAgent; 111 InspectorConsoleAgent* m_consoleAgent;
111 InspectorDatabaseAgent* m_databaseAgent; 112 InspectorDatabaseAgent* m_databaseAgent;
112 InspectorDOMStorageAgent* m_domStorageAgent; 113 InspectorDOMStorageAgent* m_domStorageAgent;
113 InspectorDOMAgent* m_domAgent; 114 InspectorDOMAgent* m_domAgent;
114 InspectorDebuggerAgent* m_debuggerAgent; 115 InspectorDebuggerAgent* m_debuggerAgent;
115 Vector<OwnPtr<InspectableObject> > m_inspectedObjects; 116 Vector<OwnPtr<InspectableObject> > m_inspectedObjects;
116 OwnPtr<InspectableObject> m_defaultInspectableObject; 117 OwnPtr<InspectableObject> m_defaultInspectableObject;
117 }; 118 };
118 119
119 } // namespace WebCore 120 } // namespace WebCore
120 121
121 #endif // !defined(InjectedScriptHost_h) 122 #endif // !defined(InjectedScriptHost_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698