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

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

Issue 641683003: C++11 override style change for athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 years, 1 month 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_ 5 #ifndef ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_
6 #define ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_ 6 #define ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_
7 7
8 #include "extensions/browser/install/extension_install_ui.h" 8 #include "extensions/browser/install/extension_install_ui.h"
9 9
10 namespace content { 10 namespace content {
11 class BrowserContext; 11 class BrowserContext;
12 } 12 }
13 13
14 namespace athena { 14 namespace athena {
15 15
16 class AthenaExtensionInstallUI : public extensions::ExtensionInstallUI { 16 class AthenaExtensionInstallUI : public extensions::ExtensionInstallUI {
17 public: 17 public:
18 AthenaExtensionInstallUI(); 18 AthenaExtensionInstallUI();
19 virtual ~AthenaExtensionInstallUI(); 19 ~AthenaExtensionInstallUI() override;
20 20
21 // ExtensionInstallUI: 21 // ExtensionInstallUI:
22 virtual void OnInstallSuccess(const extensions::Extension* extension, 22 void OnInstallSuccess(const extensions::Extension* extension,
23 const SkBitmap* icon) override; 23 const SkBitmap* icon) override;
24 virtual void OnInstallFailure( 24 void OnInstallFailure(const extensions::CrxInstallerError& error) override;
25 const extensions::CrxInstallerError& error) override; 25 void SetUseAppInstalledBubble(bool use_bubble) override;
26 virtual void SetUseAppInstalledBubble(bool use_bubble) override; 26 void OpenAppInstalledUI(const std::string& app_id) override;
27 virtual void OpenAppInstalledUI(const std::string& app_id) override; 27 void SetSkipPostInstallUI(bool skip_ui) override;
28 virtual void SetSkipPostInstallUI(bool skip_ui) override; 28 gfx::NativeWindow GetDefaultInstallDialogParent() override;
29 virtual gfx::NativeWindow GetDefaultInstallDialogParent() override;
30 29
31 private: 30 private:
32 // Whether or not to show the default UI after completing the installation. 31 // Whether or not to show the default UI after completing the installation.
33 bool skip_post_install_ui_; 32 bool skip_post_install_ui_;
34 33
35 DISALLOW_COPY_AND_ASSIGN(AthenaExtensionInstallUI); 34 DISALLOW_COPY_AND_ASSIGN(AthenaExtensionInstallUI);
36 }; 35 };
37 36
38 } // namespace athena 37 } // namespace athena
39 38
40 #endif // ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_ 39 #endif // ATHENA_EXTENSIONS_CHROME_ATHENA_EXTENSION_INSTALL_UI_H_
OLDNEW
« no previous file with comments | « athena/extensions/chrome/athena_chrome_app_window_client.h ('k') | athena/extensions/chrome/athena_extension_install_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698