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 #ifndef CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_OBJECT_H_ | 5 #ifndef CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_OBJECT_H_ |
6 #define CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_OBJECT_H_ | 6 #define CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_OBJECT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "content/renderer/java/gin_java_bridge_dispatcher.h" | 12 #include "content/renderer/java/gin_java_bridge_dispatcher.h" |
12 #include "gin/handle.h" | 13 #include "gin/handle.h" |
13 #include "gin/interceptor.h" | 14 #include "gin/interceptor.h" |
14 #include "gin/object_template_builder.h" | 15 #include "gin/object_template_builder.h" |
15 #include "gin/wrappable.h" | 16 #include "gin/wrappable.h" |
16 #include "v8/include/v8-util.h" | 17 #include "v8/include/v8-util.h" |
17 | 18 |
18 namespace blink { | 19 namespace blink { |
19 class WebFrame; | 20 class WebFrame; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 int frame_routing_id_; | 62 int frame_routing_id_; |
62 std::map<std::string, bool> known_methods_; | 63 std::map<std::string, bool> known_methods_; |
63 v8::StdGlobalValueMap<std::string, v8::FunctionTemplate> template_cache_; | 64 v8::StdGlobalValueMap<std::string, v8::FunctionTemplate> template_cache_; |
64 | 65 |
65 DISALLOW_COPY_AND_ASSIGN(GinJavaBridgeObject); | 66 DISALLOW_COPY_AND_ASSIGN(GinJavaBridgeObject); |
66 }; | 67 }; |
67 | 68 |
68 } // namespace content | 69 } // namespace content |
69 | 70 |
70 #endif // CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_OBJECT_H_ | 71 #endif // CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_OBJECT_H_ |
OLD | NEW |