Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1091)

Side by Side Diff: ios/chrome/browser/web_state_list/web_state_list.h

Issue 2799723002: [ios] Move WebStateList to ios/chrome/browser/web_state_list. (Closed)
Patch Set: Rebase. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ios/chrome/browser/web_state_list/fake_web_state_list_delegate.mm ('k') | ios/chrome/browser/web_state_list/web_state_list.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698