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

Issue 1712103002: ozone/platform/wayland: Implement pointer handling (Closed)

Created:
4 years, 10 months ago by Michael Forney
Modified:
4 years, 9 months ago
Reviewers:
rjkroege, spang
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone/platform/wayland: Implement pointer handling Only version 4 of wl_pointer is handled currently for simplicity. Version 5 was released only recently in wayland-1.10, and compositors should support both versions. BUG=578890 Committed: https://crrev.com/1329450837ca9818a2da0210f681b4cb037f3e08 Cr-Commit-Position: refs/heads/master@{#380516}

Patch Set 1 #

Patch Set 2 : Rebase, fix gyp build, minor fixes #

Patch Set 3 : Bump wl_seat version to 4 in FakeServer #

Patch Set 4 : Move declaration of WaylandWindow::FromSurface to top of class #

Total comments: 11

Patch Set 5 : Address comments #

Patch Set 6 : Add second window for WaylandPointerTest.Leave, check for NULL surface in WaylandPointer::{Enter,Le… #

Total comments: 8

Patch Set 7 : Rebase on patch series to use MessageLoop event dispatcher #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+680 lines, -4 lines) Patch
M ui/ozone/platform/wayland/BUILD.gn View 1 2 3 4 5 6 4 chunks +6 lines, -0 lines 0 comments Download
M ui/ozone/platform/wayland/fake_server.h View 1 2 3 4 5 6 7 4 chunks +22 lines, -0 lines 0 comments Download
M ui/ozone/platform/wayland/fake_server.cc View 1 2 3 4 5 6 7 5 chunks +41 lines, -0 lines 0 comments Download
M ui/ozone/platform/wayland/wayland.gypi View 1 2 3 4 5 6 3 chunks +7 lines, -0 lines 0 comments Download
M ui/ozone/platform/wayland/wayland_display.h View 1 2 3 4 5 6 4 chunks +9 lines, -0 lines 0 comments Download
M ui/ozone/platform/wayland/wayland_display.cc View 1 2 3 4 5 6 7 6 chunks +45 lines, -0 lines 0 comments Download
M ui/ozone/platform/wayland/wayland_object.h View 2 chunks +14 lines, -0 lines 0 comments Download
M ui/ozone/platform/wayland/wayland_object.cc View 2 chunks +23 lines, -0 lines 0 comments Download
A ui/ozone/platform/wayland/wayland_pointer.h View 1 chunk +56 lines, -0 lines 0 comments Download
A ui/ozone/platform/wayland/wayland_pointer.cc View 1 2 3 4 5 1 chunk +143 lines, -0 lines 0 comments Download
A ui/ozone/platform/wayland/wayland_pointer_unittest.cc View 1 2 3 4 5 6 1 chunk +232 lines, -0 lines 0 comments Download
M ui/ozone/platform/wayland/wayland_test.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/wayland/wayland_test.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M ui/ozone/platform/wayland/wayland_window.h View 1 2 3 4 5 6 5 chunks +12 lines, -1 line 0 comments Download
M ui/ozone/platform/wayland/wayland_window.cc View 1 2 3 4 5 6 5 chunks +26 lines, -0 lines 0 comments Download
M ui/ozone/platform/wayland/wayland_window_unittest.cc View 1 2 3 4 5 6 4 chunks +43 lines, -1 line 0 comments Download

Messages

Total messages: 23 (8 generated)
Michael Forney
4 years, 10 months ago (2016-02-23 00:48:23 UTC) #3
spang
https://codereview.chromium.org/1712103002/diff/60001/ui/ozone/platform/wayland/wayland_pointer.cc File ui/ozone/platform/wayland/wayland_pointer.cc (right): https://codereview.chromium.org/1712103002/diff/60001/ui/ozone/platform/wayland/wayland_pointer.cc#newcode61 ui/ozone/platform/wayland/wayland_pointer.cc:61: base::TimeDelta::FromMilliseconds(time), pointer->flags_, 0); Which clock does wayland use for ...
4 years, 10 months ago (2016-02-24 16:42:21 UTC) #4
Michael Forney
https://codereview.chromium.org/1712103002/diff/60001/ui/ozone/platform/wayland/wayland_pointer.cc File ui/ozone/platform/wayland/wayland_pointer.cc (right): https://codereview.chromium.org/1712103002/diff/60001/ui/ozone/platform/wayland/wayland_pointer.cc#newcode61 ui/ozone/platform/wayland/wayland_pointer.cc:61: base::TimeDelta::FromMilliseconds(time), pointer->flags_, 0); On 2016/02/24 16:42:21, spang wrote: > ...
4 years, 10 months ago (2016-02-24 19:32:21 UTC) #5
spang
https://codereview.chromium.org/1712103002/diff/60001/ui/ozone/platform/wayland/wayland_pointer.cc File ui/ozone/platform/wayland/wayland_pointer.cc (right): https://codereview.chromium.org/1712103002/diff/60001/ui/ozone/platform/wayland/wayland_pointer.cc#newcode61 ui/ozone/platform/wayland/wayland_pointer.cc:61: base::TimeDelta::FromMilliseconds(time), pointer->flags_, 0); On 2016/02/24 19:32:21, Michael Forney wrote: ...
4 years, 10 months ago (2016-02-25 23:14:32 UTC) #6
Michael Forney
https://codereview.chromium.org/1712103002/diff/60001/ui/ozone/platform/wayland/wayland_pointer_unittest.cc File ui/ozone/platform/wayland/wayland_pointer_unittest.cc (right): https://codereview.chromium.org/1712103002/diff/60001/ui/ozone/platform/wayland/wayland_pointer_unittest.cc#newcode78 ui/ozone/platform/wayland/wayland_pointer_unittest.cc:78: wl_pointer_send_button(pointer->resource(), 3, 1003, BTN_LEFT, On 2016/02/25 23:14:32, spang wrote: ...
4 years, 10 months ago (2016-02-26 01:25:53 UTC) #7
spang
https://codereview.chromium.org/1712103002/diff/100001/ui/ozone/platform/wayland/wayland_display.cc File ui/ozone/platform/wayland/wayland_display.cc (left): https://codereview.chromium.org/1712103002/diff/100001/ui/ozone/platform/wayland/wayland_display.cc#oldcode86 ui/ozone/platform/wayland/wayland_display.cc:86: DCHECK(base::MessageLoopForUI::IsCurrent()); I hope this cannot get called off the ...
4 years, 10 months ago (2016-02-26 01:41:11 UTC) #8
Michael Forney
https://codereview.chromium.org/1712103002/diff/100001/ui/ozone/platform/wayland/wayland_display.cc File ui/ozone/platform/wayland/wayland_display.cc (left): https://codereview.chromium.org/1712103002/diff/100001/ui/ozone/platform/wayland/wayland_display.cc#oldcode86 ui/ozone/platform/wayland/wayland_display.cc:86: DCHECK(base::MessageLoopForUI::IsCurrent()); On 2016/02/26 01:41:11, spang wrote: > I hope ...
4 years, 10 months ago (2016-02-26 01:47:34 UTC) #9
spang
https://codereview.chromium.org/1712103002/diff/100001/ui/ozone/platform/wayland/wayland_display.cc File ui/ozone/platform/wayland/wayland_display.cc (left): https://codereview.chromium.org/1712103002/diff/100001/ui/ozone/platform/wayland/wayland_display.cc#oldcode86 ui/ozone/platform/wayland/wayland_display.cc:86: DCHECK(base::MessageLoopForUI::IsCurrent()); On 2016/02/26 01:47:34, Michael Forney wrote: > On ...
4 years, 10 months ago (2016-02-26 03:51:45 UTC) #10
Michael Forney
https://codereview.chromium.org/1712103002/diff/100001/ui/ozone/platform/wayland/wayland_display.cc File ui/ozone/platform/wayland/wayland_display.cc (left): https://codereview.chromium.org/1712103002/diff/100001/ui/ozone/platform/wayland/wayland_display.cc#oldcode86 ui/ozone/platform/wayland/wayland_display.cc:86: DCHECK(base::MessageLoopForUI::IsCurrent()); On 2016/02/26 03:51:45, spang wrote: > On 2016/02/26 ...
4 years, 10 months ago (2016-02-27 00:01:37 UTC) #11
spang
lgtm
4 years, 9 months ago (2016-03-02 04:24:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1712103002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1712103002/140001
4 years, 9 months ago (2016-03-10 23:57:48 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/138168)
4 years, 9 months ago (2016-03-11 00:36:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1712103002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1712103002/140001
4 years, 9 months ago (2016-03-11 02:44:14 UTC) #19
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 9 months ago (2016-03-11 05:16:19 UTC) #21
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 05:18:10 UTC) #23
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/1329450837ca9818a2da0210f681b4cb037f3e08
Cr-Commit-Position: refs/heads/master@{#380516}

Powered by Google App Engine
This is Rietveld 408576698