OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_DIALOG_H_ | |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_DIALOG_H_ | |
7 | |
8 #include <vector> | |
9 | |
10 #include "base/memory/ref_counted.h" | |
11 #include "base/string16.h" | |
12 #include "chrome/browser/extensions/extension_install_prompt.h" | |
13 | |
14 namespace base { | |
15 class DictionaryValue; | |
16 } | |
17 | |
18 void ShowExtensionInstallDialog(gfx::NativeWindow parent, | |
19 content::PageNavigator* navigator, | |
20 ExtensionInstallPrompt::Delegate* delegate, | |
21 const ExtensionInstallPrompt::Prompt& prompt); | |
22 | |
23 // The implementations of this function are platform-specific. | |
24 void ShowExtensionInstallDialogImpl( | |
25 gfx::NativeWindow parent, | |
26 content::PageNavigator* navigator, | |
27 ExtensionInstallPrompt::Delegate* delegate, | |
28 const ExtensionInstallPrompt::Prompt& prompt); | |
29 | |
30 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_DIALOG_H_ | |
OLD | NEW |