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 |
11 #include "Document.h" | 11 #include "Document.h" |
12 #include "Frame.h" | 12 #include "Frame.h" |
13 #include "Page.h" | 13 #include "Page.h" |
14 #include "V8Binding.h" | 14 #include "V8Binding.h" |
15 #include "V8DOMWindow.h" | 15 #include "V8DOMWindow.h" |
16 #include "V8Index.h" | 16 #include "V8Index.h" |
17 #include "V8Proxy.h" | 17 #include "V8Proxy.h" |
18 #undef LOG | 18 #undef LOG |
19 | 19 |
20 #include "grit/webkit_resources.h" | 20 #include "grit/webkit_resources.h" |
21 #include "webkit/api/src/WebViewImpl.h" | 21 #include "third_party/WebKit/WebKit/chromium/src/WebViewImpl.h" |
22 #include "webkit/glue/devtools/debugger_agent_impl.h" | 22 #include "webkit/glue/devtools/debugger_agent_impl.h" |
23 #include "webkit/glue/devtools/debugger_agent_manager.h" | 23 #include "webkit/glue/devtools/debugger_agent_manager.h" |
24 #include "webkit/glue/glue_util.h" | 24 #include "webkit/glue/glue_util.h" |
25 #include "webkit/glue/webdevtoolsagent_impl.h" | 25 #include "webkit/glue/webdevtoolsagent_impl.h" |
26 #include "webkit/glue/webkit_glue.h" | 26 #include "webkit/glue/webkit_glue.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; |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 ASSERT(function->IsFunction()); | 203 ASSERT(function->IsFunction()); |
204 v8::Handle<v8::Value> args[] = { | 204 v8::Handle<v8::Value> args[] = { |
205 v8::Local<v8::Value>() | 205 v8::Local<v8::Value>() |
206 }; | 206 }; |
207 v8::Handle<v8::Function>::Cast(function)->Call(context->Global(), 0, args); | 207 v8::Handle<v8::Function>::Cast(function)->Call(context->Global(), 0, args); |
208 } | 208 } |
209 | 209 |
210 WebCore::Page* DebuggerAgentImpl::GetPage() { | 210 WebCore::Page* DebuggerAgentImpl::GetPage() { |
211 return web_view_impl_->page(); | 211 return web_view_impl_->page(); |
212 } | 212 } |
OLD | NEW |