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

Side by Side Diff: chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h

Issue 2617543002: Create Desktop to iOS Promotion skeleton. (Closed)
Patch Set: Created 3 years, 11 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 2017 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 CHROME_BROWSER_UI_DESKTOP_IOS_PROMOTION_DESKTOP_IOS_PROMOTION_UTIL_H_
6 #define CHROME_BROWSER_UI_DESKTOP_IOS_PROMOTION_DESKTOP_IOS_PROMOTION_UTIL_H_
7
8 namespace desktop_ios_promotion {
9
10 // Represents the reason that the Desktop to iOS promotion was dismissed for.
11 enum class PromotionDismissalReason {
12 FOCUS_LOST = 0,
13 TAB_SWITCHED,
14 NO_THANKS,
15 CLOSE_BUTTON,
16 SEND_SMS,
17 LEARN_MORE_CLICKED,
18 };
19
20 // The place where the promotion appeared.
21 enum class PromotionEntryPoint {
22 SAVE_PASSWORD_BUBBLE = 0,
23 BOOKMARKS_BUBBLE,
24 BOOKMARKS_LINK,
25 HISTORY_PAGE
26 };
27
28 bool IsEligibleForIOSPromotion();
29
30 } // namespace desktop_ios_promotion
31
32 #endif // CHROME_BROWSER_UI_DESKTOP_IOS_PROMOTION_DESKTOP_IOS_PROMOTION_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698