OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010-2011 Google Inc. All rights reserved. | 2 * Copyright (c) 2010-2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 30 matching lines...) Expand all Loading... |
41 #include "bindings/core/v8/V8ScriptRunner.h" | 41 #include "bindings/core/v8/V8ScriptRunner.h" |
42 #include "core/DebuggerScriptSource.h" | 42 #include "core/DebuggerScriptSource.h" |
43 #include "core/inspector/JavaScriptCallFrame.h" | 43 #include "core/inspector/JavaScriptCallFrame.h" |
44 #include "core/inspector/ScriptDebugListener.h" | 44 #include "core/inspector/ScriptDebugListener.h" |
45 #include "platform/JSONValues.h" | 45 #include "platform/JSONValues.h" |
46 #include "wtf/StdLibExtras.h" | 46 #include "wtf/StdLibExtras.h" |
47 #include "wtf/Vector.h" | 47 #include "wtf/Vector.h" |
48 #include "wtf/dtoa/utils.h" | 48 #include "wtf/dtoa/utils.h" |
49 #include "wtf/text/CString.h" | 49 #include "wtf/text/CString.h" |
50 | 50 |
51 namespace WebCore { | 51 namespace blink { |
52 | 52 |
53 namespace { | 53 namespace { |
54 | 54 |
55 class ClientDataImpl : public v8::Debug::ClientData { | 55 class ClientDataImpl : public v8::Debug::ClientData { |
56 public: | 56 public: |
57 ClientDataImpl(PassOwnPtr<ScriptDebugServer::Task> task) : m_task(task) { } | 57 ClientDataImpl(PassOwnPtr<ScriptDebugServer::Task> task) : m_task(task) { } |
58 virtual ~ClientDataImpl() { } | 58 virtual ~ClientDataImpl() { } |
59 ScriptDebugServer::Task* task() const { return m_task.get(); } | 59 ScriptDebugServer::Task* task() const { return m_task.get(); } |
60 private: | 60 private: |
61 OwnPtr<ScriptDebugServer::Task> m_task; | 61 OwnPtr<ScriptDebugServer::Task> m_task; |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 PassOwnPtr<ScriptSourceCode> ScriptDebugServer::preprocess(LocalFrame*, const Sc
riptSourceCode&) | 673 PassOwnPtr<ScriptSourceCode> ScriptDebugServer::preprocess(LocalFrame*, const Sc
riptSourceCode&) |
674 { | 674 { |
675 return PassOwnPtr<ScriptSourceCode>(); | 675 return PassOwnPtr<ScriptSourceCode>(); |
676 } | 676 } |
677 | 677 |
678 String ScriptDebugServer::preprocessEventListener(LocalFrame*, const String& sou
rce, const String& url, const String& functionName) | 678 String ScriptDebugServer::preprocessEventListener(LocalFrame*, const String& sou
rce, const String& url, const String& functionName) |
679 { | 679 { |
680 return source; | 680 return source; |
681 } | 681 } |
682 | 682 |
683 } // namespace WebCore | 683 } // namespace blink |
OLD | NEW |