Chromium Code Reviews| 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. |