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

Issue 2796303006: Add gesture support in views::ResizeArea (Closed)

Created:
3 years, 8 months ago by tdanderson
Modified:
3 years, 8 months ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add gesture support in views::ResizeArea Add gesture (touch) support in views::ResizeArea, which is used for resizing the location bar. This area is located directly to the right of the location bar. BUG=320544 TEST=manual Review-Url: https://codereview.chromium.org/2796303006 Cr-Commit-Position: refs/heads/master@{#463733} Committed: https://chromium.googlesource.com/chromium/src/+/6db93d5b7ac95549bea2a1ec2d82cf6c1e8ed58d

Patch Set 1 #

Total comments: 2

Patch Set 2 : tests #

Total comments: 2

Patch Set 3 : use callback #

Patch Set 4 : more OSX compilation issues #

Patch Set 5 : skip OSX #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -17 lines) Patch
M ui/views/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/controls/resize_area.h View 3 chunks +9 lines, -6 lines 0 comments Download
M ui/views/controls/resize_area.cc View 3 chunks +21 lines, -10 lines 0 comments Download
M ui/views/controls/resize_area_delegate.h View 1 1 chunk +1 line, -1 line 0 comments Download
A ui/views/controls/resize_area_unittest.cc View 1 2 3 4 1 chunk +200 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (25 generated)
tdanderson
Sadrul, can you please take a look?
3 years, 8 months ago (2017-04-06 21:16:40 UTC) #3
sadrul
lgtm Is it possible to write tests for this control? (looks like we currently don't ...
3 years, 8 months ago (2017-04-07 03:43:05 UTC) #7
tdanderson
Sadrul, please have another look. https://codereview.chromium.org/2796303006/diff/1/ui/views/controls/resize_area_delegate.h File ui/views/controls/resize_area_delegate.h (right): https://codereview.chromium.org/2796303006/diff/1/ui/views/controls/resize_area_delegate.h#newcode19 ui/views/controls/resize_area_delegate.h:19: // the user has ...
3 years, 8 months ago (2017-04-07 20:27:44 UTC) #10
sadrul
lgtm For mac, I would try using widget()->GetRootView() with MoveMouse*, but I am OK with ...
3 years, 8 months ago (2017-04-10 18:02:52 UTC) #13
tdanderson
Thanks. I tried without success to get the tests working on OSX, but ended up ...
3 years, 8 months ago (2017-04-11 15:34:10 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2796303006/60001
3 years, 8 months ago (2017-04-11 19:37:32 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:60001) as https://chromium.googlesource.com/chromium/src/+/6db93d5b7ac95549bea2a1ec2d82cf6c1e8ed58d
3 years, 8 months ago (2017-04-11 19:51:10 UTC) #32
findit-for-me
Findit identified this CL at revision 463733 as the culprit for failures in the build ...
3 years, 8 months ago (2017-04-11 23:47:49 UTC) #33
jdoerrie
3 years, 8 months ago (2017-04-12 11:32:04 UTC) #34
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:60001) has been created in
https://codereview.chromium.org/2811143004/ by jdoerrie@chromium.org.

The reason for reverting is: Reverting due to consistent failure on Linux
Chromium OS ASan LSan Tests:

https://luci-milo.appspot.com/buildbot/chromium.memory/Linux%20Chromium%20OS%...


delegate_ = new TestResizeAreaDelegate; in
ui/views/controls/resize_area_unittest.cc:118 is the likely culprit.


BUG=710771.

Powered by Google App Engine
This is Rietveld 408576698