1 // Copyright 2014 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.
5 #ifndef ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_
6 #define ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_
8 #include "extensions/browser/install/extension_install_ui.h"
16 class AthenaExtensionInstallUI : public extensions::ExtensionInstallUI {
18 AthenaExtensionInstallUI();
19 ~AthenaExtensionInstallUI() override;
21 // ExtensionInstallUI:
22 void OnInstallSuccess(const extensions::Extension* extension,
23 const SkBitmap* icon) override;
24 void OnInstallFailure(const extensions::CrxInstallerError& error) override;
25 void SetUseAppInstalledBubble(bool use_bubble) override;
26 void OpenAppInstalledUI(const std::string& app_id) override;
27 void SetSkipPostInstallUI(bool skip_ui) override;
28 gfx::NativeWindow GetDefaultInstallDialogParent() override;
31 // Whether or not to show the default UI after completing the installation.
32 bool skip_post_install_ui_;
34 DISALLOW_COPY_AND_ASSIGN(AthenaExtensionInstallUI);
39 #endif // ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_