summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/tabs/tab_strip.cc7
-rw-r--r--chrome/browser/views/tabs/tab_strip.h2
2 files changed, 1 insertions, 8 deletions
diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc
index 73c19e4a..7d2a441 100644
--- a/chrome/browser/views/tabs/tab_strip.cc
+++ b/chrome/browser/views/tabs/tab_strip.cc
@@ -731,14 +731,9 @@ void TabStrip::SetAccessibleName(const std::wstring& name) {
}
views::View* TabStrip::GetViewForPoint(const gfx::Point& point) {
- return GetViewForPoint(point, false);
-}
-
-views::View* TabStrip::GetViewForPoint(const gfx::Point& point,
- bool can_create_floating) {
// Return any view that isn't a Tab or this TabStrip immediately. We don't
// want to interfere.
- views::View* v = View::GetViewForPoint(point, can_create_floating);
+ views::View* v = View::GetViewForPoint(point);
if (v && v != this && v->GetClassName() != Tab::kTabClassName)
return v;
diff --git a/chrome/browser/views/tabs/tab_strip.h b/chrome/browser/views/tabs/tab_strip.h
index 1c52a45..86cd181 100644
--- a/chrome/browser/views/tabs/tab_strip.h
+++ b/chrome/browser/views/tabs/tab_strip.h
@@ -104,8 +104,6 @@ class TabStrip : public views::View,
virtual bool GetAccessibleName(std::wstring* name);
virtual void SetAccessibleName(const std::wstring& name);
virtual views::View* GetViewForPoint(const gfx::Point& point);
- virtual views::View* GetViewForPoint(const gfx::Point& point,
- bool can_create_floating);
protected:
// TabStripModelObserver implementation: