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

Issue 11198025: Site specific secondary tiles for Windows 8. (Closed)

Created:
8 years, 2 months ago by benwells
Modified:
8 years, 2 months ago
Reviewers:
cpu_(ooo_6.6-7.5), sky
CC:
chromium-reviews, koz (OOO until 15th September), tapted, jeremya
Visibility:
Public.

Description

Site specific secondary tiles for Windows 8. When pages are pinned to the start screen, if there is a favicon available for the site it is used to generate the tile. BUG=140942 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163943

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 13

Patch Set 3 : Feedback #

Patch Set 4 : Move logic out of metro_driver / to FILE thread #

Patch Set 5 : Cleanup #

Patch Set 6 : Oops #

Total comments: 8

Patch Set 7 : Rebase #

Patch Set 8 : Feedback #

Patch Set 9 : Cleanup #

Patch Set 10 : Compile and cleanup #

Total comments: 15

Patch Set 11 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+382 lines, -194 lines) Patch
M chrome/browser/ui/browser_commands.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/metro_pin_tab_helper.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -40 lines 0 comments Download
M chrome/browser/ui/metro_pin_tab_helper.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -76 lines 0 comments Download
A + chrome/browser/ui/metro_pin_tab_helper_win.h View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -3 lines 0 comments Download
A chrome/browser/ui/metro_pin_tab_helper_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +297 lines, -0 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 1 2 3 4 5 6 7 8 9 5 chunks +15 lines, -13 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M win8/metro_driver/secondary_tile.h View 1 2 3 4 1 chunk +9 lines, -2 lines 0 comments Download
M win8/metro_driver/secondary_tile.cc View 1 2 3 6 chunks +35 lines, -55 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
benwells
This change uses the history service, which only seems to have 16x16 favicons available. I'm ...
8 years, 2 months ago (2012-10-19 01:42:12 UTC) #1
sky
https://chromiumcodereview.appspot.com/11198025/diff/5002/chrome/browser/ui/metro_pin_tab_helper.cc File chrome/browser/ui/metro_pin_tab_helper.cc (right): https://chromiumcodereview.appspot.com/11198025/diff/5002/chrome/browser/ui/metro_pin_tab_helper.cc#newcode15 chrome/browser/ui/metro_pin_tab_helper.cc:15: #if defined(OS_WIN) Isn't this whole file windows specific? https://chromiumcodereview.appspot.com/11198025/diff/5002/win8/metro_driver/secondary_tile.cc ...
8 years, 2 months ago (2012-10-19 16:09:56 UTC) #2
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/11198025/diff/5002/win8/metro_driver/chrome_app_view.cc File win8/metro_driver/chrome_app_view.cc (left): http://codereview.chromium.org/11198025/diff/5002/win8/metro_driver/chrome_app_view.cc#oldcode29 win8/metro_driver/chrome_app_view.cc:29: I'll take care of this whitespace. Please remove from ...
8 years, 2 months ago (2012-10-19 19:39:07 UTC) #3
benwells
https://codereview.chromium.org/11198025/diff/5002/chrome/browser/ui/metro_pin_tab_helper.cc File chrome/browser/ui/metro_pin_tab_helper.cc (right): https://codereview.chromium.org/11198025/diff/5002/chrome/browser/ui/metro_pin_tab_helper.cc#newcode15 chrome/browser/ui/metro_pin_tab_helper.cc:15: #if defined(OS_WIN) On 2012/10/19 16:09:56, sky wrote: > Isn't ...
8 years, 2 months ago (2012-10-22 06:20:46 UTC) #4
sky
https://codereview.chromium.org/11198025/diff/5002/chrome/browser/ui/metro_pin_tab_helper.cc File chrome/browser/ui/metro_pin_tab_helper.cc (right): https://codereview.chromium.org/11198025/diff/5002/chrome/browser/ui/metro_pin_tab_helper.cc#newcode15 chrome/browser/ui/metro_pin_tab_helper.cc:15: #if defined(OS_WIN) On 2012/10/22 06:20:47, benwells wrote: > On ...
8 years, 2 months ago (2012-10-22 15:51:20 UTC) #5
benwells
On 2012/10/22 15:51:20, sky wrote: > https://codereview.chromium.org/11198025/diff/5002/chrome/browser/ui/metro_pin_tab_helper.cc > File chrome/browser/ui/metro_pin_tab_helper.cc (right): > > https://codereview.chromium.org/11198025/diff/5002/chrome/browser/ui/metro_pin_tab_helper.cc#newcode15 > ...
8 years, 2 months ago (2012-10-22 20:27:01 UTC) #6
sky
https://chromiumcodereview.appspot.com/11198025/diff/6007/chrome/browser/ui/metro_pin_tab_helper.cc File chrome/browser/ui/metro_pin_tab_helper.cc (right): https://chromiumcodereview.appspot.com/11198025/diff/6007/chrome/browser/ui/metro_pin_tab_helper.cc#newcode40 chrome/browser/ui/metro_pin_tab_helper.cc:40: string16 GenerateTileId(const string16& url_str) { Add descriptions. https://chromiumcodereview.appspot.com/11198025/diff/6007/chrome/browser/ui/metro_pin_tab_helper.cc#newcode146 chrome/browser/ui/metro_pin_tab_helper.cc:146: ...
8 years, 2 months ago (2012-10-22 21:18:00 UTC) #7
benwells
I'm not sure what you mean by moving it out of TabContents and use WebContentsUserData. ...
8 years, 2 months ago (2012-10-23 10:34:25 UTC) #8
sky
My mistake, LGTM
8 years, 2 months ago (2012-10-23 16:31:56 UTC) #9
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/11198025/diff/17006/chrome/browser/ui/metro_pin_tab_helper_win.cc File chrome/browser/ui/metro_pin_tab_helper_win.cc (right): http://codereview.chromium.org/11198025/diff/17006/chrome/browser/ui/metro_pin_tab_helper_win.cc#newcode48 chrome/browser/ui/metro_pin_tab_helper_win.cc:48: static int kLogoWidth = 120; you mean const int ...
8 years, 2 months ago (2012-10-23 20:17:01 UTC) #10
benwells
https://codereview.chromium.org/11198025/diff/17006/chrome/browser/ui/metro_pin_tab_helper_win.cc File chrome/browser/ui/metro_pin_tab_helper_win.cc (right): https://codereview.chromium.org/11198025/diff/17006/chrome/browser/ui/metro_pin_tab_helper_win.cc#newcode48 chrome/browser/ui/metro_pin_tab_helper_win.cc:48: static int kLogoWidth = 120; On 2012/10/23 20:17:01, cpu ...
8 years, 2 months ago (2012-10-24 00:48:17 UTC) #11
cpu_(ooo_6.6-7.5)
lgtm
8 years, 2 months ago (2012-10-24 17:25:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/11198025/27001
8 years, 2 months ago (2012-10-24 20:56:18 UTC) #13
commit-bot: I haz the power
8 years, 2 months ago (2012-10-24 22:51:58 UTC) #14
Change committed as 163943

Powered by Google App Engine
This is Rietveld 408576698