summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_install_ui_android.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_install_ui_android.h')
-rw-r--r--chrome/browser/extensions/extension_install_ui_android.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_install_ui_android.h b/chrome/browser/extensions/extension_install_ui_android.h
new file mode 100644
index 0000000..eb207ad
--- /dev/null
+++ b/chrome/browser/extensions/extension_install_ui_android.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2012 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_UI_ANDROID_H_
+#define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_ANDROID_H_
+#pragma once
+
+#include "chrome/browser/extensions/extension_install_ui.h"
+
+class InfoBarDelegate;
+class TabContentsWrapper;
+
+class ExtensionInstallUIAndroid : public ExtensionInstallUI {
+ public:
+ ExtensionInstallUIAndroid();
+ virtual ~ExtensionInstallUIAndroid();
+
+ // ExtensionInstallUI implementation:
+ virtual void OnInstallSuccess(const extensions::Extension* extension,
+ SkBitmap* icon);
+ virtual void OnInstallFailure(const string16& error);
+ virtual void SetSkipPostInstallUI(bool skip_ui);
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(ExtensionInstallUIAndroid);
+};
+
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_ANDROID_H_