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

Side by Side Diff: Source/modules/notifications/Notification.h

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/notifications/Notification.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 * Copyright (C) 2009, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2009, 2011, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 29 matching lines...) Expand all
40 #include "wtf/RefCounted.h" 40 #include "wtf/RefCounted.h"
41 41
42 namespace WebCore { 42 namespace WebCore {
43 43
44 class Dictionary; 44 class Dictionary;
45 class ExecutionContext; 45 class ExecutionContext;
46 class NotificationClient; 46 class NotificationClient;
47 class NotificationPermissionCallback; 47 class NotificationPermissionCallback;
48 48
49 class Notification FINAL : public RefCountedWillBeRefCountedGarbageCollected<Not ification>, public NotificationBase { 49 class Notification FINAL : public RefCountedWillBeRefCountedGarbageCollected<Not ification>, public NotificationBase {
50 DECLARE_GC_INFO;
51 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<N otification>); 50 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<N otification>);
52 51
53 public: 52 public:
54 static PassRefPtrWillBeRawPtr<Notification> create(ExecutionContext*, const String& title, const Dictionary& options); 53 static PassRefPtrWillBeRawPtr<Notification> create(ExecutionContext*, const String& title, const Dictionary& options);
55 54
56 virtual ~Notification(); 55 virtual ~Notification();
57 56
58 static const String& permission(ExecutionContext*); 57 static const String& permission(ExecutionContext*);
59 static void requestPermission(ExecutionContext*, PassOwnPtr<NotificationPerm issionCallback> = nullptr); 58 static void requestPermission(ExecutionContext*, PassOwnPtr<NotificationPerm issionCallback> = nullptr);
60 59
(...skipping 10 matching lines...) Expand all
71 Notification(ExecutionContext*, const String& title, NotificationClient*); 70 Notification(ExecutionContext*, const String& title, NotificationClient*);
72 71
73 void showSoon(); 72 void showSoon();
74 73
75 OwnPtr<AsyncMethodRunner<Notification> > m_asyncRunner; 74 OwnPtr<AsyncMethodRunner<Notification> > m_asyncRunner;
76 }; 75 };
77 76
78 } // namespace WebCore 77 } // namespace WebCore
79 78
80 #endif // Notifications_h 79 #endif // Notifications_h
OLDNEW
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/notifications/Notification.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698