diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-10 20:32:06 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-10 20:32:06 +0000 |
commit | 92edc4764d2f311440929ad4dca91f87be3b2f11 (patch) | |
tree | f4ba410c3fe7612ee830b326739fba05273a59e2 /chrome/browser/tab_contents/web_contents.cc | |
parent | ea16554e83cab7fe751cac7a0af8eaea3948c512 (diff) | |
download | chromium_src-92edc4764d2f311440929ad4dca91f87be3b2f11.zip chromium_src-92edc4764d2f311440929ad4dca91f87be3b2f11.tar.gz chromium_src-92edc4764d2f311440929ad4dca91f87be3b2f11.tar.bz2 |
Switch from HWNDs to NativeViews, take 2. (First attempt was r9409, in which I missed a file.)
Review URL: http://codereview.chromium.org/20226
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9507 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/web_contents.cc')
-rw-r--r-- | chrome/browser/tab_contents/web_contents.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/tab_contents/web_contents.cc b/chrome/browser/tab_contents/web_contents.cc index 44ab59b..6df85ac 100644 --- a/chrome/browser/tab_contents/web_contents.cc +++ b/chrome/browser/tab_contents/web_contents.cc @@ -499,17 +499,17 @@ void WebContents::CreateView() { view_->CreateView(); } -#if defined(OS_WIN) -HWND WebContents::GetContainerHWND() const { +gfx::NativeView WebContents::GetNativeView() const { return view_->GetNativeView(); } -HWND WebContents::GetContentHWND() { + +gfx::NativeView WebContents::GetContentNativeView() { return view_->GetContentNativeView(); } + void WebContents::GetContainerBounds(gfx::Rect *out) const { view_->GetContainerBounds(out); } -#endif void WebContents::CreateShortcut() { NavigationEntry* entry = controller()->GetLastCommittedEntry(); |