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

Unified Diff: chrome/renderer/autofill_helper.cc

Issue 6246001: Move app/key* to ui/base/keycodes/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « chrome/common/automation_messages_internal.h ('k') | chrome/renderer/password_autocomplete_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/autofill_helper.cc
===================================================================
--- chrome/renderer/autofill_helper.cc (revision 71220)
+++ chrome/renderer/autofill_helper.cc (working copy)
@@ -4,7 +4,6 @@
#include "chrome/renderer/autofill_helper.h"
-#include "app/keyboard_codes.h"
#include "app/l10n_util.h"
#include "base/utf_string_conversions.h"
#include "chrome/common/chrome_constants.h"
@@ -16,6 +15,7 @@
#include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
#include "third_party/WebKit/WebKit/chromium/public/WebInputElement.h"
#include "third_party/WebKit/WebKit/chromium/public/WebView.h"
+#include "ui/base/keycodes/keyboard_codes.h"
#include "webkit/glue/form_data.h"
#include "webkit/glue/form_field.h"
#include "webkit/glue/password_form.h"
@@ -219,8 +219,8 @@
void AutoFillHelper::KeyDownInTextField(const WebInputElement& element,
const WebKeyboardEvent& event) {
- if (event.windowsKeyCode == app::VKEY_DOWN ||
- event.windowsKeyCode == app::VKEY_UP)
+ if (event.windowsKeyCode == ui::VKEY_DOWN ||
+ event.windowsKeyCode == ui::VKEY_UP)
ShowSuggestions(element, true, true, true);
}
« no previous file with comments | « chrome/common/automation_messages_internal.h ('k') | chrome/renderer/password_autocomplete_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698