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 2414453006: ui/base/models: convert usage of FOR_EACH_OBSERVER macro (Closed)

Created:
4 years, 2 months ago by tfarina
Modified:
4 years, 2 months ago
Reviewers:
loyso (OOO), sky
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ui/base/models: convert usage of FOR_EACH_OBSERVER macro ObserverList now supports range-based for loops and thus this can be used to iterate through a list of observers as the FOR_EACH_OBSERVER macro was deprecated. BUG=655021 TEST=ui_base_unittests R=sky@chromium.org Committed: https://crrev.com/b5319f19e04605ea292a54070d7065e53522d7b8 Cr-Commit-Position: refs/heads/master@{#425216}

Patch Set 1 #

Total comments: 4

Patch Set 2 : explicit types #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -21 lines) Patch
M ui/base/models/list_model.h View 1 1 chunk +8 lines, -12 lines 0 comments Download
M ui/base/models/tree_node_model.h View 1 1 chunk +6 lines, -9 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
tfarina
4 years, 2 months ago (2016-10-13 00:50:13 UTC) #3
sky
https://codereview.chromium.org/2414453006/diff/1/ui/base/models/list_model.h File ui/base/models/list_model.h (right): https://codereview.chromium.org/2414453006/diff/1/ui/base/models/list_model.h#newcode103 ui/base/models/list_model.h:103: for (auto& observer : observers_) Why aren't we using ...
4 years, 2 months ago (2016-10-13 02:23:08 UTC) #6
loyso (OOO)
https://codereview.chromium.org/2414453006/diff/1/ui/base/models/list_model.h File ui/base/models/list_model.h (right): https://codereview.chromium.org/2414453006/diff/1/ui/base/models/list_model.h#newcode103 ui/base/models/list_model.h:103: for (auto& observer : observers_) On 2016/10/13 02:23:08, sky ...
4 years, 2 months ago (2016-10-13 04:04:29 UTC) #8
sky
https://codereview.chromium.org/2414453006/diff/1/ui/base/models/list_model.h File ui/base/models/list_model.h (right): https://codereview.chromium.org/2414453006/diff/1/ui/base/models/list_model.h#newcode103 ui/base/models/list_model.h:103: for (auto& observer : observers_) On 2016/10/13 04:04:29, loyso ...
4 years, 2 months ago (2016-10-13 17:07:31 UTC) #9
tfarina
https://codereview.chromium.org/2414453006/diff/1/ui/base/models/list_model.h File ui/base/models/list_model.h (right): https://codereview.chromium.org/2414453006/diff/1/ui/base/models/list_model.h#newcode103 ui/base/models/list_model.h:103: for (auto& observer : observers_) On 2016/10/13 17:07:31, sky ...
4 years, 2 months ago (2016-10-13 17:46:45 UTC) #12
sky
LGTM
4 years, 2 months ago (2016-10-14 00:01:16 UTC) #15
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/2414453006/20001
4 years, 2 months ago (2016-10-14 00:29:14 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-14 00:36:19 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 00:40:22 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b5319f19e04605ea292a54070d7065e53522d7b8
Cr-Commit-Position: refs/heads/master@{#425216}

Powered by Google App Engine
This is Rietveld 408576698