Flutter Engine
The Flutter Engine
Namespaces | Macros
ax_platform_node_textprovider_win.cc File Reference
#include "ax/platform/ax_platform_node_textprovider_win.h"
#include <wrl/client.h>
#include "base/win/scoped_safearray.h"
#include "ax/platform/ax_platform_node_textrangeprovider_win.h"

Go to the source code of this file.

Namespaces

namespace  ui
 

Macros

#define UIA_VALIDATE_TEXTPROVIDER_CALL()
 
#define UIA_VALIDATE_TEXTPROVIDER_CALL_1_ARG(arg)
 

Macro Definition Documentation

◆ UIA_VALIDATE_TEXTPROVIDER_CALL

#define UIA_VALIDATE_TEXTPROVIDER_CALL ( )
Value:
if (!owner()->GetDelegate()) \
return UIA_E_ELEMENTNOTAVAILABLE;

Definition at line 13 of file ax_platform_node_textprovider_win.cc.

◆ UIA_VALIDATE_TEXTPROVIDER_CALL_1_ARG

#define UIA_VALIDATE_TEXTPROVIDER_CALL_1_ARG (   arg)
Value:
if (!owner()->GetDelegate()) \
return UIA_E_ELEMENTNOTAVAILABLE; \
if (!arg) \
return E_INVALIDARG;

Definition at line 16 of file ax_platform_node_textprovider_win.cc.