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

Issue 1268633002: Make it easier to test changes to a .icon file. (Closed)

Created:
5 years, 4 months ago by Evan Stade
Modified:
5 years, 4 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make it easier to test changes to a .icon file. No need to recompile Chrome; views_examples_exe will read from a file. This would also be useful for the tool which will allow designers to create .icon files directly (which may or may not ever materialize). Since this is potentially unsafe (could crash on the wrong inputs) and doesn't serve a purpose in Chrome itself, it's ifdef'd out of the header everywhere except those places that explicitly need it. BUG=505953 Committed: https://crrev.com/93906afd35bf9de7ed25b174d490716b730a6044 Cr-Commit-Position: refs/heads/master@{#341667}

Patch Set 1 #

Patch Set 2 : guard #

Total comments: 2

Patch Set 3 : docs #

Total comments: 4

Patch Set 4 : s/onto // #

Patch Set 5 : fix win #

Total comments: 3

Patch Set 6 : fix bad merge #

Patch Set 7 : fix build? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -76 lines) Patch
M ui/gfx/paint_vector_icon.h View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M ui/gfx/paint_vector_icon.cc View 1 2 3 4 5 3 chunks +145 lines, -75 lines 0 comments Download
M ui/views/examples/examples.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/examples/vector_example.cc View 1 2 3 4 5 chunks +35 lines, -1 line 0 comments Download

Messages

Total messages: 26 (10 generated)
Evan Stade
https://codereview.chromium.org/1268633002/diff/20001/ui/gfx/paint_vector_icon.cc File ui/gfx/paint_vector_icon.cc (right): https://codereview.chromium.org/1268633002/diff/20001/ui/gfx/paint_vector_icon.cc#newcode175 ui/gfx/paint_vector_icon.cc:175: class VectorIconSource : public CanvasImageSource { changes to this ...
5 years, 4 months ago (2015-07-31 18:59:59 UTC) #2
Evan Stade
docs
5 years, 4 months ago (2015-07-31 19:01:31 UTC) #3
sky
LGTM https://codereview.chromium.org/1268633002/diff/40001/ui/gfx/paint_vector_icon.cc File ui/gfx/paint_vector_icon.cc (right): https://codereview.chromium.org/1268633002/diff/40001/ui/gfx/paint_vector_icon.cc#newcode39 ui/gfx/paint_vector_icon.cc:39: #undef RETURN_IF_IS It would be nice if this ...
5 years, 4 months ago (2015-08-03 15:27:49 UTC) #4
Evan Stade
https://codereview.chromium.org/1268633002/diff/40001/ui/gfx/paint_vector_icon.cc File ui/gfx/paint_vector_icon.cc (right): https://codereview.chromium.org/1268633002/diff/40001/ui/gfx/paint_vector_icon.cc#newcode39 ui/gfx/paint_vector_icon.cc:39: #undef RETURN_IF_IS On 2015/08/03 15:27:49, sky wrote: > It ...
5 years, 4 months ago (2015-08-03 17:19:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1268633002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1268633002/60001
5 years, 4 months ago (2015-08-03 17:20:31 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/66079)
5 years, 4 months ago (2015-08-03 17:43:48 UTC) #10
Evan Stade
https://codereview.chromium.org/1268633002/diff/80001/ui/views/examples/vector_example.cc File ui/views/examples/vector_example.cc (right): https://codereview.chromium.org/1268633002/diff/80001/ui/views/examples/vector_example.cc#newcode105 ui/views/examples/vector_example.cc:105: #if defined(OS_POSIX) is there any better way of doing ...
5 years, 4 months ago (2015-08-03 22:26:19 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1268633002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1268633002/80001
5 years, 4 months ago (2015-08-03 22:26:33 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/116936)
5 years, 4 months ago (2015-08-03 22:42:50 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1268633002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1268633002/100001
5 years, 4 months ago (2015-08-03 22:52:17 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/80703)
5 years, 4 months ago (2015-08-03 23:14:07 UTC) #19
sky
https://codereview.chromium.org/1268633002/diff/80001/ui/views/examples/vector_example.cc File ui/views/examples/vector_example.cc (right): https://codereview.chromium.org/1268633002/diff/80001/ui/views/examples/vector_example.cc#newcode105 ui/views/examples/vector_example.cc:105: #if defined(OS_POSIX) On 2015/08/03 22:26:19, Evan Stade wrote: > ...
5 years, 4 months ago (2015-08-04 00:04:38 UTC) #20
Evan Stade
https://codereview.chromium.org/1268633002/diff/80001/ui/views/examples/vector_example.cc File ui/views/examples/vector_example.cc (right): https://codereview.chromium.org/1268633002/diff/80001/ui/views/examples/vector_example.cc#newcode105 ui/views/examples/vector_example.cc:105: #if defined(OS_POSIX) On 2015/08/04 00:04:38, sky wrote: > On ...
5 years, 4 months ago (2015-08-04 00:37:50 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1268633002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1268633002/120001
5 years, 4 months ago (2015-08-04 00:38:16 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 4 months ago (2015-08-04 02:02:01 UTC) #25
commit-bot: I haz the power
5 years, 4 months ago (2015-08-04 02:02:29 UTC) #26
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/93906afd35bf9de7ed25b174d490716b730a6044
Cr-Commit-Position: refs/heads/master@{#341667}

Powered by Google App Engine
This is Rietveld 408576698