| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_APP_LIST_VIEWS_CONTENTS_SWITCHER_VIEW_H_ | 5 #ifndef UI_APP_LIST_VIEWS_CONTENTS_SWITCHER_VIEW_H_ |
| 6 #define UI_APP_LIST_VIEWS_CONTENTS_SWITCHER_VIEW_H_ | 6 #define UI_APP_LIST_VIEWS_CONTENTS_SWITCHER_VIEW_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 const ui::Event& event) OVERRIDE; | 37 const ui::Event& event) OVERRIDE; |
| 38 | 38 |
| 39 // Overridden from PaginationModelObserver: | 39 // Overridden from PaginationModelObserver: |
| 40 virtual void TotalPagesChanged() OVERRIDE; | 40 virtual void TotalPagesChanged() OVERRIDE; |
| 41 virtual void SelectedPageChanged(int old_selected, int new_selected) OVERRIDE; | 41 virtual void SelectedPageChanged(int old_selected, int new_selected) OVERRIDE; |
| 42 virtual void TransitionStarted() OVERRIDE; | 42 virtual void TransitionStarted() OVERRIDE; |
| 43 virtual void TransitionChanged() OVERRIDE; | 43 virtual void TransitionChanged() OVERRIDE; |
| 44 | 44 |
| 45 ContentsView* contents_view_; // Owned by views hierarchy. | 45 ContentsView* contents_view_; // Owned by views hierarchy. |
| 46 | 46 |
| 47 // Maps page indices to Views owned by views hierarchy. | |
| 48 std::map<int, views::View*> page_active_indicators_; | |
| 49 | |
| 50 DISALLOW_COPY_AND_ASSIGN(ContentsSwitcherView); | 47 DISALLOW_COPY_AND_ASSIGN(ContentsSwitcherView); |
| 51 }; | 48 }; |
| 52 | 49 |
| 53 } // namespace app_list | 50 } // namespace app_list |
| 54 | 51 |
| 55 #endif // UI_APP_LIST_VIEWS_CONTENTS_SWITCHER_VIEW_H_ | 52 #endif // UI_APP_LIST_VIEWS_CONTENTS_SWITCHER_VIEW_H_ |
| OLD | NEW |