OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 5 #ifndef CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 WebPluginProxy* webplugin_; | 108 WebPluginProxy* webplugin_; |
109 bool in_destructor_; | 109 bool in_destructor_; |
110 | 110 |
111 // The url of the main frame hosting the plugin. | 111 // The url of the main frame hosting the plugin. |
112 GURL page_url_; | 112 GURL page_url_; |
113 | 113 |
114 #if defined(ENABLE_GPU) | 114 #if defined(ENABLE_GPU) |
115 // If this is the GPU plugin, the stub object that forwards to the | 115 // If this is the GPU plugin, the stub object that forwards to the |
116 // command buffer service. | 116 // command buffer service. |
117 scoped_ptr<CommandBufferStub> command_buffer_stub_; | 117 scoped_ptr<CommandBufferStub> command_buffer_stub_; |
| 118 |
| 119 #if defined(OS_MACOSX) |
| 120 // If this is the GPU plugin, we need to be receive a fake window |
| 121 // handle which is used for subsequent communication back to the |
| 122 // browser. |
| 123 void OnSetFakeGPUPluginWindowHandle(gfx::PluginWindowHandle window); |
| 124 #endif |
| 125 |
118 #endif | 126 #endif |
119 | 127 |
120 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); | 128 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); |
121 }; | 129 }; |
122 | 130 |
123 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 131 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
OLD | NEW |