diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-12 15:14:49 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-12 15:14:49 +0000 |
commit | c3bba9e954cd63e83e9c2e194b4c4d0441ecb221 (patch) | |
tree | 879a0f5cfbb4afa18ca6daa056be702969ff3884 /chrome/browser/extensions/extension_install_dialog.h | |
parent | 34349fdafbf6bb70f92a8e582c691ce93c5e940b (diff) | |
download | chromium_src-c3bba9e954cd63e83e9c2e194b4c4d0441ecb221.zip chromium_src-c3bba9e954cd63e83e9c2e194b4c4d0441ecb221.tar.gz chromium_src-c3bba9e954cd63e83e9c2e194b4c4d0441ecb221.tar.bz2 |
extensions: Introduce ShowExtensionInstallDialog function.
This is to start cleanning up the ExtensionInstallUI class.
BUG=66730
TEST=None
Review URL: http://codereview.chromium.org/6677011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_install_dialog.h')
-rw-r--r-- | chrome/browser/extensions/extension_install_dialog.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_install_dialog.h b/chrome/browser/extensions/extension_install_dialog.h new file mode 100644 index 0000000..3ac7df1 --- /dev/null +++ b/chrome/browser/extensions/extension_install_dialog.h @@ -0,0 +1,22 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_DIALOG_H_ +#define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_DIALOG_H_ +#pragma once + +#include "chrome/browser/extensions/extension_install_ui.h" + +class Extension; +class Profile; +class SkBitmap; + +// The implementations of this function are platform-specific. +void ShowExtensionInstallDialog(Profile* profile, + ExtensionInstallUI::Delegate* delegate, + const Extension* extension, + SkBitmap* icon, + ExtensionInstallUI::PromptType type); + +#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_DIALOG_H_ |