| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_JAVASCRIPT_APP_MODAL_DIALOG_H_ | 5 #ifndef COMPONENTS_APP_MODAL_JAVASCRIPT_APP_MODAL_DIALOG_H_ |
| 6 #define COMPONENTS_APP_MODAL_JAVASCRIPT_APP_MODAL_DIALOG_H_ | 6 #define COMPONENTS_APP_MODAL_JAVASCRIPT_APP_MODAL_DIALOG_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | |
| 12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
| 13 #include "components/app_modal/app_modal_dialog.h" | 13 #include "components/app_modal/app_modal_dialog.h" |
| 14 #include "content/public/browser/javascript_dialog_manager.h" | 14 #include "content/public/browser/javascript_dialog_manager.h" |
| 15 | 15 |
| 16 namespace app_modal { | 16 namespace app_modal { |
| 17 | 17 |
| 18 // Extra data for JavaScript dialogs to add Chrome-only features. | 18 // Extra data for JavaScript dialogs to add Chrome-only features. |
| 19 class ChromeJavaScriptDialogExtraData { | 19 class ChromeJavaScriptDialogExtraData { |
| 20 public: | 20 public: |
| 21 ChromeJavaScriptDialogExtraData(); | 21 ChromeJavaScriptDialogExtraData(); |
| 22 | 22 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // used when notifying the delegate, if |use_override_prompt_text_| is true. | 101 // used when notifying the delegate, if |use_override_prompt_text_| is true. |
| 102 base::string16 override_prompt_text_; | 102 base::string16 override_prompt_text_; |
| 103 bool use_override_prompt_text_; | 103 bool use_override_prompt_text_; |
| 104 | 104 |
| 105 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialog); | 105 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialog); |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 } // namespace app_modal | 108 } // namespace app_modal |
| 109 | 109 |
| 110 #endif // COMPONENTS_APP_MODAL_JAVASCRIPT_APP_MODAL_DIALOG_H_ | 110 #endif // COMPONENTS_APP_MODAL_JAVASCRIPT_APP_MODAL_DIALOG_H_ |
| OLD | NEW |