Index: chrome/browser/extensions/extension_host.cc |
=================================================================== |
--- chrome/browser/extensions/extension_host.cc (revision 58386) |
+++ chrome/browser/extensions/extension_host.cc (working copy) |
@@ -6,9 +6,9 @@ |
#include <list> |
+#include "app/keyboard_codes.h" |
#include "app/l10n_util.h" |
#include "app/resource_bundle.h" |
-#include "base/keyboard_codes.h" |
#include "base/message_loop.h" |
#include "base/singleton.h" |
#include "base/string_util.h" |
@@ -627,7 +627,7 @@ |
bool* is_keyboard_shortcut) { |
if (extension_host_type_ == ViewType::EXTENSION_POPUP && |
event.type == NativeWebKeyboardEvent::RawKeyDown && |
- event.windowsKeyCode == base::VKEY_ESCAPE) { |
+ event.windowsKeyCode == app::VKEY_ESCAPE) { |
DCHECK(is_keyboard_shortcut != NULL); |
*is_keyboard_shortcut = true; |
} |
@@ -637,7 +637,7 @@ |
void ExtensionHost::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) { |
if (extension_host_type_ == ViewType::EXTENSION_POPUP) { |
if (event.type == NativeWebKeyboardEvent::RawKeyDown && |
- event.windowsKeyCode == base::VKEY_ESCAPE) { |
+ event.windowsKeyCode == app::VKEY_ESCAPE) { |
NotificationService::current()->Notify( |
NotificationType::EXTENSION_HOST_VIEW_SHOULD_CLOSE, |
Source<Profile>(profile_), |