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

Issue 10829452: Auto select the connection tab of the Website Settings UI in case of an https error or mixed content (Closed)

Created:
8 years, 4 months ago by markusheintz_
Modified:
8 years, 3 months ago
CC:
chromium-reviews, tfarina, markusheintz_
Visibility:
Public.

Description

If a site contains mixed content or the https connection has an error then the Website Settings UI automatically selects the connection when it is opened. BUG=143922 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154137

Patch Set 1 #

Patch Set 2 : " #

Patch Set 3 : " #

Total comments: 4

Patch Set 4 : Address comments (erg). #

Total comments: 8

Patch Set 5 : Address comments (wtc). #

Total comments: 2

Patch Set 6 : Address comments (wtc). #

Patch Set 7 : Add views specific parts. #

Total comments: 25

Patch Set 8 : Address comments (msw). #

Patch Set 9 : " #

Total comments: 11

Patch Set 10 : Address comments (msw). #

Total comments: 4

Patch Set 11 : Address comments (msw). #

Patch Set 12 : " #

Patch Set 13 : " #

Total comments: 6

Patch Set 14 : " #

Patch Set 15 : Address comments and really upload the CL :) #

Total comments: 2

Patch Set 16 : Rebase tot. #

Patch Set 17 : Fix build issues. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -21 lines) Patch
M chrome/browser/ui/cocoa/website_settings_bubble_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +17 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/website_settings/website_settings_popup_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/website_settings/website_settings_popup_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +19 lines, -7 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings.cc View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_ui.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_unittest.cc View 1 2 3 4 5 10 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
markusheintz_
First review round: Please review the appropriate part of this CL. Thanks a lot :) ...
8 years, 4 months ago (2012-08-21 16:57:32 UTC) #1
Patrick Dubroy
LGTM. On 2012/08/21 16:57:32, markusheintz_ wrote: > First review round: > > Please review the ...
8 years, 4 months ago (2012-08-21 17:01:16 UTC) #2
markusheintz_
http://codereview.chromium.org/10829452/diff/4006/chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc File chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc (right): http://codereview.chromium.org/10829452/diff/4006/chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc#newcode531 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc:531: tab_id_index_map_[tab_id]); @erg: I wonder whether I'm not over complicating ...
8 years, 4 months ago (2012-08-21 17:07:06 UTC) #3
Elliot Glaysher
http://codereview.chromium.org/10829452/diff/4006/chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc File chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc (right): http://codereview.chromium.org/10829452/diff/4006/chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc#newcode531 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc:531: tab_id_index_map_[tab_id]); On 2012/08/21 17:07:07, markusheintz_ wrote: > @erg: I ...
8 years, 4 months ago (2012-08-21 17:12:36 UTC) #4
markusheintz_
http://codereview.chromium.org/10829452/diff/4006/chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc File chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc (right): http://codereview.chromium.org/10829452/diff/4006/chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc#newcode531 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc:531: tab_id_index_map_[tab_id]); On 2012/08/21 17:12:36, Elliot Glaysher wrote: > On ...
8 years, 4 months ago (2012-08-21 17:22:54 UTC) #5
Elliot Glaysher
lgtm
8 years, 4 months ago (2012-08-21 17:24:27 UTC) #6
wtc
Patch set 4 LGTM. As instructed, I only reviewed chrome/browser/ui/website_settings/website_settings.cc. http://codereview.chromium.org/10829452/diff/13001/chrome/browser/ui/website_settings/website_settings.cc File chrome/browser/ui/website_settings/website_settings.cc (right): http://codereview.chromium.org/10829452/diff/13001/chrome/browser/ui/website_settings/website_settings.cc#newcode417 ...
8 years, 4 months ago (2012-08-21 21:45:32 UTC) #7
markusheintz_
@wtc: I'm not sure if we should check for the revocation status here. I remember ...
8 years, 4 months ago (2012-08-21 22:29:44 UTC) #8
wtc
Patch set 5 LGTM. http://codereview.chromium.org/10829452/diff/13001/chrome/browser/ui/website_settings/website_settings.cc File chrome/browser/ui/website_settings/website_settings.cc (right): http://codereview.chromium.org/10829452/diff/13001/chrome/browser/ui/website_settings/website_settings.cc#newcode425 chrome/browser/ui/website_settings/website_settings.cc:425: site_identity_status_ == SITE_IDENTITY_STATUS_CERT_REVOCATION_UNKNOWN) Not checking ...
8 years, 4 months ago (2012-08-22 19:02:27 UTC) #9
markusheintz_
http://codereview.chromium.org/10829452/diff/13001/chrome/browser/ui/website_settings/website_settings.cc File chrome/browser/ui/website_settings/website_settings.cc (right): http://codereview.chromium.org/10829452/diff/13001/chrome/browser/ui/website_settings/website_settings.cc#newcode425 chrome/browser/ui/website_settings/website_settings.cc:425: site_identity_status_ == SITE_IDENTITY_STATUS_CERT_REVOCATION_UNKNOWN) On 2012/08/22 19:02:27, wtc wrote: > ...
8 years, 4 months ago (2012-08-23 00:12:32 UTC) #10
markusheintz_
@Michael: Could you please review the views specific parts of this CL? Thanks a lot
8 years, 4 months ago (2012-08-23 00:32:32 UTC) #11
markusheintz_
Also adding Scott. @Scott: Could you take a look at the comment in website_settings_popup_view.cc:527. Thanks ...
8 years, 4 months ago (2012-08-23 00:49:14 UTC) #12
msw
Some nits, and an idea. http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings/website_settings_popup_view.cc (right): http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc#newcode525 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc:525: // correctly. If this ...
8 years, 4 months ago (2012-08-23 01:01:35 UTC) #13
sky
http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings/website_settings_popup_view.cc (right): http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc#newcode531 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc:531: tabbed_pane_->SelectTabAt(tab_index); Oy, why the hack? Can't we fix this ...
8 years, 4 months ago (2012-08-23 04:01:47 UTC) #14
markusheintz_
http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings/website_settings_popup_view.cc (right): http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc#newcode525 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc:525: // correctly. If this is not done then the ...
8 years, 4 months ago (2012-08-23 19:46:21 UTC) #15
msw
http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings/website_settings_popup_view.cc (right): http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc#newcode531 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc:531: tabbed_pane_->SelectTabAt(tab_index); On 2012/08/23 19:46:21, markusheintz_ wrote: > On 2012/08/23 ...
8 years, 4 months ago (2012-08-23 20:11:30 UTC) #16
markusheintz_
http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings/website_settings_popup_view.cc (right): http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc#newcode531 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc:531: tabbed_pane_->SelectTabAt(tab_index); On 2012/08/23 20:11:30, msw wrote: > On 2012/08/23 ...
8 years, 4 months ago (2012-08-23 20:34:33 UTC) #17
msw
http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings/website_settings_popup_view.cc (right): http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc#newcode531 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc:531: tabbed_pane_->SelectTabAt(tab_index); On 2012/08/23 20:34:33, markusheintz_ wrote: > On 2012/08/23 ...
8 years, 4 months ago (2012-08-23 21:26:39 UTC) #18
markusheintz_
Thanks a lot for all the comments and patience. http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings/website_settings_popup_view.cc (right): http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc#newcode531 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc:531: ...
8 years, 4 months ago (2012-08-23 22:21:34 UTC) #19
msw
http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings/website_settings_popup_view.cc (right): http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc#newcode531 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc:531: tabbed_pane_->SelectTabAt(tab_index); On 2012/08/23 22:21:34, markusheintz_ wrote: > On 2012/08/23 ...
8 years, 4 months ago (2012-08-23 22:59:41 UTC) #20
markusheintz_
http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings/website_settings_popup_view.cc (right): http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc#newcode546 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc:546: DCHECK_EQ(TAB_ID_PERMISSIONS, 0); On 2012/08/23 22:59:41, msw wrote: > On ...
8 years, 4 months ago (2012-08-24 12:42:43 UTC) #21
Patrick Dubroy
http://codereview.chromium.org/10829452/diff/17002/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm File chrome/browser/ui/cocoa/website_settings_bubble_controller.mm (right): http://codereview.chromium.org/10829452/diff/17002/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm#newcode362 chrome/browser/ui/cocoa/website_settings_bubble_controller.mm:362: CGFloat tabWidth = textSize.width + 2 * kTabLabelXPadding; On ...
8 years, 4 months ago (2012-08-24 12:48:15 UTC) #22
sky
http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings/website_settings_popup_view.cc (right): http://codereview.chromium.org/10829452/diff/18011/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc#newcode531 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc:531: tabbed_pane_->SelectTabAt(tab_index); On 2012/08/23 22:59:41, msw wrote: > On 2012/08/23 ...
8 years, 4 months ago (2012-08-24 17:41:30 UTC) #23
markusheintz_
Great! Thanks Scott. Mike think I addressed your comments. Do you have any other suggestions? ...
8 years, 4 months ago (2012-08-24 18:02:46 UTC) #24
msw
http://codereview.chromium.org/10829452/diff/17002/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm File chrome/browser/ui/cocoa/website_settings_bubble_controller.mm (right): http://codereview.chromium.org/10829452/diff/17002/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm#newcode362 chrome/browser/ui/cocoa/website_settings_bubble_controller.mm:362: CGFloat tabWidth = textSize.width + 2 * kTabLabelXPadding; On ...
8 years, 4 months ago (2012-08-24 18:56:40 UTC) #25
msw
http://codereview.chromium.org/10829452/diff/19017/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm File chrome/browser/ui/cocoa/website_settings_bubble_controller.mm (right): http://codereview.chromium.org/10829452/diff/19017/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm#newcode372 chrome/browser/ui/cocoa/website_settings_bubble_controller.mm:372: DCHECK_EQ( [segmentedControl_ segmentCount ], NUM_TAB_IDS); nit: no space after ...
8 years, 4 months ago (2012-08-24 18:59:13 UTC) #26
msw
http://codereview.chromium.org/10829452/diff/19017/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm File chrome/browser/ui/cocoa/website_settings_bubble_controller.mm (right): http://codereview.chromium.org/10829452/diff/19017/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm#newcode372 chrome/browser/ui/cocoa/website_settings_bubble_controller.mm:372: DCHECK_EQ( [segmentedControl_ segmentCount ], NUM_TAB_IDS); On 2012/08/24 18:59:14, msw ...
8 years, 4 months ago (2012-08-24 19:00:01 UTC) #27
sky
It looks like you haven't updated the cl yet. -Scott On Fri, Aug 24, 2012 ...
8 years, 4 months ago (2012-08-24 19:20:23 UTC) #28
markusheintz_
Ahh ... sorry for forgetting to update the CL. Done. http://codereview.chromium.org/10829452/diff/19017/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm File chrome/browser/ui/cocoa/website_settings_bubble_controller.mm (right): http://codereview.chromium.org/10829452/diff/19017/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm#newcode372 ...
8 years, 3 months ago (2012-08-27 09:09:29 UTC) #29
sky
LGTM
8 years, 3 months ago (2012-08-27 14:58:04 UTC) #30
msw
LGTM with an optional nit to investigate. http://codereview.chromium.org/10829452/diff/19019/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings/website_settings_popup_view.cc (right): http://codereview.chromium.org/10829452/diff/19019/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc#newcode533 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc:533: SizeToContents(); nit: ...
8 years, 3 months ago (2012-08-27 17:41:33 UTC) #31
markusheintz_
Thanks a for the reviews. http://codereview.chromium.org/10829452/diff/19019/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings/website_settings_popup_view.cc (right): http://codereview.chromium.org/10829452/diff/19019/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc#newcode533 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc:533: SizeToContents(); On 2012/08/27 17:41:33, ...
8 years, 3 months ago (2012-08-29 10:49:03 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/markusheintz@chromium.org/10829452/30001
8 years, 3 months ago (2012-08-29 10:49:18 UTC) #33
commit-bot: I haz the power
Try job failure for 10829452-30001 (retry) (previous was lost) on linux_chromeos for step "compile" (clobber ...
8 years, 3 months ago (2012-08-29 11:38:49 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/markusheintz@chromium.org/10829452/32006
8 years, 3 months ago (2012-08-29 15:03:08 UTC) #35
commit-bot: I haz the power
Try job failure for 10829452-32006 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 3 months ago (2012-08-29 16:58:07 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/markusheintz@chromium.org/10829452/32006
8 years, 3 months ago (2012-08-30 11:21:24 UTC) #37
commit-bot: I haz the power
8 years, 3 months ago (2012-08-30 13:26:23 UTC) #38
Change committed as 154137

Powered by Google App Engine
This is Rietveld 408576698