| 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 "chrome/browser/ui/views/tabs/tab_strip_controller.h" | 9 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h" |
| 10 #include "ui/base/models/list_selection_model.h" | 10 #include "ui/base/models/list_selection_model.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 virtual void UpdateLoadingAnimations() OVERRIDE; | 41 virtual void UpdateLoadingAnimations() OVERRIDE; |
| 42 virtual int HasAvailableDragActions() const OVERRIDE; | 42 virtual int HasAvailableDragActions() const OVERRIDE; |
| 43 virtual void OnDropIndexUpdate(int index, bool drop_before) OVERRIDE; | 43 virtual void OnDropIndexUpdate(int index, bool drop_before) OVERRIDE; |
| 44 virtual void PerformDrop(bool drop_before, | 44 virtual void PerformDrop(bool drop_before, |
| 45 int index, | 45 int index, |
| 46 const GURL& url) OVERRIDE; | 46 const GURL& url) OVERRIDE; |
| 47 virtual bool IsCompatibleWith(TabStrip* other) const OVERRIDE; | 47 virtual bool IsCompatibleWith(TabStrip* other) const OVERRIDE; |
| 48 virtual void CreateNewTab() OVERRIDE; | 48 virtual void CreateNewTab() OVERRIDE; |
| 49 virtual void CreateNewTabWithLocation(const base::string16& loc) OVERRIDE; | 49 virtual void CreateNewTabWithLocation(const base::string16& loc) OVERRIDE; |
| 50 virtual bool IsIncognito() OVERRIDE; | 50 virtual bool IsIncognito() OVERRIDE; |
| 51 virtual void LayoutTypeMaybeChanged() OVERRIDE; | 51 virtual void StackedLayoutMaybeChanged() OVERRIDE; |
| 52 virtual void OnStartedDraggingTabs() OVERRIDE; | 52 virtual void OnStartedDraggingTabs() OVERRIDE; |
| 53 virtual void OnStoppedDraggingTabs() OVERRIDE; | 53 virtual void OnStoppedDraggingTabs() OVERRIDE; |
| 54 virtual void CheckFileSupported(const GURL& url) OVERRIDE; | 54 virtual void CheckFileSupported(const GURL& url) OVERRIDE; |
| 55 | 55 |
| 56 private: | 56 private: |
| 57 TabStrip* tab_strip_; | 57 TabStrip* tab_strip_; |
| 58 | 58 |
| 59 int num_tabs_; | 59 int num_tabs_; |
| 60 int active_index_; | 60 int active_index_; |
| 61 | 61 |
| 62 ui::ListSelectionModel selection_model_; | 62 ui::ListSelectionModel selection_model_; |
| 63 | 63 |
| 64 DISALLOW_COPY_AND_ASSIGN(FakeBaseTabStripController); | 64 DISALLOW_COPY_AND_ASSIGN(FakeBaseTabStripController); |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 #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 |