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

Issue 10818011: Allow floating point rectangles to be sent via IPC. (Closed)

Created:
8 years, 5 months ago by Leandro Graciá Gil
Modified:
8 years, 5 months ago
Reviewers:
brettw, sky
CC:
chromium-reviews, joi+watch-content_chromium.org, erikwright (departed), darin-cc_chromium.org, jam, brettw-cc_chromium.org
Visibility:
Public.

Description

Allow floating point rectangles to be sent via IPC. These are required by the Android find-in-page implementation. Further patches will introduce automatic conversion from WebKit::WebFloatRect to gfx::RectF. BUG=136762 TEST=new case added to base_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147974

Patch Set 1 #

Total comments: 2

Patch Set 2 : using ParamTraits<float> instead of Pickle. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -0 lines) Patch
M content/public/common/common_param_traits.h View 2 chunks +9 lines, -0 lines 0 comments Download
M content/public/common/common_param_traits.cc View 1 2 chunks +29 lines, -0 lines 0 comments Download
M ui/ui.gyp View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Leandro Graciá Gil
sky: will need an owner for the ui gyp changes. Could you please take a ...
8 years, 5 months ago (2012-07-23 18:30:48 UTC) #1
sky
LGTM
8 years, 5 months ago (2012-07-23 19:05:34 UTC) #2
brettw
https://chromiumcodereview.appspot.com/10818011/diff/1/content/public/common/common_param_traits.cc File content/public/common/common_param_traits.cc (right): https://chromiumcodereview.appspot.com/10818011/diff/1/content/public/common/common_param_traits.cc#newcode427 content/public/common/common_param_traits.cc:427: m->WriteFloat(p.x()); I'd avoid adding anything to pickle and instead ...
8 years, 5 months ago (2012-07-23 19:06:21 UTC) #3
Leandro Graciá Gil
https://chromiumcodereview.appspot.com/10818011/diff/1/content/public/common/common_param_traits.cc File content/public/common/common_param_traits.cc (right): https://chromiumcodereview.appspot.com/10818011/diff/1/content/public/common/common_param_traits.cc#newcode427 content/public/common/common_param_traits.cc:427: m->WriteFloat(p.x()); SGTM. Fixed. On 2012/07/23 19:06:21, brettw wrote: > ...
8 years, 5 months ago (2012-07-23 20:45:35 UTC) #4
brettw
lgtm
8 years, 5 months ago (2012-07-23 21:05:36 UTC) #5
Leandro Graciá Gil
Thanks for the review.
8 years, 5 months ago (2012-07-23 21:12:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leandrogracia@chromium.org/10818011/8001
8 years, 5 months ago (2012-07-23 21:13:24 UTC) #7
commit-bot: I haz the power
8 years, 5 months ago (2012-07-23 22:39:43 UTC) #8
Change committed as 147974

Powered by Google App Engine
This is Rietveld 408576698