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

Issue 698253004: Reland: Implement Aura side of unified touch text selection for contents (Closed)

Created:
6 years, 1 month ago by mohsen
Modified:
5 years, 4 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, jdduke+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Implement Aura side of unified touch text selection for contents This is the first part of unified touch text selection for Aura which implements it using the new ui::TouchSelectionController for contents. Selection updates are now coming from swap-compositor-frame IPC message instead of selection-bounds-changed IPC message. This CL also replaces TouchEditableImplAura (owned by WebContentsViewAura) with ui::TouchSelectionController (owned by RenderWidgetHostViewAura) for which a client implementation is provided in TouchSelectionControllerClientAura. Note that at the moment we are unable to remove selection-bounds-changed IPC message completely as it is also used by IME and the new path is not yet working properly inside <webview> (which is being worked on). Next part would be using ui::TouchSelectionController to implement unified touch text selection for Views textfields. Relanding after the blink issue for composited selection in remote frames got fixed: r200194. COLLABORATOR=mfomitchev BUG=399721 Committed: https://crrev.com/2a5e3624e4d0b78bfe5f5a3d40f5a98730291056 Cr-Commit-Position: refs/heads/master@{#341134} Committed: https://crrev.com/b0eeba7cf2fe0e1ea4559f53c4c391e90ea6242f Cr-Commit-Position: refs/heads/master@{#342555}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase by Mikhail #

Total comments: 3

Patch Set 3 : Rebased after SetVisible removal and Mikhail's directional handles patch #

Total comments: 2

Patch Set 4 : Resolved web_contents/renderer_host dependencies (from crrev.com/767023002) #

Patch Set 5 : Rebased after move-to-ui patch #

Patch Set 6 : Moved Aura-specific touch selection to views + Rebased #

Patch Set 7 : Rebased #

Patch Set 8 : Moved TouchSelectionControllerAura to ui/touch_selection #

Patch Set 9 : Fixed gyp/gn deps for Windows #

Patch Set 10 : Removed a DCHECK #

Patch Set 11 : Fixed touch_slop calculations #

Patch Set 12 : Merged Mikhail's proper selection handles rendering (crrev.com/841563002) #

Patch Set 13 : Added INSERTION_DRAG_STOPPED event + Some small fixes #

Patch Set 14 : Merged Mikhail's patch for tap on empty text editable (crrev.com/839393002) #

Patch Set 15 : Fixed activation on tap #

Patch Set 16 : Added tests for TouchSelectionControllerAura #

Patch Set 17 : Rebased + Fixed a gn file #

Patch Set 18 : Fixed overrides in TouchHandleDrawableAura #

Total comments: 10

Patch Set 19 : Rebased + Addressed reviews #

Patch Set 20 : Some improvements #

Patch Set 21 : Rebased + Handled new INSERTION_DRAG_STOPPED in Clank #

Patch Set 22 : Rebased on master and crrev.com/937773003 #

Patch Set 23 : Cleanup - ready for review #

Total comments: 2

Patch Set 24 : Rebased after crrev.com/937773003 landed #

Patch Set 25 : Moved ui_touch_selection_helper to input/ #

Patch Set 26 : Improved tap-on-selection tests #

Total comments: 2

Patch Set 27 : Rebased #

Patch Set 28 : Removed DCHECK from TouchSelectionMenuRunner c'tor #

Patch Set 29 : Rebased after addition of touch_handle_orientation file #

Total comments: 34

Patch Set 30 : Addressed reviews #

Patch Set 31 : After adding base/android/aura versions of TSC #

Patch Set 32 : wip #

Patch Set 33 : Redesign #

Patch Set 34 : Fixed test isolate file #

Patch Set 35 : Cleanups #

Patch Set 36 : Fixed tests #

Patch Set 37 : Fixed test failures on Mac #

Total comments: 18

Patch Set 38 : Addressed review comments #

Patch Set 39 : Rebased after aura handles landed #

Patch Set 40 : Updated to use new tap/long-press handling code #

Patch Set 41 : Move TSCClientAura to renderer_host/ #

Patch Set 42 : Fix for test failures #

Patch Set 43 : After quick menu refactoring landed + Used RenderViewHostDelegate #

Patch Set 44 : After ui_touch_selection_helper landed + Used RenderWidgetHostDelegate #

Patch Set 45 : Rebased #

Patch Set 46 : Without RenderWidgetHostDelegate part (on top of crrev.com/1162373002) #

