1 // Copyright 2013 Samsung Electronics. 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.
12 /// Represents types of gesture.
13 enum _Ewk_Gesture_Type {
15 EWK_GESTURE_LONG_PRESS,
20 /// Creates a type name for @a _Ewk_Gesture_Type.
21 typedef enum _Ewk_Gesture_Type Ewk_Gesture_Type;
23 //#if ENABLE(TIZEN_ORIENTATION_EVENTS)
24 enum _Ewk_Screen_Orientation {
25 EWK_SCREEN_ORIENTATION_PORTRAIT_PRIMARY = 1,
26 EWK_SCREEN_ORIENTATION_LANDSCAPE_PRIMARY = 1 << 1,
27 EWK_SCREEN_ORIENTATION_PORTRAIT_SECONDARY = 1 << 2,
28 EWK_SCREEN_ORIENTATION_LANDSCAPE_SECONDARY = 1 << 3
30 typedef enum _Ewk_Screen_Orientation Ewk_Screen_Orientation;
34 * \enum Ewk_Cache_Model
36 * @brief Contains option for cache model
38 enum _Ewk_Cache_Model {
39 /// Use the smallest cache capacity.
40 EWK_CACHE_MODEL_DOCUMENT_VIEWER,
41 /// Use bigger cache capacity than EWK_CACHE_MODEL_DOCUMENT_VIEWER.
42 EWK_CACHE_MODEL_DOCUMENT_BROWSER,
43 /// Use the biggest cache capacity.
44 EWK_CACHE_MODEL_PRIMARY_WEBBROWSER
47 /// Creates a type name for the Ewk_Cache_Model.
48 typedef enum _Ewk_Cache_Model Ewk_Cache_Model;