#include "ax/platform/ax_platform_node_textrangeprovider_win.h"
#include <UIAutomation.h>
#include <wrl/client.h>
#include <string_view>
#include "ax/ax_action_data.h"
#include "ax/ax_range.h"
#include "ax/platform/ax_platform_node_delegate.h"
#include "ax/platform/ax_platform_node_win.h"
#include "ax/platform/ax_platform_tree_manager.h"
#include "base/win/variant_vector.h"
#include "flutter/fml/platform/win/wstring_conversion.h"
#include "third_party/icu/source/i18n/unicode/usearch.h"
Go to the source code of this file.
|
static bool | ui::StringSearchBasic (const std::u16string_view search_string, const std::u16string_view find_in, size_t *find_start, size_t *find_length, bool backwards) |
|
bool | ui::StringSearch (std::u16string_view search_string, std::u16string_view find_in, size_t *find_start, size_t *find_length, bool ignore_case, bool backwards) |
|
◆ UIA_VALIDATE_BOUNDS
#define UIA_VALIDATE_BOUNDS |
( |
|
bounds | ) |
|
◆ UIA_VALIDATE_TEXTRANGEPROVIDER_CALL
#define UIA_VALIDATE_TEXTRANGEPROVIDER_CALL |
( |
| ) |
|
◆ UIA_VALIDATE_TEXTRANGEPROVIDER_CALL_1_IN
#define UIA_VALIDATE_TEXTRANGEPROVIDER_CALL_1_IN |
( |
|
in | ) |
|
Value: if (!GetOwner() || !GetOwner()->GetDelegate() || !
start() || \
!
start()->GetAnchor() || !
end() || !
end()->GetAnchor()) \
return UIA_E_ELEMENTNOTAVAILABLE; \
if (!in) \
return E_POINTER; \
SetStart(
start()->AsValidPosition()); \
SetEnd(
end()->AsValidPosition());
Definition at line 26 of file ax_platform_node_textrangeprovider_win.cc.
◆ UIA_VALIDATE_TEXTRANGEPROVIDER_CALL_1_IN_1_OUT
#define UIA_VALIDATE_TEXTRANGEPROVIDER_CALL_1_IN_1_OUT |
( |
|
in, |
|
|
|
out |
|
) |
| |
◆ UIA_VALIDATE_TEXTRANGEPROVIDER_CALL_1_OUT
#define UIA_VALIDATE_TEXTRANGEPROVIDER_CALL_1_OUT |
( |
|
out | ) |
|