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

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

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, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
4 * Copyright (C) 2010 Google Inc. All rights reserved. 4 * Copyright (C) 2010 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 if (m_domStorageAgent) 150 if (m_domStorageAgent)
151 return m_domStorageAgent->storageId(storage); 151 return m_domStorageAgent->storageId(storage);
152 return String(); 152 return String();
153 } 153 }
154 154
155 ScriptDebugServer& InjectedScriptHost::scriptDebugServer() 155 ScriptDebugServer& InjectedScriptHost::scriptDebugServer()
156 { 156 {
157 return m_debuggerAgent->scriptDebugServer(); 157 return m_debuggerAgent->scriptDebugServer();
158 } 158 }
159 159
160 void InjectedScriptHost::setBreakpoint(const String& scriptId, int lineNumber, i nt columnNumber)
161 {
162 m_debuggerAgent->setBreakpointInFrontend(scriptId, lineNumber, columnNumber) ;
163 }
160 164
161 } // namespace WebCore 165 } // namespace WebCore
162 166
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698