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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_win.cc

Issue 10825254: Remove views::KeyEvent, replacing uses of it with ui::KeyEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
Index: chrome/browser/ui/views/omnibox/omnibox_view_win.cc
===================================================================
--- chrome/browser/ui/views/omnibox/omnibox_view_win.cc (revision 150588)
+++ chrome/browser/ui/views/omnibox/omnibox_view_win.cc (working copy)
@@ -51,6 +51,7 @@
#include "ui/base/dragdrop/drop_target.h"
#include "ui/base/dragdrop/os_exchange_data.h"
#include "ui/base/dragdrop/os_exchange_data_provider_win.h"
+#include "ui/base/event.h"
#include "ui/base/events.h"
#include "ui/base/keycodes/keyboard_codes.h"
#include "ui/base/l10n/l10n_util.h"
@@ -1008,8 +1009,7 @@
return ui::DragDropTypes::DRAG_NONE;
}
-bool OmniboxViewWin::SkipDefaultKeyEventProcessing(
- const views::KeyEvent& event) {
+bool OmniboxViewWin::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) {
ui::KeyboardCode key = event.key_code();
// We don't process ALT + numpad digit as accelerators, they are used for
// entering special characters. We do translate alt-home.

Powered by Google App Engine
This is Rietveld 408576698