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

Issue 2617543002: Create Desktop to iOS Promotion skeleton. (Closed)

Created:
3 years, 11 months ago by mrefaat
Modified:
3 years, 11 months ago
Reviewers:
vasilii, sky, justincohen
CC:
chromium-reviews, tfarina, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create Desktop to iOS Promotion. Added General skeleton to all windows to ios promotions in: chrome/browser/ui/desktop_io_promotion/ Which will be responsible for determining the eligibility of users to get the promotion, executes actions like sending SMS and general logging. Create Savepasswords desktop to ios promotion UI. Guarded by false flag to not show, a bubble appears that contains the promotion text and send to phone call to action and dismiss option (see the attached screen). screen: https://drive.google.com/a/google.com/file/d/0B9T1TKmsVG94YVd6cHMwUk9CMVk/view BUG=676655 Review-Url: https://codereview.chromium.org/2617543002 Cr-Commit-Position: refs/heads/master@{#442124} Committed: https://chromium.googlesource.com/chromium/src/+/bd2449f5de94d47bf4b33c439021897a8f3a86d0

Patch Set 1 #

Total comments: 22

Patch Set 2 : comments #

Total comments: 2

Patch Set 3 : rename model to controller #

Patch Set 4 : add cocoa modifications #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -14 lines) Patch
M chrome/app/generated_resources.grd View 1 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/passwords/save_pending_password_view_controller.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/passwords/signin_promo_view_controller_unittest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h View 1 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.cc View 1 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_bubble_model.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_bubble_model.cc View 1 5 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
A chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_view.h View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_view.cc View 1 2 3 1 chunk +81 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc View 6 chunks +9 lines, -5 lines 0 comments Download
M components/password_manager/core/common/password_manager_ui.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (29 generated)
mrefaat
Same as the old CL but created with chromium account.
3 years, 11 months ago (2017-01-04 17:19:36 UTC) #2
sky
https://codereview.chromium.org/2617543002/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2617543002/diff/1/chrome/app/generated_resources.grd#newcode6246 chrome/app/generated_resources.grd:6246: + <message name="IDS_PASSWORD_MANAGER_DESKTOP_IOS_PROMO_TITLE" desc="Title for Chrome iOS promotion appearing ...
3 years, 11 months ago (2017-01-04 20:52:37 UTC) #5
mrefaat
https://codereview.chromium.org/2617543002/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2617543002/diff/1/chrome/app/generated_resources.grd#newcode6246 chrome/app/generated_resources.grd:6246: + <message name="IDS_PASSWORD_MANAGER_DESKTOP_IOS_PROMO_TITLE" desc="Title for Chrome iOS promotion appearing ...
3 years, 11 months ago (2017-01-05 00:03:08 UTC) #7
mrefaat
https://codereview.chromium.org/2617543002/diff/1/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_model.h File chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_model.h (right): https://codereview.chromium.org/2617543002/diff/1/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_model.h#newcode8 chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_model.h:8: #include <memory> On 2017/01/04 20:52:36, sky wrote: > AFAICT ...
3 years, 11 months ago (2017-01-05 00:04:09 UTC) #8
sky
LGTM https://codereview.chromium.org/2617543002/diff/40001/chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_view.cc File chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_view.cc (right): https://codereview.chromium.org/2617543002/diff/40001/chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_view.cc#newcode28 chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_view.cc:28: } Generally we add // namespace for the ...
3 years, 11 months ago (2017-01-05 00:35:21 UTC) #9
vasilii
lgtm https://codereview.chromium.org/2617543002/diff/1/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_model.h File chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_model.h (right): https://codereview.chromium.org/2617543002/diff/1/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_model.h#newcode15 chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_model.h:15: class DesktopIOSPromotionModel { On 2017/01/05 00:03:08, mrefaat wrote: ...
3 years, 11 months ago (2017-01-05 17:40:21 UTC) #10
mrefaat
https://codereview.chromium.org/2617543002/diff/1/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_model.h File chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_model.h (right): https://codereview.chromium.org/2617543002/diff/1/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_model.h#newcode15 chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_model.h:15: class DesktopIOSPromotionModel { On 2017/01/05 17:40:20, vasilii wrote: > ...
3 years, 11 months ago (2017-01-05 23:54:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2617543002/140001
3 years, 11 months ago (2017-01-06 23:46:41 UTC) #34
commit-bot: I haz the power
3 years, 11 months ago (2017-01-07 01:08:35 UTC) #37
Message was sent while issue was closed.
Committed patchset #5 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/bd2449f5de94d47bf4b33c439021...

Powered by Google App Engine
This is Rietveld 408576698