OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
10 #include "base/string16.h" | 9 #include "base/string16.h" |
11 #include "content/public/browser/render_view_host_observer.h" | 10 #include "content/public/browser/render_view_host_observer.h" |
12 | 11 |
13 class NPChannelBase; | 12 class NPChannelBase; |
14 class RouteIDGenerator; | 13 class RouteIDGenerator; |
15 struct NPObject; | 14 struct NPObject; |
16 struct NPVariant_Param; | 15 struct NPVariant_Param; |
17 | 16 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 void CreateNPVariantParam(NPObject* object, NPVariant_Param* param); | 61 void CreateNPVariantParam(NPObject* object, NPVariant_Param* param); |
63 void CreateObjectStub(NPObject* object, int route_id); | 62 void CreateObjectStub(NPObject* object, int route_id); |
64 | 63 |
65 scoped_refptr<NPChannelBase> channel_; | 64 scoped_refptr<NPChannelBase> channel_; |
66 bool is_renderer_initialized_; | 65 bool is_renderer_initialized_; |
67 | 66 |
68 DISALLOW_COPY_AND_ASSIGN(JavaBridgeDispatcherHost); | 67 DISALLOW_COPY_AND_ASSIGN(JavaBridgeDispatcherHost); |
69 }; | 68 }; |
70 | 69 |
71 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 70 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
OLD | NEW |