Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: content/renderer/java/gin_java_bridge_dispatcher.h

Issue 323403007: [Android] Java Bridge with Gin: implement Java bound object (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/content_browser.gypi ('k') | content/renderer/java/gin_java_bridge_dispatcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/content_browser.gypi ('k') | content/renderer/java/gin_java_bridge_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698