Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: athena/extensions/chrome/athena_extension_install_ui.h

Issue 634313004: Display dialog when app install succeeds / fails on Athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 "chrome/browser/extensions/extension_install_ui.h"
9
10 namespace athena {
11
12 class AthenaExtensionInstallUI : public ExtensionInstallUI {
13 public:
14 explicit AthenaExtensionInstallUI(Profile* profile);
15 virtual ~AthenaExtensionInstallUI();
16
17 // ExtensionInstallUI:
18 virtual void OnInstallSuccess(const extensions::Extension* extension,
19 const SkBitmap* icon) override;
20 virtual void OnInstallFailure(
21 const extensions::CrxInstallerError& error) override;
22 virtual void SetUseAppInstalledBubble(bool use_bubble) override;
23 virtual void OpenAppInstalledUI(const std::string& app_id) override;
24 virtual ExtensionInstallPrompt* CreateInstallPrompt() override;
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(AthenaExtensionInstallUI);
28 };
29
30 } // namespace athena
31
32 #endif // ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698