summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dock_info_win.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-26 19:06:50 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-26 19:06:50 +0000
commit6eb7e132a6222068366e50a95a62281ebcbcfeb2 (patch)
treec1150002f4932f279d8d934de598b7f546ec52cc /chrome/browser/dock_info_win.cc
parent4978bacf0e1b64f470eaaf828702bdbd84859d9f (diff)
downloadchromium_src-6eb7e132a6222068366e50a95a62281ebcbcfeb2.zip
chromium_src-6eb7e132a6222068366e50a95a62281ebcbcfeb2.tar.gz
chromium_src-6eb7e132a6222068366e50a95a62281ebcbcfeb2.tar.bz2
Renames BrowserView::GetBrowserViewForHWND to
GetBrowserViewForNativeView and implements the GTK side. I could have went with NativeWindow here, but we end up with more flexibility if we keep this as NativeView. BUG=none TEST=none Review URL: http://codereview.chromium.org/113842 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dock_info_win.cc')
-rw-r--r--chrome/browser/dock_info_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/dock_info_win.cc b/chrome/browser/dock_info_win.cc
index 1eb7633..72241a4 100644
--- a/chrome/browser/dock_info_win.cc
+++ b/chrome/browser/dock_info_win.cc
@@ -195,7 +195,7 @@ class DockToWindowFinder : public BaseWindowFinder {
protected:
virtual bool ShouldStopIterating(HWND hwnd) {
- BrowserView* window = BrowserView::GetBrowserViewForHWND(hwnd);
+ BrowserView* window = BrowserView::GetBrowserViewForNativeView(hwnd);
CRect bounds;
if (!window || !::IsWindowVisible(hwnd) ||
!::GetWindowRect(hwnd, &bounds)) {