OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_TOOLBAR_CONTROLLER_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_TOOLBAR_CONTROLLER_H_ |
| 7 |
| 8 #import "ios/chrome/browser/ui/toolbar/toolbar_controller.h" |
| 9 |
| 10 @protocol OmniboxFocuser; |
| 11 @protocol WebToolbarDelegate; |
| 12 |
| 13 // New tab page specific toolbar. The background view is hidden and the |
| 14 // navigation buttons are also hidden if there is no forward history. Does not |
| 15 // contain an omnibox but tapping in the center will focus the main toolbar's |
| 16 // omnibox. |
| 17 @interface NewTabPageToolbarController : ToolbarController |
| 18 |
| 19 // Designated initializer. The underlying ToolbarController is initialized with |
| 20 // ToolbarControllerStyleLightMode. |
| 21 - (instancetype)initWithToolbarDelegate:(id<WebToolbarDelegate>)delegate |
| 22 focuser:(id<OmniboxFocuser>)focuser; |
| 23 |
| 24 @end |
| 25 |
| 26 #endif // IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_TOOLBAR_CONTROLLER_H_ |
OLD | NEW |