Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / ios / chrome / browser / ui / orientation_limiting_navigation_controller.h
blobe687823534c698c9361ce0141a7fb04e0dda0681
1 // Copyright (c) 2012 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 #ifndef IOS_CHROME_BROWSER_UI_ORIENTATION_LIMITING_NAVIGATION_CONTROLLER_H_
5 #define IOS_CHROME_BROWSER_UI_ORIENTATION_LIMITING_NAVIGATION_CONTROLLER_H_
7 #import <UIKit/UIKit.h>
9 // A navigation controller that supports only |UIInterfaceOrientationPortrait|
10 // orientation on iPhone and supports all orientations on iPad.
11 @interface OrientationLimitingNavigationController : UINavigationController
12 @end
14 #endif // IOS_CHROME_BROWSER_UI_ORIENTATION_LIMITING_NAVIGATION_CONTROLLER_H_