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

Issue 2231533004: Pointer watcher modifications to support laser pointer. (Closed)

Created:
4 years, 4 months ago by sammiequon
Modified:
4 years ago
Reviewers:
James Cook, jdufault
CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pointer watcher modifications to support laser pointer. Modifications made to pointer watcher and related classes so that it is compatible with laser pointer. (issue 2239743004) BUG=616143

Patch Set 1 #

Total comments: 1

Patch Set 2 : Initial patch. #

Total comments: 20
Unified diffs Side-by-side diffs Delta from patch set Stats (+1124 lines, -22 lines) Patch
M ash/ash.gyp View 2 chunks +7 lines, -0 lines 0 comments Download
M ash/aura/wm_shell_aura.h View 1 1 chunk +2 lines, -1 line 1 comment Download
M ash/aura/wm_shell_aura.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M ash/common/palette_delegate.h View 1 1 chunk +2 lines, -0 lines 1 comment Download
M ash/common/pointer_watcher_delegate.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/common/system/chromeos/palette/palette_tool.cc View 1 chunk +4 lines, -1 line 0 comments Download
A ash/common/system/chromeos/palette/tools/laser_pointer_mode.h View 1 1 chunk +62 lines, -0 lines 3 comments Download
A ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc View 1 1 chunk +118 lines, -0 lines 6 comments Download
A ash/common/system/chromeos/palette/tools/laser_pointer_points.h View 1 1 chunk +75 lines, -0 lines 6 comments Download
A ash/common/system/chromeos/palette/tools/laser_pointer_points.cc View 1 1 chunk +184 lines, -0 lines 0 comments Download
A ash/common/system/chromeos/palette/tools/laser_pointer_unittest.cc View 1 1 chunk +175 lines, -0 lines 0 comments Download
A ash/common/system/chromeos/palette/tools/laser_pointer_view.h View 1 1 chunk +43 lines, -0 lines 0 comments Download
A ash/common/system/chromeos/palette/tools/laser_pointer_view.cc View 1 1 chunk +153 lines, -0 lines 0 comments Download
M ash/common/wm_shell.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/common/wm_shell.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M ash/mus/bridge/wm_shell_mus.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/pointer_watcher_delegate_aura.h View 1 3 chunks +7 lines, -1 line 0 comments Download
M ash/pointer_watcher_delegate_aura.cc View 1 1 chunk +28 lines, -6 lines 2 comments Download
M ash/shell.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/shell.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ash/sysui/pointer_watcher_delegate_mus.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/sysui/pointer_watcher_delegate_mus.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/palette_delegate_chromeos.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/palette_delegate_chromeos.cc View 1 1 chunk +16 lines, -1 line 1 comment Download
A ui/gfx/vector_icons/palette_mode_laser_pointer.icon View 1 chunk +40 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/palette_mode_laser_pointer.1x.icon View 1 chunk +41 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/palette_tray_icon_laser_pointer.icon View 1 chunk +69 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/palette_tray_icon_laser_pointer.1x.icon View 1 chunk +68 lines, -0 lines 0 comments Download
M ui/gfx/vector_icons_sources.gypi View 1 1 chunk +4 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (4 generated)
jdufault
https://codereview.chromium.org/2231533004/diff/1/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/2231533004/diff/1/ash/shell.cc#newcode834 ash/shell.cc:834: cursor_manager_.get())); This is causing chrome to consistently crash on ...
4 years, 4 months ago (2016-08-11 01:09:57 UTC) #2
sammiequon
jamescook@ - Please take a look at ash/aura/*, ash/common/pointer_watcher_delegate.h, ash/common/system/chromeos/palette/tools/laser_pointer_unittest.cc, ash/common/*, ash/mus/*, ash/*, ash/shell*, ash/sysui/*. ...
4 years, 4 months ago (2016-08-11 23:19:36 UTC) #5
jdufault
> Also a bunch of modifications to various wm_shell related files to allow PointerWatcher to ...
4 years, 4 months ago (2016-08-11 23:23:03 UTC) #6
jdufault
I started going through some of the CL; I'll go through the rest after the ...
4 years, 4 months ago (2016-08-11 23:41:55 UTC) #7
James Cook
I'll also look in more detail after the CLs are split. Please CC sky on ...
4 years, 4 months ago (2016-08-11 23:51:11 UTC) #8
sammiequon
On 2016/08/11 23:51:11, James Cook wrote: > I'll also look in more detail after the ...
4 years, 4 months ago (2016-08-12 18:09:12 UTC) #10
James Cook
On 2016/08/12 18:09:12, sammiequon wrote: > On 2016/08/11 23:51:11, James Cook wrote: > > I'll ...
4 years, 4 months ago (2016-08-12 18:27:30 UTC) #11
James Cook
On 2016/08/12 18:27:30, James Cook wrote: > On 2016/08/12 18:09:12, sammiequon wrote: > > On ...
4 years, 4 months ago (2016-08-12 18:27:56 UTC) #12
James Cook
4 years, 3 months ago (2016-09-13 04:36:41 UTC) #13
On 2016/08/12 18:27:56, James Cook wrote:
> On 2016/08/12 18:27:30, James Cook wrote:
> > On 2016/08/12 18:09:12, sammiequon wrote:
> > > On 2016/08/11 23:51:11, James Cook wrote:
> > > > I'll also look in more detail after the CLs are split.
> > > > 
> > > > Please CC sky on the one for PointerWatchers (just say "CC sky as FYI")
> > since
> > > > he's also working near that code.
> > > > 
> > > >
> > >
> >
>
https://codereview.chromium.org/2231533004/diff/20001/ash/pointer_watcher_del...
> > > > File ash/pointer_watcher_delegate_aura.cc (right):
> > > > 
> > > >
> > >
> >
>
https://codereview.chromium.org/2231533004/diff/20001/ash/pointer_watcher_del...
> > > > ash/pointer_watcher_delegate_aura.cc:30: if (wants_moves) {
> > > > Since want_moves is always true in the map, you could use a set.
> > > > 
> > > >
> > >
> >
>
https://codereview.chromium.org/2231533004/diff/20001/ash/pointer_watcher_del...
> > > > ash/pointer_watcher_delegate_aura.cc:46: if (event->type() !=
> > > > ui::ET_MOUSE_DRAGGED &&
> > > > Good catch on drags.
> > > 
> > > I think its best to wait until https://codereview.chromium.org/2235363003/
> > > lands. Otherwise the comments regarding the laser pointer have been
> addressed
> > in
> > > https://codereview.chromium.org/2239743004/.
> > 
> > OK. https://codereview.chromium.org/2235363003/ has LGTM and should land
> > shortly. Ping me after you've rebased onto it with the list of things you'd
> like
> > me to review. Thanks.
> 
> er, not LGTM yet for this CL, I'll review after rebase

Can this CL be closed?

Powered by Google App Engine
This is Rietveld 408576698