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

Issue 11198007: Clear the favicon of a tab when navigating to a url on a different host. (Closed)

Created:
8 years, 2 months ago by pkotwicz
Modified:
8 years, 2 months ago
Reviewers:
Charlie Reis, jam, sky, AtnNn
CC:
chromium-reviews, browser-components-watch_chromium.org
Visibility:
Public.

Description

Clear the favicon of a tab when navigating to a url on a different host. Contributed by etienne@atnnn.com BUG=28515 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163752

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : Nit as per sky #

Patch Set 6 : #

Patch Set 7 : Prevent theoretical negative interaction with BackForwardMenuModel #

Total comments: 1

Patch Set 8 : Moved implementation to navigation_controller_impl #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 3

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -3 lines) Patch
M AUTHORS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/navigation_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +9 lines, -3 lines 0 comments Download
M content/browser/web_contents/navigation_controller_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +111 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
pkotwicz
Etienne thanks for the CL! I wrote a unittest and added a comment Scott can ...
8 years, 2 months ago (2012-10-16 21:41:54 UTC) #1
sky
LGTM http://codereview.chromium.org/11198007/diff/6001/chrome/browser/favicon/favicon_tab_helper_unittest.cc File chrome/browser/favicon/favicon_tab_helper_unittest.cc (right): http://codereview.chromium.org/11198007/diff/6001/chrome/browser/favicon/favicon_tab_helper_unittest.cc#newcode5 chrome/browser/favicon/favicon_tab_helper_unittest.cc:5: #include "chrome/browser/favicon/favicon_tab_helper.h" newline between 5/6.
8 years, 2 months ago (2012-10-16 23:00:17 UTC) #2
pkotwicz
The code in this CL is based off of http://codereview.chromium.org/10886059/
8 years, 2 months ago (2012-10-17 01:29:34 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/11198007/8
8 years, 2 months ago (2012-10-17 01:29:58 UTC) #4
pkotwicz
Scott can you please take another look? In this patch, I avoid clearing in the ...
8 years, 2 months ago (2012-10-17 15:20:25 UTC) #5
sky
http://codereview.chromium.org/11198007/diff/8002/chrome/browser/favicon/favicon_tab_helper.cc File chrome/browser/favicon/favicon_tab_helper.cc (right): http://codereview.chromium.org/11198007/diff/8002/chrome/browser/favicon/favicon_tab_helper.cc#newcode178 chrome/browser/favicon/favicon_tab_helper.cc:178: // The NavigationEntry may be reused from the previously ...
8 years, 2 months ago (2012-10-17 16:07:34 UTC) #6
pkotwicz
Yes
8 years, 2 months ago (2012-10-17 16:47:30 UTC) #7
sky
So, shouldn't we fix it in NavigationController rather than here? -Scott On Wed, Oct 17, ...
8 years, 2 months ago (2012-10-17 21:15:19 UTC) #8
pkotwicz
Based on a previous email thread with creis@, "I don't think NavigationControllerImpl knows anything about ...
8 years, 2 months ago (2012-10-17 21:19:44 UTC) #9
pkotwicz
Ping!
8 years, 2 months ago (2012-10-19 18:39:44 UTC) #10
sky
I thought from the discussion the fix is in NavigationControllerImpl. Maybe I'm missing something? On ...
8 years, 2 months ago (2012-10-19 21:21:47 UTC) #11
sky
Since FaviconStatus is in content shouldn't we move the fix there? This way every content ...
8 years, 2 months ago (2012-10-19 22:26:03 UTC) #12
pkotwicz
Scott and Charlie can you please take a look?
8 years, 2 months ago (2012-10-21 19:49:13 UTC) #13
sky
LGTM
8 years, 2 months ago (2012-10-22 15:49:17 UTC) #14
Charlie Reis
Hmm, this still seems strange to me that the NavigationController only knows about favicons in ...
8 years, 2 months ago (2012-10-23 04:53:22 UTC) #15
sky
Here's my rationale for putting the logic here: "Since FaviconStatus is in content shouldn't we ...
8 years, 2 months ago (2012-10-23 15:55:16 UTC) #16
Charlie Reis
Ok, but then it seems like most of chrome/browser/favicon/favicon_handler.cc should move to content as well, ...
8 years, 2 months ago (2012-10-23 16:53:15 UTC) #17
Charlie Reis
I just chatted with John (cc'd), and it sounds like filing a bug to move ...
8 years, 2 months ago (2012-10-23 17:58:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/11198007/22003
8 years, 2 months ago (2012-10-24 00:12:38 UTC) #19
commit-bot: I haz the power
8 years, 2 months ago (2012-10-24 02:28:16 UTC) #20
Change committed as 163752

Powered by Google App Engine
This is Rietveld 408576698