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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 void OnCancelledDownloadingPlugin(); | 105 void OnCancelledDownloadingPlugin(); |
106 #endif | 106 #endif |
107 | 107 |
108 ChromeViewHostMsg_GetPluginInfo_Status status_; | 108 ChromeViewHostMsg_GetPluginInfo_Status status_; |
109 | 109 |
110 base::string16 title_; | 110 base::string16 title_; |
111 | 111 |
112 #if defined(ENABLE_PLUGIN_INSTALLATION) | 112 #if defined(ENABLE_PLUGIN_INSTALLATION) |
113 // |routing_id()| is the routing ID of our associated RenderView, but we have | 113 // |routing_id()| is the routing ID of our associated RenderView, but we have |
114 // a separate routing ID for messages specific to this placeholder. | 114 // a separate routing ID for messages specific to this placeholder. |
115 int32_t placeholder_routing_id_; | 115 int32_t placeholder_routing_id_ = MSG_ROUTING_NONE; |
| 116 |
| 117 bool has_host_ = false; |
116 #endif | 118 #endif |
117 | 119 |
118 bool has_host_; | |
119 int context_menu_request_id_; // Nonzero when request pending. | 120 int context_menu_request_id_; // Nonzero when request pending. |
120 base::string16 plugin_name_; | 121 base::string16 plugin_name_; |
121 | 122 |
122 bool ignore_updates_; | 123 bool ignore_updates_; |
123 | 124 |
124 DISALLOW_COPY_AND_ASSIGN(ChromePluginPlaceholder); | 125 DISALLOW_COPY_AND_ASSIGN(ChromePluginPlaceholder); |
125 }; | 126 }; |
126 | 127 |
127 #endif // CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ | 128 #endif // CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ |
OLD | NEW |