Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: webkit/plugins/npapi/webplugin.h

Issue 9720021: npapi plugins: Make sure WebPlugin has no key functions on mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/plugins/npapi/webplugin.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // Synthesize a fake window handle for the plug-in to identify the instance 150 // Synthesize a fake window handle for the plug-in to identify the instance
151 // to the browser, allowing mapping to a surface for hardware accelleration 151 // to the browser, allowing mapping to a surface for hardware accelleration
152 // of plug-in content. The browser generates the handle which is then set on 152 // of plug-in content. The browser generates the handle which is then set on
153 // the plug-in. |opaque| indicates whether the content should be treated as 153 // the plug-in. |opaque| indicates whether the content should be treated as
154 // opaque or translucent. 154 // opaque or translucent.
155 // TODO(stuartmorgan): Move this into WebPluginProxy. 155 // TODO(stuartmorgan): Move this into WebPluginProxy.
156 virtual void BindFakePluginWindowHandle(bool opaque) {} 156 virtual void BindFakePluginWindowHandle(bool opaque) {}
157 157
158 // Returns the accelerated surface abstraction for accelerated plugins. 158 // Returns the accelerated surface abstraction for accelerated plugins.
159 virtual WebPluginAcceleratedSurface* GetAcceleratedSurface( 159 virtual WebPluginAcceleratedSurface* GetAcceleratedSurface(
160 gfx::GpuPreference gpu_preference); 160 gfx::GpuPreference gpu_preference) = 0;
161 161
162 // Composited Core Animation plugin support. 162 // Composited Core Animation plugin support.
163 virtual void AcceleratedPluginEnabledRendering() = 0; 163 virtual void AcceleratedPluginEnabledRendering() = 0;
164 virtual void AcceleratedPluginAllocatedIOSurface(int32 width, 164 virtual void AcceleratedPluginAllocatedIOSurface(int32 width,
165 int32 height, 165 int32 height,
166 uint32 surface_id) = 0; 166 uint32 surface_id) = 0;
167 virtual void AcceleratedPluginSwappedIOSurface() = 0; 167 virtual void AcceleratedPluginSwappedIOSurface() = 0;
168 #endif 168 #endif
169 169
170 // Handles NPN_URLRedirectResponse calls issued by plugins in response to 170 // Handles NPN_URLRedirectResponse calls issued by plugins in response to
(...skipping 18 matching lines...) Expand all
189 virtual void DidFinishLoading() = 0; 189 virtual void DidFinishLoading() = 0;
190 virtual void DidFail() = 0; 190 virtual void DidFail() = 0;
191 virtual bool IsMultiByteResponseExpected() = 0; 191 virtual bool IsMultiByteResponseExpected() = 0;
192 virtual int ResourceId() = 0; 192 virtual int ResourceId() = 0;
193 }; 193 };
194 194
195 } // namespace npapi 195 } // namespace npapi
196 } // namespace webkit 196 } // namespace webkit
197 197
198 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ 198 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/plugins/npapi/webplugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698