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 CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 UNSET_PROMPT_TYPE = -1, | 68 UNSET_PROMPT_TYPE = -1, |
69 INSTALL_PROMPT = 0, | 69 INSTALL_PROMPT = 0, |
70 INLINE_INSTALL_PROMPT, | 70 INLINE_INSTALL_PROMPT, |
71 BUNDLE_INSTALL_PROMPT, | 71 BUNDLE_INSTALL_PROMPT, |
72 RE_ENABLE_PROMPT, | 72 RE_ENABLE_PROMPT, |
73 PERMISSIONS_PROMPT, | 73 PERMISSIONS_PROMPT, |
74 EXTERNAL_INSTALL_PROMPT, | 74 EXTERNAL_INSTALL_PROMPT, |
75 POST_INSTALL_PERMISSIONS_PROMPT, | 75 POST_INSTALL_PERMISSIONS_PROMPT, |
76 LAUNCH_PROMPT, | 76 LAUNCH_PROMPT, |
77 REMOTE_INSTALL_PROMPT, | 77 REMOTE_INSTALL_PROMPT, |
| 78 REPAIR_PROMPT, |
78 NUM_PROMPT_TYPES | 79 NUM_PROMPT_TYPES |
79 }; | 80 }; |
80 | 81 |
81 // Enumeration for permissions and retained files details. | 82 // Enumeration for permissions and retained files details. |
82 enum DetailsType { | 83 enum DetailsType { |
83 PERMISSIONS_DETAILS = 0, | 84 PERMISSIONS_DETAILS = 0, |
84 WITHHELD_PERMISSIONS_DETAILS, | 85 WITHHELD_PERMISSIONS_DETAILS, |
85 RETAINED_FILES_DETAILS, | 86 RETAINED_FILES_DETAILS, |
86 }; | 87 }; |
87 | 88 |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 Delegate* delegate_; | 453 Delegate* delegate_; |
453 | 454 |
454 // A pre-filled prompt. | 455 // A pre-filled prompt. |
455 scoped_refptr<Prompt> prompt_; | 456 scoped_refptr<Prompt> prompt_; |
456 | 457 |
457 // Used to show the confirm dialog. | 458 // Used to show the confirm dialog. |
458 ShowDialogCallback show_dialog_callback_; | 459 ShowDialogCallback show_dialog_callback_; |
459 }; | 460 }; |
460 | 461 |
461 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ | 462 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ |
OLD | NEW |