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

Issue 2511043002: [Mac] Omnibox icons active states (Closed)

Created:
4 years, 1 month ago by spqchan
Modified:
4 years ago
Reviewers:
Robert Sesek, shrike
CC:
chromium-reviews, tfarina, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] Omnibox icons active states Implemented OmniboxIconBubbleController for bubbles anchored to the omnibox icons. This controller updates the icon's active state based on the state of the bubble. This CL affect the following bubbles: - Translate - Permission - Content settings - Bookmarks - Manage passwords Other bubbles will be update in a follow up CL BUG=588377, 667707 Committed: https://crrev.com/90af6b8cabfe002784be9735e4a1b675588b06f2 Cr-Commit-Position: refs/heads/master@{#435370}

Patch Set 1 #

Patch Set 2 : Added PageInfoBubble #

Patch Set 3 : Cleaned up #

Patch Set 4 : Fixed test and hover #

Patch Set 5 : Fixed an edge case #

Patch Set 6 : Added ManagedPasswords bubble #

Patch Set 7 : Fixed unit test #

Patch Set 8 : Cleaned up #

Total comments: 9

Patch Set 9 : Fix for rsesek #

Patch Set 10 : Nits #

Patch Set 11 : Rebased #

Patch Set 12 : Fixed unit test #

Patch Set 13 : fixed interactive test #

Patch Set 14 : Fixed Bookmark test #

Total comments: 8

Patch Set 15 : Fix for rsesek #

Patch Set 16 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -98 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.h View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm View 1 2 3 4 5 6 7 6 chunks +18 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa_browsertest.mm View 1 2 3 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +25 lines, -15 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 2 chunks +14 lines, -17 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/ui/cocoa/omnibox_decoration_bubble_controller.h View 1 2 3 4 5 6 7 8 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/omnibox_decoration_bubble_controller.mm View 1 2 3 4 5 6 7 8 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_controller.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/translate/translate_bubble_controller.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +17 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 83 (64 generated)
shrike
What is the bug for this change? I'm trying to figure out if https://crbug.com/591140 should ...
4 years, 1 month ago (2016-11-17 23:45:04 UTC) #6
spqchan
On 2016/11/17 23:45:04, shrike wrote: > What is the bug for this change? I'm trying ...
4 years, 1 month ago (2016-11-17 23:49:04 UTC) #7
spqchan
CL is now ready, PTAL :)
4 years, 1 month ago (2016-11-18 19:34:42 UTC) #21
shrike
Looks good except it doesn't seem like the colors are correct for Incognito? I think ...
4 years, 1 month ago (2016-11-18 23:41:58 UTC) #25
spqchan
On 2016/11/18 23:41:58, shrike wrote: > Looks good except it doesn't seem like the colors ...
4 years, 1 month ago (2016-11-18 23:47:25 UTC) #26
spqchan
PTAL
4 years, 1 month ago (2016-11-19 00:25:40 UTC) #28
Robert Sesek
https://codereview.chromium.org/2511043002/diff/140001/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h File chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h (right): https://codereview.chromium.org/2511043002/diff/140001/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h#newcode115 chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h:115: NSPoint GetSaveCreditCardBubblePoint() const; What about this and GetPageInfoBubblePoint() ? ...
4 years, 1 month ago (2016-11-21 19:28:23 UTC) #29
spqchan
PTAL after thanksgiving holidays. Have a good one! https://codereview.chromium.org/2511043002/diff/140001/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h File chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h (right): https://codereview.chromium.org/2511043002/diff/140001/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h#newcode115 chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h:115: NSPoint ...
4 years ago (2016-11-23 22:58:54 UTC) #58
Robert Sesek
On 2016/11/23 22:58:54, spqchan wrote: > PTAL after thanksgiving holidays. Have a good one! Thanks! ...
4 years ago (2016-11-28 22:46:59 UTC) #60
spqchan
PTAL https://codereview.chromium.org/2511043002/diff/260001/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h File chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h (right): https://codereview.chromium.org/2511043002/diff/260001/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h#newcode184 chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h:184: NSView* tracking_area_owner_; On 2016/11/28 22:46:59, Robert Sesek wrote: ...
4 years ago (2016-11-29 17:34:49 UTC) #65
Robert Sesek
LGTM
4 years ago (2016-11-29 21:02:21 UTC) #66
spqchan
On 2016/11/29 21:02:21, Robert Sesek wrote: > LGTM thanks!
4 years ago (2016-11-29 21:13:27 UTC) #67
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/2511043002/280001
4 years ago (2016-11-29 21:14:14 UTC) #69
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/314833)
4 years ago (2016-11-30 00:04:24 UTC) #71
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/2511043002/280001
4 years ago (2016-11-30 00:09:54 UTC) #73
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromium_presubmit on ...
4 years ago (2016-11-30 01:58:44 UTC) #75
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/2511043002/300001
4 years ago (2016-11-30 18:24:01 UTC) #78
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years ago (2016-11-30 19:23:28 UTC) #81
commit-bot: I haz the power
4 years ago (2016-11-30 19:27:55 UTC) #83
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/90af6b8cabfe002784be9735e4a1b675588b06f2
Cr-Commit-Position: refs/heads/master@{#435370}

Powered by Google App Engine
This is Rietveld 408576698