| Index: chrome/browser/extensions/extension_input_api.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_input_api.cc (revision 71220)
|
| +++ chrome/browser/extensions/extension_input_api.cc (working copy)
|
| @@ -6,7 +6,6 @@
|
|
|
| #include <string>
|
|
|
| -#include "app/keyboard_code_conversion.h"
|
| #include "base/values.h"
|
| #include "chrome/browser/browser_window.h"
|
| #include "chrome/browser/extensions/extension_tabs_module.h"
|
| @@ -15,6 +14,7 @@
|
| #include "chrome/browser/ui/views/frame/browser_view.h"
|
| #include "chrome/common/native_web_keyboard_event.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h"
|
| +#include "ui/base/keycodes/keyboard_code_conversion.h"
|
| #include "views/event.h"
|
| #include "views/widget/root_view.h"
|
|
|
| @@ -83,8 +83,8 @@
|
|
|
| std::string identifier;
|
| EXTENSION_FUNCTION_VALIDATE(args->GetString(kKeyIdentifier, &identifier));
|
| - app::KeyboardCode code = app::KeyCodeFromKeyIdentifier(identifier);
|
| - if (code == app::VKEY_UNKNOWN) {
|
| + ui::KeyboardCode code = ui::KeyCodeFromKeyIdentifier(identifier);
|
| + if (code == ui::VKEY_UNKNOWN) {
|
| error_ = kUnknownOrUnsupportedKeyIdentiferError;
|
| return false;
|
| }
|
|
|