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 #import "ios/chrome/browser/ui/bookmarks/bookmark_navigation_controller.h" |
| 6 |
| 7 #include "base/mac/scoped_nsobject.h" |
| 8 #import "ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h" |
| 9 |
| 10 @implementation BookmarkNavigationController |
| 11 |
| 12 - (id)initWithRootViewController:(UIViewController*)rootViewController { |
| 13 self = [super initWithRootViewController:rootViewController]; |
| 14 if (self) { |
| 15 [self setNavigationBarHidden:YES]; |
| 16 } |
| 17 return self; |
| 18 } |
| 19 |
| 20 - (void)viewDidLoad { |
| 21 [super viewDidLoad]; |
| 22 self.view.backgroundColor = [UIColor whiteColor]; |
| 23 } |
| 24 |
| 25 - (BOOL)disablesAutomaticKeyboardDismissal { |
| 26 // This allows us to hide the keyboard when controllers are being displayed in |
| 27 // a modal form sheet on the iPad. |
| 28 return NO; |
| 29 } |
| 30 |
| 31 @end |
OLD | NEW |