OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ | 5 #ifndef CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ |
6 #define CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ | 6 #define CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ |
7 | 7 |
8 #include "components/plugins/renderer/plugin_placeholder.h" | 8 #include "components/plugins/renderer/plugin_placeholder.h" |
9 | 9 |
10 struct ChromeViewHostMsg_GetPluginInfo_Status; | 10 struct ChromeViewHostMsg_GetPluginInfo_Status; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 #if defined(ENABLE_PLUGIN_INSTALLATION) | 94 #if defined(ENABLE_PLUGIN_INSTALLATION) |
95 // |routing_id()| is the routing ID of our associated RenderView, but we have | 95 // |routing_id()| is the routing ID of our associated RenderView, but we have |
96 // a separate routing ID for messages specific to this placeholder. | 96 // a separate routing ID for messages specific to this placeholder. |
97 int32 placeholder_routing_id_; | 97 int32 placeholder_routing_id_; |
98 #endif | 98 #endif |
99 | 99 |
100 bool has_host_; | 100 bool has_host_; |
101 int context_menu_request_id_; // Nonzero when request pending. | 101 int context_menu_request_id_; // Nonzero when request pending. |
102 base::string16 plugin_name_; | 102 base::string16 plugin_name_; |
103 | 103 |
| 104 // TODO(jam): remove this class, it's temporary until PluginPlaceholder is a |
| 105 // RenderFrameObserver. |
| 106 class RenderFrameObserver; |
| 107 scoped_ptr<RenderFrameObserver> frame_observer_; |
| 108 |
104 DISALLOW_COPY_AND_ASSIGN(ChromePluginPlaceholder); | 109 DISALLOW_COPY_AND_ASSIGN(ChromePluginPlaceholder); |
105 }; | 110 }; |
106 | 111 |
107 #endif // CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ | 112 #endif // CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ |
OLD | NEW |