From 7a16aeeb28850afdf5d512cc2e4bb2e58f4b1c10 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Tue, 18 Nov 2008 02:00:53 +0000 Subject: Last couple of bits of new-frame related cleanup: - Remove frame_util.cc, moving functions to BrowserList (endsession) and BrowserView (GetBrowserWindowForHWND) - Tidy up interface for TabIconView model. The model now sources only the information it needs (loading state and favicon). - Replace BrowserType class with an enum on Browser. http://crbug.com/2320 http://crbug.com/3363 Review URL: http://codereview.chromium.org/10786 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5596 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/tabs/dragged_tab_controller.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/views/tabs/dragged_tab_controller.cc') diff --git a/chrome/browser/views/tabs/dragged_tab_controller.cc b/chrome/browser/views/tabs/dragged_tab_controller.cc index 0bca5f1..d90bad7 100644 --- a/chrome/browser/views/tabs/dragged_tab_controller.cc +++ b/chrome/browser/views/tabs/dragged_tab_controller.cc @@ -7,8 +7,8 @@ #include "chrome/browser/views/tabs/dragged_tab_controller.h" #include "chrome/browser/browser_window.h" -#include "chrome/browser/frame_util.h" #include "chrome/browser/tab_contents.h" +#include "chrome/browser/views/frame/browser_view.h" #include "chrome/browser/views/tabs/dragged_tab_view.h" #include "chrome/browser/views/tabs/hwnd_photobooth.h" #include "chrome/browser/views/tabs/tab.h" @@ -442,7 +442,7 @@ TabStrip* DraggedTabController::GetTabStripForPoint( if (!other_hwnd) return NULL; - BrowserWindow* other_frame = FrameUtil::GetBrowserWindowForHWND(other_hwnd); + BrowserWindow* other_frame = BrowserView::GetBrowserWindowForHWND(other_hwnd); if (other_frame) { TabStrip* other_tabstrip = other_frame->GetTabStrip(); if (!other_tabstrip->IsCompatibleWith(source_tabstrip_)) -- cgit v1.1