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

Issue 2928005: Retrieve favicons from history as NavigationEntries are converted from TabNav...

Created:
10 years, 5 months ago by dill
Modified:
9 years, 9 months ago
Reviewers:
souperdad75, sky
CC:
chromium-reviews, ben+cc_chromium.org, brettw-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

BUG=5679 TEST=Restore a tab with a navigation history, check favicons.

Patch Set 1 #

Total comments: 2

Patch Set 2 : BUG=5679 #

Total comments: 15

Patch Set 3 : '' #

Total comments: 21

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 18

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 10

Patch Set 8 : '' #

Total comments: 4

Patch Set 9 : '' #

Total comments: 7

Patch Set 10 : '' #

Patch Set 11 : Updated to compile against trunk. #

Total comments: 19

Patch Set 12 : Addressed code review findings, updated to compile against trunk. #

Patch Set 13 : Updated to compile against trunk. #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -11 lines) Patch
M app/app_base.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/back_forward_menu_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +33 lines, -6 lines 1 comment Download
M chrome/browser/ui/toolbar/back_forward_menu_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +73 lines, -1 line 1 comment Download
M chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +98 lines, -0 lines 6 comments Download
M ui/base/models/menu_model.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -1 line 0 comments Download
A ui/base/models/menu_model_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +21 lines, -0 lines 0 comments Download
A ui/base/models/menu_model_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +8 lines, -0 lines 0 comments Download
M ui/base/models/simple_menu_model.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +6 lines, -1 line 0 comments Download
M ui/base/models/simple_menu_model.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +7 lines, -1 line 1 comment Download
M views/view_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 55 (0 generated)
dill
10 years, 5 months ago (2010-07-11 20:13:51 UTC) #1
brettw
http://codereview.chromium.org/2928005/diff/1/2 File chrome/browser/tab_contents/navigation_controller.cc (right): http://codereview.chromium.org/2928005/diff/1/2#newcode721 chrome/browser/tab_contents/navigation_controller.cc:721: profile()->GetFaviconService(Profile::EXPLICIT_ACCESS); I don't think this code belongs in the ...
10 years, 5 months ago (2010-07-11 23:14:24 UTC) #2
dill
All of the code to handle this is in FaviconHelper. Currently FaviconHelper only works with ...
10 years, 5 months ago (2010-07-12 02:25:01 UTC) #3
brettw
On Sun, Jul 11, 2010 at 7:25 PM, <dill.sellars@gmail.com> wrote: > All of the code ...
10 years, 5 months ago (2010-07-12 02:34:45 UTC) #4
sky
This bug can also happen if you navigate quick enough. I think the fix should ...
10 years, 5 months ago (2010-07-12 15:29:18 UTC) #5
dill
I need a little bit of guidance, the asynchronous nature of querying the history is ...
10 years, 5 months ago (2010-07-19 04:23:50 UTC) #6
brettw
On Sun, Jul 18, 2010 at 9:23 PM, <dill.sellars@gmail.com> wrote: > I need a little ...
10 years, 5 months ago (2010-07-19 05:14:37 UTC) #7
sky
On Sun, Jul 18, 2010 at 9:23 PM, <dill.sellars@gmail.com> wrote: > I need a little ...
10 years, 5 months ago (2010-07-19 15:37:51 UTC) #8
dill
When the BackForward menu is open it seems that the message loop pauses or defers ...
10 years, 5 months ago (2010-07-25 19:27:30 UTC) #9
sky
Sorry for the delay, was on vacation last week. Before the menu is run try: ...
10 years, 4 months ago (2010-08-02 17:32:37 UTC) #10
dill
Patch Set 2 is up, more for feedback than for a final submission. The main ...
10 years, 3 months ago (2010-08-27 18:09:49 UTC) #11
sky
http://codereview.chromium.org/2928005/diff/14001/15001 File app/menus/menu_model.h (right): http://codereview.chromium.org/2928005/diff/14001/15001#newcode11 app/menus/menu_model.h:11: #include "chrome/browser/fav_icon_delegate.h" app should not depend upon chrome http://codereview.chromium.org/2928005/diff/14001/15004 ...
10 years, 3 months ago (2010-08-30 16:43:06 UTC) #12
dill
http://codereview.chromium.org/2928005/diff/14001/15008 File views/controls/menu/native_menu_win.cc (right): http://codereview.chromium.org/2928005/diff/14001/15008#newcode363 views/controls/menu/native_menu_win.cc:363: // requests for favicons In OnDrawItem, data->native_menu_win->model_->GetIconAt will query ...
10 years, 3 months ago (2010-08-30 17:04:41 UTC) #13
sky
http://codereview.chromium.org/2928005/diff/14001/15008 File views/controls/menu/native_menu_win.cc (right): http://codereview.chromium.org/2928005/diff/14001/15008#newcode363 views/controls/menu/native_menu_win.cc:363: // requests for favicons On 2010/08/30 17:04:41, dill wrote: ...
10 years, 3 months ago (2010-08-30 17:14:18 UTC) #14
dill
10 years, 3 months ago (2010-09-06 06:54:57 UTC) #15
sky
http://codereview.chromium.org/2928005/diff/28001/29002 File app/menus/menu_model.h (right): http://codereview.chromium.org/2928005/diff/28001/29002#newcode44 app/menus/menu_model.h:44: virtual void OnFavIconLoaded(int index) = 0; This method name ...
10 years, 3 months ago (2010-09-08 15:46:51 UTC) #16
dill
http://codereview.chromium.org/2928005/diff/28001/29002 File app/menus/menu_model.h (right): http://codereview.chromium.org/2928005/diff/28001/29002#newcode50 app/menus/menu_model.h:50: Delegate* delegate_; Is SetDelegate(Delegate* delegate) OK in this class? ...
10 years, 3 months ago (2010-09-08 20:11:36 UTC) #17
sky
http://codereview.chromium.org/2928005/diff/28001/29002 File app/menus/menu_model.h (right): http://codereview.chromium.org/2928005/diff/28001/29002#newcode50 app/menus/menu_model.h:50: Delegate* delegate_; On 2010/09/08 20:11:36, dill wrote: > Is ...
10 years, 3 months ago (2010-09-09 20:08:43 UTC) #18
dill
10 years, 3 months ago (2010-09-10 04:12:31 UTC) #19
brettw
I looked at few random things. I'll defer to sky for the rest. http://codereview.chromium.org/2928005/diff/41003/37005 File ...
10 years, 3 months ago (2010-09-12 16:35:13 UTC) #20
dill
Broader topics: It will take me a little while to grock the Cocoa version having ...
10 years, 3 months ago (2010-09-12 22:07:45 UTC) #21
sky
> Should I download the favicon if it is not history? Don't attempt that in ...
10 years, 3 months ago (2010-09-13 20:49:26 UTC) #22
dill
Addressed code review comments. Still trying to find time for cocoa version.
10 years, 2 months ago (2010-10-03 14:54:04 UTC) #23
dill
10 years, 2 months ago (2010-10-22 11:44:24 UTC) #24
dill
Should be good to go now, Cocoa version is done.
10 years, 1 month ago (2010-10-29 10:29:35 UTC) #25
sky
Reviews generally go faster if you don't try to do to much at once. I ...
10 years, 1 month ago (2010-10-29 15:33:59 UTC) #26
dill
http://codereview.chromium.org/2928005/diff/71001/72004 File chrome/browser/back_forward_menu_model.cc (right): http://codereview.chromium.org/2928005/diff/71001/72004#newcode152 chrome/browser/back_forward_menu_model.cc:152: NavigationEntry* entry = GetNavigationEntry(index); Should I pass the NavigationEntry* ...
10 years, 1 month ago (2010-10-31 13:23:36 UTC) #27
sky
http://codereview.chromium.org/2928005/diff/71001/72004 File chrome/browser/back_forward_menu_model.cc (right): http://codereview.chromium.org/2928005/diff/71001/72004#newcode152 chrome/browser/back_forward_menu_model.cc:152: NavigationEntry* entry = GetNavigationEntry(index); On 2010/10/31 13:23:36, dill wrote: ...
10 years, 1 month ago (2010-11-01 16:00:41 UTC) #28
dill
http://codereview.chromium.org/2928005/diff/71001/72004 File chrome/browser/back_forward_menu_model.cc (right): http://codereview.chromium.org/2928005/diff/71001/72004#newcode152 chrome/browser/back_forward_menu_model.cc:152: NavigationEntry* entry = GetNavigationEntry(index); On 2010/11/01 16:00:41, sky wrote: ...
10 years, 1 month ago (2010-11-01 17:07:37 UTC) #29
sky
On Mon, Nov 1, 2010 at 10:07 AM, <dill.sellars@gmail.com> wrote: > > http://codereview.chromium.org/2928005/diff/71001/72004 > File ...
10 years, 1 month ago (2010-11-01 17:17:49 UTC) #30
dill
On 2010/11/01 17:17:49, sky wrote: > On Mon, Nov 1, 2010 at 10:07 AM, <mailto:dill.sellars@gmail.com> ...
10 years, 1 month ago (2010-11-22 06:42:20 UTC) #31
sky
On Sun, Nov 21, 2010 at 10:42 PM, <dill.sellars@gmail.com> wrote: > On 2010/11/01 17:17:49, sky ...
10 years, 1 month ago (2010-11-22 16:46:49 UTC) #32
dill
Updated code based on review comments. Removed native UI implementations to concentrate on core model ...
9 years, 12 months ago (2010-12-26 16:44:05 UTC) #33
souperdad75
9 years, 12 months ago (2010-12-27 14:24:42 UTC) #34
souperdad75
9 years, 12 months ago (2010-12-27 14:34:49 UTC) #35
sky
On 2010/12/26 16:44:05, dill wrote: > Updated code based on review comments. Removed native UI ...
9 years, 11 months ago (2011-01-04 21:51:04 UTC) #36
sky
http://codereview.chromium.org/2928005/diff/93001/app/menus/menu_model.h File app/menus/menu_model.h (right): http://codereview.chromium.org/2928005/diff/93001/app/menus/menu_model.h#newcode44 app/menus/menu_model.h:44: virtual void OnIconChanged(int model_index) {} model_index -> index. No ...
9 years, 11 months ago (2011-01-04 21:51:15 UTC) #37
dill
On 2011/01/04 21:51:04, sky wrote: > On 2010/12/26 16:44:05, dill wrote: > > Updated code ...
9 years, 11 months ago (2011-01-06 02:24:18 UTC) #38
dill
Addressed code review findings, moved unit test from it's own class into the existing BackFwdMenuModelTest.
9 years, 11 months ago (2011-01-06 02:25:43 UTC) #39
sky
http://codereview.chromium.org/2928005/diff/132001/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc File chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc (right): http://codereview.chromium.org/2928005/diff/132001/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc#newcode30 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc:30: void MakeTestSkBitmap(int w, int h, SkBitmap* bmp) { See ...
9 years, 11 months ago (2011-01-06 17:21:56 UTC) #40
dill
Unit test code review issues resolved.
9 years, 11 months ago (2011-01-07 04:56:32 UTC) #41
dill
The patch has been updated to work with the ui namespace refactor.
9 years, 11 months ago (2011-01-21 09:42:43 UTC) #42
dill
Patch updated to compile against changes in trunk.
9 years, 10 months ago (2011-02-19 01:36:14 UTC) #43
sky
Sorry for the long delay in responding. -Scott http://codereview.chromium.org/2928005/diff/159002/chrome/browser/ui/toolbar/back_forward_menu_model.cc File chrome/browser/ui/toolbar/back_forward_menu_model.cc (right): http://codereview.chromium.org/2928005/diff/159002/chrome/browser/ui/toolbar/back_forward_menu_model.cc#newcode214 chrome/browser/ui/toolbar/back_forward_menu_model.cc:214: void ...
9 years, 10 months ago (2011-02-22 18:28:24 UTC) #44
dill
http://codereview.chromium.org/2928005/diff/159002/chrome/browser/ui/toolbar/back_forward_menu_model.cc File chrome/browser/ui/toolbar/back_forward_menu_model.cc (right): http://codereview.chromium.org/2928005/diff/159002/chrome/browser/ui/toolbar/back_forward_menu_model.cc#newcode214 chrome/browser/ui/toolbar/back_forward_menu_model.cc:214: void BackForwardMenuModel::FetchFavicon(NavigationEntry* entry, int index) { Yes, that was ...
9 years, 10 months ago (2011-02-24 15:00:28 UTC) #45
sky
http://codereview.chromium.org/2928005/diff/159002/chrome/browser/ui/toolbar/back_forward_menu_model.cc File chrome/browser/ui/toolbar/back_forward_menu_model.cc (right): http://codereview.chromium.org/2928005/diff/159002/chrome/browser/ui/toolbar/back_forward_menu_model.cc#newcode240 chrome/browser/ui/toolbar/back_forward_menu_model.cc:240: // We need both the NavigationEntry and the model_index ...
9 years, 10 months ago (2011-02-24 15:12:50 UTC) #46
dill
http://codereview.chromium.org/2928005/diff/159002/ui/base/models/simple_menu_model.cc File ui/base/models/simple_menu_model.cc (right): http://codereview.chromium.org/2928005/diff/159002/ui/base/models/simple_menu_model.cc#newcode308 ui/base/models/simple_menu_model.cc:308: } On 2011/02/22 18:28:28, sky wrote: > SimpleMenuModel should ...
9 years, 10 months ago (2011-02-25 15:16:43 UTC) #47
sky
http://codereview.chromium.org/2928005/diff/159002/ui/base/models/simple_menu_model.cc File ui/base/models/simple_menu_model.cc (right): http://codereview.chromium.org/2928005/diff/159002/ui/base/models/simple_menu_model.cc#newcode308 ui/base/models/simple_menu_model.cc:308: } On 2011/02/25 15:16:43, dill wrote: > On 2011/02/22 ...
9 years, 10 months ago (2011-02-25 15:48:57 UTC) #48
dill
Patch updated.
9 years, 9 months ago (2011-03-01 23:12:37 UTC) #49
dill
On 2011/03/01 23:12:37, dill wrote: > Patch updated. ping
9 years, 9 months ago (2011-03-11 23:10:43 UTC) #50
sky
GAH! Sorry for being lame again. Can you sync up with trunk, make sure it ...
9 years, 9 months ago (2011-03-16 16:07:12 UTC) #51
dill
Updated to compile with latest trunk.
9 years, 9 months ago (2011-03-18 07:13:46 UTC) #52
sky
All nits. I made these changes locally and will land it for you if it ...
9 years, 9 months ago (2011-03-18 17:54:11 UTC) #53
dill
Thanks for finally getting this in. CLA submitted. I still need to submit the native ...
9 years, 9 months ago (2011-03-18 18:56:26 UTC) #54
sky
9 years, 9 months ago (2011-03-18 19:57:17 UTC) #55
Do that in a separate cl.

I haven't submitted the patch yet, will do so as soon as try bots find
it agreeable.

  -Scott

On Fri, Mar 18, 2011 at 11:56 AM,  <dill.sellars@gmail.com> wrote:
> Thanks for finally getting this in. CLA submitted. I still need to submit
> the
> native menu implementations - do you want me to add those to this code
> review or
> start a new code review?
>
> http://codereview.chromium.org/2928005/
>

Powered by Google App Engine
This is Rietveld 408576698