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

Issue 2091053002: Change chrome:// favicons in tabstrip based on theming. (Closed)

Created:
4 years, 6 months ago by Evan Stade
Modified:
4 years, 5 months ago
CC:
chromium-reviews, tfarina, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change chrome:// favicons in tabstrip based on theming. This hack is cool because it works for incognito and themes, but it's not cool because it will have to be copied over for bookmark buttons and normal websites that have the same issue with their icons can't address it in the same way. BUG=526663 TBR=groby@chromium.org Committed: https://crrev.com/80c47667a3be9304f80c055bd5611527e67fcbe5 Cr-Commit-Position: refs/heads/master@{#403581}

Patch Set 1 #

Patch Set 2 : gettint #

Patch Set 3 : special case for about:crash #

Total comments: 2

Patch Set 4 : rebase and apply to bookmark bar as well #

Patch Set 5 : fix mac #

Total comments: 6

Patch Set 6 : pkasting feedback, fix about:help #

Patch Set 7 : actually fix mac #

Total comments: 2

Patch Set 8 : fix mac (please) #

Patch Set 9 : mac includes #

Patch Set 10 : turns out that's a real test failure on gtk (add TODO) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -28 lines) Patch
M chrome/browser/themes/theme_service.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/themes/theme_service.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/download/background_theme.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/download/background_theme.mm View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 1 2 3 4 5 6 7 2 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.h View 1 2 3 4 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 2 3 4 5 6 7 9 chunks +52 lines, -15 lines 0 comments Download
M ui/base/default_theme_provider.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/default_theme_provider.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M ui/base/theme_provider.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 70 (28 generated)
Evan Stade
Scott and Peter, wdyt of this general approach?
4 years, 6 months ago (2016-06-23 19:07:05 UTC) #2
sky
What do other browsers do in similar scenarios? Can we instead design our icons to ...
4 years, 6 months ago (2016-06-23 20:53:54 UTC) #3
Evan Stade
On 2016/06/23 20:53:54, sky wrote: > What do other browsers do in similar scenarios? Can ...
4 years, 6 months ago (2016-06-23 21:35:27 UTC) #4
sky
You should attach screenshots of what your change looks like to the bug for comparison ...
4 years, 6 months ago (2016-06-23 22:51:02 UTC) #5
Evan Stade
On 2016/06/23 22:51:02, sky wrote: > You should attach screenshots of what your change looks ...
4 years, 6 months ago (2016-06-24 15:55:00 UTC) #6
sky
This is for our own icons, so I can't see why it would necessarily be ...
4 years, 6 months ago (2016-06-24 16:05:18 UTC) #7
Evan Stade
On 2016/06/24 16:05:18, sky wrote: > do this under some conditions. For example, we shouldn't ...
4 years, 6 months ago (2016-06-24 16:09:48 UTC) #8
Evan Stade
attached screenshot of latest code to bug. Updating the bookmarks bar in a similar way ...
4 years, 6 months ago (2016-06-24 20:14:36 UTC) #9
sky
What does Sebastien think? On Fri, Jun 24, 2016 at 1:14 PM, <estade@chromium.org> wrote: > ...
4 years, 6 months ago (2016-06-24 20:21:48 UTC) #10
Evan Stade
> What does Sebastien think? "This is awesome :) thank you!"
4 years, 6 months ago (2016-06-24 20:29:12 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2091053002/40001
4 years, 6 months ago (2016-06-24 21:26:39 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/26729) ios-simulator on ...
4 years, 6 months ago (2016-06-24 21:29:09 UTC) #16
sky
You'll also need to merge with the tab change you reviewed earlier. https://codereview.chromium.org/2091053002/diff/40001/ui/base/theme_provider.h File ui/base/theme_provider.h ...
4 years, 6 months ago (2016-06-24 22:24:16 UTC) #17
Evan Stade
merged and added the change to the bookmark bar as well as the default favicon. ...
4 years, 5 months ago (2016-06-27 14:56:59 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2091053002/60001
4 years, 5 months ago (2016-06-27 14:57:33 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/250696)
4 years, 5 months ago (2016-06-27 15:23:57 UTC) #22
sky
Ok, LGTM
4 years, 5 months ago (2016-06-27 16:09:58 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2091053002/60001
4 years, 5 months ago (2016-06-27 16:36:41 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/225286)
4 years, 5 months ago (2016-06-27 17:04:40 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2091053002/80001
4 years, 5 months ago (2016-06-28 00:10:16 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/251169)
4 years, 5 months ago (2016-06-28 00:26:01 UTC) #32
Peter Kasting
Please give me time to look at this before you land it
4 years, 5 months ago (2016-06-29 07:31:55 UTC) #33
Evan Stade
On 2016/06/29 07:31:55, Peter Kasting (OOO) wrote: > Please give me time to look at ...
4 years, 5 months ago (2016-06-29 20:47:43 UTC) #34
Peter Kasting
LGTM https://codereview.chromium.org/2091053002/diff/80001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): https://codereview.chromium.org/2091053002/diff/80001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc#newcode1789 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc:1789: // Themify chrome:// favicons and the default one. ...
4 years, 5 months ago (2016-06-30 00:07:04 UTC) #35
Evan Stade
https://codereview.chromium.org/2091053002/diff/80001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): https://codereview.chromium.org/2091053002/diff/80001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc#newcode1789 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc:1789: // Themify chrome:// favicons and the default one. On ...
4 years, 5 months ago (2016-06-30 15:39:45 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2091053002/120001
4 years, 5 months ago (2016-06-30 15:40:08 UTC) #38
Evan Stade
https://codereview.chromium.org/2091053002/diff/120001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/2091053002/diff/120001/chrome/browser/ui/views/tabs/tab.cc#newcode147 chrome/browser/ui/views/tabs/tab.cc:147: url.host() != chrome::kChromeUIUberHost; On 2016/06/30 15:39:45, Evan Stade wrote: ...
4 years, 5 months ago (2016-06-30 15:40:45 UTC) #39
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/253237)
4 years, 5 months ago (2016-06-30 16:02:00 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2091053002/140001
4 years, 5 months ago (2016-06-30 21:05:32 UTC) #43
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/253503)
4 years, 5 months ago (2016-06-30 21:31:12 UTC) #45
Evan Stade
TBR groby for (mechanical) changes to mac
4 years, 5 months ago (2016-07-01 14:18:36 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2091053002/160001
4 years, 5 months ago (2016-07-01 14:18:59 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/256239)
4 years, 5 months ago (2016-07-01 15:33:37 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2091053002/160001
4 years, 5 months ago (2016-07-01 16:38:59 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/256265)
4 years, 5 months ago (2016-07-01 18:02:06 UTC) #57
groby-ooo-7-16
LGTM post hoc
4 years, 5 months ago (2016-07-01 19:36:37 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2091053002/160001
4 years, 5 months ago (2016-07-01 19:49:40 UTC) #60
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/256385)
4 years, 5 months ago (2016-07-01 21:28:23 UTC) #62
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2091053002/180001
4 years, 5 months ago (2016-07-01 23:42:41 UTC) #65
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 5 months ago (2016-07-02 00:42:32 UTC) #67
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-02 00:42:40 UTC) #68
commit-bot: I haz the power
4 years, 5 months ago (2016-07-02 00:45:48 UTC) #70
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/80c47667a3be9304f80c055bd5611527e67fcbe5
Cr-Commit-Position: refs/heads/master@{#403581}

Powered by Google App Engine
This is Rietveld 408576698