playwright/imp/
dialog.rs

1use crate::imp::core::*;
2
3#[derive(Debug)]
4pub(crate) struct Dialog {
5    channel: ChannelOwner
6}
7
8impl Dialog {
9    pub(crate) fn new(channel: ChannelOwner) -> Self { Self { channel } }
10}
11
12impl RemoteObject for Dialog {
13    fn channel(&self) -> &ChannelOwner { &self.channel }
14    fn channel_mut(&mut self) -> &mut ChannelOwner { &mut self.channel }
15}