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

Issue 177173007: Change type of touch selection handles to POPUP (Closed)

Created:
6 years, 9 months ago by mohsen
Modified:
6 years, 8 months ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Change type of touch selection handles to POPUP Previously, touch selection handles were of type TOOLTIP which in Chrome OS would put them above almost everything else (e.g. menus and shelf; see associated bugs). With this patch they are changed to type POPUP and made transient children of their top-level parent, so they are positioned correctly above their parent window, but below menus and shelf. Also, they are not clipped to their parent window in Windows Aura anymore, as now they have their own HWND. BUG=303870, 316286 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263539

Patch Set 1 #

Patch Set 2 : Rebased and added test #

Patch Set 3 : nit #

Total comments: 6

Patch Set 4 : Fixed alignments #

Patch Set 5 : Rebased #

Patch Set 6 : Rebased after transient window fix and removed the workaround #

Patch Set 7 : Cleaned up test #

Patch Set 8 : Rebased after r263384 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -7 lines) Patch
M ui/views/touchui/touch_selection_controller_impl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -3 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl_unittest.cc View 1 2 3 4 5 6 7 5 chunks +67 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
mohsen
Please take a look...
6 years, 9 months ago (2014-02-27 23:03:29 UTC) #1
sadrul
This looks good. But can you think of a test for this?
6 years, 9 months ago (2014-02-28 16:43:50 UTC) #2
mohsen
Test added. Can you take another look, please...
6 years, 9 months ago (2014-03-14 00:16:45 UTC) #3
sadrul
https://codereview.chromium.org/177173007/diff/40001/ui/views/touchui/touch_editing_menu.cc File ui/views/touchui/touch_editing_menu.cc (right): https://codereview.chromium.org/177173007/diff/40001/ui/views/touchui/touch_editing_menu.cc#newcode63 ui/views/touchui/touch_editing_menu.cc:63: GetWidget()->GetNativeView(), context); What does the fix for this look ...
6 years, 9 months ago (2014-03-14 18:30:06 UTC) #4
mohsen
https://codereview.chromium.org/177173007/diff/40001/ui/views/touchui/touch_editing_menu.cc File ui/views/touchui/touch_editing_menu.cc (right): https://codereview.chromium.org/177173007/diff/40001/ui/views/touchui/touch_editing_menu.cc#newcode63 ui/views/touchui/touch_editing_menu.cc:63: GetWidget()->GetNativeView(), context); 2014/03/14 18:30:07, sadrul wrote: > What does ...
6 years, 9 months ago (2014-03-14 19:15:25 UTC) #5
sadrul
I think it'd be good to fix the transient-window issue first, and then land this ...
6 years, 9 months ago (2014-03-18 18:57:19 UTC) #6
mohsen
Now that the issue with transient windows is fixed (r263188), I have removed the workaround ...
6 years, 8 months ago (2014-04-11 15:20:16 UTC) #7
sadrul
LGTM. Thanks!
6 years, 8 months ago (2014-04-11 16:51:08 UTC) #8
mohsen
The CQ bit was checked by mohsen@chromium.org
6 years, 8 months ago (2014-04-12 13:33:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/177173007/210001
6 years, 8 months ago (2014-04-12 13:33:53 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-04-12 17:36:58 UTC) #11
Message was sent while issue was closed.
Change committed as 263539

Powered by Google App Engine
This is Rietveld 408576698