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

Issue 11099007: Divide gesture events by dpi scale if IsDIPEnabled(). (Closed)

Created:
8 years, 2 months ago by aelias_OOO_until_Jul13
Modified:
8 years, 2 months ago
Reviewers:
Yusuf, no sievers
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, rjkroege, Rick Byers
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Divide gesture events by dpi scale if IsDIPEnabled(). In the future, we're planning to flip the value of IsDIPEnabled() to true to match other platforms. One of the behaviors implied by this is for gesture events to be divided by the dpi scale in the browser process. Also, this patch removes the dependency on WebInputEventFactory::gestureEvent() since it provides no value-added on Android and has been making it harder to make changes to this code. BUG=152505 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160940

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move using-declaration #

Patch Set 3 : Fix indent #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -42 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 10 chunks +70 lines, -39 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
aelias_OOO_until_Jul13
Hi Yusuf and Daniel, this is one of many small patches needed for the transition ...
8 years, 2 months ago (2012-10-09 01:52:55 UTC) #1
no sievers
On 2012/10/09 01:52:55, aelias wrote: > Hi Yusuf and Daniel, this is one of many ...
8 years, 2 months ago (2012-10-09 15:29:21 UTC) #2
no sievers
https://codereview.chromium.org/11099007/diff/1/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/11099007/diff/1/content/browser/android/content_view_core_impl.cc#newcode56 content/browser/android/content_view_core_impl.cc:56: using WebKit::WebGestureEvent; nit: move 1 line down
8 years, 2 months ago (2012-10-09 15:29:29 UTC) #3
Yusuf
lgtm https://codereview.chromium.org/11099007/diff/1/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/11099007/diff/1/content/browser/android/content_view_core_impl.cc#newcode555 content/browser/android/content_view_core_impl.cc:555: long time_ms, int x, int y) const { ...
8 years, 2 months ago (2012-10-09 18:34:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aelias@chromium.org/11099007/2002
8 years, 2 months ago (2012-10-09 18:39:03 UTC) #5
commit-bot: I haz the power
Failed to apply patch for content/browser/android/content_view_core_impl.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 2 months ago (2012-10-09 18:39:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aelias@chromium.org/11099007/5003
8 years, 2 months ago (2012-10-09 19:42:03 UTC) #7
commit-bot: I haz the power
8 years, 2 months ago (2012-10-09 22:05:26 UTC) #8
Change committed as 160940

Powered by Google App Engine
This is Rietveld 408576698