OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_JAVASCRIPT_DIALOGS_JAVASCRIPT_DIALOG_H_ |
| 6 #define CHROME_BROWSER_UI_JAVASCRIPT_DIALOGS_JAVASCRIPT_DIALOG_H_ |
| 7 |
| 8 class JavaScriptDialog { |
| 9 public: |
| 10 virtual ~JavaScriptDialog(); |
| 11 |
| 12 // Closes the dialog without sending a callback. This is useful when the |
| 13 // JavaScriptDialogTabHelper needs to make this dialog go away so that it can |
| 14 // respond to a call that requires it to make no callback or make a customized |
| 15 // one. |
| 16 virtual void CloseDialogWithoutCallback() = 0; |
| 17 }; |
| 18 |
| 19 #endif // CHROME_BROWSER_UI_JAVASCRIPT_DIALOGS_JAVASCRIPT_DIALOG_H_ |
OLD | NEW |