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

Issue 1327673002: Added GDI font emulation support for Flash. (Closed)

Created:
5 years, 3 months ago by forshaw
Modified:
5 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jschuh
Base URL:
https://chromium.googlesource.com/chromium/src.git@warmup_direct_write
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added GDI font emulation support for Flash. This patch adds simple GDI font enumeration emulation support to get Flash running under win32k lockdown. BUG=523278 Committed: https://crrev.com/69dcd1b889f26db433643f12ce21194301266eb5 Cr-Commit-Position: refs/heads/master@{#350245}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Updates from review. #

Total comments: 2

Patch Set 3 : Changed comment and used common check #

Total comments: 31

Patch Set 4 : Implemented review changes. #

Total comments: 16

Patch Set 5 : Fixed from review. #

Total comments: 8

Patch Set 6 : More fixes for review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+755 lines, -0 lines) Patch
M content/common/font_warmup_win.h View 1 2 3 4 2 chunks +27 lines, -0 lines 0 comments Download
M content/common/font_warmup_win.cc View 1 2 3 4 5 3 chunks +291 lines, -0 lines 0 comments Download
A content/common/font_warmup_win_unittest.cc View 1 2 3 4 1 chunk +430 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 45 (16 generated)
forshaw
Please take a look.
5 years, 3 months ago (2015-09-03 00:03:44 UTC) #2
palmer
https://codereview.chromium.org/1327673002/diff/1/content/common/render_font_warmup_win.cc File content/common/render_font_warmup_win.cc (right): https://codereview.chromium.org/1327673002/diff/1/content/common/render_font_warmup_win.cc#newcode213 content/common/render_font_warmup_win.cc:213: return NULL; nullptr? I don't know if it's now-standard ...
5 years, 3 months ago (2015-09-11 22:34:16 UTC) #3
forshaw
Updated, PTAL. https://codereview.chromium.org/1327673002/diff/1/content/common/render_font_warmup_win.cc File content/common/render_font_warmup_win.cc (right): https://codereview.chromium.org/1327673002/diff/1/content/common/render_font_warmup_win.cc#newcode213 content/common/render_font_warmup_win.cc:213: return NULL; On 2015/09/11 22:34:15, palmer wrote: ...
5 years, 3 months ago (2015-09-15 10:27:57 UTC) #4
palmer
LGTM, with a nit for clarification. https://codereview.chromium.org/1327673002/diff/20001/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1327673002/diff/20001/content/common/font_warmup_win.cc#newcode360 content/common/font_warmup_win.cc:360: // getTableData takes ...
5 years, 3 months ago (2015-09-15 21:13:28 UTC) #5
forshaw
https://codereview.chromium.org/1327673002/diff/20001/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1327673002/diff/20001/content/common/font_warmup_win.cc#newcode360 content/common/font_warmup_win.cc:360: // getTableData takes care of lpvBuffer being nullptr. Swap ...
5 years, 3 months ago (2015-09-16 13:18:38 UTC) #6
palmer
Still LGTM. https://codereview.chromium.org/1327673002/diff/40001/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1327673002/diff/40001/content/common/font_warmup_win.cc#newcode363 content/common/font_warmup_win.cc:363: // common Windows idiom is to pass ...
5 years, 3 months ago (2015-09-17 21:12:53 UTC) #7
jam
perhaps send to scottmg since i think he worked in that area? then you can ...
5 years, 3 months ago (2015-09-17 21:50:04 UTC) #9
forshaw
@scottmg could you take a look at the GDI font emulation work which is based ...
5 years, 3 months ago (2015-09-17 22:01:53 UTC) #11
ananta
On 2015/09/17 22:01:53, forshaw wrote: > @scottmg could you take a look at the GDI ...
5 years, 3 months ago (2015-09-17 22:46:11 UTC) #12
forshaw
On 2015/09/17 22:46:11, ananta wrote: > On 2015/09/17 22:01:53, forshaw wrote: > > @scottmg could ...
5 years, 3 months ago (2015-09-17 23:06:09 UTC) #13
scottmg
Looks fine (except maybe changing the list to a map), but I had the same ...
5 years, 3 months ago (2015-09-17 23:24:25 UTC) #14
forshaw
https://codereview.chromium.org/1327673002/diff/40001/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1327673002/diff/40001/content/common/font_warmup_win.cc#newcode248 content/common/font_warmup_win.cc:248: uint32_t magic_; On 2015/09/17 23:24:24, scottmg wrote: > it ...
5 years, 3 months ago (2015-09-18 00:00:28 UTC) #15
forshaw
PTAL, I've implemented the requested review changes.
5 years, 3 months ago (2015-09-18 13:37:47 UTC) #18
scottmg
LGTM. Do we have anyone tasked with or a bug for following up with Adobe ...
5 years, 3 months ago (2015-09-18 19:52:53 UTC) #19
forshaw
5 years, 3 months ago (2015-09-20 21:01:26 UTC) #21
forshaw
nasko@ could you review these changes for me. Thanks.
5 years, 3 months ago (2015-09-20 21:23:44 UTC) #23
nasko
Mostly style issues. https://codereview.chromium.org/1327673002/diff/100001/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1327673002/diff/100001/content/common/font_warmup_win.cc#newcode208 content/common/font_warmup_win.cc:208: // The returned object is either ...
5 years, 3 months ago (2015-09-21 15:58:20 UTC) #24
forshaw
Updated from review, PTAL. https://codereview.chromium.org/1327673002/diff/100001/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1327673002/diff/100001/content/common/font_warmup_win.cc#newcode208 content/common/font_warmup_win.cc:208: // The returned object is ...
5 years, 3 months ago (2015-09-21 22:06:20 UTC) #25
nasko
Another round of nits. https://codereview.chromium.org/1327673002/diff/120001/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1327673002/diff/120001/content/common/font_warmup_win.cc#newcode208 content/common/font_warmup_win.cc:208: void SetTypeface(const skia::RefPtr<SkTypeface>& typeface) { ...
5 years, 3 months ago (2015-09-21 22:58:19 UTC) #26
forshaw
Hopefully fixed the nits. https://codereview.chromium.org/1327673002/diff/120001/content/common/font_warmup_win.cc File content/common/font_warmup_win.cc (right): https://codereview.chromium.org/1327673002/diff/120001/content/common/font_warmup_win.cc#newcode208 content/common/font_warmup_win.cc:208: void SetTypeface(const skia::RefPtr<SkTypeface>& typeface) { ...
5 years, 3 months ago (2015-09-21 23:28:24 UTC) #27
nasko
lgtm
5 years, 3 months ago (2015-09-21 23:45:26 UTC) #28
forshaw
On 2015/09/21 23:45:26, nasko (slow to review) wrote: > lgtm Awesome, thanks so much nasko@.
5 years, 3 months ago (2015-09-21 23:46:23 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327673002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327673002/140001
5 years, 3 months ago (2015-09-22 18:11:18 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/72308)
5 years, 3 months ago (2015-09-22 18:19:18 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327673002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327673002/140001
5 years, 3 months ago (2015-09-22 18:51:37 UTC) #36
commit-bot: I haz the power
Committed patchset #6 (id:140001)
5 years, 3 months ago (2015-09-22 21:52:15 UTC) #37
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/69dcd1b889f26db433643f12ce21194301266eb5 Cr-Commit-Position: refs/heads/master@{#350245}
5 years, 3 months ago (2015-09-22 22:09:33 UTC) #38
Nico
clang-cl complains: FAILED: ninja -t msvc -e environment.x86 -- "..\..\third_party/llvm-build/Release+Asserts/bin/clang-cl" -m32 /nologo /showIncludes /FC @obj\content\common\content.font_warmup_win.obj.rsp ...
5 years, 3 months ago (2015-09-23 01:06:14 UTC) #40
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 01:28:00 UTC) #43

Powered by Google App Engine
This is Rietveld 408576698