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

Unified Diff: webkit/glue/webview_impl.cc

Issue 164310: Mac: Make the password-field capslock indicator work again.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview_impl.cc
===================================================================
--- webkit/glue/webview_impl.cc (revision 22917)
+++ webkit/glue/webview_impl.cc (working copy)
@@ -607,11 +607,8 @@
// It's not clear if we should continue after detecting a capslock keypress.
// I'll err on the side of continuing, which is the pre-existing behaviour.
- if (event.windowsKeyCode == base::VKEY_CAPITAL &&
- (event.type == WebInputEvent::KeyUp ||
- event.type == WebInputEvent::KeyDown)) {
+ if (event.windowsKeyCode == base::VKEY_CAPITAL)
handler->capsLockStateMayHaveChanged();
- }
MakePlatformKeyboardEvent evt(event);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698