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

Unified Diff: chrome/common/chrome_content_client.cc

Issue 7648011: Revert 96592 - Add scroll and gesture message filters for UIPI Flash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_win.cc ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_content_client.cc
===================================================================
--- chrome/common/chrome_content_client.cc (revision 96660)
+++ chrome/common/chrome_content_client.cc (working copy)
@@ -362,19 +362,6 @@
policy->SetJobLevel(sandbox::JOB_UNPROTECTED, 0);
policy->SetTokenLevel(sandbox::USER_RESTRICTED_SAME_ACCESS,
sandbox::USER_INTERACTIVE);
- // Allow the Flash plugin to forward some messages back to Chrome.
- if (base::win::GetVersion() == base::win::VERSION_VISTA) {
- typedef BOOL (WINAPI *ChangeWindowMessageFilterFunction)(
- UINT message,
- DWORD flag);
- static ChangeWindowMessageFilterFunction s_ChangeWindowMessageFilter =
- reinterpret_cast<ChangeWindowMessageFilterFunction>(
- ::GetProcAddress(::GetModuleHandle(L"user32.dll"),
- "ChangeWindowMessageFilter"));
- // Per-window message filters required on Win7 or later must be added to:
- // render_widget_host_view_win.cc RenderWidgetHostViewWin::ReparentWindow
- s_ChangeWindowMessageFilter(WM_MOUSEWHEEL, MSGFLT_ADD);
- }
policy->SetIntegrityLevel(sandbox::INTEGRITY_LEVEL_LOW);
} else {
// Could not start the broker, use a very weak policy instead.
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_win.cc ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698