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

Unified Diff: chrome/browser/ui/views/frame/browser_root_view.cc

Issue 7057014: Variety of tweaks to View API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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
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
« no previous file with comments | « chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698