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

Issue 865373002: Removed calls to [HyperlinkTextView setMessageAndLink:withLink:...] (Closed)

Created:
5 years, 11 months ago by shrike
Modified:
5 years, 10 months ago
CC:
chromium-reviews, tfarina, noyau+watch_chromium.org, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removed calls to [HyperlinkTextView setMessageAndLink:withLink:...] Replaced occurrences of [HyperlinkTextView setMessageAndLink:withLink:atOffset:font: messageColor:linkColor:] with [HyperlinkTextView setMessage:withFont:messageColor:] + [HyperlinkTextView addLinkRange:withName:linkColor] BUG=253755 TEST=for bookmark_sync_promo_controller.mm: Launch the Chrome browser. Click the star icon at the right end of the omni box. In the popover window that appears, confirm that the text at the bottom reads, “Sign in to get your bookmarks everywhere.” and that the text “Sign in” is a clickable link that takes you to the Chrome sign-in page. for extension_installed_bubble_controller.mm: Launch the Chrome browser and type chrome://extensions in the omnibox. In the page that appears click the Get more extensions link at the bottom. Locate the Tag Assistant by Google extension and click it. Click the “+ FREE” button in the upper-right corner of the overlay window that appears. Click “Add” in the overlay window that appears to confirm your action. In the bubble window that appears that says Tag Assistant has been added to Chrome, confirm that the text at the bottom of the bubble window says, “Sign in to Chrome to get this extension, your history, and other Chrome settings on all your devices.”, and that “Sign in to Chrome” is a clickable link that takes you to the Chrome sign-in page. for exclusive_access_bubble_window_controller.mm: Launch the Chrome browser and go to http://davidwalsh.name/demo/fullscreen.php . Click the “Launch Fullscreen” button that appears halfway down the page. If a bubble window appears stating, “davidwalsh.name is now full screen” click Allow. Confirm that in the next bubble window that appears, the text at the right says, “Exit full screen (Esc)” and that the words “Exit full screen” are a clickable link that exits full screen mode when clicked. Committed: https://crrev.com/f9bf8a81ff2ddd329846b2006185223799bc6bfb Cr-Commit-Position: refs/heads/master@{#313774}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Removed unnecessary checks, changed declaration #

Total comments: 6

Patch Set 3 : Removed unnecessary check, changed formatting #

Total comments: 5

Patch Set 4 : Changed line wrapping #

