OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 // ====== New Architecture ===== |
| 6 // = This code is only used in the new iOS Chrome architecture. = |
| 7 // ============================================================================ |
| 8 |
| 9 #ifndef IOS_CHROME_BROWSER_UI_PRESENTERS_MENU_PRESENTATION_CONTROLLER_H_ |
| 10 #define IOS_CHROME_BROWSER_UI_PRESENTERS_MENU_PRESENTATION_CONTROLLER_H_ |
| 11 |
| 12 #import <UIKit/UIKit.h> |
| 13 |
| 14 // A presentation controller for presenting a "menu" interface: a (usually) |
| 15 // rectangular presentation that covers part of the window, and which doesn't |
| 16 // obscure the presenting view. The presenting view remains in the view |
| 17 // hierarchy. If the presenting view controller confroms to the |
| 18 // MenuPresentationDelegate protocol, that protocol will be used to determine |
| 19 // the region the menu appears in. Otherwise a default rectangular area is |
| 20 // used. |
| 21 @interface MenuPresentationController : UIPresentationController |
| 22 @end |
| 23 |
| 24 #endif // IOS_CHROME_BROWSER_UI_PRESENTERS_MENU_PRESENTATION_CONTROLLER_H_ |
OLD | NEW |