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

Issue 233623002: Shows the info bubble when the location bar icon is clicked in the origin chip. (Closed)

Created:
6 years, 8 months ago by macourteau
Modified:
6 years, 7 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Shows the info bubble when the location bar icon is clicked in the origin chip. BUG=349065 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269671

Patch Set 1 #

Patch Set 2 : Comment tweaks. #

Total comments: 25

Patch Set 3 : Addresses comments from groby@. #

Patch Set 4 : Addresses more comments from groby@. #

Patch Set 5 : Fixes tests. #

Total comments: 4

Patch Set 6 : Addresses nits from groby@. #

Total comments: 10

Patch Set 7 : Addresses comments from pkasting@. #

Patch Set 8 : . #

Total comments: 8

Patch Set 9 : . #

Total comments: 6

Patch Set 10 : Addresses nit from pkasting@. #

Patch Set 11 : Addresses last nits from pkasting@. #

Patch Set 12 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -166 lines) Patch
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_unittest.mm View 6 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/button_decoration.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/button_decoration.mm View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/generated_credit_card_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/generated_credit_card_decoration.mm View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm View 1 2 3 2 chunks +15 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/mic_search_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/mic_search_decoration.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/origin_chip_decoration.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +15 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/origin_chip_decoration.mm View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +33 lines, -18 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/page_action_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/search_button_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/search_button_decoration.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/star_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/star_decoration.mm View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/translate_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/translate_decoration.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/zoom_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/zoom_decoration.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model.cc View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model_impl.h View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +81 lines, -86 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/origin_chip_view.h View 1 2 3 4 5 6 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/location_bar/origin_chip_view.cc View 1 2 3 4 5 6 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
groby-ooo-7-16
https://codereview.chromium.org/233623002/diff/20001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm (left): https://codereview.chromium.org/233623002/diff/20001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm#oldcode510 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm:510: [self focusNotificationFor:focusEvent ofView:controlView]; The focus notification should always happen ...
6 years, 8 months ago (2014-04-10 21:26:09 UTC) #1
macourteau
https://codereview.chromium.org/233623002/diff/20001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm (left): https://codereview.chromium.org/233623002/diff/20001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm#oldcode510 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm:510: [self focusNotificationFor:focusEvent ofView:controlView]; On 2014/04/10 21:26:09, groby wrote: > ...
6 years, 7 months ago (2014-04-28 19:19:24 UTC) #2
groby-ooo-7-16
Hopefully these comments make sense. The focus handling situation is tricky, but I believe a) ...
6 years, 7 months ago (2014-04-30 21:55:39 UTC) #3
macourteau
https://codereview.chromium.org/233623002/diff/20001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm (left): https://codereview.chromium.org/233623002/diff/20001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm#oldcode510 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm:510: [self focusNotificationFor:focusEvent ofView:controlView]; On 2014/04/30 21:55:39, groby wrote: > ...
6 years, 7 months ago (2014-05-01 19:04:48 UTC) #4
groby-ooo-7-16
lgtm https://codereview.chromium.org/233623002/diff/90001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm (right): https://codereview.chromium.org/233623002/diff/90001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm#newcode521 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm:521: handled = decoration->AsButtonDecoration()->OnMousePressed( You can remove "AsButtonDecoration" - ...
6 years, 7 months ago (2014-05-02 01:31:11 UTC) #5
macourteau
https://codereview.chromium.org/233623002/diff/90001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm (right): https://codereview.chromium.org/233623002/diff/90001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm#newcode521 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm:521: handled = decoration->AsButtonDecoration()->OnMousePressed( On 2014/05/02 01:31:11, groby wrote: > ...
6 years, 7 months ago (2014-05-02 14:35:08 UTC) #6
macourteau
Hi Scott & Peter, Could you take a look at this? shess for c/b/u/cocoa/location_bar/* pkasting ...
6 years, 7 months ago (2014-05-02 14:39:53 UTC) #7
Peter Kasting
https://codereview.chromium.org/233623002/diff/110001/chrome/browser/ui/toolbar/toolbar_model.h File chrome/browser/ui/toolbar/toolbar_model.h (right): https://codereview.chromium.org/233623002/diff/110001/chrome/browser/ui/toolbar/toolbar_model.h#newcode102 chrome/browser/ui/toolbar/toolbar_model.h:102: virtual bool ShouldShowOriginChip() const = 0; Make this non-virtual ...
6 years, 7 months ago (2014-05-05 22:39:03 UTC) #8
macourteau
https://codereview.chromium.org/233623002/diff/110001/chrome/browser/ui/toolbar/toolbar_model.h File chrome/browser/ui/toolbar/toolbar_model.h (right): https://codereview.chromium.org/233623002/diff/110001/chrome/browser/ui/toolbar/toolbar_model.h#newcode102 chrome/browser/ui/toolbar/toolbar_model.h:102: virtual bool ShouldShowOriginChip() const = 0; On 2014/05/05 22:39:04, ...
6 years, 7 months ago (2014-05-08 21:35:55 UTC) #9
Scott Hess - ex-Googler
lgtm. Just double-check the reset() point. Sorry for the delay. The CL was intimidating me, ...
6 years, 7 months ago (2014-05-08 23:00:46 UTC) #10
groby-ooo-7-16
https://codereview.chromium.org/233623002/diff/140001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm (right): https://codereview.chromium.org/233623002/diff/140001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm#newcode513 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm:513: [self focusNotificationFor:focusEvent ofView:controlView]; On 2014/05/08 23:00:47, shess wrote: > ...
6 years, 7 months ago (2014-05-08 23:14:07 UTC) #11
Scott Hess - ex-Googler
https://codereview.chromium.org/233623002/diff/140001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm (right): https://codereview.chromium.org/233623002/diff/140001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm#newcode513 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm:513: [self focusNotificationFor:focusEvent ofView:controlView]; On 2014/05/08 23:14:07, groby wrote: > ...
6 years, 7 months ago (2014-05-08 23:21:35 UTC) #12
macourteau
https://codereview.chromium.org/233623002/diff/140001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm (right): https://codereview.chromium.org/233623002/diff/140001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm#newcode513 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm:513: [self focusNotificationFor:focusEvent ofView:controlView]; On 2014/05/08 23:14:07, groby wrote: > ...
6 years, 7 months ago (2014-05-09 14:00:26 UTC) #13
Scott Hess - ex-Googler
still lgtm!
6 years, 7 months ago (2014-05-09 14:23:40 UTC) #14
macourteau
On 2014/05/09 14:23:40, shess wrote: > still lgtm! Thanks! Peter?
6 years, 7 months ago (2014-05-09 15:39:58 UTC) #15
Peter Kasting
LGTM I realize you're just moving the code below around, but while you're touching it ...
6 years, 7 months ago (2014-05-09 20:35:40 UTC) #16
macourteau
Just one more question re:one of the nits. Thanks! https://codereview.chromium.org/233623002/diff/160001/chrome/browser/ui/toolbar/toolbar_model_impl.cc File chrome/browser/ui/toolbar/toolbar_model_impl.cc (right): https://codereview.chromium.org/233623002/diff/160001/chrome/browser/ui/toolbar/toolbar_model_impl.cc#newcode104 chrome/browser/ui/toolbar/toolbar_model_impl.cc:104: ...
6 years, 7 months ago (2014-05-09 20:53:22 UTC) #17
Peter Kasting
https://codereview.chromium.org/233623002/diff/160001/chrome/browser/ui/toolbar/toolbar_model_impl.cc File chrome/browser/ui/toolbar/toolbar_model_impl.cc (right): https://codereview.chromium.org/233623002/diff/160001/chrome/browser/ui/toolbar/toolbar_model_impl.cc#newcode104 chrome/browser/ui/toolbar/toolbar_model_impl.cc:104: NOTREACHED(); On 2014/05/09 20:53:23, macourteau wrote: > On 2014/05/09 ...
6 years, 7 months ago (2014-05-09 21:15:46 UTC) #18
macourteau
https://codereview.chromium.org/233623002/diff/160001/chrome/browser/ui/toolbar/toolbar_model_impl.cc File chrome/browser/ui/toolbar/toolbar_model_impl.cc (right): https://codereview.chromium.org/233623002/diff/160001/chrome/browser/ui/toolbar/toolbar_model_impl.cc#newcode104 chrome/browser/ui/toolbar/toolbar_model_impl.cc:104: NOTREACHED(); On 2014/05/09 21:15:47, Peter Kasting wrote: > On ...
6 years, 7 months ago (2014-05-09 22:23:51 UTC) #19
macourteau
The CQ bit was checked by macourteau@chromium.org
6 years, 7 months ago (2014-05-09 22:24:00 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/macourteau@chromium.org/233623002/200001
6 years, 7 months ago (2014-05-09 22:25:05 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 23:38:50 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 23:43:18 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/3075) linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/25242) linux_chromium_clang_dbg ...
6 years, 7 months ago (2014-05-09 23:43:18 UTC) #24
macourteau
The CQ bit was checked by macourteau@chromium.org
6 years, 7 months ago (2014-05-10 02:14:22 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/macourteau@chromium.org/233623002/220001
6 years, 7 months ago (2014-05-10 02:17:30 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-10 05:42:43 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-10 05:49:11 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/67005)
6 years, 7 months ago (2014-05-10 05:49:12 UTC) #29
macourteau
The CQ bit was checked by macourteau@chromium.org
6 years, 7 months ago (2014-05-10 13:16:27 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/macourteau@chromium.org/233623002/220001
6 years, 7 months ago (2014-05-10 13:18:13 UTC) #31
commit-bot: I haz the power
6 years, 7 months ago (2014-05-11 01:16:32 UTC) #32
Message was sent while issue was closed.
Change committed as 269671

Powered by Google App Engine
This is Rietveld 408576698