Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: components/app_modal/javascript_app_modal_dialog.h

Issue 735473002: Rename app_modal_dialogs dir to app_modal (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_DIALOGS_JAVASCRIPT_APP_MODAL_DIALOG_H_ 5 #ifndef COMPONENTS_APP_MODAL_JAVASCRIPT_APP_MODAL_DIALOG_H_
6 #define COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_APP_MODAL_DIALOG_H_ 6 #define COMPONENTS_APP_MODAL_JAVASCRIPT_APP_MODAL_DIALOG_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "components/app_modal_dialogs/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 // Extra data for JavaScript dialogs to add Chrome-only features. 16 // Extra data for JavaScript dialogs to add Chrome-only features.
17 class ChromeJavaScriptDialogExtraData { 17 class ChromeJavaScriptDialogExtraData {
18 public: 18 public:
19 ChromeJavaScriptDialogExtraData(); 19 ChromeJavaScriptDialogExtraData();
20 20
21 // The time that the last JavaScript dialog was dismissed. 21 // The time that the last JavaScript dialog was dismissed.
22 base::TimeTicks last_javascript_message_dismissal_; 22 base::TimeTicks last_javascript_message_dismissal_;
23 23
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 content::JavaScriptDialogManager::DialogClosedCallback callback_; 91 content::JavaScriptDialogManager::DialogClosedCallback callback_;
92 92
93 // Used only for testing. Specifies alternative prompt text that should be 93 // Used only for testing. Specifies alternative prompt text that should be
94 // used when notifying the delegate, if |use_override_prompt_text_| is true. 94 // used when notifying the delegate, if |use_override_prompt_text_| is true.
95 base::string16 override_prompt_text_; 95 base::string16 override_prompt_text_;
96 bool use_override_prompt_text_; 96 bool use_override_prompt_text_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialog); 98 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialog);
99 }; 99 };
100 100
101 #endif // COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_APP_MODAL_DIALOG_H_ 101 #endif // COMPONENTS_APP_MODAL_JAVASCRIPT_APP_MODAL_DIALOG_H_
OLDNEW
« no previous file with comments | « components/app_modal/app_modal_dialog_queue.cc ('k') | components/app_modal/javascript_app_modal_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698