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
feffe75
..
ed09487
100644
(file)
--- a/
dali-toolkit/devel-api/controls/accessible-impl.h
+++ b/
dali-toolkit/devel-api/controls/accessible-impl.h
@@
-19,6
+19,7
@@
// EXTERNAL INCLUDES
#include <dali/devel-api/adaptor-framework/accessibility-impl.h>
#include <dali/devel-api/adaptor-framework/accessibility.h>
// EXTERNAL INCLUDES
#include <dali/devel-api/adaptor-framework/accessibility-impl.h>
#include <dali/devel-api/adaptor-framework/accessibility.h>
+#include <dali/public-api/object/weak-handle.h>
// INTERNAL INCLUDES
#include <dali-toolkit/public-api/dali-toolkit-common.h>
// INTERNAL INCLUDES
#include <dali-toolkit/public-api/dali-toolkit-common.h>
@@
-45,9
+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;
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);
/**