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

Issue 1046783002: wip: Aura-specific implementation of unified touch selection: touch_selection (Closed)

Created:
5 years, 8 months ago by mfomitchev
Modified:
4 years, 8 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

wip: Aura-specific implementation of unified touch selection: touch_selection The initial revision of this CL is https://codereview.chromium.org/996373002/. BUG=399721

Patch Set 1 #

Patch Set 2 : Refactoring - common client for Aura and Android. #

Total comments: 3

Patch Set 3 : Moving the responsibility for showing the menu into the client. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1870 lines, -1011 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 4 chunks +6 lines, -9 lines 0 comments Download
M ui/resources/ui_resources.grd View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M ui/touch_selection/BUILD.gn View 2 chunks +47 lines, -1 line 0 comments Download
M ui/touch_selection/DEPS View 1 chunk +5 lines, -1 line 0 comments Download
A + ui/touch_selection/run_all_unittests.cc View 3 chunks +10 lines, -11 lines 0 comments Download
M ui/touch_selection/selection_event_type.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_handle_drawable_aura.h View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_handle_drawable_aura.cc View 1 2 1 chunk +167 lines, -0 lines 0 comments Download
M ui/touch_selection/touch_selection_controller.h View 1 2 2 chunks +39 lines, -94 lines 0 comments Download
M ui/touch_selection/touch_selection_controller.cc View 1 1 chunk +0 lines, -477 lines 0 comments Download
A ui/touch_selection/touch_selection_controller_android.h View 1 chunk +52 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_selection_controller_android.cc View 1 chunk +40 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_selection_controller_aura.h View 1 2 1 chunk +60 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_selection_controller_aura.cc View 1 2 1 chunk +149 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_selection_controller_aura_test_api.h View 1 chunk +35 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_selection_controller_aura_test_api.cc View 1 chunk +22 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_selection_controller_aura_unittest.cc View 1 chunk +390 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_selection_controller_impl.h View 1 2 1 chunk +126 lines, -0 lines 0 comments Download
A + ui/touch_selection/touch_selection_controller_impl.cc View 1 2 19 chunks +121 lines, -60 lines 0 comments Download
M ui/touch_selection/touch_selection_controller_unittest.cc View 24 chunks +394 lines, -347 lines 0 comments Download
A ui/touch_selection/touch_selection_menu_runner.h View 1 chunk +57 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_selection_menu_runner.cc View 1 chunk +26 lines, -0 lines 0 comments Download
M ui/touch_selection/ui_touch_selection.gyp View 1 3 chunks +56 lines, -2 lines 0 comments Download
M ui/touch_selection/ui_touch_selection_unittests.isolate View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
mfomitchev
This is the first stab at the refactoring - just for touch_selection Aura and the ...
5 years, 8 months ago (2015-03-30 03:28:45 UTC) #2
jdduke (slow)
https://codereview.chromium.org/1046783002/diff/20001/ui/touch_selection/touch_selection_controller.h File ui/touch_selection/touch_selection_controller.h (right): https://codereview.chromium.org/1046783002/diff/20001/ui/touch_selection/touch_selection_controller.h#newcode90 ui/touch_selection/touch_selection_controller.h:90: virtual void OnNativeViewMoved() = 0; So all of these ...
5 years, 8 months ago (2015-03-30 15:46:22 UTC) #3
jdduke (slow)
Sigh, I had a reply that got destroyed. On 2015/03/30 03:28:45, mfomitchev wrote: > The ...
5 years, 8 months ago (2015-03-30 15:51:32 UTC) #4
mfomitchev
5 years, 8 months ago (2015-03-30 17:43:01 UTC) #5
After talking with Jared on the IM - we'd have to adapt this  to make it
reusable for Android. Clank needs to use native Android methods to hide/show
quick menu. The code that has to do with positioning can be shared with Aura,
but the code that has to do with hiding/showing (e.g. timer code) cannot be
reused, so it probably should be in the client. I think I will just put that
code into TouchSelectionControllerAuraClientImpl for now, but we'll need to
figure out a nice way to share it with Aura's Textfield.
@sadrul - please let me know if this sounds good to you.

Powered by Google App Engine
This is Rietveld 408576698