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

Issue 2272793007: Material Page Info (Views, 1/3): Rename {ChosenObject, PermissionSelector}View classes to {...}Row. (Closed)

Created:
4 years, 3 months ago by lgarron
Modified:
4 years, 3 months ago
Reviewers:
msw, felt
CC:
chromium-reviews, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Material Page Info (Views, 1/3): Rename {ChosenObject, PermissionSelector}View classes to {...}Row. In the near future, these will not be Views of their own, but classes that manage individual rows in a GridLayout. Also adds a missing build file entry for `chosen_object_row_observer.h`. BUG=512442 Committed: https://crrev.com/8f0f6cbe0c26ac1f11509984db71e8e344b48baa Cr-Commit-Position: refs/heads/master@{#416874}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments. #

Total comments: 4

Patch Set 3 : Update BUILD.gn file as well. #

Patch Set 4 : Fix rebase-induced formatting throughout permission_selector_row. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -709 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
A + chrome/browser/ui/views/website_settings/chosen_object_row.h View 1 2 3 chunks +13 lines, -10 lines 0 comments Download
A + chrome/browser/ui/views/website_settings/chosen_object_row.cc View 1 2 4 chunks +8 lines, -8 lines 0 comments Download
A + chrome/browser/ui/views/website_settings/chosen_object_row_observer.h View 1 1 chunk +6 lines, -6 lines 0 comments Download
D chrome/browser/ui/views/website_settings/chosen_object_view.h View 1 2 1 chunk +0 lines, -42 lines 0 comments Download
D chrome/browser/ui/views/website_settings/chosen_object_view.cc View 1 2 1 chunk +0 lines, -83 lines 0 comments Download
D chrome/browser/ui/views/website_settings/chosen_object_view_observer.h View 1 chunk +0 lines, -22 lines 0 comments Download
M chrome/browser/ui/views/website_settings/permission_prompt_impl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A + chrome/browser/ui/views/website_settings/permission_selector_row.h View 1 2 3 5 chunks +14 lines, -13 lines 0 comments Download
A + chrome/browser/ui/views/website_settings/permission_selector_row.cc View 2 3 10 chunks +14 lines, -14 lines 0 comments Download
A + chrome/browser/ui/views/website_settings/permission_selector_row_observer.h View 1 1 chunk +6 lines, -6 lines 0 comments Download
D chrome/browser/ui/views/website_settings/permission_selector_view.h View 1 chunk +0 lines, -72 lines 0 comments Download
D chrome/browser/ui/views/website_settings/permission_selector_view.cc View 1 chunk +0 lines, -380 lines 0 comments Download
D chrome/browser/ui/views/website_settings/permission_selector_view_observer.h View 1 chunk +0 lines, -22 lines 0 comments Download
M chrome/browser/ui/views/website_settings/website_settings_popup_view.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/website_settings/website_settings_popup_view.cc View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/website_settings/website_settings_popup_view_unittest.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 1 chunk +6 lines, -5 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
lgarron
felt@, could you review? I don't think this is significant enough to require a Views ...
4 years, 3 months ago (2016-08-31 20:29:01 UTC) #3
msw
It might make more sense to rename after your View->not-a-view change goes through. Perhaps there's ...
4 years, 3 months ago (2016-09-01 01:42:08 UTC) #6
msw
On 2016/09/01 01:42:08, msw wrote: > It might make more sense to rename after your ...
4 years, 3 months ago (2016-09-01 01:43:50 UTC) #7
lgarron
msw@, could you take another look? Yeah, I thought a bit about the name. "Row" ...
4 years, 3 months ago (2016-09-02 02:56:49 UTC) #8
msw
lgtm
4 years, 3 months ago (2016-09-06 19:04:08 UTC) #14
felt
It isn't compiling because of the chosen_object_view.cc name change, can you please fix?
4 years, 3 months ago (2016-09-06 19:56:00 UTC) #15
lgarron
On 2016/09/06 at 19:56:00, felt wrote: > It isn't compiling because of the chosen_object_view.cc name ...
4 years, 3 months ago (2016-09-06 20:01:33 UTC) #16
felt
lgtm % compile error and tiny nits https://codereview.chromium.org/2272793007/diff/20001/chrome/browser/ui/views/website_settings/permission_selector_row.cc File chrome/browser/ui/views/website_settings/permission_selector_row.cc (right): https://codereview.chromium.org/2272793007/diff/20001/chrome/browser/ui/views/website_settings/permission_selector_row.cc#newcode359 chrome/browser/ui/views/website_settings/permission_selector_row.cc:359: FOR_EACH_OBSERVER(PermissionSelectorRowObserver, observer_list_, ...
4 years, 3 months ago (2016-09-06 20:03:53 UTC) #17
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/2272793007/100001
4 years, 3 months ago (2016-09-07 06:37:31 UTC) #22
lgarron
https://codereview.chromium.org/2272793007/diff/20001/chrome/browser/ui/views/website_settings/permission_selector_row.cc File chrome/browser/ui/views/website_settings/permission_selector_row.cc (right): https://codereview.chromium.org/2272793007/diff/20001/chrome/browser/ui/views/website_settings/permission_selector_row.cc#newcode359 chrome/browser/ui/views/website_settings/permission_selector_row.cc:359: FOR_EACH_OBSERVER(PermissionSelectorRowObserver, observer_list_, On 2016/09/06 at 20:03:53, felt wrote: > ...
4 years, 3 months ago (2016-09-07 06:55:26 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 3 months ago (2016-09-07 07:45:54 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 07:48:04 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8f0f6cbe0c26ac1f11509984db71e8e344b48baa
Cr-Commit-Position: refs/heads/master@{#416874}

Powered by Google App Engine
This is Rietveld 408576698