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

Side by Side Diff: ios/chrome/browser/ui/settings/native_apps_collection_view_controller_private.h

Issue 2587023002: Upstream Chrome on iOS source code [8/11]. (Closed)
Patch Set: Created 3 years, 12 months 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 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 #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_NATIVE_APPS_COLLECTION_VIEW_CONTROLLER_PR IVATE_H_
6 #define IOS_CHROME_BROWSER_UI_SETTINGS_NATIVE_APPS_COLLECTION_VIEW_CONTROLLER_PR IVATE_H_
7
8 #import "ios/chrome/browser/ui/settings/native_apps_collection_view_controller.h "
9
10 // This file is a private header for NativeAppsCollectionViewController.
11 // It exposes private details for testing purposes.
12
13 namespace settings {
14
15 // User actions.
16 typedef enum {
17 kNativeAppsActionDidNothing,
18 kNativeAppsActionClickedInstall,
19 kNativeAppsActionTurnedDefaultBrowserOn,
20 kNativeAppsActionTurnedDefaultBrowserOff,
21 kNativeAppsActionTurnedAutoOpenOn,
22 kNativeAppsActionTurnedAutoOpenOff,
23 kNativeAppsActionCount,
24 } NativeAppsAction;
25
26 } // namespace settings
27
28 // Arbitrary value to shift indices (from 0 to N), to a range that doesn't
29 // include 0, in order to not mistake the default value (0) with the first
30 // index. That way, an invalid (or default) tag value can be detected.
31 // That means that all app cells have a tag computed by adding their index and
32 // this shift.
33 extern const NSInteger kTagShift;
34
35 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_NATIVE_APPS_COLLECTION_VIEW_CONTROLLER _PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698