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

Issue 1517853002: Extend the geometry APIs. (Closed)

Created:
5 years ago by jeffbrown
Modified:
5 years ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, darin (slow to review), gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Extend the geometry APIs. Add a RRect structure for rounded rect. Define helpers for manipulating transformation matrices. Define output formatters for geometry datatypes. BUG= R=abarth@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/c47c16536c224fabbfb858c9a15b27cbb5518b12

Patch Set 1 #

Total comments: 11

Patch Set 2 : address review comments #

Patch Set 3 : #

Patch Set 4 : add dependency #

Patch Set 5 : #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -1 line) Patch
M mojo/dart/packages/mojo_services/lib/mojo/geometry.mojom.dart View 1 chunk +166 lines, -0 lines 0 comments Download
M mojo/services/geometry/cpp/BUILD.gn View 1 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/services/geometry/cpp/geometry_util.h View 2 chunks +4 lines, -1 line 0 comments Download
A mojo/services/geometry/cpp/geometry_util.cc View 1 1 chunk +28 lines, -0 lines 0 comments Download
A mojo/services/geometry/cpp/logging.h View 1 1 chunk +22 lines, -0 lines 0 comments Download
A mojo/services/geometry/cpp/logging.cc View 1 1 chunk +58 lines, -0 lines 0 comments Download
M mojo/services/geometry/interfaces/geometry.mojom View 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
jeffbrown
5 years ago (2015-12-10 22:22:02 UTC) #2
abarth-chromium
LGTM, but you might want jamesr to approve add this concept to this layer. https://codereview.chromium.org/1517853002/diff/1/mojo/services/geometry/cpp/geometry_util.cc ...
5 years ago (2015-12-10 22:49:53 UTC) #4
jamesr
https://codereview.chromium.org/1517853002/diff/1/mojo/services/geometry/cpp/logging.h File mojo/services/geometry/cpp/logging.h (right): https://codereview.chromium.org/1517853002/diff/1/mojo/services/geometry/cpp/logging.h#newcode8 mojo/services/geometry/cpp/logging.h:8: #include "mojo/common/logging.h" i don't see this header in https://github.com/domokit/mojo/tree/master/mojo/common ...
5 years ago (2015-12-10 23:35:50 UTC) #5
vardhan
On 2015/12/10 23:35:50, jamesr wrote: > https://codereview.chromium.org/1517853002/diff/1/mojo/services/geometry/cpp/logging.h > File mojo/services/geometry/cpp/logging.h (right): > > https://codereview.chromium.org/1517853002/diff/1/mojo/services/geometry/cpp/logging.h#newcode8 > ...
5 years ago (2015-12-10 23:38:43 UTC) #6
jamesr
OK. The cpp libraries in mojo/services/XXX/cpp are intended to be generally reusable libraries (i.e. usable ...
5 years ago (2015-12-10 23:49:29 UTC) #7
viettrungluu
https://codereview.chromium.org/1517853002/diff/1/mojo/services/geometry/cpp/logging.h File mojo/services/geometry/cpp/logging.h (right): https://codereview.chromium.org/1517853002/diff/1/mojo/services/geometry/cpp/logging.h#newcode8 mojo/services/geometry/cpp/logging.h:8: #include "mojo/common/logging.h" On 2015/12/10 23:35:50, jamesr wrote: > i ...
5 years ago (2015-12-10 23:54:28 UTC) #9
jamesr
The impl needs the logging helpers, though, so the same thing applies there :)
5 years ago (2015-12-10 23:55:56 UTC) #10
viettrungluu
On 2015/12/10 23:55:56, jamesr wrote: > The impl needs the logging helpers, though, so the ...
5 years ago (2015-12-11 00:15:07 UTC) #11
viettrungluu
https://codereview.chromium.org/1517853002/diff/1/mojo/services/geometry/cpp/geometry_util.cc File mojo/services/geometry/cpp/geometry_util.cc (right): https://codereview.chromium.org/1517853002/diff/1/mojo/services/geometry/cpp/geometry_util.cc#newcode5 mojo/services/geometry/cpp/geometry_util.cc:5: #include <string> You want <string.h> (or <cstring>) for memcpy, ...
5 years ago (2015-12-11 00:15:13 UTC) #12
jeffbrown
https://codereview.chromium.org/1517853002/diff/1/mojo/services/geometry/cpp/geometry_util.cc File mojo/services/geometry/cpp/geometry_util.cc (right): https://codereview.chromium.org/1517853002/diff/1/mojo/services/geometry/cpp/geometry_util.cc#newcode5 mojo/services/geometry/cpp/geometry_util.cc:5: #include <string> On 2015/12/11 00:15:13, viettrungluu wrote: > You ...
5 years ago (2015-12-11 19:40:55 UTC) #13
jeffbrown
5 years ago (2015-12-17 19:39:31 UTC) #15
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
c47c16536c224fabbfb858c9a15b27cbb5518b12 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698