|
Componentize FaviconTabHelper
Split FaviconTabHelper into three classes depending on what can be
shared with iOS (FaviconDriverImpl), what only depends on //content
(ContentFaviconDriver) and what depends on //chrome (FaviconTabHelper).
FaviconTabHelper still exists to provide an easier factory (as
ContentFaviconDriver cannot access KeyedService factories defined in
//chrome) as FaviconTabHelper::CreateForWebContents() is called from
multiple locations in //chrome code and to provide an implementation for
FaviconTabHelper::ShouldDisplayFavicon (this method will be turned into
a free function in a followup CL as it only depends on WebContents
public interface, not on ContentFaviconDriver).
Introduce WebFaviconDriver, an iOS implementation of FaviconDriver that
uses FaviconDriverImpl to share as much code as possible with the
ContentFaviconDriver.
BUG= 370877, 472117
Committed: https://crrev.com/70a04802728cbdc0c3da3c5a43fd2aa6feaf1ca8
Cr-Commit-Position: refs/heads/master@{#324430}
Total comments: 14
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+906 lines, -470 lines) |
Patch |
 |
M |
chrome/browser/favicon/favicon_handler_unittest.cc
|
View
|
|
2 chunks |
+29 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/favicon/favicon_tab_helper.h
|
View
|
1
|
2 chunks |
+8 lines, -131 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/favicon/favicon_tab_helper.cc
|
View
|
|
2 chunks |
+20 lines, -316 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/favicon/favicon_tab_helper_browsertest.cc
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/favicon.gypi
|
View
|
1
2
|
4 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/favicon/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/favicon/content/BUILD.gn
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/favicon/content/content_favicon_driver.h
|
View
|
1
2
3
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/favicon/content/content_favicon_driver.cc
|
View
|
1
2
3
|
1 chunk |
+182 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/favicon/core/BUILD.gn
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/favicon/core/favicon_driver.h
|
View
|
1
|
3 chunks |
+42 lines, -9 lines |
0 comments
|
Download
|
 |
A |
components/favicon/core/favicon_driver.cc
|
View
|
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/favicon/core/favicon_driver_impl.h
|
View
|
1
2
3
|
1 chunk |
+98 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/favicon/core/favicon_driver_impl.cc
|
View
|
|
1 chunk |
+178 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/favicon/core/favicon_handler.h
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/favicon/core/favicon_handler.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/favicon/ios/web_favicon_driver.h
|
View
|
1
2
3
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/favicon/ios/web_favicon_driver.cc
|
View
|
1
2
3
|
1 chunk |
+122 lines, -0 lines |
0 comments
|
Download
|
Total messages: 24 (10 generated)
|