projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add APIs for showing/hiding context menu.
[platform/core/uifw/dali-adaptor.git]
/
dali
/
devel-api
/
adaptor-framework
/
web-engine-plugin.h
diff --git
a/dali/devel-api/adaptor-framework/web-engine-plugin.h
b/dali/devel-api/adaptor-framework/web-engine-plugin.h
index
421ca6f
..
7facdac
100755
(executable)
--- a/
dali/devel-api/adaptor-framework/web-engine-plugin.h
+++ b/
dali/devel-api/adaptor-framework/web-engine-plugin.h
@@
-39,7
+39,6
@@
class WebEngineCertificate;
class WebEngineConsoleMessage;
class WebEngineContext;
class WebEngineContextMenu;
class WebEngineConsoleMessage;
class WebEngineContext;
class WebEngineContextMenu;
-class WebEngineContextMenuItem;
class WebEngineCookieManager;
class WebEngineFormRepostDecision;
class WebEngineHitTest;
class WebEngineCookieManager;
class WebEngineFormRepostDecision;
class WebEngineHitTest;
@@
-105,7
+104,7
@@
public:
using WebEngineRequestInterceptorSignalType = Signal<void(std::shared_ptr<Dali::WebEngineRequestInterceptor>)>;
/**
using WebEngineRequestInterceptorSignalType = Signal<void(std::shared_ptr<Dali::WebEngineRequestInterceptor>)>;
/**
- * @brief WebView signal type related with console message
will be
logged.
+ * @brief WebView signal type related with console message logged.
*/
using WebEngineConsoleMessageSignalType = Signal<void(std::shared_ptr<Dali::WebEngineConsoleMessage>)>;
*/
using WebEngineConsoleMessageSignalType = Signal<void(std::shared_ptr<Dali::WebEngineConsoleMessage>)>;
@@
-120,14
+119,14
@@
public:
using WebEngineHttpAuthHandlerSignalType = Signal<void(std::shared_ptr<Dali::WebEngineHttpAuthHandler>)>;
/**
using WebEngineHttpAuthHandlerSignalType = Signal<void(std::shared_ptr<Dali::WebEngineHttpAuthHandler>)>;
/**
- * @brief WebView signal type related with context menu
customized
.
+ * @brief WebView signal type related with context menu
shown
.
*/
*/
- using WebEngineContextMenu
Customized
SignalType = Signal<void(std::shared_ptr<Dali::WebEngineContextMenu>)>;
+ using WebEngineContextMenu
Shown
SignalType = Signal<void(std::shared_ptr<Dali::WebEngineContextMenu>)>;
/**
/**
- * @brief WebView signal type related with context menu
item selected
.
+ * @brief WebView signal type related with context menu
hidden
.
*/
*/
- using WebEngineContextMenu
ItemSelectedSignalType = Signal<void(std::shared_ptr<Dali::WebEngineContextMenuItem
>)>;
+ using WebEngineContextMenu
HiddenSignalType = Signal<void(std::shared_ptr<Dali::WebEngineContextMenu
>)>;
/**
* @brief Alert callback when JavaScript alert is called with a message.
/**
* @brief Alert callback when JavaScript alert is called with a message.
@@
-281,7
+280,7
@@
public:
*
* @return Url of string type
*/
*
* @return Url of string type
*/
- virtual
const std::string& GetUrl()
= 0;
+ virtual
std::string GetUrl() const
= 0;
/**
* @brief Load a given string as web contents.
/**
* @brief Load a given string as web contents.
@@
-536,7
+535,7
@@
public:
*
* @return The string value of user agent
*/
*
* @return The string value of user agent
*/
- virtual
const std::string&
GetUserAgent() const = 0;
+ virtual
std::string
GetUserAgent() const = 0;
/**
* @brief Set user agent string.
/**
* @brief Set user agent string.
@@
-847,18
+846,18
@@
public:
virtual WebEngineHttpAuthHandlerSignalType& HttpAuthHandlerSignal() = 0;
/**
virtual WebEngineHttpAuthHandlerSignalType& HttpAuthHandlerSignal() = 0;
/**
- * @brief Connect to this signal to be notified when context menu would be
customized
.
+ * @brief Connect to this signal to be notified when context menu would be
shown
.
*
* @return A signal object to connect with.
*/
*
* @return A signal object to connect with.
*/
- virtual WebEngineContextMenu
CustomizedSignalType& ContextMenuCustomized
Signal() = 0;
+ virtual WebEngineContextMenu
ShownSignalType& ContextMenuShown
Signal() = 0;
/**
/**
- * @brief Connect to this signal to be notified when context menu
item is selected
.
+ * @brief Connect to this signal to be notified when context menu
would be hidden
.
*
* @return A signal object to connect with.
*/
*
* @return A signal object to connect with.
*/
- virtual WebEngineContextMenu
ItemSelectedSignalType& ContextMenuItemSelected
Signal() = 0;
+ virtual WebEngineContextMenu
HiddenSignalType& ContextMenuHidden
Signal() = 0;
};
// specialization has to be done in the same namespace
};
// specialization has to be done in the same namespace