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

Unified Diff: ios/public/provider/chrome/browser/native_app_launcher/native_app_types.h

Issue 2483303003: [ios] Create NativeAppTypes class (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/public/provider/chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/provider/chrome/browser/native_app_launcher/native_app_types.h
diff --git a/ios/public/provider/chrome/browser/native_app_launcher/native_app_types.h b/ios/public/provider/chrome/browser/native_app_launcher/native_app_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..892fa09c2fb5773892f5406c8005db37c77c03b5
--- /dev/null
+++ b/ios/public/provider/chrome/browser/native_app_launcher/native_app_types.h
@@ -0,0 +1,26 @@
+// 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.
+
+#ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_TYPES_H_
+#define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_TYPES_H_
+
+// Types of user interactions with Native App Launcher infobars.
+enum NativeAppActionType {
+ NATIVE_APP_ACTION_IGNORE,
+ NATIVE_APP_ACTION_DISMISS,
+ NATIVE_APP_ACTION_CLICK_INSTALL,
+ NATIVE_APP_ACTION_CLICK_LAUNCH,
+ NATIVE_APP_ACTION_CLICK_ONCE,
+ NATIVE_APP_ACTION_CLICK_ALWAYS,
+ NATIVE_APP_ACTION_COUNT,
+};
+
+// Types of NativeAppInfoBarDelegate controllers.
+enum NativeAppControllerType {
+ NATIVE_APP_INSTALLER_CONTROLLER,
+ NATIVE_APP_LAUNCHER_CONTROLLER,
+ NATIVE_APP_OPEN_POLICY_CONTROLLER
+};
+
+#endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_TYPES_H_
« no previous file with comments | « ios/public/provider/chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698