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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.cc

Issue 11049004: Remove Legacy NPAPI Flash Sandbox support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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/browser/renderer_host/render_widget_host_view_base.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_view_base.cc (revision 159496)
+++ content/browser/renderer_host/render_widget_host_view_base.cc (working copy)
@@ -147,16 +147,6 @@
WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS,
0, 0, 0, 0, orig_parent, 0, instance, 0);
ui::CheckWindowCreated(parent);
- // If UIPI is enabled we need to add message filters for parents with
- // children that cross process boundaries.
- if (::GetPropW(orig_parent, webkit::npapi::kNativeWindowClassFilterProp)) {
cpu_(ooo_6.6-7.5) 2012/10/04 17:46:40 the constant webkit::npapi::kNativeWindowClassFilt
jschuh 2012/10/04 22:14:53 Done.
- // Process-wide message filters required on Vista must be added to:
- // chrome_content_client.cc ChromeContentClient::SandboxPlugin
- ChangeWindowMessageFilterEx(parent, WM_MOUSEWHEEL, MSGFLT_ALLOW, NULL);
- ChangeWindowMessageFilterEx(parent, WM_GESTURE, MSGFLT_ALLOW, NULL);
- ChangeWindowMessageFilterEx(parent, WM_APPCOMMAND, MSGFLT_ALLOW, NULL);
- ::RemovePropW(orig_parent, webkit::npapi::kNativeWindowClassFilterProp);
- }
::SetParent(window, parent);
// How many times we try to find a PluginProcessHost whose process matches
// the HWND.

Powered by Google App Engine
This is Rietveld 408576698