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

Side by Side Diff: ios/chrome/browser/tabs/tab_model_web_state_list_delegate.mm

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 #import "ios/chrome/browser/tabs/tab_model_web_state_list_delegate.h" 5 #import "ios/chrome/browser/tabs/tab_model_web_state_list_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 #if !defined(__has_feature) || !__has_feature(objc_arc) 9 #if !defined(__has_feature) || !__has_feature(objc_arc)
10 #error "This file requires ARC support." 10 #error "This file requires ARC support."
11 #endif 11 #endif
12 12
13 TabModelWebStateListDelegate::TabModelWebStateListDelegate(TabModel* tab_model) 13 TabModelWebStateListDelegate::TabModelWebStateListDelegate(TabModel* tab_model)
14 : tab_model_(tab_model) { 14 : tab_model_(tab_model) {
15 DCHECK(tab_model_); 15 DCHECK(tab_model_);
16 } 16 }
17 17
18 TabModelWebStateListDelegate::~TabModelWebStateListDelegate() = default; 18 TabModelWebStateListDelegate::~TabModelWebStateListDelegate() = default;
19 19
20 void TabModelWebStateListDelegate::WillAddWebState(web::WebState* web_state) {} 20 void TabModelWebStateListDelegate::WillAddWebState(web::WebState* web_state) {}
21
22 void TabModelWebStateListDelegate::WebStateDetached(web::WebState* web_state) {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698