diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-05 06:08:54 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-05 06:08:54 +0000 |
commit | cb4282a066df8b0e1c09c90d3780625579c0a569 (patch) | |
tree | e3bc08313cbca44a0229775c180511f78ab8e278 /chrome/browser/ui/views/collected_cookies_win.cc | |
parent | c31116a991f7cd93a69a7f609d9dded29c87ab85 (diff) | |
download | chromium_src-cb4282a066df8b0e1c09c90d3780625579c0a569.zip chromium_src-cb4282a066df8b0e1c09c90d3780625579c0a569.tar.gz chromium_src-cb4282a066df8b0e1c09c90d3780625579c0a569.tar.bz2 |
Get rid of another bunch of tab_contents.h includes from chrome and switch the code to use WebContents.
BUG=98716
TBR=erg
Review URL: http://codereview.chromium.org/9110003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116466 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/collected_cookies_win.cc')
-rw-r--r-- | chrome/browser/ui/views/collected_cookies_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/views/collected_cookies_win.cc b/chrome/browser/ui/views/collected_cookies_win.cc index ec81dba..9f8031e 100644 --- a/chrome/browser/ui/views/collected_cookies_win.cc +++ b/chrome/browser/ui/views/collected_cookies_win.cc @@ -17,9 +17,9 @@ #include "chrome/browser/ui/views/cookie_info_view.h" #include "chrome/common/chrome_notification_types.h" #include "chrome/common/pref_names.h" -#include "content/browser/tab_contents/tab_contents.h" #include "content/public/browser/notification_details.h" #include "content/public/browser/notification_source.h" +#include "content/public/browser/web_contents.h" #include "grit/generated_resources.h" #include "grit/locale_settings.h" #include "grit/theme_resources.h" @@ -494,7 +494,7 @@ void CollectedCookiesWin::AddContentException(views::TreeView* tree_view, // window, while NativeWidgetWin::SetBounds wants screen coordinates. Do the // translation here until http://crbug.com/52851 is fixed. POINT topleft = {bounds.x(), bounds.y()}; - MapWindowPoints(HWND_DESKTOP, wrapper_->tab_contents()->GetNativeView(), + MapWindowPoints(HWND_DESKTOP, wrapper_->web_contents()->GetNativeView(), &topleft, 1); gfx::Size size = GetWidget()->GetRootView()->GetPreferredSize(); bounds.SetRect(topleft.x, topleft.y, size.width(), size.height()); |