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 CHROME_BROWSER_UI_APP_MODAL_DIALOGS_APP_MODAL_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_MODAL_DIALOGS_APP_MODAL_DIALOG_H_ |
6 #define CHROME_BROWSER_UI_APP_MODAL_DIALOGS_APP_MODAL_DIALOG_H_ | 6 #define CHROME_BROWSER_UI_APP_MODAL_DIALOGS_APP_MODAL_DIALOG_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 // The toolkit-specific implementation of the app modal dialog box. | 76 // The toolkit-specific implementation of the app modal dialog box. |
77 NativeAppModalDialog* native_dialog_; | 77 NativeAppModalDialog* native_dialog_; |
78 | 78 |
79 private: | 79 private: |
80 // Information about the message box is held in the following variables. | 80 // Information about the message box is held in the following variables. |
81 string16 title_; | 81 string16 title_; |
82 | 82 |
83 content::WebContents* web_contents_; | 83 content::WebContents* web_contents_; |
84 | 84 |
| 85 // True if CompleteDialog was called. |
| 86 bool completed_; |
| 87 |
85 DISALLOW_COPY_AND_ASSIGN(AppModalDialog); | 88 DISALLOW_COPY_AND_ASSIGN(AppModalDialog); |
86 }; | 89 }; |
87 | 90 |
88 #endif // CHROME_BROWSER_UI_APP_MODAL_DIALOGS_APP_MODAL_DIALOG_H_ | 91 #endif // CHROME_BROWSER_UI_APP_MODAL_DIALOGS_APP_MODAL_DIALOG_H_ |
OLD | NEW |