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 "chrome/browser/ui/views/tabs/tab_strip_controller.h" | 10 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h" |
10 #include "ui/base/models/list_selection_model.h" | 11 #include "ui/base/models/list_selection_model.h" |
11 | 12 |
12 class TabStrip; | 13 class TabStrip; |
13 | 14 |
14 class FakeBaseTabStripController : public TabStripController { | 15 class FakeBaseTabStripController : public TabStripController { |
15 public: | 16 public: |
16 FakeBaseTabStripController(); | 17 FakeBaseTabStripController(); |
17 ~FakeBaseTabStripController() override; | 18 ~FakeBaseTabStripController() override; |
18 | 19 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 58 |
58 int num_tabs_; | 59 int num_tabs_; |
59 int active_index_; | 60 int active_index_; |
60 | 61 |
61 ui::ListSelectionModel selection_model_; | 62 ui::ListSelectionModel selection_model_; |
62 | 63 |
63 DISALLOW_COPY_AND_ASSIGN(FakeBaseTabStripController); | 64 DISALLOW_COPY_AND_ASSIGN(FakeBaseTabStripController); |
64 }; | 65 }; |
65 | 66 |
66 #endif // CHROME_BROWSER_UI_VIEWS_TABS_FAKE_BASE_TAB_STRIP_CONTROLLER_H_ | 67 #endif // CHROME_BROWSER_UI_VIEWS_TABS_FAKE_BASE_TAB_STRIP_CONTROLLER_H_ |
OLD | NEW |