1 // Copyright (c) 2012 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. 4 5 #ifndef UI_BASE_EVENTS_EVENT_CONVERSION_GTK_H_ 6 #define UI_BASE_EVENTS_EVENT_CONVERSION_GTK_H_ 7 8 #include <gtk/gtk.h> 9 10 #include "ui/base/ui_export.h" 11 12 namespace ui { 13 14 UI_EXPORT int GdkModifierToEventFlag(GdkModifierType gdk_modifier); 15 16 UI_EXPORT GdkModifierType EventFlagToGdkModifier(int event_flag); 17 18 } // namespace ui 19 20 #endif // UI_BASE_EVENTS_EVENT_CONVERSION_GTK_H_ 21