From: Hosang Kim Date: Wed, 30 Jun 2021 10:09:57 +0000 (+0900) Subject: aurum: add package name for findElement API X-Git-Tag: submit/tizen/20210706.064323~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76c509a3846b5a377ac24e7d0a3ff79d10e81bb1;p=platform%2Fcore%2Fuifw%2Faurum.git aurum: add package name for findElement API Change-Id: Ia5f3c24d40b5e64ebb0ca65d6553119f9a175608 --- diff --git a/org.tizen.aurum-bootstrap/src/Commands/FindElementCommand.cc b/org.tizen.aurum-bootstrap/src/Commands/FindElementCommand.cc index 59ba209..590806f 100644 --- a/org.tizen.aurum-bootstrap/src/Commands/FindElementCommand.cc +++ b/org.tizen.aurum-bootstrap/src/Commands/FindElementCommand.cc @@ -47,6 +47,7 @@ std::vector> FindElementCommand::getSelectors(void) if(mRequest->_isactive_case()) sel->isActive(mRequest->isactive()); if(mRequest->_mindepth_case()) sel->minDepth(mRequest->mindepth()); if(mRequest->_maxdepth_case()) sel->maxDepth(mRequest->maxdepth()); + if(mRequest->_packagename_case()) sel->pkg(mRequest->packagename()); return std::vector>{sel}; } diff --git a/protocol/aurum.proto b/protocol/aurum.proto index a93de34..23f6f67 100644 --- a/protocol/aurum.proto +++ b/protocol/aurum.proto @@ -157,7 +157,11 @@ message ReqFindElement { int32 maxDepth = 17; } - repeated ReqFindElement children = 18; + oneof _packagename { + string packageName = 18; + } + + repeated ReqFindElement children = 19; } message RspFindElement { RspStatus status = 1;