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/external_extension.h" | 5 #include "chrome/renderer/external_extension.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 9 #include "base/macros.h" |
7 #include "chrome/common/render_messages.h" | 10 #include "chrome/common/render_messages.h" |
8 #include "chrome/common/search_provider.h" | 11 #include "chrome/common/search_provider.h" |
9 #include "content/public/renderer/render_view.h" | 12 #include "content/public/renderer/render_view.h" |
10 #include "third_party/WebKit/public/web/WebDocument.h" | 13 #include "third_party/WebKit/public/web/WebDocument.h" |
11 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 14 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
12 #include "third_party/WebKit/public/web/WebView.h" | 15 #include "third_party/WebKit/public/web/WebView.h" |
13 #include "v8/include/v8.h" | 16 #include "v8/include/v8.h" |
14 | 17 |
15 using blink::WebLocalFrame; | 18 using blink::WebLocalFrame; |
16 using blink::WebView; | 19 using blink::WebView; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 return; | 161 return; |
159 } | 162 } |
160 args.GetReturnValue().Set(static_cast<int32_t>(install)); | 163 args.GetReturnValue().Set(static_cast<int32_t>(install)); |
161 } | 164 } |
162 | 165 |
163 v8::Extension* ExternalExtension::Get() { | 166 v8::Extension* ExternalExtension::Get() { |
164 return new ExternalExtensionWrapper(); | 167 return new ExternalExtensionWrapper(); |
165 } | 168 } |
166 | 169 |
167 } // namespace extensions_v8 | 170 } // namespace extensions_v8 |
OLD | NEW |