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

Issue 2803293002: Create Bookmark Footnote desktop iOS promotion (Closed)

Created:
3 years, 8 months ago by mrefaat
Modified:
3 years, 7 months ago
Reviewers:
mrefaat1, sky, jasonkliu1
CC:
chromium-reviews, tfarina, srahim+watch_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Create Bookmark Footnote desktop iOS promotion. Create a footnote that promote for chrome on iOS on the bookmark bubble, when the footnote link is clicked the desktop iOS promotion Bubble will appear. Introduce new entry point: FootnoteFollowupBubble this is used to distinguish in logging between bubble used on the original bookmark promo and the bubble that appear when link on footnote is clicked. Update BubbleFrameView to allow removing the footnote in the transition between clicking the footnote link and showing the bookmark promotion bubble. example: https://drive.google.com/a/google.com/file/d/0B9T1TKmsVG94YVZRUkJzdDltS2M/view Review-Url: https://codereview.chromium.org/2803293002 Cr-Commit-Position: refs/heads/master@{#474593} Committed: https://chromium.googlesource.com/chromium/src/+/862a261b9f735eabd3b17b08fe4e7e3873c8c14e

Patch Set 1 : Add footnote promotion #

Total comments: 24

Patch Set 2 : address comments #

Patch Set 3 : testing patch - crashes on test #

Patch Set 4 : no explicit remove #

Total comments: 10

Patch Set 5 : comments #

Patch Set 6 : add protected getters #

