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

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

Issue 1326693003: Revert of Make classes and structures in web fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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/MediaKeysClientImpl.h ('k') | Source/web/OpenedFrameTracker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 NotificationPermissionClientImpl_h 5 #ifndef NotificationPermissionClientImpl_h
6 #define NotificationPermissionClientImpl_h 6 #define NotificationPermissionClientImpl_h
7 7
8 #include "modules/notifications/NotificationPermissionClient.h" 8 #include "modules/notifications/NotificationPermissionClient.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class NotificationPermissionClientImpl : public NoBaseWillBeGarbageCollectedFina lized<NotificationPermissionClientImpl>, public NotificationPermissionClient { 13 class NotificationPermissionClientImpl : public NoBaseWillBeGarbageCollectedFina lized<NotificationPermissionClientImpl>, public NotificationPermissionClient {
14 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NotificationPermissionClientImpl); 14 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NotificationPermissionClientImpl);
15 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(NotificationPermissionClientImpl);
16 public: 15 public:
17 static PassOwnPtrWillBeRawPtr<NotificationPermissionClientImpl> create(); 16 static PassOwnPtrWillBeRawPtr<NotificationPermissionClientImpl> create();
18 17
19 ~NotificationPermissionClientImpl() override; 18 ~NotificationPermissionClientImpl() override;
20 19
21 // NotificationPermissionClient implementation. 20 // NotificationPermissionClient implementation.
22 ScriptPromise requestPermission(ScriptState*, NotificationPermissionCallback *) override; 21 ScriptPromise requestPermission(ScriptState*, NotificationPermissionCallback *) override;
23 22
24 // NoBaseWillBeGarbageCollectedFinalized implementation. 23 // NoBaseWillBeGarbageCollectedFinalized implementation.
25 DEFINE_INLINE_VIRTUAL_TRACE() { NotificationPermissionClient::trace(visitor) ; } 24 DEFINE_INLINE_VIRTUAL_TRACE() { NotificationPermissionClient::trace(visitor) ; }
26 25
27 private: 26 private:
28 NotificationPermissionClientImpl(); 27 NotificationPermissionClientImpl();
29 }; 28 };
30 29
31 } // namespace blink 30 } // namespace blink
32 31
33 #endif // NotificationPermissionClientImpl_h 32 #endif // NotificationPermissionClientImpl_h
OLDNEW
« no previous file with comments | « Source/web/MediaKeysClientImpl.h ('k') | Source/web/OpenedFrameTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698