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

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

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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
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 <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
11 11
12 #include "base/id_map.h" 12 #include "base/id_map.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "content/common/android/gin_java_bridge_errors.h" 16 #include "content/common/android/gin_java_bridge_errors.h"
17 #include "content/public/renderer/render_frame_observer.h" 17 #include "content/public/renderer/render_frame_observer.h"
18 18
19 namespace blink {
20 class WebFrame;
21 }
22
23 namespace content { 19 namespace content {
24 20
25 class GinJavaBridgeObject; 21 class GinJavaBridgeObject;
26 22
27 // This class handles injecting Java objects into the main frame of a 23 // This class handles injecting Java objects into the main frame of a
28 // RenderView. The 'add' and 'remove' messages received from the browser 24 // RenderView. The 'add' and 'remove' messages received from the browser
29 // process modify the entries in a map of 'pending' objects. These objects are 25 // process modify the entries in a map of 'pending' objects. These objects are
30 // bound to the window object of the main frame when that window object is next 26 // bound to the window object of the main frame when that window object is next
31 // cleared. These objects remain bound until the window object is cleared 27 // cleared. These objects remain bound until the window object is cleared
32 // again. 28 // again.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 NamedObjectMap named_objects_; 67 NamedObjectMap named_objects_;
72 ObjectMap objects_; 68 ObjectMap objects_;
73 bool inside_did_clear_window_object_; 69 bool inside_did_clear_window_object_;
74 70
75 DISALLOW_COPY_AND_ASSIGN(GinJavaBridgeDispatcher); 71 DISALLOW_COPY_AND_ASSIGN(GinJavaBridgeDispatcher);
76 }; 72 };
77 73
78 } // namespace content 74 } // namespace content
79 75
80 #endif // CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_H_ 76 #endif // CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/renderer/input/render_widget_input_handler_delegate.h ('k') | content/renderer/layout_test_dependencies.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698