Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9971)

Unified Diff: chrome/browser/views/tabs/dragged_tab_controller.cc

Issue 18540: Don't expose the go and star button views directly through the BrowserWindow ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/info_bubble.cc ('k') | chrome/test/test_browser_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/tabs/dragged_tab_controller.cc
===================================================================
--- chrome/browser/views/tabs/dragged_tab_controller.cc (revision 8515)
+++ chrome/browser/views/tabs/dragged_tab_controller.cc (working copy)
@@ -690,11 +690,11 @@
dock_windows_.erase(dragged_hwnd);
if (!local_window)
return NULL;
- BrowserWindow* browser = BrowserView::GetBrowserWindowForHWND(local_window);
+ BrowserView* browser = BrowserView::GetBrowserViewForHWND(local_window);
if (!browser)
return NULL;
- TabStrip* other_tabstrip = browser->GetTabStrip();
+ TabStrip* other_tabstrip = browser->tabstrip();
if (!other_tabstrip->IsCompatibleWith(source_tabstrip_))
return NULL;
return GetTabStripIfItContains(other_tabstrip, screen_point);
« no previous file with comments | « chrome/browser/views/info_bubble.cc ('k') | chrome/test/test_browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698