pub enum InnerMessage {
Show 26 variants
ActivateAction(Action),
ActivateHint(String),
ActivateSelection(),
ClickHintElement(),
ClickNextPage(),
ClickPrevPage(),
Credentials(String, String),
EnterHintKey(char),
EnterInsertMode(),
FocusInput(),
GetCredentials(),
GetScrollPercentage(),
Id(ExtensionId, PageId),
InsertText(String),
HideHints(),
LoadUsernamePass(String, String),
Open(Vec<String>),
ResetScrollElement(),
ScrollBottom(),
ScrollBy(i64),
ScrollByX(i64),
ScrollPercentage(Percentage),
ScrollTop(),
SelectFile(String),
ShowHints(String),
SubmitLoginForm(),
}
Expand description
Message representing actions to to in the web page.
Variants§
ActivateAction(Action)
Response to ActivateHint.
ActivateHint(String)
Activate the selected hint according to the specified follow mode.
ActivateSelection()
Click on the link in the selection.
ClickHintElement()
Response to EnterHintKey.
ClickNextPage()
Regex lookup next page link to click
ClickPrevPage()
Regex lookup prev page link to click
Credentials(String, String)
Response to GetCredentials.
EnterHintKey(char)
Add a key to the current hint text.
EnterInsertMode()
Response to FocusInput.
FocusInput()
Focus the first text input.
GetCredentials()
Ask for the credentials from the login form.
GetScrollPercentage()
Ask for the scroll percentage of the web page.
Id(ExtensionId, PageId)
Send the page ID to the application to connect the web extension with the right window. Answer to GetId.
InsertText(String)
Insert some text in the currently focused text field.
HideHints()
Hide the hints.
LoadUsernamePass(String, String)
Write the username and password in the login form.
Open(Vec<String>)
Open the given URL. This is used when starting a new titanium process to tell the existing process to open a new window.
ResetScrollElement()
Reset the scroll element to None.
ScrollBottom()
Scroll to the bottom of the web page
ScrollBy(i64)
Scroll vertically by the specified amount of pixels.
ScrollByX(i64)
Scroll horizontally by the specified amount of pixels.
ScrollPercentage(Percentage)
Response of GetScrollPercentage.
ScrollTop()
Scroll to the top of the web page.
SelectFile(String)
Set the selected file on a file input.
ShowHints(String)
Show the hints over the elements.
SubmitLoginForm()
Submit the login form.
Trait Implementations§
Source§impl Clone for InnerMessage
impl Clone for InnerMessage
Source§fn clone(&self) -> InnerMessage
fn clone(&self) -> InnerMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more