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

Side by Side Diff: chrome/browser/ui/extensions/extension_installed_bubble.h

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_ 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_
6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_ 6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/scoped_observer.h" 9 #include "base/scoped_observer.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Stop listening to NOTIFICATION_BROWSER_CLOSING. 68 // Stop listening to NOTIFICATION_BROWSER_CLOSING.
69 void IgnoreBrowserClosing(); 69 void IgnoreBrowserClosing();
70 70
71 private: 71 private:
72 // Delegates showing the view to our |view_|. Called internally via PostTask. 72 // Delegates showing the view to our |view_|. Called internally via PostTask.
73 void ShowInternal(); 73 void ShowInternal();
74 74
75 // content::NotificationObserver: 75 // content::NotificationObserver:
76 virtual void Observe(int type, 76 virtual void Observe(int type,
77 const content::NotificationSource& source, 77 const content::NotificationSource& source,
78 const content::NotificationDetails& details) OVERRIDE; 78 const content::NotificationDetails& details) override;
79 79
80 // extensions::ExtensionRegistryObserver: 80 // extensions::ExtensionRegistryObserver:
81 virtual void OnExtensionLoaded( 81 virtual void OnExtensionLoaded(
82 content::BrowserContext* browser_context, 82 content::BrowserContext* browser_context,
83 const extensions::Extension* extension) OVERRIDE; 83 const extensions::Extension* extension) override;
84 virtual void OnExtensionUnloaded( 84 virtual void OnExtensionUnloaded(
85 content::BrowserContext* browser_context, 85 content::BrowserContext* browser_context,
86 const extensions::Extension* extension, 86 const extensions::Extension* extension,
87 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE; 87 extensions::UnloadedExtensionInfo::Reason reason) override;
88 88
89 // The view delegate that shows the bubble. Owns us. 89 // The view delegate that shows the bubble. Owns us.
90 Delegate* delegate_; 90 Delegate* delegate_;
91 91
92 // |extension_| is NULL when we are deleted. 92 // |extension_| is NULL when we are deleted.
93 const extensions::Extension* extension_; 93 const extensions::Extension* extension_;
94 Browser* browser_; 94 Browser* browser_;
95 const SkBitmap icon_; 95 const SkBitmap icon_;
96 BubbleType type_; 96 BubbleType type_;
97 content::NotificationRegistrar registrar_; 97 content::NotificationRegistrar registrar_;
98 98
99 // Listen to extension load, unloaded notifications. 99 // Listen to extension load, unloaded notifications.
100 ScopedObserver<extensions::ExtensionRegistry, 100 ScopedObserver<extensions::ExtensionRegistry,
101 extensions::ExtensionRegistryObserver> 101 extensions::ExtensionRegistryObserver>
102 extension_registry_observer_; 102 extension_registry_observer_;
103 103
104 // The number of times to retry showing the bubble if the browser action 104 // The number of times to retry showing the bubble if the browser action
105 // toolbar is animating. 105 // toolbar is animating.
106 int animation_wait_retries_; 106 int animation_wait_retries_;
107 107
108 base::WeakPtrFactory<ExtensionInstalledBubble> weak_factory_; 108 base::WeakPtrFactory<ExtensionInstalledBubble> weak_factory_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(ExtensionInstalledBubble); 110 DISALLOW_COPY_AND_ASSIGN(ExtensionInstalledBubble);
111 }; 111 };
112 112
113 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_ 113 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/extensions/extension_install_ui_default.cc ('k') | chrome/browser/ui/external_protocol_dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698