OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_RENDERER_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
11 | 11 |
12 class JavaBridgeChannelHost; | 12 class JavaBridgeChannelHost; |
13 class RenderViewHost; | 13 class RenderViewHost; |
14 struct NPObject; | 14 struct NPObject; |
15 | 15 |
16 // This class handles injecting Java objects into a single RenderView. The Java | 16 // This class handles injecting Java objects into a single RenderView. The Java |
(...skipping 24 matching lines...) Expand all Loading... |
41 | 41 |
42 void DoAddNamedObject(const string16& name, NPObject* object); | 42 void DoAddNamedObject(const string16& name, NPObject* object); |
43 void EnsureChannelIsSetUp(); | 43 void EnsureChannelIsSetUp(); |
44 | 44 |
45 RenderViewHost* render_view_host_; | 45 RenderViewHost* render_view_host_; |
46 scoped_refptr<JavaBridgeChannelHost> channel_; | 46 scoped_refptr<JavaBridgeChannelHost> channel_; |
47 | 47 |
48 DISALLOW_COPY_AND_ASSIGN(JavaBridgeDispatcherHost); | 48 DISALLOW_COPY_AND_ASSIGN(JavaBridgeDispatcherHost); |
49 }; | 49 }; |
50 | 50 |
51 #endif // CONTENT_BROWSER_RENDERER_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 51 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
OLD | NEW |