Patch Set 5 : Minor change to address merge conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -32 lines) Patch
M chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm View 1 2 1 chunk +8 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm View 1 2 3 4 1 chunk +15 lines, -13 lines 0 comments Download
M chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller_unittest.mm View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm View 1 2 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 40 (6 generated)
shrike
Thanks for reviewing my changes - let me know if you have feedback.
5 years, 11 months ago (2015-01-23 17:16:37 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/865373002/diff/1/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm File chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm (right): https://codereview.chromium.org/865373002/diff/1/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm#newcode447 chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm:447: if ([link length] != 0) { When would the ...
5 years, 11 months ago (2015-01-23 18:41:02 UTC) #3
shrike
On 2015/01/23 18:41:02, Alexei Svitkine wrote: > https://codereview.chromium.org/865373002/diff/1/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm > File chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm > (right): > > ...
5 years, 11 months ago (2015-01-23 18:57:16 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/865373002/diff/1/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm File chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm (right): https://codereview.chromium.org/865373002/diff/1/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm#newcode241 chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm:241: [(HyperlinkTextView*)exitLabel_.get() Can the type of exitLabel be changed to ...
5 years, 11 months ago (2015-01-23 19:14:19 UTC) #5
shrike
On 2015/01/23 19:14:19, Alexei Svitkine wrote: > https://codereview.chromium.org/865373002/diff/1/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm > File chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm > (right): > > ...
5 years, 11 months ago (2015-01-23 23:37:05 UTC) #6
shrike
PTAL - thanks!
5 years, 11 months ago (2015-01-26 17:53:48 UTC) #7
Alexei Svitkine (slow)
Please add a TEST= line to the description that describes how someone can verify the ...
5 years, 11 months ago (2015-01-26 18:11:19 UTC) #8
shrike
On 2015/01/26 18:11:19, Alexei Svitkine wrote: > Please add a TEST= line to the description ...
5 years, 11 months ago (2015-01-26 18:42:21 UTC) #9
Alexei Svitkine (slow)
On 2015/01/26 18:42:21, shrike wrote: > On 2015/01/26 18:11:19, Alexei Svitkine wrote: > > Please ...
5 years, 11 months ago (2015-01-26 20:06:22 UTC) #10
shrike
On 2015/01/26 20:06:22, Alexei Svitkine wrote: > The TEST= line should specify how QA can ...
5 years, 11 months ago (2015-01-27 18:30:24 UTC) #11
Alexei Svitkine (slow)
On 2015/01/27 18:30:24, shrike wrote: > On 2015/01/26 20:06:22, Alexei Svitkine wrote: > > The ...
5 years, 11 months ago (2015-01-27 19:26:38 UTC) #12
Alexei Svitkine (slow)
One more comment while you're still working on my previous ones. https://codereview.chromium.org/865373002/diff/20001/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm File chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm (right): ...
5 years, 11 months ago (2015-01-27 19:35:11 UTC) #13
shrike
https://codereview.chromium.org/865373002/diff/20001/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm File chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm (right): https://codereview.chromium.org/865373002/diff/20001/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm#newcode454 chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm:454: chrome_style::GetLinkColor())]; On 2015/01/27 19:35:11, Alexei Svitkine wrote: > Nit: ...
5 years, 11 months ago (2015-01-27 19:54:11 UTC) #14
Alexei Svitkine (slow)
https://codereview.chromium.org/865373002/diff/20001/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm File chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm (right): https://codereview.chromium.org/865373002/diff/20001/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm#newcode454 chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm:454: chrome_style::GetLinkColor())]; On 2015/01/27 19:54:11, shrike wrote: > On 2015/01/27 ...
5 years, 11 months ago (2015-01-27 19:55:42 UTC) #15
shrike
On 2015/01/27 19:26:38, Alexei Svitkine wrote: > It might have to be triggered by a ...
5 years, 11 months ago (2015-01-27 19:58:47 UTC) #16
shrike
On 2015/01/27 19:55:42, Alexei Svitkine wrote: > > You are referring to the chrome_style... line? ...
5 years, 11 months ago (2015-01-27 20:02:01 UTC) #17
Alexei Svitkine (slow)
Doesn't look like you uploaded a new patchset.
5 years, 11 months ago (2015-01-27 20:17:27 UTC) #18
shrike
On 2015/01/27 20:17:27, Alexei Svitkine wrote: > Doesn't look like you uploaded a new patchset. ...
5 years, 11 months ago (2015-01-27 20:20:24 UTC) #19
Alexei Svitkine (slow)
Ah ok. Usually saying "done" means there's a new patch ready to take a look ...
5 years, 11 months ago (2015-01-27 20:25:49 UTC) #20
shrike
On 2015/01/27 20:25:49, Alexei Svitkine wrote: > Ah ok. Usually saying "done" means there's a ...
5 years, 10 months ago (2015-01-28 01:45:37 UTC) #21
Alexei Svitkine (slow)
lgtm with a couple last comments https://codereview.chromium.org/865373002/diff/40001/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm (right): https://codereview.chromium.org/865373002/diff/40001/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm#newcode85 chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm:85: NSString* nsLinkText = ...
5 years, 10 months ago (2015-01-28 14:55:04 UTC) #22
shrike
https://codereview.chromium.org/865373002/diff/40001/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm (right): https://codereview.chromium.org/865373002/diff/40001/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm#newcode85 chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm:85: NSString* nsLinkText = SysUTF16ToNSString(linkText); On 2015/01/28 14:55:03, Alexei Svitkine ...
5 years, 10 months ago (2015-01-28 17:35:04 UTC) #23
Alexei Svitkine (slow)
https://codereview.chromium.org/865373002/diff/40001/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm (right): https://codereview.chromium.org/865373002/diff/40001/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm#newcode85 chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm:85: NSString* nsLinkText = SysUTF16ToNSString(linkText); On 2015/01/28 17:35:04, shrike wrote: ...
5 years, 10 months ago (2015-01-28 17:36:58 UTC) #24
shrike
On 2015/01/28 17:36:58, Alexei Svitkine wrote: > Actually, I think the *Fixup variants aren't needed ...
5 years, 10 months ago (2015-01-28 17:43:50 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/865373002/60001
5 years, 10 months ago (2015-01-28 21:13:50 UTC) #27
Alexei Svitkine (slow)
Okay, fair enough. On Wed, Jan 28, 2015 at 4:13 PM, <commit-bot@chromium.org> wrote: > CQ ...
5 years, 10 months ago (2015-01-28 21:24:31 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/28170)
5 years, 10 months ago (2015-01-28 22:31:42 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/865373002/60001
5 years, 10 months ago (2015-01-29 17:39:06 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/28540)
5 years, 10 months ago (2015-01-29 17:42:28 UTC) #34
shrike
On 2015/01/28 21:24:31, Alexei Svitkine wrote: > Okay, fair enough. Hi Alexei, I got a ...
5 years, 10 months ago (2015-01-29 19:46:03 UTC) #35
Alexei Svitkine (slow)
lgtm
5 years, 10 months ago (2015-01-29 19:49:16 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/865373002/80001
5 years, 10 months ago (2015-01-29 19:55:44 UTC) #38
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-01-29 20:29:31 UTC) #39
commit-bot: I haz the power
5 years, 10 months ago (2015-01-29 20:30:13 UTC) #40
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f9bf8a81ff2ddd329846b2006185223799bc6bfb
Cr-Commit-Position: refs/heads/master@{#313774}

Powered by Google App Engine
This is Rietveld 408576698