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

Issue 2750623006: Do not reload UI if the Reading List entry does not exist (Closed)

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

Description

Do not reload UI if the Reading List entry does not exist The custom accessibility actions check for the existence of the ReadingListModel entry when configuring a cell. This CL changes this behavior to do nothing when the entry does not exist instead of reloading the UI. BUG=676290, 701956 Review-Url: https://codereview.chromium.org/2750623006 Cr-Commit-Position: refs/heads/master@{#457382} Committed: https://chromium.googlesource.com/chromium/src/+/a757a98d4a7f12ac9b53135dfd8e1452b5455920

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -7 lines) Patch
M ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm View 2 chunks +1 line, -7 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_egtest.mm View 1 3 chunks +32 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_empty_collection_background.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_empty_collection_background.mm View 1 3 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
gambard
PTAL.
3 years, 9 months ago (2017-03-16 08:30:32 UTC) #2
Olivier
https://codereview.chromium.org/2750623006/diff/1/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm File ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm (left): https://codereview.chromium.org/2750623006/diff/1/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm#oldcode699 ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm:699: // The entry has been removed from the model, ...
3 years, 9 months ago (2017-03-16 08:41:33 UTC) #3
gambard
I have added an EG test. https://codereview.chromium.org/2750623006/diff/1/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm File ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm (left): https://codereview.chromium.org/2750623006/diff/1/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm#oldcode699 ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm:699: // The entry ...
3 years, 9 months ago (2017-03-16 08:56:30 UTC) #4
Olivier
lgtm
3 years, 9 months ago (2017-03-16 09:02:37 UTC) #5
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/2750623006/20001
3 years, 9 months ago (2017-03-16 09:03:31 UTC) #7
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 09:15:12 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a757a98d4a7f12ac9b53135dfd8e...

Powered by Google App Engine
This is Rietveld 408576698