summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_install_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_install_dialog.h')
-rw-r--r--chrome/browser/extensions/extension_install_dialog.h22
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_