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

Unified Diff: ui/views/focus/focus_manager.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 | « ui/views/focus/accelerator_handler_win.cc ('k') | ui/views/focus/focus_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/focus/focus_manager.h
===================================================================
--- ui/views/focus/focus_manager.h (revision 150588)
+++ ui/views/focus/focus_manager.h (working copy)
@@ -75,6 +75,7 @@
namespace ui {
class AcceleratorTarget;
class AcceleratorManager;
+class KeyEvent;
}
namespace views {
@@ -142,7 +143,7 @@
// Processes the passed key event for accelerators and tab traversal.
// Returns false if the event has been consumed and should not be processed
// further.
- bool OnKeyEvent(const KeyEvent& event);
+ bool OnKeyEvent(const ui::KeyEvent& event);
// Returns true is the specified is part of the hierarchy of the window
// associated with this FocusManager.
@@ -232,7 +233,7 @@
// Resets menu key state if |event| is not menu key release.
// This is effective only on x11.
- void MaybeResetMenuKeyState(const KeyEvent& key);
+ void MaybeResetMenuKeyState(const ui::KeyEvent& key);
// Called by a RootView when a view within its hierarchy is removed
// from its parent. This will only be called by a RootView in a
@@ -260,7 +261,7 @@
// Convenience method that returns true if the passed |key_event| should
// trigger tab traversal (if it is a TAB key press with or without SHIFT
// pressed).
- static bool IsTabTraversalKeyEvent(const KeyEvent& key_event);
+ static bool IsTabTraversalKeyEvent(const ui::KeyEvent& key_event);
private:
// Returns the next focusable view.
« no previous file with comments | « ui/views/focus/accelerator_handler_win.cc ('k') | ui/views/focus/focus_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698