Make UsbEventRouter depend explicitly on EventRouter.
[chromium-blink-merge.git] / ui / events / ozone / layout / layout_util.h
blob5a2ba52c1e08ea69a831dd28781d2fb2df50a55b
1 // Copyright 2014 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 #ifndef UI_EVENTS_OZONE_LAYOUT_LAYOUT_UTIL_H_
6 #define UI_EVENTS_OZONE_LAYOUT_LAYOUT_UTIL_H_
8 // TODO(kpschoedel): consider moving this out of Ozone.
10 #include "base/strings/string16.h"
11 #include "ui/events/keycodes/dom/dom_key.h"
12 #include "ui/events/keycodes/keyboard_codes.h"
13 #include "ui/events/ozone/layout/events_ozone_layout_export.h"
15 namespace ui {
17 // Returns the ui::EventFlags value associated with a modifier key,
18 // or 0 (EF_NONE) if the key is not a modifier.
19 EVENTS_OZONE_LAYOUT_EXPORT int ModifierDomKeyToEventFlag(DomKey key);
21 } // namespace ui
23 #endif // UI_EVENTS_OZONE_LAYOUT_LAYOUT_UTIL_H_