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

Unified Diff: webkit/plugins/npapi/webplugin_delegate_impl.h

Issue 8486020: compositor_unittests target is unimplmented on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address piman's comments (#6) Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« ui/gfx/path.h ('K') | « webkit/glue/webkit_glue.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/webplugin_delegate_impl.h
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl.h b/webkit/plugins/npapi/webplugin_delegate_impl.h
index 0a2fb751e0dd6c22e58f0df5cb8ae7ec6f5d6ca4..8a7206a62b35072ea88097fd701af46f79f34237 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl.h
+++ b/webkit/plugins/npapi/webplugin_delegate_impl.h
@@ -166,7 +166,7 @@ class WebPluginDelegateImpl : public WebPluginDelegate {
bool GetIMEStatus(int* input_type, gfx::Rect* caret_rect);
#endif
-#if defined(OS_MACOSX)
+#if defined(OS_MACOSX) && !defined(USE_AURA)
// Informs the plugin that the geometry has changed, as with UpdateGeometry,
// but also includes the new buffer context for that new geometry.
void UpdateGeometryAndContext(const gfx::Rect& window_rect,
@@ -214,7 +214,7 @@ class WebPluginDelegateImpl : public WebPluginDelegate {
void CGPaint(CGContextRef context, const gfx::Rect& rect);
bool AllowBufferFlipping();
-#endif // OS_MACOSX
+#endif // OS_MACOSX && !USE_AURA
gfx::PluginWindowHandle windowed_handle() const {
return windowed_handle_;
@@ -427,7 +427,7 @@ class WebPluginDelegateImpl : public WebPluginDelegate {
// Calls SetCapture/ReleaseCapture based on the message type.
static void HandleCaptureForMessage(HWND window, UINT message);
-#elif defined(OS_MACOSX)
+#elif defined(OS_MACOSX) && !defined(USE_AURA)
// Sets window_rect_ to |rect|
void SetPluginRect(const gfx::Rect& rect);
// Sets content_area_origin to |origin|
@@ -496,7 +496,7 @@ class WebPluginDelegateImpl : public WebPluginDelegate {
int keyup_ignore_count_;
scoped_ptr<ExternalDragTracker> external_drag_tracker_;
-#endif // OS_MACOSX
+#endif // OS_MACOSX && !USE_AURA
// Called by the message filter hook when the plugin enters a modal loop.
void OnModalLoopEntered();
« ui/gfx/path.h ('K') | « webkit/glue/webkit_glue.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698