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

Issue 400343002: Add default fonts for extensions (Closed)

Created:
6 years, 5 months ago by ericzeng
Modified:
6 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add default fonts for extensions. This CL applies the default system font style to extension pages. Extensions that specify their own fonts will still override these styles. BUG=141703, 395319 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284597

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address kalman's comments #

Total comments: 1

Patch Set 3 : Revert silly changes #

Total comments: 9

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : Fix bug that caused DeclarativeContentApiTest to fail #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -6 lines) Patch
M extensions/renderer/dispatcher.cc View 1 2 3 4 5 6 1 chunk +17 lines, -6 lines 0 comments Download
A extensions/renderer/resources/extension.css View 1 1 chunk +12 lines, -0 lines 0 comments Download
M extensions/renderer/resources/extensions_renderer_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
ericzeng
PTAL
6 years, 5 months ago (2014-07-18 23:55:36 UTC) #1
not at google - send to devlin
https://codereview.chromium.org/400343002/diff/1/extensions/renderer/dispatcher.cc File extensions/renderer/dispatcher.cc (right): https://codereview.chromium.org/400343002/diff/1/extensions/renderer/dispatcher.cc#newcode328 extensions/renderer/dispatcher.cc:328: if (IsWithinPlatformApp() || IsWithinExtension()) { I don't think (looking ...
6 years, 5 months ago (2014-07-19 00:08:11 UTC) #2
not at google - send to devlin
that's not quite right either, give me a sec...
6 years, 5 months ago (2014-07-19 00:09:44 UTC) #3
not at google - send to devlin
the complexity of that check makes me realise we should be testing that. https://codereview.chromium.org/400343002/diff/1/extensions/renderer/dispatcher.cc File ...
6 years, 5 months ago (2014-07-19 00:19:24 UTC) #4
ericzeng
https://codereview.chromium.org/400343002/diff/1/extensions/renderer/dispatcher.cc File extensions/renderer/dispatcher.cc (right): https://codereview.chromium.org/400343002/diff/1/extensions/renderer/dispatcher.cc#newcode328 extensions/renderer/dispatcher.cc:328: if (IsWithinPlatformApp() || IsWithinExtension()) { On 2014/07/19 00:19:24, kalman ...
6 years, 5 months ago (2014-07-19 01:49:00 UTC) #5
not at google - send to devlin
https://codereview.chromium.org/400343002/diff/1/extensions/renderer/dispatcher.cc File extensions/renderer/dispatcher.cc (right): https://codereview.chromium.org/400343002/diff/1/extensions/renderer/dispatcher.cc#newcode340 extensions/renderer/dispatcher.cc:340: .as_string(); On 2014/07/19 01:48:59, Eric Zeng wrote: > On ...
6 years, 5 months ago (2014-07-19 01:54:17 UTC) #6
not at google - send to devlin
(the first patchset was more right; it should be a pretty small delta in dispatcher.cc, ...
6 years, 5 months ago (2014-07-19 01:54:55 UTC) #7
ericzeng
On 2014/07/19 01:54:55, kalman wrote: > (the first patchset was more right; it should be ...
6 years, 5 months ago (2014-07-19 04:04:49 UTC) #8
not at google - send to devlin
awesome. just nits left. you should also add bug 141703 to the BUG line. https://codereview.chromium.org/400343002/diff/40001/extensions/renderer/dispatcher.cc ...
6 years, 5 months ago (2014-07-21 16:44:23 UTC) #9
ericzeng
https://codereview.chromium.org/400343002/diff/40001/extensions/renderer/dispatcher.cc File extensions/renderer/dispatcher.cc (right): https://codereview.chromium.org/400343002/diff/40001/extensions/renderer/dispatcher.cc#newcode335 extensions/renderer/dispatcher.cc:335: if (extension) { On 2014/07/21 16:44:23, kalman wrote: > ...
6 years, 5 months ago (2014-07-21 18:12:33 UTC) #10
not at google - send to devlin
https://codereview.chromium.org/400343002/diff/40001/extensions/renderer/dispatcher.cc File extensions/renderer/dispatcher.cc (right): https://codereview.chromium.org/400343002/diff/40001/extensions/renderer/dispatcher.cc#newcode343 extensions/renderer/dispatcher.cc:343: .GetRawDataResource(IDR_PLATFORM_APP_CSS) On 2014/07/21 18:12:33, Eric Zeng wrote: > On ...
6 years, 5 months ago (2014-07-21 18:31:29 UTC) #11
ericzeng
https://codereview.chromium.org/400343002/diff/40001/extensions/renderer/dispatcher.cc File extensions/renderer/dispatcher.cc (right): https://codereview.chromium.org/400343002/diff/40001/extensions/renderer/dispatcher.cc#newcode343 extensions/renderer/dispatcher.cc:343: .GetRawDataResource(IDR_PLATFORM_APP_CSS) On 2014/07/21 18:31:29, kalman wrote: > On 2014/07/21 ...
6 years, 5 months ago (2014-07-21 18:43:11 UTC) #12
not at google - send to devlin
lgtm https://codereview.chromium.org/400343002/diff/80001/extensions/renderer/dispatcher.cc File extensions/renderer/dispatcher.cc (right): https://codereview.chromium.org/400343002/diff/80001/extensions/renderer/dispatcher.cc#newcode349 extensions/renderer/dispatcher.cc:349: // WebKit doesn't let us define an additional ...
6 years, 5 months ago (2014-07-21 18:48:20 UTC) #13
ericzeng
The CQ bit was checked by ericzeng@chromium.org
6 years, 5 months ago (2014-07-21 18:49:16 UTC) #14
ericzeng
The CQ bit was checked by ericzeng@chromium.org
6 years, 5 months ago (2014-07-21 18:49:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericzeng@chromium.org/400343002/80001
6 years, 5 months ago (2014-07-21 18:51:28 UTC) #16
ericzeng
The CQ bit was unchecked by ericzeng@chromium.org
6 years, 5 months ago (2014-07-21 19:25:29 UTC) #17
ericzeng
https://codereview.chromium.org/400343002/diff/80001/extensions/renderer/dispatcher.cc File extensions/renderer/dispatcher.cc (right): https://codereview.chromium.org/400343002/diff/80001/extensions/renderer/dispatcher.cc#newcode349 extensions/renderer/dispatcher.cc:349: // WebKit doesn't let us define an additional user ...
6 years, 5 months ago (2014-07-21 19:29:34 UTC) #18
ericzeng
The CQ bit was checked by ericzeng@chromium.org
6 years, 5 months ago (2014-07-21 19:29:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericzeng@chromium.org/400343002/100001
6 years, 5 months ago (2014-07-21 19:31:34 UTC) #20
ericzeng
The CQ bit was checked by ericzeng@chromium.org
6 years, 5 months ago (2014-07-21 22:13:20 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericzeng@chromium.org/400343002/120001
6 years, 5 months ago (2014-07-21 22:15:00 UTC) #22
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 02:28:19 UTC) #23
Message was sent while issue was closed.
Change committed as 284597

Powered by Google App Engine
This is Rietveld 408576698