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

Issue 1462163002: Move uncoupled code out of skia/ext/platform_device.h (Closed)

Created:
5 years, 1 month ago by tomhudson
Modified:
5 years ago
Reviewers:
Tom Hudson, f(malita)
CC:
chromium-reviews, krit, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, vmpstr+blinkwatch_chromium.org, dshwang, jam, jbroman, Justin Novosad, danakj, blink-reviews-platform-graphics_chromium.org, Rik, darin-cc_chromium.org, blink-reviews, f(malita), Stephen Chennney, rwlbuis, hal.canary
Base URL:
https://chromium.googlesource.com/chromium/src.git@no-draft-metadata
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

The API of the metadata helpers doesn't depend on PlatformDevice. Neither do the typedefs moved to the new platform_surface.h. Some #includes of platform_device.h were already unnecessary. All changes outside skia/ext/ should be purely mechanical renamings or trimming of include lists. R=fmalita@chromium.org TBR=thestig@chromium.org,danakj@chromium.org,piman@chromium.org BUG=543755 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/31521a8fe53dda37a9a838402693b4d2060ec432 Cr-Commit-Position: refs/heads/master@{#362151}

Patch Set 1 #

Patch Set 2 : Rebase? #

Patch Set 3 : Mac updates #

Patch Set 4 : Android doesnt inherit same includes as Linux #

Patch Set 5 : tweak CGImageToSkBitmap #

Patch Set 6 : Mac compile fixes #

Total comments: 18

Patch Set 7 : Respond to review #

Patch Set 8 : Trying to fix unfortunate rebase #

Patch Set 9 : Trim superfluous SK_API #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -115 lines) Patch
M components/printing/renderer/print_web_view_helper_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/compositor/software_output_device_mus.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M content/plugin/webplugin_delegate_stub.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/plugin/webplugin_proxy.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/browser/render_widget_host.h View 1 1 chunk +1 line, -7 lines 0 comments Download
M content/renderer/pepper/ppb_image_data_impl.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M printing/metafile_skia_wrapper.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -5 lines 0 comments Download
M printing/printed_document.cc View 1 chunk +0 lines, -1 line 0 comments Download
M skia/ext/platform_canvas.h View 1 2 3 4 5 6 2 chunks +16 lines, -1 line 0 comments Download
M skia/ext/platform_canvas.cc View 1 2 3 4 5 6 7 8 2 chunks +50 lines, -1 line 0 comments Download
M skia/ext/platform_device.h View 1 2 2 chunks +1 line, -37 lines 0 comments Download
M skia/ext/platform_device.cc View 1 2 chunks +3 lines, -37 lines 0 comments Download
M skia/ext/platform_device_mac.cc View 1 2 1 chunk +0 lines, -12 lines 0 comments Download
M skia/ext/platform_device_win.cc View 1 chunk +0 lines, -1 line 0 comments Download
A skia/ext/platform_surface.h View 1 2 3 4 1 chunk +39 lines, -0 lines 0 comments Download
M skia/ext/skia_utils_mac.mm View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M ui/gfx/canvas_paint_mac.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (15 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462163002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462163002/20001
5 years, 1 month ago (2015-11-23 20:49:12 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/33798)
5 years, 1 month ago (2015-11-23 21:14:57 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462163002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462163002/60001
5 years, 1 month ago (2015-11-23 22:04:09 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/33836)
5 years, 1 month ago (2015-11-23 22:20:23 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462163002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462163002/80001
5 years ago (2015-11-24 18:57:01 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/34350)
5 years ago (2015-11-24 19:14:00 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462163002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462163002/100001
5 years ago (2015-11-24 19:16:29 UTC) #15
Tom Hudson
Florin, PTAL at everything. (Since all the changes outside skia/ext/ are purely mechanical renamings, I ...
5 years ago (2015-11-24 21:09:14 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-24 22:36:47 UTC) #19
f(malita)
looks good, just some nits. https://codereview.chromium.org/1462163002/diff/100001/skia/ext/platform_canvas.cc File skia/ext/platform_canvas.cc (right): https://codereview.chromium.org/1462163002/diff/100001/skia/ext/platform_canvas.cc#newcode7 skia/ext/platform_canvas.cc:7: #include "base/logging.h" Is this ...
5 years ago (2015-11-24 23:13:23 UTC) #20
Tom Hudson
+Hal in case he has thoughts about how to radically simplify the PDF metafile path ...
5 years ago (2015-11-25 15:50:35 UTC) #21
f(malita)
Thanks, LGTM. https://codereview.chromium.org/1462163002/diff/100001/skia/ext/platform_canvas.cc File skia/ext/platform_canvas.cc (right): https://codereview.chromium.org/1462163002/diff/100001/skia/ext/platform_canvas.cc#newcode7 skia/ext/platform_canvas.cc:7: #include "base/logging.h" On 2015/11/25 15:50:35, Tom Hudson ...
5 years ago (2015-11-25 20:33:04 UTC) #23
Tom Hudson
https://codereview.chromium.org/1462163002/diff/100001/skia/ext/platform_canvas.cc File skia/ext/platform_canvas.cc (right): https://codereview.chromium.org/1462163002/diff/100001/skia/ext/platform_canvas.cc#newcode124 skia/ext/platform_canvas.cc:124: SK_API CGContextRef GetBitmapContext(const SkCanvas& canvas) { On 2015/11/25 20:33:04, ...
5 years ago (2015-11-30 16:14:42 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462163002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462163002/160001
5 years ago (2015-11-30 16:15:48 UTC) #27
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years ago (2015-11-30 17:36:58 UTC) #29
commit-bot: I haz the power
5 years ago (2015-11-30 17:37:38 UTC) #31
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/31521a8fe53dda37a9a838402693b4d2060ec432
Cr-Commit-Position: refs/heads/master@{#362151}

Powered by Google App Engine
This is Rietveld 408576698