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

Unified Diff: content/child/npapi/webplugin_delegate_impl.h

Issue 137403005: Remove some code inside USE_AURA and OS_WIN ifdefs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/child/npapi/webplugin_delegate_impl.h
===================================================================
--- content/child/npapi/webplugin_delegate_impl.h (revision 244508)
+++ content/child/npapi/webplugin_delegate_impl.h (working copy)
@@ -386,13 +386,11 @@
// GetProcAddress intercepter for windowless plugins.
static FARPROC WINAPI GetProcAddressPatch(HMODULE module, LPCSTR name);
-#if defined(USE_AURA)
// WindowFromPoint patch for Flash windowless plugins. When flash receives
// mouse move messages it calls the WindowFromPoint API to eventually convert
// the mouse coordinates to screen. We need to return the dummy plugin parent
// window for Aura to ensure that these conversions occur correctly.
static HWND WINAPI WindowFromPointPatch(POINT point);
-#endif
// The mouse hook proc which handles mouse capture in windowed plugins.
static LRESULT CALLBACK MouseHookProc(int code, WPARAM wParam,

Powered by Google App Engine
This is Rietveld 408576698