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

Side by Side Diff: Source/web/NotificationPresenterImpl.h

Issue 634893002: Replace OVERRIDE and FINAL with override and final in WebKit/public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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
« no previous file with comments | « Source/web/NotificationPermissionClientImpl.cpp ('k') | Source/web/PageOverlay.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 19 matching lines...) Expand all
30 30
31 #ifndef NotificationPresenterImpl_h 31 #ifndef NotificationPresenterImpl_h
32 #define NotificationPresenterImpl_h 32 #define NotificationPresenterImpl_h
33 33
34 #include "modules/notifications/NotificationClient.h" 34 #include "modules/notifications/NotificationClient.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class WebNotificationPresenter; 38 class WebNotificationPresenter;
39 39
40 class NotificationPresenterImpl FINAL : public NotificationClient { 40 class NotificationPresenterImpl final : public NotificationClient {
41 public: 41 public:
42 NotificationPresenterImpl(); 42 NotificationPresenterImpl();
43 43
44 void initialize(WebNotificationPresenter* presenter); 44 void initialize(WebNotificationPresenter* presenter);
45 bool isInitialized(); 45 bool isInitialized();
46 46
47 // NotificationClient: 47 // NotificationClient:
48 virtual bool show(Notification*) OVERRIDE; 48 virtual bool show(Notification*) override;
49 virtual void close(Notification*) OVERRIDE; 49 virtual void close(Notification*) override;
50 virtual void notificationObjectDestroyed(Notification*) OVERRIDE; 50 virtual void notificationObjectDestroyed(Notification*) override;
51 virtual NotificationClient::Permission checkPermission(ExecutionContext*) OV ERRIDE; 51 virtual NotificationClient::Permission checkPermission(ExecutionContext*) ov erride;
52 52
53 private: 53 private:
54 // WebNotificationPresenter that this object delegates to. 54 // WebNotificationPresenter that this object delegates to.
55 WebNotificationPresenter* m_presenter; 55 WebNotificationPresenter* m_presenter;
56 }; 56 };
57 57
58 } // namespace blink 58 } // namespace blink
59 59
60 #endif // NotificationPresenterImpl_h 60 #endif // NotificationPresenterImpl_h
OLDNEW
« no previous file with comments | « Source/web/NotificationPermissionClientImpl.cpp ('k') | Source/web/PageOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698