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

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

Issue 2617543002: Create Desktop to iOS Promotion skeleton. (Closed)
Patch Set: add cocoa modifications 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_CONTROLLER _H_
6 #define CHROME_BROWSER_UI_DESKTOP_IOS_PROMOTION_DESKTOP_IOS_PROMOTION_CONTROLLER _H_
7
8 #include "base/macros.h"
9
10 namespace desktop_ios_promotion {
11 enum class PromotionEntryPoint;
12 }
13
14 // This class provides data to the Desktop to mobile promotion and control the
15 // promotion actions.
16 class DesktopIOSPromotionController {
17 public:
18 // Should be instantiated on the UI thread.
19 DesktopIOSPromotionController();
20 ~DesktopIOSPromotionController();
21
22 // Called by the view code when "Send SMS" button is clicked by the user.
23 void OnSendSMSClicked();
24
25 // Called by the view code when "No Thanks" button is clicked by the user.
26 void OnNoThanksClicked();
27
28 // (TODO): If needed verify that functions that affect the UI are done
29 // on the same thread.
30
31 DISALLOW_COPY_AND_ASSIGN(DesktopIOSPromotionController);
32 };
33
34 #endif // CHROME_BROWSER_UI_DESKTOP_IOS_PROMOTION_DESKTOP_IOS_PROMOTION_CONTROL LER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698