OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/renderer/extensions/event_bindings.h" | 5 #include "chrome/renderer/extensions/event_bindings.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "chrome/renderer/extensions/dispatcher.h" | 23 #include "chrome/renderer/extensions/dispatcher.h" |
24 #include "chrome/renderer/extensions/event_bindings.h" | 24 #include "chrome/renderer/extensions/event_bindings.h" |
25 #include "chrome/renderer/extensions/extension_helper.h" | 25 #include "chrome/renderer/extensions/extension_helper.h" |
26 #include "chrome/renderer/extensions/user_script_slave.h" | 26 #include "chrome/renderer/extensions/user_script_slave.h" |
27 #include "content/public/renderer/render_thread.h" | 27 #include "content/public/renderer/render_thread.h" |
28 #include "content/public/renderer/v8_value_converter.h" | 28 #include "content/public/renderer/v8_value_converter.h" |
29 #include "extensions/common/event_filter.h" | 29 #include "extensions/common/event_filter.h" |
30 #include "extensions/common/view_type.h" | 30 #include "extensions/common/view_type.h" |
31 #include "googleurl/src/gurl.h" | 31 #include "googleurl/src/gurl.h" |
32 #include "grit/renderer_resources.h" | 32 #include "grit/renderer_resources.h" |
33 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" | 33 #include "third_party/WebKit/public/platform/WebURL.h" |
34 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" | 34 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
38 #include "v8/include/v8.h" | 38 #include "v8/include/v8.h" |
39 | 39 |
40 using WebKit::WebFrame; | 40 using WebKit::WebFrame; |
41 using WebKit::WebURL; | 41 using WebKit::WebURL; |
42 using content::RenderThread; | 42 using content::RenderThread; |
43 | 43 |
44 namespace extensions { | 44 namespace extensions { |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 | 329 |
330 } // namespace | 330 } // namespace |
331 | 331 |
332 // static | 332 // static |
333 ChromeV8Extension* EventBindings::Create(Dispatcher* dispatcher, | 333 ChromeV8Extension* EventBindings::Create(Dispatcher* dispatcher, |
334 v8::Handle<v8::Context> context) { | 334 v8::Handle<v8::Context> context) { |
335 return new ExtensionImpl(dispatcher, context); | 335 return new ExtensionImpl(dispatcher, context); |
336 } | 336 } |
337 | 337 |
338 } // namespace extensions | 338 } // namespace extensions |
OLD | NEW |