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

Issue 7029032: Port hello_world (C++) to use postMessage. (Closed)

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

Description

Port hello_world (C++) to use postMessage. BUG=none TEST=manual; build and run this example in an M13 browser version 85624 or later. Committed: http://code.google.com/p/nativeclient-sdk/source/detail?r=860

Patch Set 1 #

Total comments: 16

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -103 lines) Patch
M examples/hello_world/hello_world.cc View 1 2 3 chunks +44 lines, -101 lines 0 comments Download
M examples/hello_world/hello_world.html View 1 2 4 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
David Springer
9 years, 7 months ago (2011-05-18 14:01:40 UTC) #1
dmichael (off chromium)
http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.cc File examples/hello_world/hello_world.cc (right): http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.cc#newcode40 examples/hello_world/hello_world.cc:40: /// Separator charater for the reverseText method. charater->character http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.cc#newcode56 ...
9 years, 7 months ago (2011-05-18 15:43:56 UTC) #2
garianov
nits http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.cc File examples/hello_world/hello_world.cc (right): http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.cc#newcode24 examples/hello_world/hello_world.cc:24: #include <ppapi/cpp/dev/scriptable_object_deprecated.h> Do we need this header? http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.cc#newcode81 ...
9 years, 7 months ago (2011-05-18 15:45:19 UTC) #3
Matt Ball
LGTM http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.html File examples/hello_world/hello_world.html (right): http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.html#newcode19 examples/hello_world/hello_world.html:19: // Add a message handler that accespts messages ...
9 years, 7 months ago (2011-05-18 16:12:22 UTC) #4
David Springer
http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.cc File examples/hello_world/hello_world.cc (right): http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.cc#newcode24 examples/hello_world/hello_world.cc:24: #include <ppapi/cpp/dev/scriptable_object_deprecated.h> On 2011/05/18 15:45:19, garianov wrote: > Do ...
9 years, 7 months ago (2011-05-18 18:01:42 UTC) #5
dmichael(do not use this one)
http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.cc File examples/hello_world/hello_world.cc (right): http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.cc#newcode25 examples/hello_world/hello_world.cc:25: #include <ppapi/cpp/var.h> Whoops, just noticed... if we're using "" ...
9 years, 7 months ago (2011-05-18 18:46:10 UTC) #6
Matt Ball
On Wed, May 18, 2011 at 12:46 PM, <dmichael@google.com> wrote: > > > http://codereview.chromium.org/7029032/diff/1/examples/hello_world/hello_world.cc#newcode56 > ...
9 years, 7 months ago (2011-05-18 18:50:12 UTC) #7
David Springer
On 2011/05/18 18:50:12, Matt Ball wrote: > On Wed, May 18, 2011 at 12:46 PM, ...
9 years, 7 months ago (2011-05-18 19:14:24 UTC) #8
dmichael (off chromium)
Ah, right, I saw the changed signature on 'Marshall...' and thought the test had to ...
9 years, 7 months ago (2011-05-18 19:34:02 UTC) #9
mlinck
one nit http://codereview.chromium.org/7029032/diff/5001/examples/hello_world/hello_world.cc File examples/hello_world/hello_world.cc (right): http://codereview.chromium.org/7029032/diff/5001/examples/hello_world/hello_world.cc#newcode28 examples/hello_world/hello_world.cc:28: #include <algorithm> // for reverse Actually, this ...
9 years, 7 months ago (2011-05-18 19:43:36 UTC) #10
David Springer
Issues addressed. Also, change #include <ppapi> to #include "ppapi" per new guidelines. PTAL. Thanks! http://codereview.chromium.org/7029032/diff/5001/examples/hello_world/hello_world.cc ...
9 years, 7 months ago (2011-05-18 19:56:30 UTC) #11
mlinck
LGTM On 2011/05/18 19:56:30, David Springer wrote: > Issues addressed. Also, change #include <ppapi> to ...
9 years, 7 months ago (2011-05-18 19:57:06 UTC) #12
David Springer
9 years, 7 months ago (2011-05-18 20:15:10 UTC) #13
Thanks for the reviews!

Committed as r860

Powered by Google App Engine
This is Rietveld 408576698