Patch Set 7 : win only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+374 lines, -339 lines) Patch
M chrome/app/bookmarks_strings.grdp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/chromium_strings.grd View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
A + chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_bubble_controller.h View 1 2 3 4 5 6 3 chunks +10 lines, -28 lines 0 comments Download
A chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_bubble_controller.cc View 1 2 3 4 5 6 1 chunk +83 lines, -0 lines 0 comments Download
A + chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_bubble_controller_unittest.cc View 1 2 3 4 7 chunks +17 lines, -21 lines 0 comments Download
M chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h View 1 2 3 4 5 3 chunks +10 lines, -33 lines 0 comments Download
M chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.cc View 1 2 3 4 5 6 2 chunks +17 lines, -61 lines 0 comments Download
D chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller_unittest.cc View 1 2 1 chunk +0 lines, -173 lines 0 comments Download
A chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_footnote_delegate.h View 1 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h View 1 2 5 chunks +20 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc View 1 2 3 4 5 6 6 chunks +40 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc View 1 2 3 4 5 6 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
A chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_footnote_view.h View 1 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_footnote_view.cc View 1 2 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/enums.xml View 2 chunks +2 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.cc View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_frame_view_unittest.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (26 generated)
mrefaat
3 years, 7 months ago (2017-05-16 15:34:31 UTC) #8
sky
https://codereview.chromium.org/2803293002/diff/80001/chrome/app/bookmarks_strings.grdp File chrome/app/bookmarks_strings.grdp (right): https://codereview.chromium.org/2803293002/diff/80001/chrome/app/bookmarks_strings.grdp#newcode248 chrome/app/bookmarks_strings.grdp:248: To get your bookmarks on all your devices, <ph ...
3 years, 7 months ago (2017-05-17 16:00:41 UTC) #9
mrefaat
https://codereview.chromium.org/2803293002/diff/80001/chrome/app/bookmarks_strings.grdp File chrome/app/bookmarks_strings.grdp (right): https://codereview.chromium.org/2803293002/diff/80001/chrome/app/bookmarks_strings.grdp#newcode248 chrome/app/bookmarks_strings.grdp:248: To get your bookmarks on all your devices, <ph ...
3 years, 7 months ago (2017-05-17 19:44:57 UTC) #10
sky
https://codereview.chromium.org/2803293002/diff/80001/chrome/app/bookmarks_strings.grdp File chrome/app/bookmarks_strings.grdp (right): https://codereview.chromium.org/2803293002/diff/80001/chrome/app/bookmarks_strings.grdp#newcode248 chrome/app/bookmarks_strings.grdp:248: To get your bookmarks on all your devices, <ph ...
3 years, 7 months ago (2017-05-18 02:55:39 UTC) #11
jasonkliu1
On 2017/05/18 02:55:39, sky wrote: > https://codereview.chromium.org/2803293002/diff/80001/chrome/app/bookmarks_strings.grdp > File chrome/app/bookmarks_strings.grdp (right): > > https://codereview.chromium.org/2803293002/diff/80001/chrome/app/bookmarks_strings.grdp#newcode248 > ...
3 years, 7 months ago (2017-05-19 16:45:26 UTC) #12
mrefaat1
https://codereview.chromium.org/2803293002/diff/80001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h File chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h (right): https://codereview.chromium.org/2803293002/diff/80001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h#newcode25 chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h:25: class DesktopIOSPromotionController { On 2017/05/18 02:55:38, sky wrote: > ...
3 years, 7 months ago (2017-05-23 22:15:34 UTC) #16
sky
https://codereview.chromium.org/2803293002/diff/180001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_bubble_controller_unittest.cc File chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_bubble_controller_unittest.cc (right): https://codereview.chromium.org/2803293002/diff/180001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_bubble_controller_unittest.cc#newcode167 chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_bubble_controller_unittest.cc:167: EXPECT_EQ(true, local_state_->GetBoolean( EXPECT_TRUE https://codereview.chromium.org/2803293002/diff/180001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h File chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h (right): https://codereview.chromium.org/2803293002/diff/180001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h#newcode47 chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h:47: ...
3 years, 7 months ago (2017-05-24 00:03:35 UTC) #17
mrefaat1
https://codereview.chromium.org/2803293002/diff/180001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_bubble_controller_unittest.cc File chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_bubble_controller_unittest.cc (right): https://codereview.chromium.org/2803293002/diff/180001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_bubble_controller_unittest.cc#newcode167 chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_bubble_controller_unittest.cc:167: EXPECT_EQ(true, local_state_->GetBoolean( On 2017/05/24 00:03:35, sky wrote: > EXPECT_TRUE ...
3 years, 7 months ago (2017-05-24 02:27:17 UTC) #18
sky
https://codereview.chromium.org/2803293002/diff/180001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h File chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h (right): https://codereview.chromium.org/2803293002/diff/180001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h#newcode47 chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h:47: protected: On 2017/05/24 02:27:17, mrefaat1 wrote: > On 2017/05/24 ...
3 years, 7 months ago (2017-05-24 16:49:54 UTC) #19
mrefaat
On 2017/05/24 16:49:54, sky wrote: > https://codereview.chromium.org/2803293002/diff/180001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h > File chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h > (right): > > https://codereview.chromium.org/2803293002/diff/180001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h#newcode47 ...
3 years, 7 months ago (2017-05-24 19:04:13 UTC) #20
mrefaat
https://codereview.chromium.org/2803293002/diff/80001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h File chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h (right): https://codereview.chromium.org/2803293002/diff/80001/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h#newcode25 chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h:25: class DesktopIOSPromotionController { On 2017/05/18 02:55:38, sky wrote: > ...
3 years, 7 months ago (2017-05-24 19:04:19 UTC) #21
sky
LGTM
3 years, 7 months ago (2017-05-24 21:48:11 UTC) #22
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/2803293002/220001
3 years, 7 months ago (2017-05-24 22:11:12 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/82159)
3 years, 7 months ago (2017-05-24 22:24:31 UTC) #26
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/2803293002/280001
3 years, 7 months ago (2017-05-25 05:39:42 UTC) #38
commit-bot: I haz the power
3 years, 7 months ago (2017-05-25 07:03:36 UTC) #41
Message was sent while issue was closed.
Committed patchset #8 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/862a261b9f735eabd3b17b08fe4e...

Powered by Google App Engine
This is Rietveld 408576698