Move the header file of the EWK API 64/315464/2
authorchenshurong <shurong.chen@samsung.com>
Mon, 2 Dec 2024 14:57:05 +0000 (22:57 +0800)
committerBot Blink <blinkbot@samsung.com>
Mon, 2 Dec 2024 08:29:00 +0000 (08:29 +0000)
Move such ewk api from ewk_view.h to ewk_view_product.h:
ewk_view_wauthn_method_set
ewk_view_ime_position_align_set

Change-Id: Icc4baf2def93ddc3822018c92e6215e285821b5d
Signed-off-by: chenshurong <shurong.chen@samsung.com>
tizen_src/ewk/efl_integration/public/ewk_view.h
tizen_src/ewk/efl_integration/public/ewk_view_product.h

index d5805e3c6d7b7605619599bffab400d1bee5459c..7afe7559df8469d98c4f35afb937a111955e409b 100644 (file)
@@ -738,61 +738,6 @@ typedef void (*Ewk_View_Request_Manifest_Callback)(Evas_Object* o, Ewk_View_Requ
  */
 EXPORT_API void ewk_view_request_manifest(Evas_Object* o, Ewk_View_Request_Manifest_Callback callback, void* user_data);
 
-typedef struct _Ewk_Wauthn_Method Ewk_Wauthn_Method;
-/**
- * @brief Requests setting of the method of web authentication.
- *
- * @since_tizen 9.0
- *
- * @param[in] view view object
- * @param[in] method web authentication method.
-*                          if showQRCode of method is true, the QR code content will be got
- *                         else the linkDevice  of method cannot be NULL and the linked device will be choosen
- */
-EXPORT_API void ewk_view_wauthn_method_set(const Evas_Object* view, const Ewk_Wauthn_Method* method);
-
-/**
- * @enum _Ewk_Ime_Position_Align
- * @brief Enumeration for defining the align of Dynamic IME
- *
- * @since_tizen 9.0
- */
-enum _Ewk_Ime_Position_Align {
-  IME_ALIGN_TOP_LEFT,      /**< The top-left corner */
-  IME_ALIGN_TOP_CENTER,    /**< The top-center position */
-  IME_ALIGN_TOP_RIGHT,     /**< The top-right corner */
-  IME_ALIGN_MIDDLE_LEFT,   /**< The middle-left position */
-  IME_ALIGN_MIDDLE_CENTER, /**< The middle-center position */
-  IME_ALIGN_MIDDLE_RIGHT,  /**< The middle-right position */
-  IME_ALIGN_BOTTOM_LEFT,   /**< The bottom-left corner */
-  IME_ALIGN_BOTTOM_CENTER, /**< The bottom-center position */
-  IME_ALIGN_BOTTOM_RIGHT,  /**< The bottom-right corner */
-};
-typedef enum _Ewk_Ime_Position_Align Ewk_Ime_Position_Align;
-
-/**
- * @brief Requests to set the position and align of the Dynamic IME
- *
- * @since_tizen 9.0
- *
- * @param[in] o The view object.
- * @param[in] @c x   x position of the Dynamic IME
- *            @c y   y position of the Dynamic IME
- *            @c align   IME_ALIGN_TOP_LEFT       The top-left corner
- *                       IME_ALIGN_TOP_CENTER     The top-center position
- *                       IME_ALIGN_TOP_RIGHT      The top-right corner
- *                       IME_ALIGN_MIDDLE_LEFT    The middle-left position
- *                       IME_ALIGN_MIDDLE_CENTER  The middle-center position
- *                       IME_ALIGN_MIDDLE_RIGHT   The middle-right position
- *                       IME_ALIGN_BOTTOM_LEFT    The bottom-left corner
- *                       IME_ALIGN_BOTTOM_CENTER  The bottom-center position
- *                       IME_ALIGN_BOTTOM_RIGHT   The bottom-right corner
- *
- * @return @c EINA_TRUE on success,\n
- *         otherwise @c EINA_FALSE
- */
-EXPORT_API Eina_Bool ewk_view_ime_position_align_set(const Evas_Object* view, int x, int y, Ewk_Ime_Position_Align align);
-
 /**
 * @}
 */
index c1d5e21d8dc0190b69e6df4b515f151dec31fafe..53ebe57a3f0e54c829e10d1bb5a7b3db7663c117 100644 (file)
@@ -1519,6 +1519,61 @@ typedef void (*Ewk_View_Error_Page_Load_Callback)(Evas_Object* o, const Ewk_Erro
  */
 EXPORT_API void ewk_view_error_page_load_callback_set(Evas_Object* ewk_view, Ewk_View_Error_Page_Load_Callback callback, void* user_data);
 
+typedef struct _Ewk_Wauthn_Method Ewk_Wauthn_Method;
+/**
+ * @brief Requests setting of the method of web authentication.
+ *
+ * @since_tizen 9.0
+ *
+ * @param[in] view view object
+ * @param[in] method web authentication method.
+*                          if showQRCode of method is true, the QR code content will be got
+ *                         else the linkDevice  of method cannot be NULL and the linked device will be choosen
+ */
+EXPORT_API void ewk_view_wauthn_method_set(const Evas_Object* view, const Ewk_Wauthn_Method* method);
+
+/**
+ * @enum _Ewk_Ime_Position_Align
+ * @brief Enumeration for defining the align of Dynamic IME
+ *
+ * @since_tizen 9.0
+ */
+enum _Ewk_Ime_Position_Align {
+  IME_ALIGN_TOP_LEFT,      /**< The top-left corner */
+  IME_ALIGN_TOP_CENTER,    /**< The top-center position */
+  IME_ALIGN_TOP_RIGHT,     /**< The top-right corner */
+  IME_ALIGN_MIDDLE_LEFT,   /**< The middle-left position */
+  IME_ALIGN_MIDDLE_CENTER, /**< The middle-center position */
+  IME_ALIGN_MIDDLE_RIGHT,  /**< The middle-right position */
+  IME_ALIGN_BOTTOM_LEFT,   /**< The bottom-left corner */
+  IME_ALIGN_BOTTOM_CENTER, /**< The bottom-center position */
+  IME_ALIGN_BOTTOM_RIGHT,  /**< The bottom-right corner */
+};
+typedef enum _Ewk_Ime_Position_Align Ewk_Ime_Position_Align;
+
+/**
+ * @brief Requests to set the position and align of the Dynamic IME
+ *
+ * @since_tizen 9.0
+ *
+ * @param[in] o The view object.
+ * @param[in] @c x   x position of the Dynamic IME
+ *            @c y   y position of the Dynamic IME
+ *            @c align   IME_ALIGN_TOP_LEFT       The top-left corner
+ *                       IME_ALIGN_TOP_CENTER     The top-center position
+ *                       IME_ALIGN_TOP_RIGHT      The top-right corner
+ *                       IME_ALIGN_MIDDLE_LEFT    The middle-left position
+ *                       IME_ALIGN_MIDDLE_CENTER  The middle-center position
+ *                       IME_ALIGN_MIDDLE_RIGHT   The middle-right position
+ *                       IME_ALIGN_BOTTOM_LEFT    The bottom-left corner
+ *                       IME_ALIGN_BOTTOM_CENTER  The bottom-center position
+ *                       IME_ALIGN_BOTTOM_RIGHT   The bottom-right corner
+ *
+ * @return @c EINA_TRUE on success,\n
+ *         otherwise @c EINA_FALSE
+ */
+EXPORT_API Eina_Bool ewk_view_ime_position_align_set(const Evas_Object* view, int x, int y, Ewk_Ime_Position_Align align);
+
 /**
  * @}
  */