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

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

Issue 393033006: Added tab notification to accessibility_event_router_views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GetTabCount returns 1 in test class Created 6 years, 5 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/tabs/tab_unittest.cc
diff --git a/chrome/browser/ui/views/tabs/tab_unittest.cc b/chrome/browser/ui/views/tabs/tab_unittest.cc
index dc046fc07d19e453ed14296581988fe3ea19fc59..3f033d967541abab7b03ee970046ed43e426141b 100644
--- a/chrome/browser/ui/views/tabs/tab_unittest.cc
+++ b/chrome/browser/ui/views/tabs/tab_unittest.cc
@@ -60,6 +60,8 @@ class FakeTabController : public TabController {
return true;
}
virtual bool IsImmersiveStyle() const OVERRIDE { return immersive_style_; }
+ virtual int GetModelIndexOfTab(const Tab* tab) const OVERRIDE { return 0; }
+ virtual int GetTabCount() const OVERRIDE { return 1; }
private:
ui::ListSelectionModel selection_model_;

Powered by Google App Engine
This is Rietveld 408576698