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

Issue 996373002: Add Aura handles to be used in unified touch selection (Closed)

Created:
5 years, 9 months ago by mohsen
Modified:
5 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Aura handles to be used in unified touch selection This patch is part of Aura side of unified touch selection. It adds an implementation of touch handle drawables to be used on Aura. It also adds some functions to the public interface of ui::TouchSelectionController needed for unified touch selection. COLLABORATOR=mfomitchev BUG=399721 Committed: https://crrev.com/9143361454a599ac0882abcbd846b25ad7ce7945 Cr-Commit-Position: refs/heads/master@{#329191}

Patch Set 1 #

Patch Set 2 : Fixed compile errors #

Total comments: 2

Patch Set 3 : Fixed another compile error #

Patch Set 4 : Added checks for return value of OnSelectionBoundsUpdated #

Patch Set 5 : Fixed issues with loading resources #

Total comments: 2

Patch Set 6 : Used Timer to avoid creating closure every time #

Patch Set 7 : Added base/android/aura classes #

Patch Set 8 : Rebased #

Patch Set 9 : Fixed test isolate file #

Patch Set 10 : Fixed GN files #

Patch Set 11 : Uplaoded with --no-find-copies #

Patch Set 12 : Cleanups #

Patch Set 13 : After redesign #

Patch Set 14 : Ready for re-review! #

Patch Set 15 : Removed menu runner from this patch #

Patch Set 16 : Added enum for active status #

Total comments: 10

Patch Set 17 : Addressed some review comments #

Patch Set 18 : Removed OnNativeViewMoved #

Total comments: 8

