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

Issue 1144233004: Sky: Convert TransferMode to an enum. (Closed)

Created:
5 years, 6 months ago by Matt Perry
Modified:
5 years, 6 months ago
CC:
abarth-chromium, gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org
Base URL:
git@github.com:/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Sky: Convert TransferMode to an enum. It looked and smelled like an enum, so lets just make it one. This also gives us a nice toString() method. R=abarth@chromium.org, eseidel@chromium.org, ianh@google.com Committed: https://chromium.googlesource.com/external/mojo/+/5ad89c28cfc5dc934b7fe694e66bce2f92e16541

Patch Set 1 #

Total comments: 5

Patch Set 2 : review #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -42 lines) Patch
M sky/engine/core/painting/TransferMode.cpp View 1 2 chunks +6 lines, -1 line 1 comment Download
M sky/engine/core/painting/TransferMode.dart View 1 1 chunk +33 lines, -41 lines 0 comments Download
M sky/engine/core/script/dom_dart_state.h View 2 chunks +2 lines, -0 lines 0 comments Download
M sky/engine/core/script/dom_dart_state.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Matt Perry
5 years, 6 months ago (2015-06-03 19:33:00 UTC) #2
kulakowski
https://codereview.chromium.org/1144233004/diff/1/sky/engine/core/painting/TransferMode.dart File sky/engine/core/painting/TransferMode.dart (right): https://codereview.chromium.org/1144233004/diff/1/sky/engine/core/painting/TransferMode.dart#newcode26 sky/engine/core/painting/TransferMode.dart:26: // https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#blending This url breaks for me: An error ...
5 years, 6 months ago (2015-06-03 19:36:32 UTC) #4
abarth-chromium
lgtm
5 years, 6 months ago (2015-06-03 19:39:16 UTC) #6
eseidel
Other than what george said, lgtm.
5 years, 6 months ago (2015-06-03 19:39:36 UTC) #8
Hixie
lgtm https://codereview.chromium.org/1144233004/diff/1/sky/engine/core/painting/TransferMode.dart File sky/engine/core/painting/TransferMode.dart (right): https://codereview.chromium.org/1144233004/diff/1/sky/engine/core/painting/TransferMode.dart#newcode8 sky/engine/core/painting/TransferMode.dart:8: /// SkXfermode.h and the values (order) should be ...
5 years, 6 months ago (2015-06-03 19:43:55 UTC) #10
Matt Perry
https://codereview.chromium.org/1144233004/diff/1/sky/engine/core/painting/TransferMode.dart File sky/engine/core/painting/TransferMode.dart (right): https://codereview.chromium.org/1144233004/diff/1/sky/engine/core/painting/TransferMode.dart#newcode8 sky/engine/core/painting/TransferMode.dart:8: /// SkXfermode.h and the values (order) should be kept ...
5 years, 6 months ago (2015-06-03 19:57:48 UTC) #11
Hixie
lgtm https://codereview.chromium.org/1144233004/diff/20001/sky/engine/core/painting/TransferMode.cpp File sky/engine/core/painting/TransferMode.cpp (right): https://codereview.chromium.org/1144233004/diff/20001/sky/engine/core/painting/TransferMode.cpp#newcode18 sky/engine/core/painting/TransferMode.cpp:18: COMPILE_ASSERT(SkXfermode::kLastMode == 28, Need_to_update_TransferMode_dart); that's great.
5 years, 6 months ago (2015-06-03 20:10:48 UTC) #12
Matt Perry
5 years, 6 months ago (2015-06-03 20:19:17 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
5ad89c28cfc5dc934b7fe694e66bce2f92e16541 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698