OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_PROMPT_H_ | |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_PROMPT_H_ | |
7 | |
8 #include "chrome/browser/extensions/extension_install_prompt.h" | |
9 | |
10 class ExtensionPermissionsPrompt : public ExtensionInstallPrompt { | |
11 | |
12 public: | |
13 | |
14 explicit ExtensionPermissionsPrompt(content::WebContents* contents); | |
15 | |
16 // This *WILL* call Abort() on |delegate|. | |
asargent_no_longer_on_chrome
2013/03/20 21:46:30
do you mean it will *always* call InstallUIAbort,
Gaurav
2013/03/27 19:06:44
yes
| |
17 virtual void PermissionsDialog(Delegate* delegate, | |
asargent_no_longer_on_chrome
2013/03/20 21:46:30
Is this delegate a ExtensionInstallPrompt::Delegat
Gaurav
2013/03/27 19:06:44
Done.
| |
18 const extensions::Extension* extension); | |
19 | |
20 }; | |
21 | |
22 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_PROMPT_H_ | |
OLD | NEW |