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

Issue 2354053003: History: Fix flicker of sync notices when loading new data (Closed)

Created:
4 years, 3 months ago by tsergeant
Modified:
4 years, 3 months ago
Reviewers:
msramek
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, Patrick Dubroy, dbeam+watch-history_chromium.org, pam+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

History: Fix flicker of sync notices when loading new data The history page shows a notice when showing synced results from other devices. This notice would frequently flicker when loading in new results (eg, from a search), which was particularly noticable on the MD History page, where this can cause toolbar elements to move around. This fixes the issue by only resetting notice status back to false when there is no web history service. In all other cases, we can rely on the call to web history to reset the sync notices to their correct values. BUG=628555 Committed: https://crrev.com/462304822ad58b7755e9de924c8cda4af093160e Cr-Commit-Position: refs/heads/master@{#420220}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Timeout also resets value #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M chrome/browser/ui/webui/browsing_history_handler.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
tsergeant
Hi msramek@, PTAL. Please let me know if this is the right behavior from a ...
4 years, 3 months ago (2016-09-21 03:46:28 UTC) #4
msramek
Yep, that makes sense. Looks like an overzealous variable initialization on my side. LGTM % ...
4 years, 3 months ago (2016-09-21 08:54:38 UTC) #7
tsergeant
https://codereview.chromium.org/2354053003/diff/1/chrome/browser/ui/webui/browsing_history_handler.cc File chrome/browser/ui/webui/browsing_history_handler.cc (right): https://codereview.chromium.org/2354053003/diff/1/chrome/browser/ui/webui/browsing_history_handler.cc#newcode470 chrome/browser/ui/webui/browsing_history_handler.cc:470: this, &BrowsingHistoryHandler::WebHistoryTimeout); On 2016/09/21 08:54:38, msramek wrote: > WebHistoryTimeout() ...
4 years, 3 months ago (2016-09-22 00:19:59 UTC) #8
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/2354053003/20001
4 years, 3 months ago (2016-09-22 00:20:35 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-22 01:00:38 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 01:06:04 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/462304822ad58b7755e9de924c8cda4af093160e
Cr-Commit-Position: refs/heads/master@{#420220}

Powered by Google App Engine
This is Rietveld 408576698