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

Unified Diff: chrome/browser/ui/views/app_menu_button_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/app_menu_button_win.cc
===================================================================
--- chrome/browser/ui/views/app_menu_button_win.cc (revision 150588)
+++ chrome/browser/ui/views/app_menu_button_win.cc (working copy)
@@ -4,6 +4,7 @@
#include "chrome/browser/ui/views/app_menu_button_win.h"
+#include "ui/base/event.h"
#include "ui/base/win/hwnd_util.h"
#include "ui/views/widget/widget.h"
@@ -11,7 +12,7 @@
: views::MenuButton(NULL, string16(), listener, false) {
}
-bool AppMenuButtonWin::OnKeyPressed(const views::KeyEvent& event) {
+bool AppMenuButtonWin::OnKeyPressed(const ui::KeyEvent& event) {
if (event.key_code() == ui::VKEY_SPACE) {
// Typical windows behavior is to show the system menu on space.
views::Widget* widget = GetWidget();
« no previous file with comments | « chrome/browser/ui/views/app_menu_button_win.h ('k') | chrome/browser/ui/views/bookmarks/bookmark_editor_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698