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

Issue 5043002: A workaround to close currently opened menu. Send escape key if screen locker fails to grab input. (Closed)

Created:
10 years, 1 month ago by oshima
Modified:
9 years, 6 months ago
CC:
chromium-reviews, nkostylev+cc_chromium.org, davemoore+watch_chromium.org, ben+cc_chromium.org, Alpha Left Google, Sergey Ulanov, dmac, garykac
Visibility:
Public.

Description

A workaround to close currently opened menu. Send escape key if screen locker fails to grab input. * added new xtst target in build/linux/system.gyp BUG=chromium-os:5902 TEST=goto youtube, open flash menu then kick off the screen locker. It used to show spinner and eventually crash. It should close the menu and lock, and will not crash. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66662

Patch Set 1 #

Patch Set 2 : " #

Total comments: 12

Patch Set 3 : " #

Total comments: 9

Patch Set 4 : use grab_server #

Total comments: 6

Patch Set 5 : " #

Patch Set 6 : " #

Total comments: 4

Patch Set 7 : fix comments #

Patch Set 8 : include xtst in gyp #

Patch Set 9 : update gyp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -7 lines) Patch
M build/linux/system.gyp View 8 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker.cc View 1 2 3 4 5 6 7 chunks +72 lines, -6 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
oshima
10 years, 1 month ago (2010-11-16 05:56:39 UTC) #1
Daniel Erat
http://codereview.chromium.org/5043002/diff/2001/chrome/browser/chromeos/login/screen_locker.cc File chrome/browser/chromeos/login/screen_locker.cc (right): http://codereview.chromium.org/5043002/diff/2001/chrome/browser/chromeos/login/screen_locker.cc#newcode13 chrome/browser/chromeos/login/screen_locker.cc:13: #include "app/x11_util.h" nit: sort http://codereview.chromium.org/5043002/diff/2001/chrome/browser/chromeos/login/screen_locker.cc#newcode291 chrome/browser/chromeos/login/screen_locker.cc:291: // This happen ...
10 years, 1 month ago (2010-11-16 15:38:13 UTC) #2
Daniel Erat
http://codereview.chromium.org/5043002/diff/2001/chrome/browser/chromeos/login/screen_locker.cc File chrome/browser/chromeos/login/screen_locker.cc (right): http://codereview.chromium.org/5043002/diff/2001/chrome/browser/chromeos/login/screen_locker.cc#newcode288 chrome/browser/chromeos/login/screen_locker.cc:288: if (mouse_grab_status_ != GDK_GRAB_INVALID_TIME || This is wrong: if ...
10 years, 1 month ago (2010-11-16 17:26:50 UTC) #3
oshima
PTAL. I changed the xtest part so that it uses escape when kdb is grabbed ...
10 years, 1 month ago (2010-11-16 21:06:29 UTC) #4
Daniel Erat
On Tue, Nov 16, 2010 at 1:06 PM, <oshima@chromium.org> wrote: > PTAL. > > I ...
10 years, 1 month ago (2010-11-16 21:32:15 UTC) #5
Daniel Erat
http://codereview.chromium.org/5043002/diff/7001/chrome/browser/chromeos/login/screen_locker.cc File chrome/browser/chromeos/login/screen_locker.cc (right): http://codereview.chromium.org/5043002/diff/7001/chrome/browser/chromeos/login/screen_locker.cc#newcode13 chrome/browser/chromeos/login/screen_locker.cc:13: #include "app/x11_util.h" still needs to be sorted http://codereview.chromium.org/5043002/diff/7001/chrome/browser/chromeos/login/screen_locker.cc#newcode286 chrome/browser/chromeos/login/screen_locker.cc:286: ...
10 years, 1 month ago (2010-11-16 21:58:06 UTC) #6
oshima
PTAL * Separated gtk grab and keyboard/pointer grab code. * keyboard/pointer grab is now done ...
10 years, 1 month ago (2010-11-17 01:00:43 UTC) #7
Daniel Erat
LGTM after a few comments are addressed. http://codereview.chromium.org/5043002/diff/14001/chrome/browser/chromeos/login/screen_locker.cc File chrome/browser/chromeos/login/screen_locker.cc (right): http://codereview.chromium.org/5043002/diff/14001/chrome/browser/chromeos/login/screen_locker.cc#newcode307 chrome/browser/chromeos/login/screen_locker.cc:307: // client ...
10 years, 1 month ago (2010-11-17 01:24:23 UTC) #8
oshima
http://codereview.chromium.org/5043002/diff/14001/chrome/browser/chromeos/login/screen_locker.cc File chrome/browser/chromeos/login/screen_locker.cc (right): http://codereview.chromium.org/5043002/diff/14001/chrome/browser/chromeos/login/screen_locker.cc#newcode307 chrome/browser/chromeos/login/screen_locker.cc:307: // client by sending events that will hopefullly close ...
10 years, 1 month ago (2010-11-17 18:15:38 UTC) #9
Daniel Erat
LGTM! http://codereview.chromium.org/5043002/diff/8002/chrome/browser/chromeos/login/screen_locker.cc File chrome/browser/chromeos/login/screen_locker.cc (right): http://codereview.chromium.org/5043002/diff/8002/chrome/browser/chromeos/login/screen_locker.cc#newcode307 chrome/browser/chromeos/login/screen_locker.cc:307: // client by sending events that will hopefullly ...
10 years, 1 month ago (2010-11-17 19:00:55 UTC) #10
oshima
will wait for green trybots http://codereview.chromium.org/5043002/diff/8002/chrome/browser/chromeos/login/screen_locker.cc File chrome/browser/chromeos/login/screen_locker.cc (right): http://codereview.chromium.org/5043002/diff/8002/chrome/browser/chromeos/login/screen_locker.cc#newcode307 chrome/browser/chromeos/login/screen_locker.cc:307: // client by sending ...
10 years, 1 month ago (2010-11-17 19:09:45 UTC) #11
oshima
evan, ajwong I need Xtst for chromeos screen locker and want to add new xtst ...
10 years, 1 month ago (2010-11-18 00:49:19 UTC) #12
awong
LGTM on the gyp changes, but you should make sure evan, or one of the ...
10 years, 1 month ago (2010-11-18 01:28:29 UTC) #13
oshima
evan, mmoss could you please take a look at system.gyp change? Thanks, - oshima On ...
10 years, 1 month ago (2010-11-18 06:49:56 UTC) #14
Michael Moss
10 years, 1 month ago (2010-11-18 14:47:37 UTC) #15
LGTM

Powered by Google App Engine
This is Rietveld 408576698