OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 IOS_SHARED_CHROME_BROWSER_TABS_WEB_STATE_LIST_H_ | 5 #ifndef IOS_CHROME_BROWSER_WEB_STATE_LIST_WEB_STATE_LIST_H_ |
6 #define IOS_SHARED_CHROME_BROWSER_TABS_WEB_STATE_LIST_H_ | 6 #define IOS_CHROME_BROWSER_WEB_STATE_LIST_WEB_STATE_LIST_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "ui/base/page_transition_types.h" | 14 #include "ui/base/page_transition_types.h" |
15 | 15 |
16 class WebStateListDelegate; | 16 class WebStateListDelegate; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 152 |
153 // List of observers notified of changes to the model. | 153 // List of observers notified of changes to the model. |
154 base::ObserverList<WebStateListObserver, true> observers_; | 154 base::ObserverList<WebStateListObserver, true> observers_; |
155 | 155 |
156 // Index of the currently active WebState, kInvalidIndex if no such WebState. | 156 // Index of the currently active WebState, kInvalidIndex if no such WebState. |
157 int active_index_ = kInvalidIndex; | 157 int active_index_ = kInvalidIndex; |
158 | 158 |
159 DISALLOW_COPY_AND_ASSIGN(WebStateList); | 159 DISALLOW_COPY_AND_ASSIGN(WebStateList); |
160 }; | 160 }; |
161 | 161 |
162 #endif // IOS_SHARED_CHROME_BROWSER_TABS_WEB_STATE_LIST_H_ | 162 #endif // IOS_CHROME_BROWSER_WEB_STATE_LIST_WEB_STATE_LIST_H_ |
OLD | NEW |