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

Side by Side Diff: ios/chrome/browser/ui/bookmarks/bookmark_navigation_controller.mm

Issue 2586993002: Upstream Chrome on iOS source code [3/11]. (Closed)
Patch Set: Created 4 years 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698