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

Unified Diff: chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc

Issue 10213011: Attempt 3 at a better touch tabstrip. There is still a bunch to do, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Tab::GetTouchModeMinimumSize Created 8 years, 8 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
« no previous file with comments | « chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h ('k') | chrome/browser/ui/views/tabs/tab.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc
diff --git a/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc b/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc
index 9e0cf2a78da26a9bbe0edbc1164ee3dd712695a6..8425e87a5741b2191af1cc6a7a2648d950fed182 100644
--- a/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc
+++ b/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc
@@ -15,7 +15,7 @@ FakeBaseTabStripController::~FakeBaseTabStripController() {
void FakeBaseTabStripController::AddTab(int index) {
num_tabs_++;
- tab_strip_->AddTabAt(index, TabRendererData());
+ tab_strip_->AddTabAt(index, TabRendererData(), false);
}
void FakeBaseTabStripController::RemoveTab(int index) {
@@ -39,6 +39,10 @@ bool FakeBaseTabStripController::IsActiveTab(int index) const {
return false;
}
+int FakeBaseTabStripController::GetActiveIndex() const {
+ return -1;
+}
+
bool FakeBaseTabStripController::IsTabSelected(int index) const {
return false;
}
« no previous file with comments | « chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h ('k') | chrome/browser/ui/views/tabs/tab.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698