Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 COMPONENTS_APP_MODAL_DIALOGS_NATIVE_APP_MODAL_DIALOG_H_ | 5 #ifndef COMPONENTS_APP_MODAL_DIALOGS_NATIVE_APP_MODAL_DIALOG_H_ |
| 6 #define COMPONENTS_APP_MODAL_DIALOGS_NATIVE_APP_MODAL_DIALOG_H_ | 6 #define COMPONENTS_APP_MODAL_DIALOGS_NATIVE_APP_MODAL_DIALOG_H_ |
| 7 | 7 |
| 8 #include "ui/gfx/native_widget_types.h" | 8 #include "ui/gfx/native_widget_types.h" |
| 9 | 9 |
| 10 class JavaScriptAppModalDialog; | 10 class JavaScriptAppModalDialog; |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 21 // Activates the dialog. | 21 // Activates the dialog. |
| 22 virtual void ActivateAppModalDialog() = 0; | 22 virtual void ActivateAppModalDialog() = 0; |
| 23 | 23 |
| 24 // Closes the dialog. | 24 // Closes the dialog. |
| 25 virtual void CloseAppModalDialog() = 0; | 25 virtual void CloseAppModalDialog() = 0; |
| 26 | 26 |
| 27 // Accepts or cancels the dialog. | 27 // Accepts or cancels the dialog. |
| 28 virtual void AcceptAppModalDialog() = 0; | 28 virtual void AcceptAppModalDialog() = 0; |
| 29 virtual void CancelAppModalDialog() = 0; | 29 virtual void CancelAppModalDialog() = 0; |
| 30 | 30 |
| 31 /* | |
| 31 // Creates an app modal dialog for a JavaScript prompt. | 32 // Creates an app modal dialog for a JavaScript prompt. |
| 32 static NativeAppModalDialog* CreateNativeJavaScriptPrompt( | 33 static NativeAppModalDialog* CreateNativeJavaScriptPrompt( |
| 33 JavaScriptAppModalDialog* dialog, | 34 JavaScriptAppModalDialog* dialog, |
| 34 gfx::NativeWindow parent_window); | 35 gfx::NativeWindow parent_window); |
| 36 */ | |
|
Avi (use Gerrit)
2014/10/29 17:40:57
Don't commit commented-out code.
oshima
2014/10/31 15:54:45
oops sorry. done.
| |
| 35 }; | 37 }; |
| 36 | 38 |
| 37 #endif // COMPONENTS_APP_MODAL_DIALOGS_NATIVE_APP_MODAL_DIALOG_H_ | 39 #endif // COMPONENTS_APP_MODAL_DIALOGS_NATIVE_APP_MODAL_DIALOG_H_ |
| OLD | NEW |