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

Side by Side Diff: ios/shared/chrome/browser/tabs/fake_web_state_list_delegate.h

Issue 2768093003: [ios] Extend WebStateListObserver amd WebStateListDelegate APIs. (Closed)
Patch Set: Remove duplicated method. Created 3 years, 9 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_FAKE_WEB_STATE_LIST_DELEGATE_H_ 5 #ifndef IOS_SHARED_CHROME_BROWSER_TABS_FAKE_WEB_STATE_LIST_DELEGATE_H_
6 #define IOS_SHARED_CHROME_BROWSER_TABS_FAKE_WEB_STATE_LIST_DELEGATE_H_ 6 #define IOS_SHARED_CHROME_BROWSER_TABS_FAKE_WEB_STATE_LIST_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #import "ios/shared/chrome/browser/tabs/web_state_list_delegate.h" 9 #import "ios/shared/chrome/browser/tabs/web_state_list_delegate.h"
10 10
11 // Fake WebStateList delegate for tests. 11 // Fake WebStateList delegate for tests.
12 class FakeWebStateListDelegate : public WebStateListDelegate { 12 class FakeWebStateListDelegate : public WebStateListDelegate {
13 public: 13 public:
14 FakeWebStateListDelegate(); 14 FakeWebStateListDelegate();
15 ~FakeWebStateListDelegate() override; 15 ~FakeWebStateListDelegate() override;
16 16
17 // WebStateListDelegate implementation. 17 // WebStateListDelegate implementation.
18 void WillAddWebState(web::WebState* web_state) override; 18 void WillAddWebState(web::WebState* web_state) override;
19 void WebStateDetached(web::WebState* web_state) override;
19 20
20 private: 21 private:
21 DISALLOW_COPY_AND_ASSIGN(FakeWebStateListDelegate); 22 DISALLOW_COPY_AND_ASSIGN(FakeWebStateListDelegate);
22 }; 23 };
23 24
24 #endif // IOS_SHARED_CHROME_BROWSER_TABS_FAKE_WEB_STATE_LIST_DELEGATE_H_ 25 #endif // IOS_SHARED_CHROME_BROWSER_TABS_FAKE_WEB_STATE_LIST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698