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

Issue 23449013: Re-enable TouchSelectionOriginatingFromWebpageTest with some fixes and logs (Closed)

Created:
7 years, 3 months ago by mohsen
Modified:
7 years, 3 months ago
Reviewers:
sky, varunjain
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, tfarina
Visibility:
Public.

Description

Re-enable TouchSelectionOriginatingFromWebpageTest with some fixes and logs Re-enabled TouchEditableImplAuraTest.TouchSelectionOriginatingFromWebpageTest with two fixes: - Fixed calculations for selection rectangle after a touch selection handle is moved. - Added a wait between dragging the handle and getting the selection in the test to be sure that the selection is updated completely. Also, added some logs in the test so that if it failed again, more data is available for investigation. BUG=276870 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220699

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added comments for drag_offset_ #

Total comments: 2

Patch Set 3 : Added TODO for removing LOGs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -9 lines) Patch
M content/browser/web_contents/touch_editable_impl_aura_browsertest.cc View 1 2 10 chunks +20 lines, -8 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl.cc View 1 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
mohsen
Please take a look
7 years, 3 months ago (2013-08-29 17:24:06 UTC) #1
varunjain
+sky for OWNERS LGTM https://chromiumcodereview.appspot.com/23449013/diff/1/ui/views/touchui/touch_selection_controller_impl.cc File ui/views/touchui/touch_selection_controller_impl.cc (right): https://chromiumcodereview.appspot.com/23449013/diff/1/ui/views/touchui/touch_selection_controller_impl.cc#newcode196 ui/views/touchui/touch_selection_controller_impl.cc:196: drag_offset_ = event->y() - cursor_height() ...
7 years, 3 months ago (2013-08-30 16:52:08 UTC) #2
mohsen
https://chromiumcodereview.appspot.com/23449013/diff/1/ui/views/touchui/touch_selection_controller_impl.cc File ui/views/touchui/touch_selection_controller_impl.cc (right): https://chromiumcodereview.appspot.com/23449013/diff/1/ui/views/touchui/touch_selection_controller_impl.cc#newcode196 ui/views/touchui/touch_selection_controller_impl.cc:196: drag_offset_ = event->y() - cursor_height() + On 2013/08/30 16:52:08, ...
7 years, 3 months ago (2013-08-30 18:26:39 UTC) #3
sky
LGTM https://chromiumcodereview.appspot.com/23449013/diff/7001/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc File content/browser/web_contents/touch_editable_impl_aura_browsertest.cc (right): https://chromiumcodereview.appspot.com/23449013/diff/7001/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc#newcode40 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc:40: LOG(INFO) << "TestTouchEditableImplAura::Reset()"; This is temporary, right? Please ...
7 years, 3 months ago (2013-08-30 19:52:50 UTC) #4
mohsen
https://chromiumcodereview.appspot.com/23449013/diff/7001/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc File content/browser/web_contents/touch_editable_impl_aura_browsertest.cc (right): https://chromiumcodereview.appspot.com/23449013/diff/7001/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc#newcode40 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc:40: LOG(INFO) << "TestTouchEditableImplAura::Reset()"; On 2013/08/30 19:52:50, sky wrote: > ...
7 years, 3 months ago (2013-08-30 20:03:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/23449013/12001
7 years, 3 months ago (2013-08-30 20:04:46 UTC) #6
commit-bot: I haz the power
7 years, 3 months ago (2013-08-30 23:46:42 UTC) #7
Message was sent while issue was closed.
Change committed as 220699

Powered by Google App Engine
This is Rietveld 408576698