Commit abc62302 authored by ananta's avatar ananta Committed by Commit bot

Ensure that zoom in/out works in Chrome OS mode on Windows 7+.

Fix is to send the special keystates over in the mouse wheel IPC message.

BUG=410792

Review URL: https://codereview.chromium.org/543203002

Cr-Commit-Position: refs/heads/master@{#293607}
parent 9c419a4f
......@@ -1160,7 +1160,7 @@ HRESULT ChromeAppViewAsh::OnWheel(
return hr;
DCHECK(pointer.IsMouse());
SendMouseButton(pointer.x(), pointer.y(), pointer.wheel_delta(),
ui::ET_MOUSEWHEEL, ui::EF_NONE, ui::EF_NONE,
ui::ET_MOUSEWHEEL, GetKeyboardEventFlags(), ui::EF_NONE,
pointer.is_horizontal_wheel());
return S_OK;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment