diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-11 23:50:55 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-11 23:50:55 +0000 |
commit | 0d52b23006174f37ba0337c170506b9580ccaf29 (patch) | |
tree | 889e57066b28a69e288132c72d0dc560cf5e2051 /chrome/browser/views/tabs | |
parent | 1bdf29eb27c00bd1be0a6f3eb65d33ecddde274f (diff) | |
download | chromium_src-0d52b23006174f37ba0337c170506b9580ccaf29.zip chromium_src-0d52b23006174f37ba0337c170506b9580ccaf29.tar.gz chromium_src-0d52b23006174f37ba0337c170506b9580ccaf29.tar.bz2 |
Removing floating views, they are not used anymore.
BUG=None
TEST=Run unit_tests, ui_tests, interactive ui_tests.
Make sure focus traversal still works.
Review URL: http://codereview.chromium.org/113215
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15817 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/tabs')
-rw-r--r-- | chrome/browser/views/tabs/tab_strip.cc | 7 | ||||
-rw-r--r-- | chrome/browser/views/tabs/tab_strip.h | 2 |
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: |