From 17dee5e7005a82e08d11be50d56477939124a6b7 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Fri, 29 May 2009 06:02:19 +0000 Subject: Refactors HWNDView, NativeViewHostGtk and NativeViewHost so that they match the NativeControl pattern established for NativeButtons. NativeViewHost is a platform-neutral class that clients instantiate. Behind the scenes the platform instantiates the appropriate NativeViewHostWrapper implementation, either NativeViewHostGtk (as before) or NativeViewHostWin (replaces HWNDView). BUG=none TEST=none Review URL: http://codereview.chromium.org/114059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17169 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/dom_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/views/dom_view.cc') diff --git a/chrome/browser/views/dom_view.cc b/chrome/browser/views/dom_view.cc index 7213bcf..d38a412 100644 --- a/chrome/browser/views/dom_view.cc +++ b/chrome/browser/views/dom_view.cc @@ -23,7 +23,7 @@ bool DOMView::Init(Profile* profile, SiteInstance* instance) { initialized_ = true; tab_contents_.reset(new TabContents(profile, instance, MSG_ROUTING_NONE, NULL)); - views::HWNDView::Attach(tab_contents_->GetNativeView()); + views::NativeViewHost::Attach(tab_contents_->GetNativeView()); return true; } -- cgit v1.1