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

Issue 1059743003: Remove NOTIFICATION_FAVICON_UPDATED (Closed)

Created:
5 years, 8 months ago by sdefresne
Modified:
5 years, 8 months ago
CC:
browser-components-watch_chromium.org, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, davidben+watch_chromium.org, extensions-reviews_chromium.org, gavinp+prer_chromium.org, stevenjb, tburkard+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@get-active-title
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove NOTIFICATION_FAVICON_UPDATED Change notification NOTIFICATION_FAVICON_UPDATED into an event sent to FaviconDriverObserver and change client code to be observers instead. Pass the FaviconDriver to OnFaviconUpdated() event so that listeners can find the content::WebContents corresponding to the event (as some of the client code did listen to multiple content::WebContents). BUG=362072 Committed: https://crrev.com/b0befeec4f82ae3bc79c53d69ce91b52d466f044 Cr-Commit-Position: refs/heads/master@{#324201}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address comments #

Total comments: 2

Patch Set 3 : Address comment #

Total comments: 1

Patch Set 4 : Add DISALLOW_COPY_AND_ASSIGN(FaviconUpdateWatcher) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -36 lines) Patch
M chrome/browser/android/tab_android.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/android/tab_android.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chrome_notification_types.h View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_event_router.h View 4 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_event_router.cc View 6 chunks +19 lines, -11 lines 0 comments Download
M chrome/browser/favicon/favicon_handler_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/favicon/favicon_tab_helper.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/favicon/favicon_tab_helper.cc View 1 2 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/favicon/favicon_tab_helper_browsertest.cc View 5 chunks +23 lines, -6 lines 0 comments Download
M chrome/browser/prerender/prerender_browsertest.cc View 1 2 3 4 chunks +40 lines, -3 lines 0 comments Download
M components/favicon/core/favicon_driver.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M components/favicon/core/favicon_driver_observer.h View 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
sdefresne
jif: please take a look bauerb: please review as OWNERS of chrome/browser/android/tab_android.cc chrome/browser/android/tab_android.h jochen: please ...
5 years, 8 months ago (2015-04-03 14:53:34 UTC) #3
not at google - send to devlin
extensions lgtm
5 years, 8 months ago (2015-04-03 16:10:43 UTC) #4
jif
lgtm with comment. https://codereview.chromium.org/1059743003/diff/20001/chrome/browser/android/tab_android.h File chrome/browser/android/tab_android.h (right): https://codereview.chromium.org/1059743003/diff/20001/chrome/browser/android/tab_android.h#newcode142 chrome/browser/android/tab_android.h:142: void OnFaviconUpdated(favicon::FaviconDriver*, add name of parameter.
5 years, 8 months ago (2015-04-07 07:25:15 UTC) #5
sdefresne
5 years, 8 months ago (2015-04-07 09:17:54 UTC) #7
sdefresne
sky: please review as OWNERS of chrome/browser/chrome_notification_types.h chrome/browser/prerender/prerender_browsertest.cc
5 years, 8 months ago (2015-04-07 09:18:13 UTC) #8
Bernhard Bauer
android LGTM https://codereview.chromium.org/1059743003/diff/40001/components/favicon/core/favicon_driver.h File components/favicon/core/favicon_driver.h (right): https://codereview.chromium.org/1059743003/diff/40001/components/favicon/core/favicon_driver.h#newcode77 components/favicon/core/favicon_driver.h:77: // Sends notification that the current page ...
5 years, 8 months ago (2015-04-07 11:28:00 UTC) #9
sdefresne
jochen: please review as OWNERS of chrome/browser/chrome_notification_types.h chrome/browser/prerender/prerender_browsertest.cc
5 years, 8 months ago (2015-04-07 16:40:40 UTC) #11
sdefresne
https://codereview.chromium.org/1059743003/diff/40001/components/favicon/core/favicon_driver.h File components/favicon/core/favicon_driver.h (right): https://codereview.chromium.org/1059743003/diff/40001/components/favicon/core/favicon_driver.h#newcode77 components/favicon/core/favicon_driver.h:77: // Sends notification that the current page favicon change. ...
5 years, 8 months ago (2015-04-07 16:54:55 UTC) #12
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/1059743003/diff/60001/chrome/browser/prerender/prerender_browsertest.cc File chrome/browser/prerender/prerender_browsertest.cc (right): https://codereview.chromium.org/1059743003/diff/60001/chrome/browser/prerender/prerender_browsertest.cc#newcode168 chrome/browser/prerender/prerender_browsertest.cc:168: }; nit. DISALLOW_COPY_AND_ASSIGN()
5 years, 8 months ago (2015-04-07 19:03:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1059743003/80001
5 years, 8 months ago (2015-04-08 07:53:53 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 8 months ago (2015-04-08 09:22:18 UTC) #17
commit-bot: I haz the power
5 years, 8 months ago (2015-04-08 09:23:31 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b0befeec4f82ae3bc79c53d69ce91b52d466f044
Cr-Commit-Position: refs/heads/master@{#324201}

Powered by Google App Engine
This is Rietveld 408576698