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

Unified Diff: chrome/browser/ui/views/find_bar_host_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
« no previous file with comments | « chrome/browser/ui/views/find_bar_host_aura.cc ('k') | chrome/browser/ui/views/find_bar_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/find_bar_host_win.cc
===================================================================
--- chrome/browser/ui/views/find_bar_host_win.cc (revision 150588)
+++ chrome/browser/ui/views/find_bar_host_win.cc (working copy)
@@ -9,6 +9,7 @@
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents_view.h"
+#include "ui/base/event.h"
#include "ui/views/controls/scrollbar/native_scroll_bar.h"
#include "ui/views/widget/widget.h"
@@ -17,7 +18,7 @@
}
bool FindBarHost::ShouldForwardKeyEventToWebpageNative(
- const views::KeyEvent& key_event) {
+ const ui::KeyEvent& key_event) {
// We specifically ignore WM_CHAR. See http://crbug.com/10509.
return key_event.native_event().message == WM_KEYDOWN ||
key_event.native_event().message == WM_KEYUP;
« no previous file with comments | « chrome/browser/ui/views/find_bar_host_aura.cc ('k') | chrome/browser/ui/views/find_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698