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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/extensions/chrome/DEPS ('k') | athena/extensions/chrome/athena_extension_install_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/extensions/chrome/athena_extension_install_ui.h
diff --git a/athena/extensions/chrome/athena_extension_install_ui.h b/athena/extensions/chrome/athena_extension_install_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..c0035586f8dfa7c78194f00888405b88b5b31a13
--- /dev/null
+++ b/athena/extensions/chrome/athena_extension_install_ui.h
@@ -0,0 +1,27 @@
+// Copyright 2014 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 ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_
+#define ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "chrome/browser/extensions/extension_install_ui.h"
+
oshima 2014/10/10 15:36:16 namespace athena
+class AthenaExtensionInstallUI : public ExtensionInstallUI {
+ public:
+ explicit AthenaExtensionInstallUI(Profile* profile);
+ virtual ~AthenaExtensionInstallUI();
+
+ // ExtensionInstallUI:
+ virtual void OnInstallSuccess(const extensions::Extension* extension,
+ const SkBitmap* icon) OVERRIDE;
+ virtual void OnInstallFailure(
+ const extensions::CrxInstallerError& error) OVERRIDE;
+ virtual void SetUseAppInstalledBubble(bool use_bubble) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(AthenaExtensionInstallUI);
+};
+
+#endif // ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_
« no previous file with comments | « athena/extensions/chrome/DEPS ('k') | athena/extensions/chrome/athena_extension_install_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698