OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_ |
| 6 #define ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_ |
| 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "chrome/browser/extensions/extension_install_ui.h" |
| 10 |
| 11 class AthenaExtensionInstallUI : public ExtensionInstallUI { |
| 12 public: |
| 13 explicit AthenaExtensionInstallUI(Profile* profile); |
| 14 virtual ~AthenaExtensionInstallUI(); |
| 15 |
| 16 // ExtensionInstallUI: |
| 17 virtual void OnInstallSuccess(const extensions::Extension* extension, |
| 18 const SkBitmap* icon) OVERRIDE; |
| 19 virtual void OnInstallFailure( |
| 20 const extensions::CrxInstallerError& error) OVERRIDE; |
| 21 virtual void SetUseAppInstalledBubble(bool use_bubble) OVERRIDE; |
| 22 |
| 23 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(AthenaExtensionInstallUI); |
| 25 }; |
| 26 |
| 27 #endif // ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_ |
OLD | NEW |