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

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

Issue 155242: Add temporary TabStripWrapper interface that is implemented by both TabStrip ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 5 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/tabs/browser_tab_strip.cc ('k') | chrome/browser/views/tabs/tab_strip.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 20183)
+++ chrome/browser/views/tabs/dragged_tab_controller.cc (working copy)
@@ -689,10 +689,10 @@
if (!browser || !browser->IsBrowserTypeNormal())
return NULL;
- TabStrip* other_tabstrip = browser->tabstrip();
+ TabStripWrapper* other_tabstrip = browser->tabstrip();
if (!other_tabstrip->IsCompatibleWith(source_tabstrip_))
return NULL;
- return GetTabStripIfItContains(other_tabstrip, screen_point);
+ return GetTabStripIfItContains(other_tabstrip->AsTabStrip(), screen_point);
}
TabStrip* DraggedTabController::GetTabStripIfItContains(
« no previous file with comments | « chrome/browser/views/tabs/browser_tab_strip.cc ('k') | chrome/browser/views/tabs/tab_strip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698