1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/browser/renderer_host/input/web_input_event_util_posix.h"
9 blink::WebInputEvent::Modifiers
GetLocationModifiersFromWindowsKeyCode(
10 ui::KeyboardCode key_code
) {
12 case ui::VKEY_LCONTROL
:
16 return blink::WebKeyboardEvent::IsLeft
;
17 case ui::VKEY_RCONTROL
:
21 return blink::WebKeyboardEvent::IsRight
;
23 return static_cast<blink::WebInputEvent::Modifiers
>(0);
27 } // namespace content