OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_NTP_NTP_HOME_MEDIATOR_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_NTP_NTP_HOME_MEDIATOR_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h" |
| 11 #import "ios/chrome/browser/ui/url_loader.h" |
| 12 |
| 13 @protocol TabCommands; |
| 14 |
| 15 // A mediator object that sets an NTP home view controller's appeareance based |
| 16 // on various data sources. |
| 17 @interface NTPHomeMediator : NSObject<UrlLoader, OmniboxFocuser> |
| 18 |
| 19 // The dispatcher for this mediator. |
| 20 @property(nonatomic, weak) id<TabCommands> dispatcher; |
| 21 |
| 22 @end |
| 23 |
| 24 #endif // IOS_CLEAN_CHROME_BROWSER_UI_NTP_NTP_HOME_MEDIATOR_H_ |
OLD | NEW |