Index: ui/events/win/events_win.cc |
diff --git a/ui/events/win/events_win.cc b/ui/events/win/events_win.cc |
index ae9d40302dd4618b59f90ab70c3b3784c4ee0c43..bcbb2c8ef7fcbf1e04703963ed7d2ed319d240ad 100644 |
--- a/ui/events/win/events_win.cc |
+++ b/ui/events/win/events_win.cc |
@@ -292,13 +292,6 @@ gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { |
return gfx::Vector2d(GET_WHEEL_DELTA_WPARAM(native_event.wParam), 0); |
} |
-base::NativeEvent CopyNativeEvent(const base::NativeEvent& event) { |
- return event; |
-} |
- |
-void ReleaseCopiedNativeEvent(const base::NativeEvent& event) { |
-} |
- |
void IncrementTouchIdRefCount(const base::NativeEvent& event) { |
NOTIMPLEMENTED(); |
} |
@@ -356,30 +349,6 @@ bool GetFlingData(const base::NativeEvent& native_event, |
return false; |
} |
-int GetModifiersFromACCEL(const ACCEL& accel) { |
- int modifiers = EF_NONE; |
- if (accel.fVirt & FSHIFT) |
- modifiers |= EF_SHIFT_DOWN; |
- if (accel.fVirt & FCONTROL) |
- modifiers |= EF_CONTROL_DOWN; |
- if (accel.fVirt & FALT) |
- modifiers |= EF_ALT_DOWN; |
- return modifiers; |
-} |
- |
-int GetModifiersFromKeyState() { |
- int modifiers = EF_NONE; |
- if (base::win::IsShiftPressed()) |
- modifiers |= EF_SHIFT_DOWN; |
- if (base::win::IsCtrlPressed()) |
- modifiers |= EF_CONTROL_DOWN; |
- if (base::win::IsAltPressed()) |
- modifiers |= EF_ALT_DOWN; |
- if (base::win::IsAltGrPressed()) |
- modifiers |= EF_ALTGR_DOWN; |
- return modifiers; |
-} |
- |
// Windows emulates mouse messages for touch events. |
bool IsMouseEventFromTouch(UINT message) { |
return (message >= WM_MOUSEFIRST) && (message <= WM_MOUSELAST) && |