Total comments: 31

Patch Set 47 : Addressed review comments #

Total comments: 4

Patch Set 48 : Rebased #

Patch Set 49 : Added scoped helper for MotionEventAura #

Total comments: 6

Patch Set 50 : Reverted "Added scoped helper for MotionEventAura" #

Total comments: 11

Patch Set 51 : Renamed OnSelectionScroll* to OnScroll* #

Total comments: 6

Patch Set 52 : Improved a comment #

Total comments: 14

Patch Set 53 : Removed unused test functions #

Patch Set 54 : Addressed review comments #

Patch Set 55 : Cleanup #

Patch Set 56 : Rebased #

Patch Set 57 : Added browser tests #

Patch Set 58 : Added mock menu runner #

Patch Set 59 : Fixed test failures #

Total comments: 9

Patch Set 60 : Addressed review comments #

Patch Set 61 : Rebased #

Patch Set 62 : Rebased after blink issue fixed: r200194 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1170 lines, -1323 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 2 chunks +2 lines, -2 lines 0 comments Download
A content/browser/renderer_host/input/touch_selection_controller_client_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 1 chunk +80 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/touch_selection_controller_client_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 1 chunk +353 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 1 chunk +441 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 8 chunks +31 lines, -45 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 23 chunks +90 lines, -39 lines 0 comments Download
D content/browser/web_contents/touch_editable_impl_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +0 lines, -116 lines 0 comments Download
D content/browser/web_contents/touch_editable_impl_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +0 lines, -385 lines 0 comments Download
D content/browser/web_contents/touch_editable_impl_aura_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +0 lines, -638 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 5 chunks +5 lines, -7 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 13 chunks +31 lines, -35 lines 0 comments Download
M content/child/runtime_features.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 2 chunks +4 lines, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 3 chunks +4 lines, -4 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 4 chunks +10 lines, -6 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 1 chunk +11 lines, -1 line 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 2 chunks +10 lines, -8 lines 0 comments Download
M content/test/data/touch_selection.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 1 chunk +15 lines, -21 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 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 2 chunks +14 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_selection_controller_test_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 1 chunk +33 lines, -0 lines 0 comments Download
A ui/touch_selection/touch_selection_controller_test_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 1 chunk +23 lines, -0 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 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 2 chunks +1 line, -15 lines 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 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 2 chunks +12 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 99 (29 generated)
mfomitchev
6 years, 1 month ago (2014-11-04 22:55:49 UTC) #2
jdduke (slow)
Nice! https://codereview.chromium.org/698253004/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/698253004/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode938 content/browser/renderer_host/render_widget_host_view_aura.cc:938: NOTREACHED() << "Selection bounds should be routed through ...
6 years, 1 month ago (2014-11-06 16:17:45 UTC) #4
mohsen
On 2014/11/06 16:17:45, jdduke wrote: > Nice! > > https://codereview.chromium.org/698253004/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc > File content/browser/renderer_host/render_widget_host_view_aura.cc (right): > ...
6 years, 1 month ago (2014-11-07 17:36:07 UTC) #5
jdduke (slow)
On 2014/11/07 17:36:07, mohsen wrote: > On 2014/11/06 16:17:45, jdduke wrote: > > Nice! > ...
6 years, 1 month ago (2014-11-07 17:43:48 UTC) #6
jdduke (slow)
https://codereview.chromium.org/698253004/diff/20001/content/browser/renderer_host/input/touch_selection_controller.cc File content/browser/renderer_host/input/touch_selection_controller.cc (right): https://codereview.chromium.org/698253004/diff/20001/content/browser/renderer_host/input/touch_selection_controller.cc#newcode49 content/browser/renderer_host/input/touch_selection_controller.cc:49: HideAndDisallowShowingAutomatically(); // XXX: needed? Probably not =/ https://codereview.chromium.org/698253004/diff/20001/content/browser/renderer_host/input/touch_selection_controller.cc#newcode318 content/browser/renderer_host/input/touch_selection_controller.cc:318: ...
6 years, 1 month ago (2014-11-13 15:18:56 UTC) #7
mfomitchev
https://codereview.chromium.org/698253004/diff/40001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/698253004/diff/40001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2470 content/browser/renderer_host/render_widget_host_view_aura.cc:2470: void RenderWidgetHostViewAura::InternalSetBounds(const gfx::Rect& rect) { Don't we need to ...
6 years ago (2014-11-26 22:02:44 UTC) #8
jdduke (slow)
At a high level, this seems more than reasonable, though I can't really speak to ...
5 years, 10 months ago (2015-01-28 16:35:32 UTC) #12
mohsen
This patch is finally ready for review. Note that it depends on http://crrev.com/937773003. jdduke@, sadrul@: ...
5 years, 10 months ago (2015-02-22 23:23:09 UTC) #19
jdduke (slow)
Have you verified that this works properly with plugin-based text selection? Particularly as it pertains ...
5 years, 10 months ago (2015-02-24 16:53:47 UTC) #20
mohsen
jdduke@: As for plugin-based text selection, I've tried the patch with Secure Shell[1] and Vim[2] ...
5 years, 10 months ago (2015-02-25 23:52:19 UTC) #21
jdduke (slow)
At a high-level this looks good. The changes to touch_selection_controller.* are fine, but I may ...
5 years, 9 months ago (2015-02-27 18:36:46 UTC) #22
mohsen
https://codereview.chromium.org/698253004/diff/660001/ui/touch_selection/touch_selection_controller_aura.cc File ui/touch_selection/touch_selection_controller_aura.cc (right): https://codereview.chromium.org/698253004/diff/660001/ui/touch_selection/touch_selection_controller_aura.cc#newcode95 ui/touch_selection/touch_selection_controller_aura.cc:95: case ET_GESTURE_LONG_PRESS: On 2015/02/27 18:36:46, jdduke wrote: > Who ...
5 years, 9 months ago (2015-02-27 18:50:41 UTC) #23
sadrul
I haven't gone through the entire CL yet, but I have left some comments/questions. https://codereview.chromium.org/698253004/diff/720001/content/browser/renderer_host/render_widget_host_view_aura.cc ...
5 years, 9 months ago (2015-03-05 12:37:03 UTC) #24
sadrul
> sadrul@: Do you know any other similar cases that we should be careful not ...
5 years, 9 months ago (2015-03-05 12:38:36 UTC) #25
mfomitchev
https://codereview.chromium.org/698253004/diff/720001/content/browser/web_contents/web_contents_view_aura.cc File content/browser/web_contents/web_contents_view_aura.cc (right): https://codereview.chromium.org/698253004/diff/720001/content/browser/web_contents/web_contents_view_aura.cc#newcode1129 content/browser/web_contents/web_contents_view_aura.cc:1129: view->InitSelectionController(selection_controller_client); Because TouchSelectionControllerAuraClientImpl is in web_contents/ https://codereview.chromium.org/698253004/diff/720001/ui/touch_selection/touch_handle_drawable_aura.cc File ui/touch_selection/touch_handle_drawable_aura.cc ...
5 years, 9 months ago (2015-03-05 16:07:54 UTC) #26
sadrul
https://codereview.chromium.org/698253004/diff/720001/ui/touch_selection/touch_handle_drawable_aura.cc File ui/touch_selection/touch_handle_drawable_aura.cc (right): https://codereview.chromium.org/698253004/diff/720001/ui/touch_selection/touch_handle_drawable_aura.cc#newcode57 ui/touch_selection/touch_handle_drawable_aura.cc:57: // through handles to the underlying window. On 2015/03/05 ...
5 years, 9 months ago (2015-03-05 16:56:23 UTC) #27
mfomitchev
https://codereview.chromium.org/698253004/diff/720001/ui/touch_selection/touch_handle_drawable_aura.cc File ui/touch_selection/touch_handle_drawable_aura.cc (right): https://codereview.chromium.org/698253004/diff/720001/ui/touch_selection/touch_handle_drawable_aura.cc#newcode57 ui/touch_selection/touch_handle_drawable_aura.cc:57: // through handles to the underlying window. On 2015/03/05 ...
5 years, 9 months ago (2015-03-05 18:03:24 UTC) #28
mohsen
https://codereview.chromium.org/698253004/diff/720001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/698253004/diff/720001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2021 content/browser/renderer_host/render_widget_host_view_aura.cc:2021: return; On 2015/03/05 12:37:03, sadrul wrote: > Have you ...
5 years, 9 months ago (2015-03-06 23:10:09 UTC) #30
mohsen
To make that patch more manageable, I'm going to split it further up into a ...
5 years, 9 months ago (2015-03-12 15:32:50 UTC) #31
sadrul
Can you explain why RWHVAndroid owns a ui::TouchSelectionController object, whereas RWHVAura owns a ui::TouchSelectionControllerClient object? ...
5 years, 9 months ago (2015-03-13 17:01:11 UTC) #32
mohsen
On 2015/03/13 17:01:11, sadrul wrote: > Can you explain why RWHVAndroid owns a ui::TouchSelectionController object, ...
5 years, 9 months ago (2015-03-13 17:57:16 UTC) #33
sadrul
On 2015/03/13 17:57:16, mohsen wrote: > On 2015/03/13 17:01:11, sadrul wrote: > > Can you ...
5 years, 9 months ago (2015-03-13 18:06:05 UTC) #34
chromium-reviews
Yeah, I should've said "almost is-a" or "meant to be-a" :-) ToushSelectionControllerAura (TSCA) in Aura ...
5 years, 9 months ago (2015-03-13 18:34:03 UTC) #35
mohsen
On 2015/03/13 18:34:03, chromium-reviews wrote: > Yeah, I should've said "almost is-a" or "meant to ...
5 years, 9 months ago (2015-03-13 18:35:14 UTC) #36
sadrul
On 2015/03/13 18:34:03, chromium-reviews wrote: > Yeah, I should've said "almost is-a" or "meant to ...
5 years, 9 months ago (2015-03-13 19:01:43 UTC) #37
mohsen
On 2015/03/13 19:01:43, sadrul wrote: > On 2015/03/13 18:34:03, chromium-reviews wrote: > > Yeah, I ...
5 years, 9 months ago (2015-03-13 21:29:46 UTC) #38
jdduke (slow)
> Those would be perfect solutions, if I had full control over TSC to refactor ...
5 years, 9 months ago (2015-03-13 21:36:31 UTC) #39
sadrul
On 2015/03/13 21:36:31, jdduke wrote: > > Those would be perfect solutions, if I had ...
5 years, 9 months ago (2015-03-13 22:14:42 UTC) #40
sadrul
On 2015/03/13 22:14:42, sadrul wrote: > On 2015/03/13 21:36:31, jdduke wrote: > > > Those ...
5 years, 9 months ago (2015-03-13 22:16:35 UTC) #41
jdduke (slow)
On 2015/03/13 22:16:35, sadrul wrote: > On 2015/03/13 22:14:42, sadrul wrote: > > Absolutely. I ...
5 years, 9 months ago (2015-03-13 22:20:41 UTC) #42
mfomitchev
What if - TouchSelectionController was an interface, - The implementation was TouchSelectionControllerImpl, and it was ...
5 years, 9 months ago (2015-03-14 02:38:46 UTC) #43
mohsen
On 2015/03/14 02:38:46, mfomitchev wrote: > What if > - TouchSelectionController was an interface, > ...
5 years, 9 months ago (2015-03-16 17:44:24 UTC) #44
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/698253004/840001
5 years, 8 months ago (2015-04-27 05:42:02 UTC) #46
commit-bot: I haz the power
Dry run: 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/59157)
5 years, 8 months ago (2015-04-27 05:48:44 UTC) #48
mohsen
sadrul@: I've updated the patch based on our discussions. Can you please take a look...
5 years, 8 months ago (2015-04-27 16:11:41 UTC) #49
sadrul
Some nits, some comments. As discussed offline, we should have the old code-path live and ...
5 years, 7 months ago (2015-04-29 19:55:03 UTC) #51
mohsen
Other than addressing review comments, I've also changed "bool TSC::OnSelectionBoundsUpdated()" back to "void TSC::OnSelectionBoundsChanged()", since ...
5 years, 7 months ago (2015-04-30 18:29:34 UTC) #54
mohsen
sadrul@: while I'm preparing tests for http://crrev.com/1162373002, can you start reviewing this one? It's based ...
5 years, 6 months ago (2015-06-23 16:16:04 UTC) #57
sadrul
Looks pretty reasonable. https://codereview.chromium.org/698253004/diff/1180001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura.cc (right): https://codereview.chromium.org/698253004/diff/1180001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc#newcode43 content/browser/renderer_host/input/touch_selection_controller_client_aura.cc:43: bottom_right.y() - origin.y()); Sadness ... this ...
5 years, 5 months ago (2015-06-30 18:33:12 UTC) #58
mohsen
https://codereview.chromium.org/698253004/diff/1180001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura.cc (right): https://codereview.chromium.org/698253004/diff/1180001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc#newcode43 content/browser/renderer_host/input/touch_selection_controller_client_aura.cc:43: bottom_right.y() - origin.y()); On 2015/06/30 18:33:12, sadrul wrote: > ...
5 years, 5 months ago (2015-07-03 18:07:23 UTC) #59
mohsen
jdduke@, mfomitchev@: Can you please take another look at this CL?
5 years, 5 months ago (2015-07-07 23:12:41 UTC) #60
jdduke (slow)
https://codereview.chromium.org/698253004/diff/1200001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/698253004/diff/1200001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2216 content/browser/renderer_host/render_widget_host_view_aura.cc:2216: pointer_state_.CleanupRemovedTouchPoints(*event); I wonder if it's worth adding a scoped ...
5 years, 5 months ago (2015-07-08 15:22:42 UTC) #61
mohsen
https://codereview.chromium.org/698253004/diff/1200001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/698253004/diff/1200001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2216 content/browser/renderer_host/render_widget_host_view_aura.cc:2216: pointer_state_.CleanupRemovedTouchPoints(*event); On 2015/07/08 15:22:42, jdduke wrote: > I wonder ...
5 years, 5 months ago (2015-07-08 21:26:18 UTC) #64
jdduke (slow)
Working out the IME kinks separately sounds fine. Did you ever get a chance to ...
5 years, 5 months ago (2015-07-08 22:19:43 UTC) #65
mohsen
For the laggy handles, I've worked a bit on it, but couldn't find anything. I ...
5 years, 5 months ago (2015-07-08 22:45:15 UTC) #66
mfomitchev
https://codereview.chromium.org/698253004/diff/1300001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura.cc (right): https://codereview.chromium.org/698253004/diff/1300001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc#newcode164 content/browser/renderer_host/input/touch_selection_controller_client_aura.cc:164: // Clip rect to client bounds. Would this block ...
5 years, 5 months ago (2015-07-09 22:31:05 UTC) #67
mohsen
https://codereview.chromium.org/698253004/diff/1300001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura.cc (right): https://codereview.chromium.org/698253004/diff/1300001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc#newcode164 content/browser/renderer_host/input/touch_selection_controller_client_aura.cc:164: // Clip rect to client bounds. On 2015/07/09 22:31:04, ...
5 years, 5 months ago (2015-07-09 22:59:01 UTC) #68
mfomitchev
https://codereview.chromium.org/698253004/diff/1300001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura.cc (right): https://codereview.chromium.org/698253004/diff/1300001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc#newcode164 content/browser/renderer_host/input/touch_selection_controller_client_aura.cc:164: // Clip rect to client bounds. Ah, ok, thanks. ...
5 years, 5 months ago (2015-07-10 15:20:00 UTC) #69
mohsen
https://codereview.chromium.org/698253004/diff/1300001/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc File content/browser/web_contents/touch_editable_impl_aura_browsertest.cc (left): https://codereview.chromium.org/698253004/diff/1300001/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc#oldcode395 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc:395: TestTouchSelectionWhenOverscrolling) { On 2015/07/10 15:20:00, mfomitchev wrote: > On ...
5 years, 5 months ago (2015-07-10 17:18:32 UTC) #70
jdduke (slow)
https://codereview.chromium.org/698253004/diff/1320001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura.cc (right): https://codereview.chromium.org/698253004/diff/1320001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc#newcode107 content/browser/renderer_host/input/touch_selection_controller_client_aura.cc:107: selection_controller_->HideAndDisallowShowingAutomatically(); Hmm, so you don't show the menu again ...
5 years, 5 months ago (2015-07-13 15:31:52 UTC) #71
mohsen
https://codereview.chromium.org/698253004/diff/1320001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura.cc (right): https://codereview.chromium.org/698253004/diff/1320001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc#newcode107 content/browser/renderer_host/input/touch_selection_controller_client_aura.cc:107: selection_controller_->HideAndDisallowShowingAutomatically(); On 2015/07/13 15:31:52, jdduke wrote: > Hmm, so ...
5 years, 5 months ago (2015-07-13 16:22:22 UTC) #72
jdduke (slow)
I'm happy to rubberstamp this, but I don't own most of the code here. https://codereview.chromium.org/698253004/diff/1320001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc ...
5 years, 5 months ago (2015-07-13 16:36:11 UTC) #73
mohsen
https://codereview.chromium.org/698253004/diff/1320001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura.cc (right): https://codereview.chromium.org/698253004/diff/1320001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc#newcode340 content/browser/renderer_host/input/touch_selection_controller_client_aura.cc:340: // selection controller; otherwise, rect would be empty. On ...
5 years, 5 months ago (2015-07-13 17:46:48 UTC) #74
sadrul
Some nits. lgtm with those addressed. https://codereview.chromium.org/698253004/diff/1180001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura.cc (right): https://codereview.chromium.org/698253004/diff/1180001/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc#newcode43 content/browser/renderer_host/input/touch_selection_controller_client_aura.cc:43: bottom_right.y() - origin.y()); ...
5 years, 5 months ago (2015-07-15 17:00:15 UTC) #75
mohsen
+avi@ for OWNERS in contents/ sadrul@: I noticed that there were two changes left over ...
5 years, 5 months ago (2015-07-16 22:06:19 UTC) #77
Avi (use Gerrit)
lgtm stampity stamp
5 years, 5 months ago (2015-07-17 02:21:51 UTC) #78
mohsen
sadrul@: I've added a few browser tests to this CL (touch_selection_controller_client_aura_browsertest.cc). Can you please take ...
5 years, 5 months ago (2015-07-21 23:49:40 UTC) #80
sadrul
A couple of comments, otherwise, looks good https://codereview.chromium.org/698253004/diff/1500001/content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc (right): https://codereview.chromium.org/698253004/diff/1500001/content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc#newcode72 content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc:72: : TouchSelectionControllerClientAura(rwhva) ...
5 years, 4 months ago (2015-07-29 22:39:23 UTC) #81
mohsen
https://codereview.chromium.org/698253004/diff/1500001/content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc (right): https://codereview.chromium.org/698253004/diff/1500001/content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc#newcode72 content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc:72: : TouchSelectionControllerClientAura(rwhva) { On 2015/07/29 22:39:23, sadrul wrote: > ...
5 years, 4 months ago (2015-07-30 04:29:05 UTC) #82
sadrul
lgtm https://codereview.chromium.org/698253004/diff/1500001/content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc (right): https://codereview.chromium.org/698253004/diff/1500001/content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc#newcode87 content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc:87: run_loop_ = nullptr; On 2015/07/30 04:29:05, mohsen wrote: ...
5 years, 4 months ago (2015-07-30 04:41:29 UTC) #83
mohsen
https://codereview.chromium.org/698253004/diff/1500001/content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc File content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc (right): https://codereview.chromium.org/698253004/diff/1500001/content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc#newcode87 content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc:87: run_loop_ = nullptr; On 2015/07/30 04:41:29, sadrul wrote: > ...
5 years, 4 months ago (2015-07-30 16:35:28 UTC) #84
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/698253004/1540001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/698253004/1540001
5 years, 4 months ago (2015-07-30 16:35:45 UTC) #87
commit-bot: I haz the power
Committed patchset #61 (id:1540001)
5 years, 4 months ago (2015-07-30 16:41:49 UTC) #88
commit-bot: I haz the power
Patchset 61 (id:??) landed as https://crrev.com/2a5e3624e4d0b78bfe5f5a3d40f5a98730291056 Cr-Commit-Position: refs/heads/master@{#341134}
5 years, 4 months ago (2015-07-30 16:42:52 UTC) #89
mfomitchev
Woohoo!! Congrats on landing this Mohsen!
5 years, 4 months ago (2015-07-30 17:05:14 UTC) #91
jdduke (slow)
On 2015/07/30 17:05:14, mfomitchev wrote: > Woohoo!! > Congrats on landing this Mohsen! Absolutely, nice ...
5 years, 4 months ago (2015-07-30 17:11:05 UTC) #92
Avi (use Gerrit)
A revert of this CL (patchset #61 id:1540001) has been created in https://codereview.chromium.org/1263703004/ by avi@chromium.org. ...
5 years, 4 months ago (2015-07-30 21:25:19 UTC) #93
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/698253004/1560001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/698253004/1560001
5 years, 4 months ago (2015-08-09 05:13:08 UTC) #97
commit-bot: I haz the power
Committed patchset #62 (id:1560001)
5 years, 4 months ago (2015-08-09 06:20:18 UTC) #98
commit-bot: I haz the power
5 years, 4 months ago (2015-08-09 06:21:10 UTC) #99
Message was sent while issue was closed.
Patchset 62 (id:??) landed as
https://crrev.com/b0eeba7cf2fe0e1ea4559f53c4c391e90ea6242f
Cr-Commit-Position: refs/heads/master@{#342555}

Powered by Google App Engine
This is Rietveld 408576698