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
14 #endif // IOS_CHROME_BROWSER_UI_ORIENTATION_LIMITING_NAVIGATION_CONTROLLER_H_