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

Issue 8711003: Enable WebUI ScreenLocker for aura by abstracting lock window. (Closed)

Created:
9 years ago by flackr
Modified:
9 years ago
Reviewers:
oshima
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, Nikita (slow), Rick Byers
Visibility:
Public.

Description

Enable WebUI ScreenLocker for aura by abstracting lock window. This CL abstracts the actual lock window allowing for a GTK implementation and an aura implementation. The aura screenlocker stubs are removed and the screenlocker is enabled on aura using the aura lock window. BUG=100723 TEST=Build chrome with use_aura=1, trigger screen lock and test unlocking screen. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112709

Patch Set 1 #

Patch Set 2 : Make virtual constructors private and fix order of lock window initialization. #

Total comments: 42

Patch Set 3 : Reviewer suggestions. #

Total comments: 10

Patch Set 4 : Merge with trunk. #

Patch Set 5 : Reviewer suggestions. #

Patch Set 6 : Remove merged GTK includes. #

Patch Set 7 : Call widget functions on actual widget reducing code complexity. #

Patch Set 8 : Cleanup unnecessary forward references. #

Total comments: 4

Patch Set 9 : Reviewer comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+394 lines, -660 lines) Patch
M chrome/browser/chromeos/cros_stubs_aura.cc View 1 2 2 chunks +0 lines, -88 lines 0 comments Download
A chrome/browser/chromeos/login/lock_window.h View 1 2 3 4 5 6 7 8 1 chunk +59 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/lock_window.cc View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/lock_window_aura.h View 1 2 3 4 5 6 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/lock_window_aura.cc View 1 2 3 4 5 6 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/lock_window_gtk.h View 1 2 3 4 5 6 7 1 chunk +91 lines, -0 lines 0 comments Download
A + chrome/browser/chromeos/login/lock_window_gtk.cc View 1 2 3 4 5 6 11 chunks +89 lines, -228 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker.h View 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker.cc View 1 2 3 4 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/webui_screen_locker.h View 1 2 3 4 5 6 7 8 5 chunks +13 lines, -42 lines 0 comments Download
M chrome/browser/chromeos/login/webui_screen_locker.cc View 1 2 3 4 5 6 7 chunks +25 lines, -291 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
flackr
Hi oshima, Please take a look, I've tested the screen locker now with aura. Thanks!
9 years ago (2011-11-27 01:20:12 UTC) #1
oshima
http://codereview.chromium.org/8711003/diff/2001/chrome/browser/chromeos/cros_stubs_aura.cc File chrome/browser/chromeos/cros_stubs_aura.cc (right): http://codereview.chromium.org/8711003/diff/2001/chrome/browser/chromeos/cros_stubs_aura.cc#newcode6 chrome/browser/chromeos/cros_stubs_aura.cc:6: #include "chrome/browser/chromeos/login/user.h" these two are no longer necessary? http://codereview.chromium.org/8711003/diff/2001/chrome/browser/chromeos/cros_stubs_aura.cc#newcode10 ...
9 years ago (2011-11-29 20:18:06 UTC) #2
flackr
http://codereview.chromium.org/8711003/diff/2001/chrome/browser/chromeos/cros_stubs_aura.cc File chrome/browser/chromeos/cros_stubs_aura.cc (right): http://codereview.chromium.org/8711003/diff/2001/chrome/browser/chromeos/cros_stubs_aura.cc#newcode6 chrome/browser/chromeos/cros_stubs_aura.cc:6: #include "chrome/browser/chromeos/login/user.h" On 2011/11/29 20:18:06, oshima wrote: > these ...
9 years ago (2011-11-30 20:16:54 UTC) #3
oshima
can you run it through trybots? http://codereview.chromium.org/8711003/diff/2001/chrome/browser/chromeos/login/lock_window.h File chrome/browser/chromeos/login/lock_window.h (right): http://codereview.chromium.org/8711003/diff/2001/chrome/browser/chromeos/login/lock_window.h#newcode33 chrome/browser/chromeos/login/lock_window.h:33: LockWindow() : observer_(NULL) ...
9 years ago (2011-11-30 23:41:07 UTC) #4
flackr
Try runs are coming. http://codereview.chromium.org/8711003/diff/2001/chrome/browser/chromeos/login/lock_window_aura.h File chrome/browser/chromeos/login/lock_window_aura.h (right): http://codereview.chromium.org/8711003/diff/2001/chrome/browser/chromeos/login/lock_window_aura.h#newcode17 chrome/browser/chromeos/login/lock_window_aura.h:17: public LockWindow { On 2011/11/30 ...
9 years ago (2011-12-01 21:40:40 UTC) #5
oshima
http://codereview.chromium.org/8711003/diff/2001/chrome/browser/chromeos/login/lock_window_aura.h File chrome/browser/chromeos/login/lock_window_aura.h (right): http://codereview.chromium.org/8711003/diff/2001/chrome/browser/chromeos/login/lock_window_aura.h#newcode17 chrome/browser/chromeos/login/lock_window_aura.h:17: public LockWindow { On 2011/12/01 21:40:40, flackr wrote: > ...
9 years ago (2011-12-01 22:45:35 UTC) #6
flackr
Looking into cros_x86 failure. http://codereview.chromium.org/8711003/diff/8001/chrome/browser/chromeos/login/lock_window.h File chrome/browser/chromeos/login/lock_window.h (right): http://codereview.chromium.org/8711003/diff/8001/chrome/browser/chromeos/login/lock_window.h#newcode54 chrome/browser/chromeos/login/lock_window.h:54: Observer* observer_; On 2011/12/01 22:45:35, ...
9 years ago (2011-12-01 23:16:34 UTC) #7
oshima
LGTM You may want to run linux_chromeos_clang before commit.
9 years ago (2011-12-02 00:50:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/8711003/15057
9 years ago (2011-12-02 14:45:11 UTC) #9
commit-bot: I haz the power
9 years ago (2011-12-02 16:05:03 UTC) #10
Change committed as 112709

Powered by Google App Engine
This is Rietveld 408576698