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

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

Issue 7144007: Improve and unify Mac OS X run-time version checks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_DELEGATE_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <list> 9 #include <list>
10 10
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 397
398 // Starts an IME session. 398 // Starts an IME session.
399 void StartIme(); 399 void StartIme();
400 400
401 // Informs the browser about the updated accelerated drawing surface. 401 // Informs the browser about the updated accelerated drawing surface.
402 void UpdateAcceleratedSurface(); 402 void UpdateAcceleratedSurface();
403 403
404 // Uses a CARenderer to draw the plug-in's layer in our OpenGL surface. 404 // Uses a CARenderer to draw the plug-in's layer in our OpenGL surface.
405 void DrawLayerInSurface(); 405 void DrawLayerInSurface();
406 406
407 // Returns true if plugin IME is supported.
408 bool IsImeSupported();
409
410 #ifndef NP_NO_CARBON 407 #ifndef NP_NO_CARBON
411 // Moves our dummy window to match the current screen location of the plugin. 408 // Moves our dummy window to match the current screen location of the plugin.
412 void UpdateDummyWindowBounds(const gfx::Point& plugin_origin); 409 void UpdateDummyWindowBounds(const gfx::Point& plugin_origin);
413 410
414 #ifndef NP_NO_QUICKDRAW 411 #ifndef NP_NO_QUICKDRAW
415 // Sets the mode used for QuickDraw plugin drawing. If enabled is true the 412 // Sets the mode used for QuickDraw plugin drawing. If enabled is true the
416 // plugin draws into a GWorld that's not connected to a window (the faster 413 // plugin draws into a GWorld that's not connected to a window (the faster
417 // path), otherwise the plugin draws into our invisible dummy window (which is 414 // path), otherwise the plugin draws into our invisible dummy window (which is
418 // slower, since the call we use to scrape the window contents is much more 415 // slower, since the call we use to scrape the window contents is much more
419 // expensive than copying between GWorlds). 416 // expensive than copying between GWorlds).
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 // True if NPP_New did not return an error. 511 // True if NPP_New did not return an error.
515 bool creation_succeeded_; 512 bool creation_succeeded_;
516 513
517 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); 514 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl);
518 }; 515 };
519 516
520 } // namespace npapi 517 } // namespace npapi
521 } // namespace webkit 518 } // namespace webkit
522 519
523 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 520 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_host.cc ('k') | webkit/plugins/npapi/webplugin_delegate_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698