Make the default alert() do nothing.
This commit is contained in:
parent
8404389a31
commit
4c8e483bc1
2 changed files with 13 additions and 1 deletions
|
@ -20,7 +20,7 @@ class AtomJavaScriptDialogManager : public content::JavaScriptDialogManager {
|
|||
const string16& message_text,
|
||||
const string16& default_prompt_text,
|
||||
const DialogClosedCallback& callback,
|
||||
bool* did_suppress_message) OVERRIDE {}
|
||||
bool* did_suppress_message) OVERRIDE;
|
||||
virtual void RunBeforeUnloadDialog(
|
||||
content::WebContents* web_contents,
|
||||
const string16& message_text,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue