Index: chrome/browser/ui/views/frame/browser_root_view.cc |
=================================================================== |
--- chrome/browser/ui/views/frame/browser_root_view.cc (revision 86084) |
+++ chrome/browser/ui/views/frame/browser_root_view.cc (working copy) |
@@ -28,7 +28,7 @@ |
bool BrowserRootView::GetDropFormats( |
int* formats, |
std::set<ui::OSExchangeData::CustomFormat>* custom_formats) { |
- if (tabstrip() && tabstrip()->IsVisible()) { |
+ if (tabstrip() && tabstrip()->visible()) { |
*formats = ui::OSExchangeData::URL | ui::OSExchangeData::STRING; |
return true; |
} |
@@ -40,7 +40,7 @@ |
} |
bool BrowserRootView::CanDrop(const ui::OSExchangeData& data) { |
- if (!tabstrip() || !tabstrip()->IsVisible()) |
+ if (!tabstrip() || !tabstrip()->visible()) |
return false; |
// If there is a URL, we'll allow the drop. |
@@ -116,7 +116,7 @@ |
bool BrowserRootView::ShouldForwardToTabStrip( |
const views::DropTargetEvent& event) { |
- if (!tabstrip()->IsVisible()) |
+ if (!tabstrip()->visible()) |
return false; |
// Allow the drop as long as the mouse is over the tabstrip or vertically |