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

Side by Side Diff: ios/clean/chrome/browser/ui/omnibox/location_bar_mediator.mm

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 #import "ios/clean/chrome/browser/ui/omnibox/location_bar_mediator.h" 5 #import "ios/clean/chrome/browser/ui/omnibox/location_bar_mediator.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h" 9 #include "ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h"
10 #include "ios/chrome/browser/ui/toolbar/toolbar_model_impl_ios.h" 10 #include "ios/chrome/browser/ui/toolbar/toolbar_model_impl_ios.h"
11 #include "ios/shared/chrome/browser/tabs/web_state_list.h" 11 #include "ios/chrome/browser/web_state_list/web_state_list.h"
12 #include "ios/shared/chrome/browser/tabs/web_state_list_observer_bridge.h" 12 #include "ios/chrome/browser/web_state_list/web_state_list_observer_bridge.h"
13 #import "ios/shared/chrome/browser/ui/omnibox/location_bar_controller.h" 13 #import "ios/shared/chrome/browser/ui/omnibox/location_bar_controller.h"
14 #import "ios/web/public/navigation_manager.h" 14 #import "ios/web/public/navigation_manager.h"
15 #import "ios/web/public/web_state/web_state.h" 15 #import "ios/web/public/web_state/web_state.h"
16 #import "ios/web/public/web_state/web_state_observer_bridge.h" 16 #import "ios/web/public/web_state/web_state_observer_bridge.h"
17 17
18 #if !defined(__has_feature) || !__has_feature(objc_arc) 18 #if !defined(__has_feature) || !__has_feature(objc_arc)
19 #error "This file requires ARC support." 19 #error "This file requires ARC support."
20 #endif 20 #endif
21 21
22 @interface LocationBarMediator ()<CRWWebStateObserver, 22 @interface LocationBarMediator ()<CRWWebStateObserver,
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 - (void)webStateDidChangeVisibleSecurityState:(web::WebState*)webState { 183 - (void)webStateDidChangeVisibleSecurityState:(web::WebState*)webState {
184 _locationBar->OnToolbarUpdated(); 184 _locationBar->OnToolbarUpdated();
185 } 185 }
186 186
187 - (void)webStateDestroyed:(web::WebState*)webState { 187 - (void)webStateDestroyed:(web::WebState*)webState {
188 _webStateObserver = nullptr; 188 _webStateObserver = nullptr;
189 } 189 }
190 190
191 @end 191 @end
OLDNEW
« no previous file with comments | « ios/clean/chrome/browser/ui/omnibox/BUILD.gn ('k') | ios/clean/chrome/browser/ui/tab_collection/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698