| Index: ui/events/event_utils.h
|
| diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h
|
| index b17f506842b56711975f166c1b7b272456ac1456..115f1d88e7e41cf3b9d03fe18c5293bf96602d47 100644
|
| --- a/ui/events/event_utils.h
|
| +++ b/ui/events/event_utils.h
|
| @@ -36,11 +36,6 @@ class MouseEvent;
|
| // Updates the list of devices for cached properties.
|
| EVENTS_EXPORT void UpdateDeviceList();
|
|
|
| -// Returns a ui::Event wrapping a native event. Ownership of the returned value
|
| -// is transferred to the caller.
|
| -EVENTS_EXPORT scoped_ptr<Event> EventFromNative(
|
| - const base::NativeEvent& native_event);
|
| -
|
| // Get the EventType from a native event.
|
| EVENTS_EXPORT EventType EventTypeFromNative(
|
| const base::NativeEvent& native_event);
|
| @@ -105,15 +100,6 @@ EVENTS_EXPORT int GetChangedMouseButtonFlagsFromNative(
|
| EVENTS_EXPORT gfx::Vector2d GetMouseWheelOffset(
|
| const base::NativeEvent& native_event);
|
|
|
| -// Returns a copy of |native_event|. Depending on the platform, this copy may
|
| -// need to be deleted with ReleaseCopiedNativeEvent().
|
| -base::NativeEvent CopyNativeEvent(
|
| - const base::NativeEvent& native_event);
|
| -
|
| -// Delete a |native_event| previously created by CopyNativeEvent().
|
| -void ReleaseCopiedNativeEvent(
|
| - const base::NativeEvent& native_event);
|
| -
|
| // Gets the touch id from a native event.
|
| EVENTS_EXPORT int GetTouchId(const base::NativeEvent& native_event);
|
|
|
| @@ -155,9 +141,6 @@ EVENTS_EXPORT bool GetScrollOffsets(const base::NativeEvent& native_event,
|
| int* finger_count);
|
|
|
| #if defined(OS_WIN)
|
| -EVENTS_EXPORT int GetModifiersFromACCEL(const ACCEL& accel);
|
| -EVENTS_EXPORT int GetModifiersFromKeyState();
|
| -
|
| // Returns true if |message| identifies a mouse event that was generated as the
|
| // result of a touch event.
|
| EVENTS_EXPORT bool IsMouseEventFromTouch(UINT message);
|
| @@ -169,16 +152,6 @@ EVENTS_EXPORT LPARAM GetLParamFromScanCode(uint16 scan_code);
|
|
|
| #endif
|
|
|
| -#if defined(USE_X11)
|
| -// Update the native X11 event to correspond to the new flags.
|
| -EVENTS_EXPORT void UpdateX11EventForFlags(Event* event);
|
| -// Update the native X11 event to correspond to the new button flags.
|
| -EVENTS_EXPORT void UpdateX11EventForChangedButtonFlags(MouseEvent* event);
|
| -#endif
|
| -
|
| -// Registers a custom event type.
|
| -EVENTS_EXPORT int RegisterCustomEventType();
|
| -
|
| } // namespace ui
|
|
|
| #endif // UI_EVENTS_EVENT_UTILS_H_
|
|
|