Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Unified Diff: ios/chrome/app/app_delegate.h

Issue 2580363002: Upstream Chrome on iOS source code [1/11]. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/app/README.md ('k') | ios/chrome/app/app_delegate.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/app/app_delegate.h
diff --git a/ios/chrome/app/app_delegate.h b/ios/chrome/app/app_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..8990eccd723c39826ac629cd4e00392f973b515a
--- /dev/null
+++ b/ios/chrome/app/app_delegate.h
@@ -0,0 +1,27 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// ====== New Architecture =====
+// = This code is only used in the new iOS Chrome architecture. =
+// ============================================================================
+
+#ifndef IOS_CHROME_APP_APP_DELEGATE_H_
+#define IOS_CHROME_APP_APP_DELEGATE_H_
+
+#import <UIKit/UIKit.h>
+
+// The main delegate of the application.
+// This class is intended solely to handle the numerous UIApplicationDelegate
+// methods and route to other application objects as appropriate. While this
+// object does create and own other objects, including the ApplicationState
+// object, it shouldn't perform significant manipulation or configuration of
+// them. Nor should any of the method implementations in this class contain
+// significant logic or any specific feature support; that should all be
+// implemented in subsidiary objects this class makes use of.
+@interface AppDelegate : NSObject<UIApplicationDelegate>
+// Do not add any public API to this class. Other code in Chrome shouldn't
+// need to access instances of this class for any purpose.
+@end
+
+#endif // IOS_CHROME_APP_APP_DELEGATE_H_
« no previous file with comments | « ios/chrome/app/README.md ('k') | ios/chrome/app/app_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698