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

Issue 644813004: Move the ShouldUseDirectWrite function from sandbox_win.cc/.h to ui/gfx/win/dpi.cc/.h. (Closed)

Created:
6 years, 2 months ago by ananta
Modified:
6 years, 2 months ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move the ShouldUseDirectWrite function from sandbox_win.cc/.h to ui/gfx/win/dpi.cc/.h. This is in preparation for adding DirectWrite support for text rendering in the browser UI. BUG=389649 Committed: https://crrev.com/8150ea60b7a77922ae6d7ae23cef630cfcc47b38 Cr-Commit-Position: refs/heads/master@{#299208}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address scottmg's review comments #

Patch Set 3 : Removed newlines #

Patch Set 4 : Fix build error #

Patch Set 5 : Fix build error #

Total comments: 10

Patch Set 6 : Code review comments from sky #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -49 lines) Patch
M content/common/sandbox_win.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/common/sandbox_win.cc View 1 4 chunks +4 lines, -36 lines 0 comments Download
M content/public/common/content_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/renderer_main_platform_delegate_win.cc View 1 3 chunks +2 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_content_renderer_client.cc View 1 2 3 4 3 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/gfx.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/switches.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M ui/gfx/switches.cc View 1 chunk +5 lines, -0 lines 0 comments Download
A ui/gfx/win/direct_write.h View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
A ui/gfx/win/direct_write.cc View 1 2 3 4 5 1 chunk +48 lines, -0 lines 0 comments Download
M ui/gfx/win/dpi.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
ananta
scottmg/cpu. Please look over everything. sky: for ui
6 years, 2 months ago (2014-10-09 23:06:05 UTC) #2
scottmg
Thanks for cleaning this up https://codereview.chromium.org/644813004/diff/1/ui/gfx/switches.h File ui/gfx/switches.h (right): https://codereview.chromium.org/644813004/diff/1/ui/gfx/switches.h#newcode8 ui/gfx/switches.h:8: #include "base/compiler_specific.h" nit; should ...
6 years, 2 months ago (2014-10-09 23:16:27 UTC) #3
ananta
https://codereview.chromium.org/644813004/diff/1/ui/gfx/win/dpi.h File ui/gfx/win/dpi.h (right): https://codereview.chromium.org/644813004/diff/1/ui/gfx/win/dpi.h#newcode69 ui/gfx/win/dpi.h:69: GFX_EXPORT bool ShouldUseDirectWrite(); On 2014/10/09 23:16:27, scottmg wrote: > ...
6 years, 2 months ago (2014-10-10 01:18:31 UTC) #4
ananta
https://codereview.chromium.org/644813004/diff/1/ui/gfx/switches.h File ui/gfx/switches.h (right): https://codereview.chromium.org/644813004/diff/1/ui/gfx/switches.h#newcode8 ui/gfx/switches.h:8: #include "base/compiler_specific.h" On 2014/10/09 23:16:27, scottmg wrote: > nit; ...
6 years, 2 months ago (2014-10-10 18:45:36 UTC) #5
scottmg
lgtm
6 years, 2 months ago (2014-10-10 18:56:42 UTC) #6
sky
LGTM when you fix the following and update any necessary gn files. https://codereview.chromium.org/644813004/diff/430001/ui/gfx/win/direct_write.cc File ui/gfx/win/direct_write.cc ...
6 years, 2 months ago (2014-10-10 21:32:25 UTC) #7
ananta
https://codereview.chromium.org/644813004/diff/430001/ui/gfx/win/direct_write.cc File ui/gfx/win/direct_write.cc (right): https://codereview.chromium.org/644813004/diff/430001/ui/gfx/win/direct_write.cc#newcode1 ui/gfx/win/direct_write.cc:1: // Copyright (c) 2014 The Chromium Authors. All rights ...
6 years, 2 months ago (2014-10-10 21:38:55 UTC) #8
ananta
+piman for content OWNERS
6 years, 2 months ago (2014-10-10 21:40:17 UTC) #10
cpu_(ooo_6.6-7.5)
lgtm
6 years, 2 months ago (2014-10-10 21:43:21 UTC) #11
piman
lgtm
6 years, 2 months ago (2014-10-10 21:53:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/644813004/490001
6 years, 2 months ago (2014-10-10 21:59:51 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:490001)
6 years, 2 months ago (2014-10-10 22:58:07 UTC) #17
commit-bot: I haz the power
6 years, 2 months ago (2014-10-10 22:59:56 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/8150ea60b7a77922ae6d7ae23cef630cfcc47b38
Cr-Commit-Position: refs/heads/master@{#299208}

Powered by Google App Engine
This is Rietveld 408576698