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

Unified Diff: Source/web/NotificationPresenterImpl.h

Issue 135753002: Update web classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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 | « Source/web/MIDIClientProxy.h ('k') | Source/web/PinchViewports.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/NotificationPresenterImpl.h
diff --git a/Source/web/NotificationPresenterImpl.h b/Source/web/NotificationPresenterImpl.h
index 891619e966b23261ca38aeab9d8b6a2faeef8cae..085dea56cfa30f376c36e306b38a397489edea74 100644
--- a/Source/web/NotificationPresenterImpl.h
+++ b/Source/web/NotificationPresenterImpl.h
@@ -41,7 +41,7 @@ namespace blink {
class WebNotificationPresenter;
-class NotificationPresenterImpl : public WebCore::NotificationClient {
+class NotificationPresenterImpl FINAL : public WebCore::NotificationClient {
public:
NotificationPresenterImpl() : m_presenter(0) { }
@@ -49,14 +49,14 @@ public:
bool isInitialized();
// WebCore::NotificationPresenter implementation.
- virtual bool show(WebCore::NotificationBase*);
- virtual void cancel(WebCore::NotificationBase*);
- virtual void notificationObjectDestroyed(WebCore::NotificationBase*);
- virtual WebCore::NotificationClient::Permission checkPermission(WebCore::ExecutionContext*);
+ virtual bool show(WebCore::NotificationBase*) OVERRIDE;
+ virtual void cancel(WebCore::NotificationBase*) OVERRIDE;
+ virtual void notificationObjectDestroyed(WebCore::NotificationBase*) OVERRIDE;
+ virtual WebCore::NotificationClient::Permission checkPermission(WebCore::ExecutionContext*) OVERRIDE;
#if ENABLE(LEGACY_NOTIFICATIONS)
- virtual void requestPermission(WebCore::ExecutionContext*, WTF::PassOwnPtr<WebCore::VoidCallback>);
+ virtual void requestPermission(WebCore::ExecutionContext*, WTF::PassOwnPtr<WebCore::VoidCallback>) OVERRIDE;
#endif
- virtual void requestPermission(WebCore::ExecutionContext*, WTF::PassOwnPtr<WebCore::NotificationPermissionCallback>);
+ virtual void requestPermission(WebCore::ExecutionContext*, WTF::PassOwnPtr<WebCore::NotificationPermissionCallback>) OVERRIDE;
private:
// WebNotificationPresenter that this object delegates to.
« no previous file with comments | « Source/web/MIDIClientProxy.h ('k') | Source/web/PinchViewports.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698