| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_FAKE_BASE_TAB_STRIP_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_FAKE_BASE_TAB_STRIP_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TABS_FAKE_BASE_TAB_STRIP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_FAKE_BASE_TAB_STRIP_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h" | 10 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 void PerformDrop(bool drop_before, int index, const GURL& url) override; | 48 void PerformDrop(bool drop_before, int index, const GURL& url) override; |
| 49 bool IsCompatibleWith(TabStrip* other) const override; | 49 bool IsCompatibleWith(TabStrip* other) const override; |
| 50 void CreateNewTab() override; | 50 void CreateNewTab() override; |
| 51 void CreateNewTabWithLocation(const base::string16& loc) override; | 51 void CreateNewTabWithLocation(const base::string16& loc) override; |
| 52 bool IsIncognito() override; | 52 bool IsIncognito() override; |
| 53 void StackedLayoutMaybeChanged() override; | 53 void StackedLayoutMaybeChanged() override; |
| 54 void OnStartedDraggingTabs() override; | 54 void OnStartedDraggingTabs() override; |
| 55 void OnStoppedDraggingTabs() override; | 55 void OnStoppedDraggingTabs() override; |
| 56 void CheckFileSupported(const GURL& url) override; | 56 void CheckFileSupported(const GURL& url) override; |
| 57 SkColor GetToolbarTopSeparatorColor() const override; | 57 SkColor GetToolbarTopSeparatorColor() const override; |
| 58 base::string16 GetAccessibleTabName() const override; | |
| 59 | 58 |
| 60 private: | 59 private: |
| 61 TabStrip* tab_strip_; | 60 TabStrip* tab_strip_; |
| 62 | 61 |
| 63 int num_tabs_; | 62 int num_tabs_; |
| 64 int active_index_; | 63 int active_index_; |
| 65 | 64 |
| 66 ui::ListSelectionModel selection_model_; | 65 ui::ListSelectionModel selection_model_; |
| 67 | 66 |
| 68 DISALLOW_COPY_AND_ASSIGN(FakeBaseTabStripController); | 67 DISALLOW_COPY_AND_ASSIGN(FakeBaseTabStripController); |
| 69 }; | 68 }; |
| 70 | 69 |
| 71 #endif // CHROME_BROWSER_UI_VIEWS_TABS_FAKE_BASE_TAB_STRIP_CONTROLLER_H_ | 70 #endif // CHROME_BROWSER_UI_VIEWS_TABS_FAKE_BASE_TAB_STRIP_CONTROLLER_H_ |
| OLD | NEW |