ExecCommandsSupport

Trait ExecCommandsSupport 

Source
pub(crate) trait ExecCommandsSupport {
    // Required methods
    fn check_support_and_enabled(
        &self,
        command_id: DOMString,
        can_gc: CanGc,
    ) -> Option<(Box<dyn BaseCommand>, DomRoot<Selection>)>;
    fn exec_command_for_command_id(
        &self,
        command_id: DOMString,
        value: DOMString,
        can_gc: CanGc,
    ) -> bool;
}

Required Methods§

Source

fn check_support_and_enabled( &self, command_id: DOMString, can_gc: CanGc, ) -> Option<(Box<dyn BaseCommand>, DomRoot<Selection>)>

Source

fn exec_command_for_command_id( &self, command_id: DOMString, value: DOMString, can_gc: CanGc, ) -> bool

Implementors§