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

Side by Side Diff: ios/chrome/browser/tabs/tab_model_closing_web_state_observer.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_CHROME_BROWSER_TABS_TAB_MODEL_CLOSING_WEB_STATE_OBSERVER_H_ 5 #ifndef IOS_CHROME_BROWSER_TABS_TAB_MODEL_CLOSING_WEB_STATE_OBSERVER_H_
6 #define IOS_CHROME_BROWSER_TABS_TAB_MODEL_CLOSING_WEB_STATE_OBSERVER_H_ 6 #define IOS_CHROME_BROWSER_TABS_TAB_MODEL_CLOSING_WEB_STATE_OBSERVER_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #import "ios/shared/chrome/browser/tabs/web_state_list_observer_bridge.h" 10 #import "ios/chrome/browser/web_state_list/web_state_list_observer_bridge.h"
11 11
12 @class TabModel; 12 @class TabModel;
13 namespace sessions { 13 namespace sessions {
14 class TabRestoreService; 14 class TabRestoreService;
15 } 15 }
16 16
17 // Observes WebStateList events about closing WebState. 17 // Observes WebStateList events about closing WebState.
18 @interface TabModelClosingWebStateObserver : NSObject<WebStateListObserving> 18 @interface TabModelClosingWebStateObserver : NSObject<WebStateListObserving>
19 19
20 - (instancetype)initWithTabModel:(TabModel*)tabModel 20 - (instancetype)initWithTabModel:(TabModel*)tabModel
21 restoreService:(sessions::TabRestoreService*)restoreService 21 restoreService:(sessions::TabRestoreService*)restoreService
22 NS_DESIGNATED_INITIALIZER; 22 NS_DESIGNATED_INITIALIZER;
23 23
24 - (instancetype)init NS_UNAVAILABLE; 24 - (instancetype)init NS_UNAVAILABLE;
25 25
26 @end 26 @end
27 27
28 #endif // IOS_CHROME_BROWSER_TABS_TAB_MODEL_CLOSING_WEB_STATE_OBSERVER_H_ 28 #endif // IOS_CHROME_BROWSER_TABS_TAB_MODEL_CLOSING_WEB_STATE_OBSERVER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/tabs/tab_model.mm ('k') | ios/chrome/browser/tabs/tab_model_closing_web_state_observer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698