OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "extensions/renderer/runtime_custom_bindings.h" | 5 #include "extensions/renderer/runtime_custom_bindings.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
9 #include "base/values.h" | 11 #include "base/values.h" |
10 #include "content/public/child/v8_value_converter.h" | 12 #include "content/public/child/v8_value_converter.h" |
11 #include "content/public/renderer/render_frame.h" | 13 #include "content/public/renderer/render_frame.h" |
12 #include "extensions/common/extension.h" | 14 #include "extensions/common/extension.h" |
13 #include "extensions/common/extension_messages.h" | 15 #include "extensions/common/extension_messages.h" |
14 #include "extensions/common/features/feature.h" | 16 #include "extensions/common/features/feature.h" |
15 #include "extensions/common/features/feature_provider.h" | 17 #include "extensions/common/features/feature_provider.h" |
16 #include "extensions/common/manifest.h" | 18 #include "extensions/common/manifest.h" |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 v8::Local<v8::Value> window = context->Global(); | 172 v8::Local<v8::Value> window = context->Global(); |
171 DCHECK(!window.IsEmpty()); | 173 DCHECK(!window.IsEmpty()); |
172 v8_views->Set(v8::Integer::New(args.GetIsolate(), v8_index++), window); | 174 v8_views->Set(v8::Integer::New(args.GetIsolate(), v8_index++), window); |
173 } | 175 } |
174 } | 176 } |
175 | 177 |
176 args.GetReturnValue().Set(v8_views); | 178 args.GetReturnValue().Set(v8_views); |
177 } | 179 } |
178 | 180 |
179 } // namespace extensions | 181 } // namespace extensions |
OLD | NEW |