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

Issue 10878058: Move functions for controlling Caps Lock to CapsLockDelegate from SystemTrayDelegate. (Closed)

Created:
8 years, 3 months ago by mazda
Modified:
8 years, 3 months ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, tfarina
Visibility:
Public.

Description

Move functions for controlling Caps Lock to CapsLockDelegate from SystemTrayDelegate. - Add functions for controlling Caps Lock to CapsLockDelegate - Move the ownership of CapsLockDelegate to Shell from AcceleratorController - Add ShellDelegate::CreateCapsLockDelegate BUG=144474 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153597

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 8

Patch Set 5 : address comment #

Total comments: 2

Patch Set 6 : modify AcceleratorControllerTest #

Total comments: 4

Patch Set 7 : fix comments #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -110 lines) Patch
M ash/accelerators/accelerator_controller.h View 3 chunks +0 lines, -3 lines 0 comments Download
M ash/accelerators/accelerator_controller.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -11 lines 0 comments Download
M ash/accelerators/accelerator_controller_unittest.cc View 1 2 3 4 5 2 chunks +22 lines, -39 lines 0 comments Download
M ash/ash.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M ash/caps_lock_delegate.h View 1 2 3 4 5 6 1 chunk +17 lines, -5 lines 0 comments Download
A ash/caps_lock_delegate_stub.h View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
A ash/caps_lock_delegate_stub.cc View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
M ash/shell.h View 3 chunks +6 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 4 chunks +14 lines, -7 lines 0 comments Download
M ash/shell/shell_delegate_impl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M ash/shell_delegate.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M ash/system/status_area_widget.cc View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
M ash/system/tray/system_tray_delegate.h View 1 chunk +0 lines, -6 lines 0 comments Download
M ash/system/tray_caps_lock.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M ash/test/test_shell_delegate.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ash/test/test_shell_delegate.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 2 3 4 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/browser/ui/ash/ash_init.cc View 3 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/caps_lock_handler.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/caps_lock_handler.cc View 1 2 3 4 1 chunk +23 lines, -3 lines 0 comments Download
chrome/browser/ui/ash/caps_lock_handler_browsertest.cc View 2 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 3 4 5 6 7 3 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
mazda
Please take a look at this change.
8 years, 3 months ago (2012-08-25 00:43:43 UTC) #1
tfarina
https://chromiumcodereview.appspot.com/10878058/diff/7003/ash/caps_lock_delegate.h File ash/caps_lock_delegate.h (right): https://chromiumcodereview.appspot.com/10878058/diff/7003/ash/caps_lock_delegate.h#newcode18 ash/caps_lock_delegate.h:18: virtual bool IsCapsLockEnabled() = 0; can you make this ...
8 years, 3 months ago (2012-08-26 20:49:06 UTC) #2
Daniel Erat
Thanks for cleaning this up! https://chromiumcodereview.appspot.com/10878058/diff/7003/ash/caps_lock_delegate_stub.cc File ash/caps_lock_delegate_stub.cc (right): https://chromiumcodereview.appspot.com/10878058/diff/7003/ash/caps_lock_delegate_stub.cc#newcode10 ash/caps_lock_delegate_stub.cc:10: : enabled_(false) {} nit: ...
8 years, 3 months ago (2012-08-26 22:32:46 UTC) #3
mazda
I addressed comments. Please take another look. http://codereview.chromium.org/10878058/diff/7003/ash/caps_lock_delegate.h File ash/caps_lock_delegate.h (right): http://codereview.chromium.org/10878058/diff/7003/ash/caps_lock_delegate.h#newcode18 ash/caps_lock_delegate.h:18: virtual bool ...
8 years, 3 months ago (2012-08-27 16:06:40 UTC) #4
Yusuke Sato
http://codereview.chromium.org/10878058/diff/5028/ash/accelerators/accelerator_controller_unittest.cc File ash/accelerators/accelerator_controller_unittest.cc (right): http://codereview.chromium.org/10878058/diff/5028/ash/accelerators/accelerator_controller_unittest.cc#newcode579 ash/accelerators/accelerator_controller_unittest.cc:579: // CapsLock What is this test for? Testing VKEY_[LR]?SHIFT ...
8 years, 3 months ago (2012-08-27 16:45:38 UTC) #5
mazda
http://codereview.chromium.org/10878058/diff/5028/ash/accelerators/accelerator_controller_unittest.cc File ash/accelerators/accelerator_controller_unittest.cc (right): http://codereview.chromium.org/10878058/diff/5028/ash/accelerators/accelerator_controller_unittest.cc#newcode579 ash/accelerators/accelerator_controller_unittest.cc:579: // CapsLock On 2012/08/27 16:45:39, Yusuke Sato wrote: > ...
8 years, 3 months ago (2012-08-27 16:58:58 UTC) #6
Yusuke Sato
ah ok, lgtm On 2012/08/27 16:58:58, mazda wrote: > http://codereview.chromium.org/10878058/diff/5028/ash/accelerators/accelerator_controller_unittest.cc > File ash/accelerators/accelerator_controller_unittest.cc (right): > ...
8 years, 3 months ago (2012-08-27 17:21:28 UTC) #7
Daniel Erat
http://codereview.chromium.org/10878058/diff/11005/ash/caps_lock_delegate.h File ash/caps_lock_delegate.h (right): http://codereview.chromium.org/10878058/diff/11005/ash/caps_lock_delegate.h#newcode17 ash/caps_lock_delegate.h:17: // Returns true if the caps lock is enabled. ...
8 years, 3 months ago (2012-08-27 17:26:57 UTC) #8
mazda
http://codereview.chromium.org/10878058/diff/11005/ash/caps_lock_delegate.h File ash/caps_lock_delegate.h (right): http://codereview.chromium.org/10878058/diff/11005/ash/caps_lock_delegate.h#newcode17 ash/caps_lock_delegate.h:17: // Returns true if the caps lock is enabled. ...
8 years, 3 months ago (2012-08-27 21:07:49 UTC) #9
Daniel Erat
lgtm Thanks!
8 years, 3 months ago (2012-08-27 21:11:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/10878058/7006
8 years, 3 months ago (2012-08-27 21:15:59 UTC) #11
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/ash/chrome_shell_delegate.cc: While running patch -p1 --forward --force; patching file chrome/browser/ui/ash/chrome_shell_delegate.cc ...
8 years, 3 months ago (2012-08-27 21:16:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/10878058/4028
8 years, 3 months ago (2012-08-27 21:40:31 UTC) #13
commit-bot: I haz the power
8 years, 3 months ago (2012-08-28 01:00:00 UTC) #14
Change committed as 153597

Powered by Google App Engine
This is Rietveld 408576698