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

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

Issue 151083002: Create a visible window with class name Chrome_RenderWidgetHostHWND which corresponds to the bounds… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 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_impl.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_impl.cc (revision 249488)
+++ content/browser/renderer_host/render_widget_host_impl.cc (working copy)
@@ -2327,24 +2327,6 @@
Send(new ViewMsg_SwapBuffers_ACK(routing_id_));
}
-#if defined(USE_AURA)
-
-void RenderWidgetHostImpl::ParentChanged(gfx::NativeViewId new_parent) {
-#if defined(OS_WIN)
- HWND hwnd = reinterpret_cast<HWND>(new_parent);
- if (!hwnd)
- hwnd = GetDesktopWindow();
- // On Windows GetParentForWindowlessPlugin returns the dummy window used as
- // the parent for windowless NPAPI plugins. Reparenting this window to the
- // new parent should be good enough.
- if (view_ && view_->GetParentForWindowlessPlugin())
- SetParent(reinterpret_cast<HWND>(view_->GetParentForWindowlessPlugin()),
- reinterpret_cast<HWND>(new_parent));
-#endif
-}
-
-#endif
-
void RenderWidgetHostImpl::DelayedAutoResized() {
gfx::Size new_size = new_auto_size_;
// Clear the new_auto_size_ since the empty value is used as a flag to
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.h ('k') | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698