| Index: ui/events/event_utils.h
|
| diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h
|
| index 312d580e0e6d4dde4261c3bb147d67217351ee06..f1f5f34d2754a3567268a7a8580abdfd2246431a 100644
|
| --- a/ui/events/event_utils.h
|
| +++ b/ui/events/event_utils.h
|
| @@ -5,8 +5,10 @@
|
| #ifndef UI_EVENTS_EVENT_UTILS_H_
|
| #define UI_EVENTS_EVENT_UTILS_H_
|
|
|
| +#include "base/basictypes.h"
|
| #include "base/event_types.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/strings/string16.h"
|
| #include "ui/events/event_constants.h"
|
| #include "ui/events/keycodes/keyboard_codes.h"
|
| #include "ui/gfx/display.h"
|
| @@ -87,26 +89,9 @@ EVENTS_EXPORT const char* CodeFromNative(
|
| EVENTS_EXPORT uint32 PlatformKeycodeFromNative(
|
| const base::NativeEvent& native_event);
|
|
|
| -// Returns the windows key code. Note that this value is different from
|
| -// KeyboardCodeFromNative (there is a divergence between ui::KeyboardCode and
|
| -// windows key codes).
|
| -EVENTS_EXPORT uint32 WindowsKeycodeFromNative(
|
| - const base::NativeEvent& native_event);
|
| -
|
| -// Returns the text generated by this keystroke. Used in the value we pass to
|
| -// blink.
|
| -EVENTS_EXPORT uint16 TextFromNative(const base::NativeEvent& native_event);
|
| -
|
| -// Returns the unmodified text generated by this keystroke. Used in the value
|
| -// we pass to blink.
|
| -EVENTS_EXPORT uint16 UnmodifiedTextFromNative(
|
| - const base::NativeEvent& native_event);
|
| -
|
| -#if defined(OS_LINUX)
|
| // Returns a control character sequences from a |windows_key_code|.
|
| -EVENTS_EXPORT uint16 GetControlCharacterForKeycode(int windows_key_code,
|
| - bool shift);
|
| -#endif
|
| +EVENTS_EXPORT base::char16 GetControlCharacterForKeycode(int windows_key_code,
|
| + bool shift);
|
|
|
| // Returns true if the keyboard event is a character event rather than
|
| // a keystroke event.
|
|
|