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

Issue 701823002: Separate out Touch Selection Orientation enum (Closed)

Created:
6 years, 1 month ago by AviD
Modified:
5 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jdduke+watch_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Separate out Touch Selection Orientation enum Separate out Touch Selection Orientation so that it can be used both on Java side and native side easily. BUG=NONE Committed: https://crrev.com/083c38c02fad2d8537eb46b8cfd92f353f05801f Cr-Commit-Position: refs/heads/master@{#318657}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : Rebase + Review comments #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 6

Patch Set 7 : Changes done with new design #

Total comments: 2

Patch Set 8 : review comments #

Total comments: 2

Patch Set 9 : updated as per review comments #

Total comments: 4

Patch Set 10 : android_aosp build #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -105 lines) Patch
M android_webview/java_library_common.mk View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/libwebviewchromium.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/composited_touch_handle_drawable.cc View 1 2 3 4 5 6 3 chunks +9 lines, -9 lines 0 comments Download
M content/browser/android/popup_touch_handle_drawable.cc View 1 2 3 4 5 6 1 chunk +2 lines, -16 lines 0 comments Download
M content/content.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/public/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java View 1 2 3 4 5 6 4 chunks +13 lines, -27 lines 0 comments Download
M ui/touch_selection/BUILD.gn View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M ui/touch_selection/touch_handle.h View 1 2 3 4 5 6 1 chunk +1 line, -7 lines 0 comments Download
M ui/touch_selection/touch_handle.cc View 1 2 3 4 5 6 7 8 3 chunks +23 lines, -6 lines 0 comments Download
A ui/touch_selection/touch_handle_orientation.h View 1 2 3 4 5 6 1 chunk +24 lines, -0 lines 0 comments Download
M ui/touch_selection/touch_handle_unittest.cc View 1 2 3 4 5 6 12 chunks +25 lines, -24 lines 0 comments Download
M ui/touch_selection/touch_selection_controller.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/touch_selection/touch_selection_controller.cc View 1 2 3 4 5 6 6 chunks +19 lines, -16 lines 0 comments Download
M ui/touch_selection/ui_touch_selection.gyp View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (11 generated)
AviD
Done so that there is a unified enum for both java and native side. PTAL.
6 years, 1 month ago (2014-11-04 11:31:15 UTC) #2
jdduke (slow)
Looks like you forgot to add the new header. Also, I may be wrong, but ...
6 years, 1 month ago (2014-11-04 16:21:50 UTC) #3
AviD
On 2014/11/04 16:21:50, jdduke wrote: > Looks like you forgot to add the new header. ...
6 years, 1 month ago (2014-11-04 18:24:19 UTC) #4
AviD
https://codereview.chromium.org/701823002/diff/1/content/browser/android/popup_touch_handle_drawable.cc File content/browser/android/popup_touch_handle_drawable.cc (right): https://codereview.chromium.org/701823002/diff/1/content/browser/android/popup_touch_handle_drawable.cc#newcode34 content/browser/android/popup_touch_handle_drawable.cc:34: case TOUCH_HANDLE_LEFT: On 2014/11/04 16:21:50, jdduke wrote: > No ...
6 years, 1 month ago (2014-11-04 18:24:32 UTC) #5
jdduke (slow)
https://codereview.chromium.org/701823002/diff/40001/content/browser/renderer_host/input/touch_handle_orientation.h File content/browser/renderer_host/input/touch_handle_orientation.h (right): https://codereview.chromium.org/701823002/diff/40001/content/browser/renderer_host/input/touch_handle_orientation.h#newcode10 content/browser/renderer_host/input/touch_handle_orientation.h:10: // This file contains a list of Orientation types ...
6 years, 1 month ago (2014-11-06 16:41:59 UTC) #6
AviD
Thanks :) PTAL. https://codereview.chromium.org/701823002/diff/40001/content/browser/renderer_host/input/touch_handle_orientation.h File content/browser/renderer_host/input/touch_handle_orientation.h (right): https://codereview.chromium.org/701823002/diff/40001/content/browser/renderer_host/input/touch_handle_orientation.h#newcode10 content/browser/renderer_host/input/touch_handle_orientation.h:10: // This file contains a list ...
6 years, 1 month ago (2014-11-10 12:13:49 UTC) #7
jdduke (slow)
Sorry for the delay, missed your last update. https://codereview.chromium.org/701823002/diff/100001/content/browser/renderer_host/input/touch_handle_orientation.h File content/browser/renderer_host/input/touch_handle_orientation.h (right): https://codereview.chromium.org/701823002/diff/100001/content/browser/renderer_host/input/touch_handle_orientation.h#newcode17 content/browser/renderer_host/input/touch_handle_orientation.h:17: TOUCH_HANDLE_LEFT, ...
6 years, 1 month ago (2014-11-11 21:04:30 UTC) #8
AviD
@jdduke: Changes are done according to new design. Could you please take a look? https://codereview.chromium.org/701823002/diff/100001/content/browser/renderer_host/input/touch_handle_orientation.h ...
5 years, 10 months ago (2015-02-25 05:49:05 UTC) #9
jdduke (slow)
Thanks, this looks good, just one thought about the casting. https://codereview.chromium.org/701823002/diff/120001/ui/touch_selection/touch_handle.cc File ui/touch_selection/touch_handle.cc (right): https://codereview.chromium.org/701823002/diff/120001/ui/touch_selection/touch_handle.cc#newcode119 ...
5 years, 10 months ago (2015-02-25 17:36:48 UTC) #10
AviD
https://codereview.chromium.org/701823002/diff/120001/ui/touch_selection/touch_handle.cc File ui/touch_selection/touch_handle.cc (right): https://codereview.chromium.org/701823002/diff/120001/ui/touch_selection/touch_handle.cc#newcode119 ui/touch_selection/touch_handle.cc:119: DCHECK_NE(static_cast<int>(orientation), On 2015/02/25 17:36:48, jdduke wrote: > Dang, I ...
5 years, 10 months ago (2015-02-26 06:28:08 UTC) #11
jdduke (slow)
lgtm with one nit, thanks. https://codereview.chromium.org/701823002/diff/140001/ui/touch_selection/touch_handle.cc File ui/touch_selection/touch_handle.cc (right): https://codereview.chromium.org/701823002/diff/140001/ui/touch_selection/touch_handle.cc#newcode48 ui/touch_selection/touch_handle.cc:48: std::ostream& operator<<(std::ostream& os, Thanks, ...
5 years, 10 months ago (2015-02-26 16:50:54 UTC) #12
AviD
Thanks @jdduke. https://codereview.chromium.org/701823002/diff/140001/ui/touch_selection/touch_handle.cc File ui/touch_selection/touch_handle.cc (right): https://codereview.chromium.org/701823002/diff/140001/ui/touch_selection/touch_handle.cc#newcode48 ui/touch_selection/touch_handle.cc:48: std::ostream& operator<<(std::ostream& os, On 2015/02/26 16:50:54, jdduke ...
5 years, 10 months ago (2015-02-27 10:02:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701823002/160001
5 years, 10 months ago (2015-02-27 10:06:09 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/46097)
5 years, 10 months ago (2015-02-27 10:22:33 UTC) #18
AviD
Adding boliu@ sievers@ for owner review
5 years, 10 months ago (2015-02-27 10:32:49 UTC) #20
boliu
android_webview rs lgtm once android_aosp bot is happy
5 years, 9 months ago (2015-02-27 16:36:10 UTC) #21
jdduke (slow)
https://codereview.chromium.org/701823002/diff/160001/android_webview/java_library_common.mk File android_webview/java_library_common.mk (right): https://codereview.chromium.org/701823002/diff/160001/android_webview/java_library_common.mk#newcode65 android_webview/java_library_common.mk:65: $(call intermediates-dir-for,GYP,shared)/enums/selection_event_type_java/org/chromium/ui/touch_selection/TouchHandleOrientation.java \ Change selection_event_type_java to touch_handle_orientation_java https://codereview.chromium.org/701823002/diff/160001/ui/touch_selection/BUILD.gn File ...
5 years, 9 months ago (2015-02-27 16:46:46 UTC) #22
no sievers
On 2015/02/27 10:32:49, AviD wrote: > Adding boliu@ sievers@ for owner review lgtm
5 years, 9 months ago (2015-02-27 19:39:51 UTC) #23
AviD
https://codereview.chromium.org/701823002/diff/160001/android_webview/java_library_common.mk File android_webview/java_library_common.mk (right): https://codereview.chromium.org/701823002/diff/160001/android_webview/java_library_common.mk#newcode65 android_webview/java_library_common.mk:65: $(call intermediates-dir-for,GYP,shared)/enums/selection_event_type_java/org/chromium/ui/touch_selection/TouchHandleOrientation.java \ On 2015/02/27 16:46:46, jdduke wrote: > ...
5 years, 9 months ago (2015-03-02 05:14:09 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701823002/180001
5 years, 9 months ago (2015-03-02 05:14:27 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/63431)
5 years, 9 months ago (2015-03-02 05:34:29 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701823002/200001
5 years, 9 months ago (2015-03-02 05:42:55 UTC) #33
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 9 months ago (2015-03-02 06:47:43 UTC) #34
commit-bot: I haz the power
5 years, 9 months ago (2015-03-02 06:48:24 UTC) #35
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/083c38c02fad2d8537eb46b8cfd92f353f05801f
Cr-Commit-Position: refs/heads/master@{#318657}

Powered by Google App Engine
This is Rietveld 408576698