| Flutter iOS Embedder |

Public Member Functions | List of all members
flutter::AlertPlatformNodeDelegate Class Reference

`#include <alert_platform_node_delegate.h>`

Inheritance diagram for flutter::AlertPlatformNodeDelegate:

## Public Member Functions
| AlertPlatformNodeDelegate (ui::AXPlatformNodeDelegate &parent_delegate)
| ~AlertPlatformNodeDelegate ()
void | SetText (const std::u16string &text)
gfx::NativeViewAccessible | GetParent () override

## Detailed Description

Definition at line 18 of file alert_platform_node_delegate.h.

## Constructor & Destructor Documentation

## ◆ AlertPlatformNodeDelegate()

flutter::AlertPlatformNodeDelegate::AlertPlatformNodeDelegate | ( | ui::AXPlatformNodeDelegate & | parent_delegate | ) |
| explicit

Definition at line 9 of file alert_platform_node_delegate.cc.

11 : parent_delegate_(parent_delegate) {
12 data_.role = ax::mojom::Role::kAlert;
13 data_.id = id_.Get();
14 }

## ◆ ~AlertPlatformNodeDelegate()

flutter::AlertPlatformNodeDelegate::~AlertPlatformNodeDelegate | ( |  | ) |

Definition at line 16 of file alert_platform_node_delegate.cc.

16 {}

## Member Function Documentation

## ◆ GetParent()

gfx::NativeViewAccessible flutter::AlertPlatformNodeDelegate::GetParent | ( |  | ) |
| override

Definition at line 23 of file alert_platform_node_delegate.cc.

23 {
24 return parent_delegate_.GetNativeViewAccessible();
25 }

## ◆ SetText()

void flutter::AlertPlatformNodeDelegate::SetText | ( | const std::u16string & | text | ) |

Definition at line 35 of file alert_platform_node_delegate.cc.

35 {
36 data_.SetName(text);
37 data_.SetDescription(text);
38 data_.SetValue(text);
39 }

The documentation for this class was generated from the following files:

- shell/platform/common/alert_platform_node_delegate.h
- shell/platform/common/alert_platform_node_delegate.cc