summaryrefslogtreecommitdiff
path: root/chromium/ui/base/events/event_conversion_gtk.h
blob: a78d09230afbde6a5148129025130ae6d01eabe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_BASE_EVENTS_EVENT_CONVERSION_GTK_H_
#define UI_BASE_EVENTS_EVENT_CONVERSION_GTK_H_

#include <gtk/gtk.h>

#include "ui/base/ui_export.h"

namespace ui {

UI_EXPORT int GdkModifierToEventFlag(GdkModifierType gdk_modifier);

UI_EXPORT GdkModifierType EventFlagToGdkModifier(int event_flag);

}  // namespace ui

#endif  // UI_BASE_EVENTS_EVENT_CONVERSION_GTK_H_