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

Issue 9969149: SetCapture of mouse events in partial screenshot. Mouse events are routed to the capture window. I… (Closed)

Created:
8 years, 8 months ago by Jun Mukai
Modified:
8 years, 8 months ago
Reviewers:
Daniel Erat, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

SetCapture of mouse events in partial screenshot. Mouse events are routed to the capture window. If the user presses Ctrl-Shift-F5 when a context menu appears, all of the mouse events will go to the menu instead of partial screenshot view, which causes unexpected behaviors. BUG=120653 TEST=manually Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=132155

Patch Set 1 #

Patch Set 2 : Add OnCaptureLost #

Total comments: 2

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M ash/wm/partial_screenshot_view.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/partial_screenshot_view.cc View 1 2 3 chunks +8 lines, -0 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
Jun Mukai
8 years, 8 months ago (2012-04-11 02:04:02 UTC) #1
sky
I'm not that familiar with this code. What is the lifetime of the view? Should ...
8 years, 8 months ago (2012-04-11 15:34:10 UTC) #2
Jun Mukai
On 2012/04/11 15:34:10, sky wrote: > I'm not that familiar with this code. What is ...
8 years, 8 months ago (2012-04-11 15:58:39 UTC) #3
Jun Mukai
On 2012/04/11 15:58:39, Jun Mukai wrote: > On 2012/04/11 15:34:10, sky wrote: > > I'm ...
8 years, 8 months ago (2012-04-12 07:35:07 UTC) #4
sky
LGTM http://codereview.chromium.org/9969149/diff/4001/ash/wm/partial_screenshot_view.cc File ash/wm/partial_screenshot_view.cc (right): http://codereview.chromium.org/9969149/diff/4001/ash/wm/partial_screenshot_view.cc#newcode62 ash/wm/partial_screenshot_view.cc:62: // TODO(mukai): introduce stacking mechanism to capture window ...
8 years, 8 months ago (2012-04-12 15:30:45 UTC) #5
Jun Mukai
Thanks. will submit soon. http://codereview.chromium.org/9969149/diff/4001/ash/wm/partial_screenshot_view.cc File ash/wm/partial_screenshot_view.cc (right): http://codereview.chromium.org/9969149/diff/4001/ash/wm/partial_screenshot_view.cc#newcode62 ash/wm/partial_screenshot_view.cc:62: // TODO(mukai): introduce stacking mechanism ...
8 years, 8 months ago (2012-04-13 06:11:28 UTC) #6
Daniel Erat
8 years, 8 months ago (2012-04-16 16:48:49 UTC) #7
lgtm

https://chromiumcodereview.appspot.com/9969149/diff/8002/ash/wm/partial_scree...
File ash/wm/partial_screenshot_view.cc (right):

https://chromiumcodereview.appspot.com/9969149/diff/8002/ash/wm/partial_scree...
ash/wm/partial_screenshot_view.cc:13: #include "ui/base/events.h"
nit: this should come after ui/base/cursor/cursor.h

Powered by Google App Engine
This is Rietveld 408576698