summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/tabs/tab_overview_controller.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-26 19:53:56 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-26 19:53:56 +0000
commit791f74e8cd6eb1204b04c23e6378daeb4f688ee6 (patch)
treef99b805785739ad3601623ca2720a09359bfd32b /chrome/browser/views/tabs/tab_overview_controller.cc
parentbe6201369c7e36d720fc21a2d75bdac6c4350369 (diff)
downloadchromium_src-791f74e8cd6eb1204b04c23e6378daeb4f688ee6.zip
chromium_src-791f74e8cd6eb1204b04c23e6378daeb4f688ee6.tar.gz
chromium_src-791f74e8cd6eb1204b04c23e6378daeb4f688ee6.tar.bz2
Makes tab overview show the arrow at the right location.
BUG=none TEST=none Review URL: http://codereview.chromium.org/147218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19403 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/tabs/tab_overview_controller.cc')
-rw-r--r--chrome/browser/views/tabs/tab_overview_controller.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/views/tabs/tab_overview_controller.cc b/chrome/browser/views/tabs/tab_overview_controller.cc
index f4027b3..eeb8347 100644
--- a/chrome/browser/views/tabs/tab_overview_controller.cc
+++ b/chrome/browser/views/tabs/tab_overview_controller.cc
@@ -65,7 +65,6 @@ TabOverviewController::TabOverviewController(
container_->SetMaxSize(CalculateHostBounds().size());
- // TODO: remove this when we get mid point.
horizontal_center_ = monitor_bounds_.x() + monitor_bounds_.width() / 2;
}
@@ -80,8 +79,7 @@ TabOverviewController::~TabOverviewController() {
void TabOverviewController::SetBrowser(Browser* browser,
int horizontal_center) {
- // TODO: update this when we horizontal_center is correct.
- // horizontal_center_ = horizontal_center;
+ horizontal_center_ = horizontal_center;
if (browser_)
model()->RemoveObserver(this);
browser_ = browser;