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

Issue 1245683002: Implements N:M forwarding of OmniboxEditModel events on iOS. (Closed)

Created:
5 years, 5 months ago by sdefresne
Modified:
5 years, 5 months ago
Reviewers:
blundell
CC:
chromium-reviews, sdefresne+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implements N:M forwarding of OmniboxEditModel events on iOS. RLZTrackerDelegate implementation on iOS need to listen to events from any OmniboxEditModel (all other clients of the same events on iOS also do not care about which OmniboxEditModel sends them). Introduce OmniboxEditModelObserverRelay to allow N:M forwarding. This class will be informed of events sent by all OmniboxEditModel and will forward them to all interested observers. BUG=511570, 371536 Committed: https://crrev.com/62fe105c137ec2d3752c306b03cda5a2d3f0cda2 Cr-Commit-Position: refs/heads/master@{#339640}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address comments by blundell #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -3 lines) Patch
A ios/chrome/browser/omnibox/omnibox_event_global_tracker.h View 1 1 chunk +48 lines, -0 lines 0 comments Download
A ios/chrome/browser/omnibox/omnibox_event_global_tracker.cc View 1 1 chunk +24 lines, -0 lines 0 comments Download
M ios/chrome/ios_chrome.gyp View 1 4 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
sdefresne
PTAL
5 years, 5 months ago (2015-07-20 16:30:55 UTC) #2
sdefresne
https://codereview.chromium.org/1245683002/diff/20001/ios/chrome/browser/omnibox/omnibox_edit_model_observer_relay.h File ios/chrome/browser/omnibox/omnibox_edit_model_observer_relay.h (right): https://codereview.chromium.org/1245683002/diff/20001/ios/chrome/browser/omnibox/omnibox_edit_model_observer_relay.h#newcode19 ios/chrome/browser/omnibox/omnibox_edit_model_observer_relay.h:19: class OmniboxEditModelObserverRelay { I don't like this name, what ...
5 years, 5 months ago (2015-07-21 08:26:22 UTC) #4
blundell
lgtm https://codereview.chromium.org/1245683002/diff/20001/ios/chrome/browser/omnibox/omnibox_edit_model_observer_relay.h File ios/chrome/browser/omnibox/omnibox_edit_model_observer_relay.h (right): https://codereview.chromium.org/1245683002/diff/20001/ios/chrome/browser/omnibox/omnibox_edit_model_observer_relay.h#newcode17 ios/chrome/browser/omnibox/omnibox_edit_model_observer_relay.h:17: // OmniboxEditModelObserverRelay does N:M matching between all OmniboxEditModel ...
5 years, 5 months ago (2015-07-21 09:11:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1245683002/40001
5 years, 5 months ago (2015-07-21 12:05:22 UTC) #8
sdefresne
https://codereview.chromium.org/1245683002/diff/20001/ios/chrome/browser/omnibox/omnibox_edit_model_observer_relay.h File ios/chrome/browser/omnibox/omnibox_edit_model_observer_relay.h (right): https://codereview.chromium.org/1245683002/diff/20001/ios/chrome/browser/omnibox/omnibox_edit_model_observer_relay.h#newcode17 ios/chrome/browser/omnibox/omnibox_edit_model_observer_relay.h:17: // OmniboxEditModelObserverRelay does N:M matching between all OmniboxEditModel On ...
5 years, 5 months ago (2015-07-21 12:05:32 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 5 months ago (2015-07-21 12:14:40 UTC) #10
commit-bot: I haz the power
5 years, 5 months ago (2015-07-21 12:15:38 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/62fe105c137ec2d3752c306b03cda5a2d3f0cda2
Cr-Commit-Position: refs/heads/master@{#339640}

Powered by Google App Engine
This is Rietveld 408576698