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

Issue 2921813002: Removes unnecessary subclassing of BookmarkCollectionView. (Closed)

Created:
3 years, 6 months ago by ramyasharma
Modified:
3 years, 6 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, tfarina, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Removes unnecessary subclassing of BookmarkCollectionView. In the current code BookmarkCollectionView is only subclassed by BookmarkFolderCollectionView. This hierarchy of classes is redundant in the current scenario. The inheritance was introduced in legacy code, when there were more than one subclass. See go/bookmarks-refactor for more details. BUG=705339 Review-Url: https://codereview.chromium.org/2921813002 Cr-Commit-Position: refs/heads/master@{#478941} Committed: https://chromium.googlesource.com/chromium/src/+/6387c0e96147f491c7417ecbad7b1f79f6e32336

Patch Set 1 #

Patch Set 2 #

Patch Set 3 #

Patch Set 4 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+849 lines, -1152 lines) Patch
M ios/chrome/browser/ui/bookmarks/BUILD.gn View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
D ios/chrome/browser/ui/bookmarks/bookmark_collection_view.h View 1 2 3 chunks +14 lines, -123 lines 0 comments Download
D ios/chrome/browser/ui/bookmarks/bookmark_collection_view.mm View 1 2 16 chunks +816 lines, -400 lines 0 comments Download
M ios/chrome/browser/ui/bookmarks/bookmark_folder_collection_view.h View 1 2 1 chunk +0 lines, -39 lines 0 comments Download
M ios/chrome/browser/ui/bookmarks/bookmark_folder_collection_view.mm View 1 2 1 chunk +0 lines, -566 lines 0 comments Download
M ios/chrome/browser/ui/bookmarks/bookmark_home_handset_view_controller.mm View 1 2 3 7 chunks +9 lines, -11 lines 0 comments Download
M ios/chrome/browser/ui/bookmarks/bookmark_home_tablet_ntp_controller.mm View 1 2 3 5 chunks +10 lines, -11 lines 0 comments Download

Messages

Total messages: 25 (20 generated)
ramyasharma
Hi Eric, PTAL? Thanks, Ramya
3 years, 6 months ago (2017-06-06 07:11:06 UTC) #6
noyau (Ping after 24h)
lgtm. Just a nit: I would have kept BookmarkCollection instead of BookmarkFolderCollection as the class ...
3 years, 6 months ago (2017-06-12 08:28:26 UTC) #12
ramyasharma
On 2017/06/12 08:28:26, noyau (Ping after 24h) wrote: > lgtm. > > Just a nit: ...
3 years, 6 months ago (2017-06-13 04:43:01 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/2921813002/100001
3 years, 6 months ago (2017-06-13 07:43:12 UTC) #22
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 08:58:39 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/6387c0e96147f491c7417ecbad7b...

Powered by Google App Engine
This is Rietveld 408576698