projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add APIs of webview context
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
devel-api
/
controls
/
accessible-impl.h
diff --git
a/dali-toolkit/devel-api/controls/accessible-impl.h
b/dali-toolkit/devel-api/controls/accessible-impl.h
index
ff31c1e
..
ed09487
100644
(file)
--- a/
dali-toolkit/devel-api/controls/accessible-impl.h
+++ b/
dali-toolkit/devel-api/controls/accessible-impl.h
@@
-46,10
+46,23
@@
struct DALI_TOOLKIT_API AccessibleImpl : public virtual Dali::Accessibility::Acc
public virtual Dali::Accessibility::Collection,
public virtual Dali::Accessibility::Action
{
public virtual Dali::Accessibility::Collection,
public virtual Dali::Accessibility::Action
{
- Dali::Actor self;
+protected:
+ Dali::WeakHandle<Dali::Actor> self;
Dali::WeakHandle<Dali::Actor> currentHighlightActor;
bool modal = false, root = false;
Dali::WeakHandle<Dali::Actor> currentHighlightActor;
bool modal = false, root = false;
+ Dali::Actor Self()
+ {
+ auto handle = self.GetHandle();
+
+ // Control::Impl holds a std::unique_ptr to the Accessible object,
+ // so that one does not outlive the other.
+ DALI_ASSERT_ALWAYS(handle);
+
+ return handle;
+ }
+
+public:
AccessibleImpl(Dali::Actor self, Dali::Accessibility::Role role, bool modal = false);
/**
AccessibleImpl(Dali::Actor self, Dali::Accessibility::Role role, bool modal = false);
/**