Add editing commands for WebContents
This commit is contained in:
parent
e75950cb89
commit
7fbf4246ac
2 changed files with 67 additions and 3 deletions
|
@ -67,6 +67,20 @@ class WebContents : public mate::EventEmitter,
|
|||
void OpenDevTools();
|
||||
void CloseDevTools();
|
||||
bool IsDevToolsOpened();
|
||||
|
||||
// Editing commands.
|
||||
void Undo();
|
||||
void Redo();
|
||||
void Cut();
|
||||
void Copy();
|
||||
void Paste();
|
||||
void Delete();
|
||||
void SelectAll();
|
||||
void Unselect();
|
||||
void Replace(const base::string16& word);
|
||||
void ReplaceMisspelling(const base::string16& word);
|
||||
|
||||
// Sending messages to browser.
|
||||
bool SendIPCMessage(const base::string16& channel,
|
||||
const base::ListValue& args);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue