diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-21 19:56:50 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-21 19:56:50 +0000 |
commit | 8e0dffdf956edcebcee147e4f7df472fb9bde567 (patch) | |
tree | 6794ee6634a6099625b5ffff95955a0fc7ddbbfd | |
parent | e52deec956c1e94323cc001d42cdb245cff539af (diff) | |
download | chromium_src-8e0dffdf956edcebcee147e4f7df472fb9bde567.zip chromium_src-8e0dffdf956edcebcee147e4f7df472fb9bde567.tar.gz chromium_src-8e0dffdf956edcebcee147e4f7df472fb9bde567.tar.bz2 |
Auto: change errant base::VKEY_* values to just VKEY_*.
This shouldn't affect mac or windows as the definitions with our without base:: are identical there.
BUG=19664
Review URL: http://codereview.chromium.org/174121
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24000 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/glue/webview_impl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc index 4b486d5..ef6f0de 100644 --- a/webkit/glue/webview_impl.cc +++ b/webkit/glue/webview_impl.cc @@ -603,7 +603,7 @@ bool WebViewImpl::KeyEvent(const WebKeyboardEvent& event) { // 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) + if (event.windowsKeyCode == VKEY_CAPITAL) handler->capsLockStateMayHaveChanged(); PlatformKeyboardEventBuilder evt(event); @@ -625,14 +625,14 @@ bool WebViewImpl::KeyEvent(const WebKeyboardEvent& event) { bool WebViewImpl::AutocompleteHandleKeyEvent(const WebKeyboardEvent& event) { if (!autocomplete_popup_showing_ || // Home and End should be left to the text field to process. - event.windowsKeyCode == base::VKEY_HOME || - event.windowsKeyCode == base::VKEY_END) { + event.windowsKeyCode == VKEY_HOME || + event.windowsKeyCode == VKEY_END) { return false; } // Pressing delete triggers the removal of the selected suggestion from the // DB. - if (event.windowsKeyCode == base::VKEY_DELETE && + if (event.windowsKeyCode == VKEY_DELETE && autocomplete_popup_->selectedIndex() != -1) { Node* node = GetFocusedNode(); if (!node || (node->nodeType() != WebCore::Node::ELEMENT_NODE)) { |