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

Issue 6286025: Port the Life example to Pepper 2. (Closed)

Created:
9 years, 10 months ago by David Springer
Modified:
9 years, 7 months ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Port the Life example to Pepper 2. Committed: http://code.google.com/p/nativeclient/source/detail?r=160

Patch Set 1 : '' #

Patch Set 2 : '' #

Total comments: 56

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 12

Patch Set 5 : '' #

Total comments: 8

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+778 lines, -444 lines) Patch
M examples/graphics/life/Makefile View 2 chunks +29 lines, -6 lines 0 comments Download
A examples/graphics/life/dragger.js View 1 2 1 chunk +156 lines, -0 lines 0 comments Download
A examples/graphics/life/life.h View 1 2 3 4 1 chunk +153 lines, -0 lines 0 comments Download
M examples/graphics/life/life.cc View 1 2 3 4 5 6 2 chunks +172 lines, -374 lines 0 comments Download
A examples/graphics/life/life.css View 1 2 3 4 1 chunk +53 lines, -0 lines 0 comments Download
M examples/graphics/life/life.html View 1 2 3 4 2 chunks +34 lines, -64 lines 0 comments Download
A examples/graphics/life/life.js View 1 2 3 4 1 chunk +134 lines, -0 lines 0 comments Download
A examples/graphics/life/life.nmf View 1 chunk +6 lines, -0 lines 0 comments Download
A examples/graphics/life/life_dbg.nmf View 1 chunk +6 lines, -0 lines 0 comments Download
A examples/graphics/life/life_module.cc View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
David Springer
I totally re-wrote the way Life works: the user event handling is all done in ...
9 years, 10 months ago (2011-02-02 18:48:19 UTC) #1
dmichael(do not use this one)
Some copy/paste errors, some other suggestions, and some off-by-one errors in the untouched code. I ...
9 years, 10 months ago (2011-02-02 23:03:59 UTC) #2
David Springer
http://codereview.chromium.org/6286025/diff/3007/examples/graphics/life/dragger.js File examples/graphics/life/dragger.js (right): http://codereview.chromium.org/6286025/diff/3007/examples/graphics/life/dragger.js#newcode8 examples/graphics/life/dragger.js:8: * until it gets a mousup event. It manufactures ...
9 years, 10 months ago (2011-02-03 18:12:26 UTC) #3
dmichael(do not use this one)
Down to mostly nits http://codereview.chromium.org/6286025/diff/3007/examples/graphics/life/dragger.js File examples/graphics/life/dragger.js (right): http://codereview.chromium.org/6286025/diff/3007/examples/graphics/life/dragger.js#newcode97 examples/graphics/life/dragger.js:97: this.listeners_[i].handleStartDrag(this.target_, dragStartEvent); On 2011/02/03 18:12:27, ...
9 years, 10 months ago (2011-02-03 20:08:43 UTC) #4
David Springer
http://codereview.chromium.org/6286025/diff/3008/examples/graphics/life/life.cc File examples/graphics/life/life.cc (right): http://codereview.chromium.org/6286025/diff/3008/examples/graphics/life/life.cc#newcode51 examples/graphics/life/life.cc:51: 0, 0, 1, 1, 0, 0, 0, 0, // ...
9 years, 10 months ago (2011-02-03 21:09:46 UTC) #5
nfullagar
http://codereview.chromium.org/6286025/diff/3008/examples/graphics/life/life.cc File examples/graphics/life/life.cc (right): http://codereview.chromium.org/6286025/diff/3008/examples/graphics/life/life.cc#newcode157 examples/graphics/life/life.cc:157: cell_in_[i * width + (width - 2)] = random_bits_.value(); ...
9 years, 10 months ago (2011-02-03 21:18:58 UTC) #6
dmichael(do not use this one)
Found a couple of nits, but o/w LGTM. Thanks! http://codereview.chromium.org/6286025/diff/2008/examples/graphics/life/life.cc File examples/graphics/life/life.cc (right): http://codereview.chromium.org/6286025/diff/2008/examples/graphics/life/life.cc#newcode51 examples/graphics/life/life.cc:51: ...
9 years, 10 months ago (2011-02-03 21:22:59 UTC) #7
David Springer
http://codereview.chromium.org/6286025/diff/3008/examples/graphics/life/life.cc File examples/graphics/life/life.cc (right): http://codereview.chromium.org/6286025/diff/3008/examples/graphics/life/life.cc#newcode157 examples/graphics/life/life.cc:157: cell_in_[i * width + (width - 2)] = random_bits_.value(); ...
9 years, 10 months ago (2011-02-03 22:04:55 UTC) #8
David Springer
9 years, 10 months ago (2011-02-03 22:05:35 UTC) #9
dmichael(do not use this one)
LGMT
9 years, 10 months ago (2011-02-03 22:40:01 UTC) #10
David Springer
9 years, 10 months ago (2011-02-03 22:51:14 UTC) #11
Thanks for all the great reviews!

Committed as rev 160.

Powered by Google App Engine
This is Rietveld 408576698