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

Side by Side Diff: ios/shared/chrome/browser/ui/browser_list/browser_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
« no previous file with comments | « ios/shared/chrome/browser/ui/browser_list/browser_web_state_list_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/shared/chrome/browser/ui/browser_list/browser_web_state_list_delega te.h" 5 #import "ios/shared/chrome/browser/ui/browser_list/browser_web_state_list_delega te.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 BrowserWebStateListDelegate::BrowserWebStateListDelegate(Browser* browser) 13 BrowserWebStateListDelegate::BrowserWebStateListDelegate(Browser* browser)
14 : browser_(browser) { 14 : browser_(browser) {
15 DCHECK(browser_); 15 DCHECK(browser_);
16 } 16 }
17 17
18 BrowserWebStateListDelegate::~BrowserWebStateListDelegate() = default; 18 BrowserWebStateListDelegate::~BrowserWebStateListDelegate() = default;
19 19
20 void BrowserWebStateListDelegate::WillAddWebState(web::WebState* web_state) {} 20 void BrowserWebStateListDelegate::WillAddWebState(web::WebState* web_state) {}
21
22 void BrowserWebStateListDelegate::WebStateDetached(web::WebState* web_state) {}
OLDNEW
« no previous file with comments | « ios/shared/chrome/browser/ui/browser_list/browser_web_state_list_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698