Patch Set 19 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+330 lines, -55 lines) Patch
M ui/resources/ui_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +3 lines, -5 lines 0 comments Download
M ui/touch_selection/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +20 lines, -0 lines 0 comments Download
M ui/touch_selection/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -1 line 0 comments Download
A ui/touch_selection/touch_handle_drawable_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +59 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_handle_drawable_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +162 lines, -0 lines 0 comments Download
M ui/touch_selection/touch_selection_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +13 lines, -2 lines 0 comments Download
M ui/touch_selection/touch_selection_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 16 chunks +45 lines, -46 lines 0 comments Download
M ui/touch_selection/touch_selection_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +4 lines, -1 line 0 comments Download
M ui/touch_selection/ui_touch_selection.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (7 generated)
mohsen
This patch contains ui/touch_selection part of unified touch selection patch. Please take a look...
5 years, 9 months ago (2015-03-12 15:34:46 UTC) #2
jdduke (slow)
https://codereview.chromium.org/996373002/diff/20001/ui/touch_selection/touch_selection_controller_unittest.cc File ui/touch_selection/touch_selection_controller_unittest.cc (right): https://codereview.chromium.org/996373002/diff/20001/ui/touch_selection/touch_selection_controller_unittest.cc#newcode120 ui/touch_selection/touch_selection_controller_unittest.cc:120: controller_->OnSelectionBoundsUpdated(SelectionBound(), Should we get some test coverage for the ...
5 years, 9 months ago (2015-03-12 15:59:06 UTC) #3
mohsen
https://codereview.chromium.org/996373002/diff/20001/ui/touch_selection/touch_selection_controller_unittest.cc File ui/touch_selection/touch_selection_controller_unittest.cc (right): https://codereview.chromium.org/996373002/diff/20001/ui/touch_selection/touch_selection_controller_unittest.cc#newcode120 ui/touch_selection/touch_selection_controller_unittest.cc:120: controller_->OnSelectionBoundsUpdated(SelectionBound(), On 2015/03/12 15:59:06, jdduke wrote: > Should we ...
5 years, 9 months ago (2015-03-12 18:55:27 UTC) #4
jdduke (slow)
https://codereview.chromium.org/996373002/diff/120001/ui/touch_selection/touch_selection_controller_aura.cc File ui/touch_selection/touch_selection_controller_aura.cc (right): https://codereview.chromium.org/996373002/diff/120001/ui/touch_selection/touch_selection_controller_aura.cc#newcode302 ui/touch_selection/touch_selection_controller_aura.cc:302: &TouchSelectionControllerAura::ShowQuickMenu); Why the delay here? What about fading it ...
5 years, 9 months ago (2015-03-13 15:41:27 UTC) #7
mohsen
https://codereview.chromium.org/996373002/diff/120001/ui/touch_selection/touch_selection_controller_aura.cc File ui/touch_selection/touch_selection_controller_aura.cc (right): https://codereview.chromium.org/996373002/diff/120001/ui/touch_selection/touch_selection_controller_aura.cc#newcode302 ui/touch_selection/touch_selection_controller_aura.cc:302: &TouchSelectionControllerAura::ShowQuickMenu); On 2015/03/13 15:41:27, jdduke wrote: > Why the ...
5 years, 9 months ago (2015-03-13 17:35:34 UTC) #8
mohsen
jdduke@: Now that TouchSelectionController is changed to be a base class for TouchSelectionControllerAndroid and TouchSelectionControllerAura, ...
5 years, 9 months ago (2015-03-18 14:31:13 UTC) #9
jdduke (slow)
On 2015/03/18 14:31:13, mohsen wrote: > jdduke@: Now that TouchSelectionController is changed to be a ...
5 years, 9 months ago (2015-03-23 15:20:55 UTC) #10
chromium-reviews
Jared, so the only difference between (1) and (2) is the presence of TouchSelectionController interface ...
5 years, 9 months ago (2015-03-23 15:42:07 UTC) #11
jdduke (slow)
On 2015/03/23 15:42:07, chromium-reviews wrote: > Jared, so the only difference between (1) and (2) ...
5 years, 9 months ago (2015-03-23 15:45:31 UTC) #12
mfomitchev
I had a quick chat with Sadrul and here's my understanding of his requirements to ...
5 years, 9 months ago (2015-03-23 22:10:03 UTC) #13
jdduke (slow)
On 2015/03/23 22:10:03, mfomitchev wrote: > I had a quick chat with Sadrul and here's ...
5 years, 9 months ago (2015-03-24 01:10:11 UTC) #14
mohsen
On 2015/03/23 22:10:03, mfomitchev wrote: > I had a quick chat with Sadrul and here's ...
5 years, 9 months ago (2015-03-26 12:53:55 UTC) #15
jdduke (slow)
On 2015/03/26 12:53:55, mohsen wrote: > > To accomplish this we need to make the ...
5 years, 9 months ago (2015-03-26 15:10:18 UTC) #16
jdduke (slow)
On 2015/03/26 15:10:18, jdduke wrote: > On 2015/03/26 12:53:55, mohsen wrote: > > > To ...
5 years, 9 months ago (2015-03-26 15:11:36 UTC) #17
mfomitchev
> TSCAura overridden from EventHandler. This means that in Aura we'll use > OnGestureEvent() and ...
5 years, 9 months ago (2015-03-26 17:03:32 UTC) #18
mohsen
sadrul@, jdduke@: Now that the touch selection unification patch has gone through a redesign, can ...
5 years, 7 months ago (2015-05-01 18:12:37 UTC) #19
mohsen
Per sadrul@'s request, I've made to changes to the patch: 1. Removed menu runner code ...
5 years, 7 months ago (2015-05-07 20:09:07 UTC) #22
jdduke (slow)
Most changes lgtm though I may not be the best reviewer for touch_handle_drawable_aura.{cc,h}. https://codereview.chromium.org/996373002/diff/380001/ui/touch_selection/touch_handle_drawable_aura.cc File ...
5 years, 7 months ago (2015-05-07 20:38:15 UTC) #23
mohsen
https://codereview.chromium.org/996373002/diff/380001/ui/touch_selection/touch_handle_drawable_aura.cc File ui/touch_selection/touch_handle_drawable_aura.cc (right): https://codereview.chromium.org/996373002/diff/380001/ui/touch_selection/touch_handle_drawable_aura.cc#newcode28 ui/touch_selection/touch_handle_drawable_aura.cc:28: const int kSelectionHandlePadding = 0; On 2015/05/07 at 20:38:15, ...
5 years, 7 months ago (2015-05-07 21:21:55 UTC) #24
jdduke (slow)
On 2015/05/07 21:21:55, mohsen wrote: > https://codereview.chromium.org/996373002/diff/380001/ui/touch_selection/touch_selection_controller.cc > File ui/touch_selection/touch_selection_controller.cc (right): > > https://codereview.chromium.org/996373002/diff/380001/ui/touch_selection/touch_selection_controller.cc#newcode222 > ...
5 years, 7 months ago (2015-05-07 21:25:39 UTC) #25
mohsen
On 2015/05/07 21:25:39, jdduke wrote: > On 2015/05/07 21:21:55, mohsen wrote: > > > https://codereview.chromium.org/996373002/diff/380001/ui/touch_selection/touch_selection_controller.cc ...
5 years, 7 months ago (2015-05-07 21:44:14 UTC) #26
mohsen
On 2015/05/07 21:25:39, jdduke wrote: > On 2015/05/07 21:21:55, mohsen wrote: > > > https://codereview.chromium.org/996373002/diff/380001/ui/touch_selection/touch_selection_controller.cc ...
5 years, 7 months ago (2015-05-07 21:44:17 UTC) #27
jdduke (slow)
On 2015/05/07 21:44:17, mohsen wrote: > On 2015/05/07 21:25:39, jdduke wrote: > > On 2015/05/07 ...
5 years, 7 months ago (2015-05-07 22:23:42 UTC) #28
jdduke (slow)
On 2015/05/07 21:21:55, mohsen wrote: > GYP documentation suggests adding all sources first, and then ...
5 years, 7 months ago (2015-05-08 15:44:16 UTC) #29
sadrul
A couple of nits. lgtm https://codereview.chromium.org/996373002/diff/420001/ui/touch_selection/touch_handle_drawable_aura.cc File ui/touch_selection/touch_handle_drawable_aura.cc (right): https://codereview.chromium.org/996373002/diff/420001/ui/touch_selection/touch_handle_drawable_aura.cc#newcode96 ui/touch_selection/touch_handle_drawable_aura.cc:96: window_->Hide(); Are these Show()/Hide() ...
5 years, 7 months ago (2015-05-11 16:06:57 UTC) #30
mohsen
https://codereview.chromium.org/996373002/diff/420001/ui/touch_selection/touch_handle_drawable_aura.cc File ui/touch_selection/touch_handle_drawable_aura.cc (right): https://codereview.chromium.org/996373002/diff/420001/ui/touch_selection/touch_handle_drawable_aura.cc#newcode96 ui/touch_selection/touch_handle_drawable_aura.cc:96: window_->Hide(); On 2015/05/11 at 16:06:57, sadrul wrote: > Are ...
5 years, 7 months ago (2015-05-11 16:55:40 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/996373002/440001
5 years, 7 months ago (2015-05-11 18:07:00 UTC) #34
commit-bot: I haz the power
Committed patchset #19 (id:440001)
5 years, 7 months ago (2015-05-11 18:17:36 UTC) #35
commit-bot: I haz the power
Patchset 19 (id:??) landed as https://crrev.com/9143361454a599ac0882abcbd846b25ad7ce7945 Cr-Commit-Position: refs/heads/master@{#329191}
5 years, 7 months ago (2015-05-11 18:19:36 UTC) #36
davve
I think this change broke the component=shared_library build, at least for my config (gcc, no ...
5 years, 7 months ago (2015-05-13 15:58:57 UTC) #37
sadrul
On 2015/05/13 15:58:57, David Vest wrote: > I think this change broke the component=shared_library build, ...
5 years, 7 months ago (2015-05-13 16:01:44 UTC) #38
mohsen
On 2015/05/13 16:01:44, sadrul wrote: > On 2015/05/13 15:58:57, David Vest wrote: > > I ...
5 years, 7 months ago (2015-05-13 16:57:18 UTC) #39
davve
5 years, 7 months ago (2015-05-14 07:16:22 UTC) #40
Message was sent while issue was closed.
On 2015/05/13 16:57:18, mohsen wrote:
> On 2015/05/13 16:01:44, sadrul wrote:
> > On 2015/05/13 15:58:57, David Vest wrote:
> > > I think this change broke the component=shared_library build, at least for
> my
> > > config (gcc, no debug fission, no bundled binutils).
> > > 
> > > See for https://codereview.chromium.org/1137323002 illustration "fix".
Note
> > that
> > > I have actually no deep understanding on what's going on.
> > 
> > The fix looks reasonable (should update BUILD.gn too). Any idea why the
> failure
> > is not showing up in the bots?
> 
> Is it related to compiler being GCC?

Maybe. Some people at Opera still use GCC still in order to build with icecc
(distributed compilation system). Testing with clang takes a bit of time, but I
can try it on Monday to see what falls out.

Powered by Google App Engine
This is Rietveld 408576698