OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_JAVASCRIPT_DIALOG_MANAGER_
H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_JAVASCRIPT_DIALOG_MANAGER_
H_ |
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_JAVASCRIPT_DIALOG_MANAGER_
H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_JAVASCRIPT_DIALOG_MANAGER_
H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 void RunJavaScriptDialog(WebContents* web_contents, | 22 void RunJavaScriptDialog(WebContents* web_contents, |
23 const GURL& origin_url, | 23 const GURL& origin_url, |
24 const std::string& accept_lang, | 24 const std::string& accept_lang, |
25 JavaScriptMessageType javascript_message_type, | 25 JavaScriptMessageType javascript_message_type, |
26 const base::string16& message_text, | 26 const base::string16& message_text, |
27 const base::string16& default_prompt_text, | 27 const base::string16& default_prompt_text, |
28 const DialogClosedCallback& callback, | 28 const DialogClosedCallback& callback, |
29 bool* did_suppress_message) override; | 29 bool* did_suppress_message) override; |
30 | 30 |
31 void RunBeforeUnloadDialog(WebContents* web_contents, | 31 void RunBeforeUnloadDialog(WebContents* web_contents, |
32 const base::string16& message_text, | |
33 bool is_reload, | 32 bool is_reload, |
34 const DialogClosedCallback& callback) override; | 33 const DialogClosedCallback& callback) override; |
35 | 34 |
36 private: | 35 private: |
37 DISALLOW_COPY_AND_ASSIGN(LayoutTestJavaScriptDialogManager); | 36 DISALLOW_COPY_AND_ASSIGN(LayoutTestJavaScriptDialogManager); |
38 }; | 37 }; |
39 | 38 |
40 } // namespace content | 39 } // namespace content |
41 | 40 |
42 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_JAVASCRIPT_DIALOG_MANAG
ER_H_ | 41 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_JAVASCRIPT_DIALOG_MANAG
ER_H_ |
OLD | NEW |