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

Issue 2400873002: keep only one typedef for the native drawing context (Closed)

Created:
4 years, 2 months ago by tfarina
Modified:
4 years, 2 months ago
CC:
chromium-reviews, jam, dcheng, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

keep only one typedef for the native drawing context This patch remove the NativeDrawingContext from ui/gfx/native_widget_types.h, renames the PlatformSurface in skia/ext/platform_surface.h to NativeDrawingContext, and updates the clients of gfx::NativeDrawingContext to the skia one. BUG=76105 TEST=skia_unittests,printing_unittests R=danakj@chromium.org,thestig@chromium.org,fmalita@chromium.org TBR=sky@chromium.org Committed: https://crrev.com/876d1e0bcb39165f149a93ae2db12d5cdfcb219d Cr-Commit-Position: refs/heads/master@{#424585}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rm PlatformRect #

Patch Set 3 : native_drawing_context.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -111 lines) Patch
M content/browser/compositor/software_output_device_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M printing/metafile.h View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M printing/pdf_metafile_cg_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M printing/pdf_metafile_skia.h View 1 chunk +4 lines, -4 lines 0 comments Download
M printing/pdf_metafile_skia.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M printing/printed_document.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M printing/printed_document_mac.cc View 1 chunk +2 lines, -1 line 0 comments Download
M printing/printed_document_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M printing/printing_context.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M printing/printing_context_android.h View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_chromeos.h View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_linux.h View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_no_system_dialog.h View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_no_system_dialog.cc View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_win.h View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M skia/ext/bitmap_platform_device_mac_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M skia/ext/bitmap_platform_device_skia.h View 1 chunk +2 lines, -2 lines 0 comments Download
M skia/ext/bitmap_platform_device_skia.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M skia/ext/bitmap_platform_device_win.h View 1 chunk +2 lines, -2 lines 0 comments Download
M skia/ext/bitmap_platform_device_win.cc View 1 chunk +1 line, -1 line 0 comments Download
A skia/ext/native_drawing_context.h View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
M skia/ext/platform_canvas.h View 1 2 2 chunks +8 lines, -6 lines 0 comments Download
M skia/ext/platform_canvas.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M skia/ext/platform_canvas_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M skia/ext/platform_device.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M skia/ext/platform_device_linux.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M skia/ext/platform_device_win.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M skia/ext/platform_surface.h View 1 2 1 chunk +0 lines, -41 lines 0 comments Download
M skia/ext/skia_utils_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/blit.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/native_widget_types.h View 3 chunks +0 lines, -8 lines 0 comments Download
M ui/native_theme/native_theme_win.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 41 (20 generated)
tfarina
4 years, 2 months ago (2016-10-06 23:59:20 UTC) #3
danakj
Looks like skia/ext/platform_surface.h should be renamed also.
4 years, 2 months ago (2016-10-07 00:11:41 UTC) #4
tomhudson
https://codereview.chromium.org/2400873002/diff/1/skia/ext/platform_surface.h File skia/ext/platform_surface.h (right): https://codereview.chromium.org/2400873002/diff/1/skia/ext/platform_surface.h#newcode29 skia/ext/platform_surface.h:29: typedef cairo_t* NativeDrawingContext; Misspelled - this shouldn't build on ...
4 years, 2 months ago (2016-10-07 06:10:14 UTC) #7
tomhudson
https://codereview.chromium.org/2400873002/diff/1/skia/ext/platform_surface.h File skia/ext/platform_surface.h (right): https://codereview.chromium.org/2400873002/diff/1/skia/ext/platform_surface.h#newcode29 skia/ext/platform_surface.h:29: typedef cairo_t* NativeDrawingContext; On 2016/10/07 06:10:14, tomhudson wrote: > ...
4 years, 2 months ago (2016-10-07 06:12:34 UTC) #9
tfarina
On 2016/10/07 00:11:41, danakj wrote: > Looks like skia/ext/platform_surface.h should be renamed also. What would ...
4 years, 2 months ago (2016-10-07 07:48:43 UTC) #10
danakj
On 2016/10/07 07:48:43, tfarina wrote: > On 2016/10/07 00:11:41, danakj wrote: > > Looks like ...
4 years, 2 months ago (2016-10-07 18:43:32 UTC) #11
tfarina
On 2016/10/07 18:43:32, danakj wrote: > On 2016/10/07 07:48:43, tfarina wrote: > > On 2016/10/07 ...
4 years, 2 months ago (2016-10-07 19:38:51 UTC) #12
danakj
On Fri, Oct 7, 2016 at 12:38 PM, <tfarina@chromium.org> wrote: > On 2016/10/07 18:43:32, danakj ...
4 years, 2 months ago (2016-10-07 21:37:55 UTC) #13
danakj
On Fri, Oct 7, 2016 at 2:37 PM, <danakj@chromium.org> wrote: > On Fri, Oct 7, ...
4 years, 2 months ago (2016-10-07 21:38:35 UTC) #14
tfarina
Dana, apparently PlatformRect is unused. I kicked off a try to see if the trybots ...
4 years, 2 months ago (2016-10-08 09:37:25 UTC) #17
tfarina
Dana, could you take another look?
4 years, 2 months ago (2016-10-08 13:01:17 UTC) #22
danakj
LGTM thanks!
4 years, 2 months ago (2016-10-10 20:37:22 UTC) #25
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/2400873002/40001
4 years, 2 months ago (2016-10-11 10:07:46 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/83964)
4 years, 2 months ago (2016-10-11 10:15:01 UTC) #29
f(malita)
skia/ LGTM
4 years, 2 months ago (2016-10-11 12:48:05 UTC) #30
Lei Zhang
printing/ lgtm
4 years, 2 months ago (2016-10-11 21:34:47 UTC) #31
tfarina
TBRing Scott for the minor changes in ui/base and ui/native_theme.
4 years, 2 months ago (2016-10-11 22:02:20 UTC) #34
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/2400873002/40001
4 years, 2 months ago (2016-10-11 22:02:59 UTC) #36
sky
LGTM
4 years, 2 months ago (2016-10-11 23:09:43 UTC) #37
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-11 23:13:19 UTC) #39
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 23:15:35 UTC) #41
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/876d1e0bcb39165f149a93ae2db12d5cdfcb219d
Cr-Commit-Position: refs/heads/master@{#424585}

Powered by Google App Engine
This is Rietveld 408576698