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

Issue 10534138: Add icons to the views Website Settings UI. (Closed)

Created:
8 years, 6 months ago by markusheintz_
Modified:
8 years, 6 months ago
Reviewers:
Finnur, sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Add icons to the views Website Settings UI. Plus sort the methods in website_settings_popup_view.h and website_settings_popup_view.cc in the same order. BUG=113688 TEST=Icons are visible in the UI on Windows Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142210

Patch Set 1 #

Patch Set 2 : " #

Patch Set 3 : " #

Patch Set 4 : " #

Patch Set 5 : " #

Total comments: 8

Patch Set 6 : Address comments (finnur). #

Total comments: 2

Patch Set 7 : Address Comments (sky) #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -56 lines) Patch
M chrome/browser/ui/views/website_settings_popup_view.h View 1 2 3 4 5 6 4 chunks +22 lines, -15 lines 0 comments Download
M chrome/browser/ui/views/website_settings_popup_view.cc View 1 2 3 4 5 6 16 chunks +113 lines, -41 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_ui.h View 1 2 3 4 5 6 2 chunks +16 lines, -0 lines 1 comment Download
M chrome/browser/ui/website_settings/website_settings_ui.cc View 1 2 3 4 5 6 2 chunks +94 lines, -0 lines 1 comment Download

Messages

Total messages: 17 (0 generated)
markusheintz_
@Finnur: Would you mind taking a look at this CL. I'd appreciate your input this. ...
8 years, 6 months ago (2012-06-14 11:38:03 UTC) #1
Finnur
I'd like to see a screenshot before commenting further... Hopefully a before/after, if you have ...
8 years, 6 months ago (2012-06-14 12:32:17 UTC) #2
Finnur
I left out a bit of explanation... I'd like to see a screenshot before commenting ...
8 years, 6 months ago (2012-06-14 12:33:18 UTC) #3
markusheintz_
I shared "befor" and "after" screenshots with you. https://chromiumcodereview.appspot.com/10534138/diff/10/chrome/browser/ui/website_settings/website_settings_ui.cc File chrome/browser/ui/website_settings/website_settings_ui.cc (right): https://chromiumcodereview.appspot.com/10534138/diff/10/chrome/browser/ui/website_settings/website_settings_ui.cc#newcode92 chrome/browser/ui/website_settings/website_settings_ui.cc:92: case ...
8 years, 6 months ago (2012-06-14 12:55:21 UTC) #4
markusheintz_
I also shared a mock with you that show how the UI should look in ...
8 years, 6 months ago (2012-06-14 12:56:39 UTC) #5
Finnur
http://codereview.chromium.org/10534138/diff/10/chrome/browser/ui/views/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings_popup_view.cc (right): http://codereview.chromium.org/10534138/diff/10/chrome/browser/ui/views/website_settings_popup_view.cc#newcode699 chrome/browser/ui/views/website_settings_popup_view.cc:699: string16 text) { const string16& ? http://codereview.chromium.org/10534138/diff/10/chrome/browser/ui/views/website_settings_popup_view.cc#newcode704 chrome/browser/ui/views/website_settings_popup_view.cc:704: label->SetAllowCharacterBreak(true); ...
8 years, 6 months ago (2012-06-14 13:35:46 UTC) #6
markusheintz_
http://codereview.chromium.org/10534138/diff/10/chrome/browser/ui/views/website_settings_popup_view.cc File chrome/browser/ui/views/website_settings_popup_view.cc (right): http://codereview.chromium.org/10534138/diff/10/chrome/browser/ui/views/website_settings_popup_view.cc#newcode699 chrome/browser/ui/views/website_settings_popup_view.cc:699: string16 text) { On 2012/06/14 13:35:46, Finnur wrote: > ...
8 years, 6 months ago (2012-06-14 14:09:43 UTC) #7
Finnur
LGTM with the caveat that this UI is a stepping stone to a slightly different ...
8 years, 6 months ago (2012-06-14 14:37:19 UTC) #8
markusheintz_
Thanks a lot Finnur for the review. @Scott: Could you please review this CL for ...
8 years, 6 months ago (2012-06-14 15:12:21 UTC) #9
sky
https://chromiumcodereview.appspot.com/10534138/diff/1005/chrome/browser/ui/website_settings/website_settings_ui.h File chrome/browser/ui/website_settings/website_settings_ui.h (right): https://chromiumcodereview.appspot.com/10534138/diff/1005/chrome/browser/ui/website_settings/website_settings_ui.h#newcode96 chrome/browser/ui/website_settings/website_settings_ui.h:96: static gfx::Image* GetPermissionIcon(ContentSettingsType type, Why are you returning pointers ...
8 years, 6 months ago (2012-06-14 15:48:40 UTC) #10
markusheintz_
https://chromiumcodereview.appspot.com/10534138/diff/1005/chrome/browser/ui/website_settings/website_settings_ui.h File chrome/browser/ui/website_settings/website_settings_ui.h (right): https://chromiumcodereview.appspot.com/10534138/diff/1005/chrome/browser/ui/website_settings/website_settings_ui.h#newcode96 chrome/browser/ui/website_settings/website_settings_ui.h:96: static gfx::Image* GetPermissionIcon(ContentSettingsType type, On 2012/06/14 15:48:40, sky wrote: ...
8 years, 6 months ago (2012-06-14 16:41:13 UTC) #11
sky
I don't think you even need const since RB doesn't return const. But as long ...
8 years, 6 months ago (2012-06-14 17:02:59 UTC) #12
markusheintz_
On 2012/06/14 17:02:59, sky wrote: > I don't think you even need const since RB ...
8 years, 6 months ago (2012-06-14 18:18:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/markusheintz@chromium.org/10534138/6006
8 years, 6 months ago (2012-06-14 18:18:27 UTC) #14
commit-bot: I haz the power
Change committed as 142210
8 years, 6 months ago (2012-06-14 19:54:22 UTC) #15
tfarina
https://chromiumcodereview.appspot.com/10534138/diff/6006/chrome/browser/ui/website_settings/website_settings_ui.h File chrome/browser/ui/website_settings/website_settings_ui.h (right): https://chromiumcodereview.appspot.com/10534138/diff/6006/chrome/browser/ui/website_settings/website_settings_ui.h#newcode97 chrome/browser/ui/website_settings/website_settings_ui.h:97: ContentSetting setting); nit: wrong indentation here!
8 years, 6 months ago (2012-06-14 19:59:32 UTC) #16
tfarina
8 years, 6 months ago (2012-06-14 20:00:45 UTC) #17
https://chromiumcodereview.appspot.com/10534138/diff/6006/chrome/browser/ui/w...
File chrome/browser/ui/website_settings/website_settings_ui.cc (right):

https://chromiumcodereview.appspot.com/10534138/diff/6006/chrome/browser/ui/w...
chrome/browser/ui/website_settings/website_settings_ui.cc:98: ResourceBundle& rb
= ResourceBundle::GetSharedInstance();
nit: missing ui::
this just works without it because there is a using ui::ResourceBundle in
resource_bundle.h!

Powered by Google App Engine
This is Rietveld 408576698