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

Unified Diff: ui/views/view.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/ime/mock_input_method.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
===================================================================
--- ui/views/view.h (revision 150588)
+++ ui/views/view.h (working copy)
@@ -41,6 +41,7 @@
namespace ui {
struct AccessibleViewState;
class Compositor;
+class KeyEvent;
class Layer;
class TextInputClient;
class Texture;
@@ -613,8 +614,8 @@
// Subclasser should return true if the event has been processed and false
// otherwise. If the event has not been processed, the parent will be given a
// chance.
- virtual bool OnKeyPressed(const KeyEvent& event);
- virtual bool OnKeyReleased(const KeyEvent& event);
+ virtual bool OnKeyPressed(const ui::KeyEvent& event);
+ virtual bool OnKeyReleased(const ui::KeyEvent& event);
// Invoked when the user uses the mousewheel. Implementors should return true
// if the event has been processed and false otherwise. This message is sent
@@ -733,7 +734,7 @@
// have it processed as an accelerator (if any) or as a tab traversal (if the
// key event is for the TAB key). In that case, OnKeyPressed will
// subsequently be invoked for that event.
- virtual bool SkipDefaultKeyEventProcessing(const KeyEvent& event);
+ virtual bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& event);
// Subclasses that contain traversable children that are not directly
// accessible through the children hierarchy should return the associated
« no previous file with comments | « ui/views/ime/mock_input_method.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698