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

Issue 2541093002: DO NOT COMMIT (Closed)

Created:
4 years ago by gambard
Modified:
4 years ago
CC:
chromium-reviews, sdefresne+watch_chromium.org, pkl (ping after 24h if needed), mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DO NOT COMMIT Tentative CL to explain logic to save favicon during distillation. The main point is the subclass of WebFaviconDriver::FaviconUrlUpdated() by a method saving the page url.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+298 lines, -47 lines) Patch
M components/dom_distiller/ios/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A components/dom_distiller/ios/distiller_favicon_ios.h View 1 chunk +30 lines, -0 lines 0 comments Download
M components/dom_distiller/ios/distiller_page_factory_ios.h View 2 chunks +5 lines, -1 line 0 comments Download
M components/dom_distiller/ios/distiller_page_factory_ios.mm View 1 chunk +8 lines, -5 lines 0 comments Download
M components/dom_distiller/ios/distiller_page_ios.h View 2 chunks +5 lines, -2 lines 0 comments Download
M components/dom_distiller/ios/distiller_page_ios.mm View 4 chunks +28 lines, -14 lines 0 comments Download
M components/favicon/ios/web_favicon_driver.h View 2 chunks +4 lines, -0 lines 0 comments Download
M ios/chrome/browser/dom_distiller/BUILD.gn View 2 chunks +10 lines, -0 lines 0 comments Download
A ios/chrome/browser/dom_distiller/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A ios/chrome/browser/dom_distiller/distiller_favicon.h View 1 chunk +32 lines, -0 lines 0 comments Download
A ios/chrome/browser/dom_distiller/distiller_favicon.mm View 1 chunk +51 lines, -0 lines 0 comments Download
A ios/chrome/browser/dom_distiller/distiller_favicon_driver.h View 1 chunk +35 lines, -0 lines 0 comments Download
A ios/chrome/browser/dom_distiller/distiller_favicon_driver.mm View 1 chunk +39 lines, -0 lines 0 comments Download
M ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc View 2 chunks +4 lines, -1 line 0 comments Download
M ios/web/public/favicon_url.h View 2 chunks +9 lines, -0 lines 0 comments Download
M ios/web/public/favicon_url.cc View 2 chunks +29 lines, -0 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 chunk +5 lines, -24 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 4 (2 generated)
gambard
PTAL. This an idea of how it is possible to get the favicon using the ...
4 years ago (2016-11-30 17:16:56 UTC) #3
kkhorimoto
4 years ago (2016-11-30 18:29:37 UTC) #4
I've commented on your original CL after taking a look at this one.  We should
attempt to debug why GetActiveURL() is not behaving as intended instead of
creating this workaround using subclassing.  If we discover that the visible
NavigationItem's being null is expected (which I don't think is the case), then
we can revisit this approach.

Powered by Google App Engine
This is Rietveld 408576698