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