| 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_APP_APP_DELEGATE_H_ | |
| 10 #define IOS_CHROME_APP_APP_DELEGATE_H_ | |
| 11 | |
| 12 #import <UIKit/UIKit.h> | |
| 13 | |
| 14 // The main delegate of the application. | |
| 15 // This class is intended solely to handle the numerous UIApplicationDelegate | |
| 16 // methods and route to other application objects as appropriate. While this | |
| 17 // object does create and own other objects, including the ApplicationState | |
| 18 // object, it shouldn't perform significant manipulation or configuration of | |
| 19 // them. Nor should any of the method implementations in this class contain | |
| 20 // significant logic or any specific feature support; that should all be | |
| 21 // implemented in subsidiary objects this class makes use of. | |
| 22 @interface AppDelegate : NSObject<UIApplicationDelegate> | |
| 23 // Do not add any public API to this class. Other code in Chrome shouldn't | |
| 24 // need to access instances of this class for any purpose. | |
| 25 @end | |
| 26 | |
| 27 #endif // IOS_CHROME_APP_APP_DELEGATE_H_ | |
| OLD | NEW |