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

Unified Diff: chrome/browser/ui/views/find_bar_host.h

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/extensions/extension_view.cc ('k') | chrome/browser/ui/views/find_bar_host.cc » ('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.h
===================================================================
--- chrome/browser/ui/views/find_bar_host.h (revision 150588)
+++ chrome/browser/ui/views/find_bar_host.h (working copy)
@@ -43,7 +43,7 @@
// that arrow keys and PageUp and PageDown result in scrolling, instead of
// being eaten because the FindBar has focus. Returns true if the keystroke
// was forwarded, false if not.
- bool MaybeForwardKeyEventToWebpage(const views::KeyEvent& key_event);
+ bool MaybeForwardKeyEventToWebpage(const ui::KeyEvent& key_event);
// FindBar implementation:
virtual FindBarController* GetFindBarController() const OVERRIDE;
@@ -120,8 +120,7 @@
void GetWidgetPositionNative(gfx::Rect* avoid_overlapping_rect);
// Allows native implementation to prevent key events from being forwarded.
- bool ShouldForwardKeyEventToWebpageNative(
- const views::KeyEvent& key_event);
+ bool ShouldForwardKeyEventToWebpageNative(const ui::KeyEvent& key_event);
// Returns the FindBarView.
FindBarView* find_bar_view();
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_view.cc ('k') | chrome/browser/ui/views/find_bar_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698