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_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_H_ |
6 #define CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 private: | 57 private: |
58 void OnAddNamedObject(const std::string& name, | 58 void OnAddNamedObject(const std::string& name, |
59 ObjectID object_id); | 59 ObjectID object_id); |
60 void OnRemoveNamedObject(const std::string& name); | 60 void OnRemoveNamedObject(const std::string& name); |
61 void OnSetAllowObjectContentsInspection(bool allow); | 61 void OnSetAllowObjectContentsInspection(bool allow); |
62 | 62 |
63 typedef std::map<std::string, ObjectID> NamedObjectMap; | 63 typedef std::map<std::string, ObjectID> NamedObjectMap; |
64 NamedObjectMap named_objects_; | 64 NamedObjectMap named_objects_; |
65 ObjectMap objects_; | 65 ObjectMap objects_; |
| 66 bool inside_did_clear_window_object_; |
66 | 67 |
67 DISALLOW_COPY_AND_ASSIGN(GinJavaBridgeDispatcher); | 68 DISALLOW_COPY_AND_ASSIGN(GinJavaBridgeDispatcher); |
68 }; | 69 }; |
69 | 70 |
70 } // namespace content | 71 } // namespace content |
71 | 72 |
72 #endif // CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_H_ | 73 #endif // CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_H_ |
OLD | NEW |