| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include <wtf/HashSet.h> | 7 #include <wtf/HashSet.h> |
| 8 #include <wtf/RefPtr.h> | 8 #include <wtf/RefPtr.h> |
| 9 #include <wtf/Vector.h> | 9 #include <wtf/Vector.h> |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "webkit/glue/webview_impl.h" | 26 #include "webkit/glue/webview_impl.h" |
| 27 | 27 |
| 28 using WebCore::DOMWindow; | 28 using WebCore::DOMWindow; |
| 29 using WebCore::Document; | 29 using WebCore::Document; |
| 30 using WebCore::Frame; | 30 using WebCore::Frame; |
| 31 using WebCore::Page; | 31 using WebCore::Page; |
| 32 using WebCore::String; | 32 using WebCore::String; |
| 33 using WebCore::V8ClassIndex; | 33 using WebCore::V8ClassIndex; |
| 34 using WebCore::V8Custom; | 34 using WebCore::V8Custom; |
| 35 using WebCore::V8DOMWindow; | 35 using WebCore::V8DOMWindow; |
| 36 using WebCore::V8DOMWrapper;; | 36 using WebCore::V8DOMWrapper; |
| 37 using WebCore::V8Proxy; | 37 using WebCore::V8Proxy; |
| 38 | 38 |
| 39 DebuggerAgentImpl::DebuggerAgentImpl( | 39 DebuggerAgentImpl::DebuggerAgentImpl( |
| 40 WebViewImpl* web_view_impl, | 40 WebViewImpl* web_view_impl, |
| 41 DebuggerAgentDelegate* delegate, | 41 DebuggerAgentDelegate* delegate, |
| 42 WebDevToolsAgentImpl* webdevtools_agent) | 42 WebDevToolsAgentImpl* webdevtools_agent) |
| 43 : web_view_impl_(web_view_impl), | 43 : web_view_impl_(web_view_impl), |
| 44 delegate_(delegate), | 44 delegate_(delegate), |
| 45 webdevtools_agent_(webdevtools_agent), | 45 webdevtools_agent_(webdevtools_agent), |
| 46 profiler_log_position_(0) { | 46 profiler_log_position_(0) { |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 *exception = WebCore::toWebCoreString(try_catch.Message()->Get()); | 184 *exception = WebCore::toWebCoreString(try_catch.Message()->Get()); |
| 185 return ""; | 185 return ""; |
| 186 } else { | 186 } else { |
| 187 return WebCore::toWebCoreStringWithNullCheck(res_obj); | 187 return WebCore::toWebCoreStringWithNullCheck(res_obj); |
| 188 } | 188 } |
| 189 } | 189 } |
| 190 | 190 |
| 191 WebCore::Page* DebuggerAgentImpl::GetPage() { | 191 WebCore::Page* DebuggerAgentImpl::GetPage() { |
| 192 return web_view_impl_->page(); | 192 return web_view_impl_->page(); |
| 193 } | 193 } |
| OLD | NEW |