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

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

Issue 563703002: Oilpan: Enable oilpan for callback classes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 String lang() const { return m_lang; } 73 String lang() const { return m_lang; }
74 String body() const { return m_body; } 74 String body() const { return m_body; }
75 String tag() const { return m_tag; } 75 String tag() const { return m_tag; }
76 String icon() const { return m_iconUrl; } 76 String icon() const { return m_iconUrl; }
77 77
78 TextDirection direction() const; 78 TextDirection direction() const;
79 KURL iconURL() const { return m_iconUrl; } 79 KURL iconURL() const { return m_iconUrl; }
80 80
81 static const String& permissionString(NotificationClient::Permission); 81 static const String& permissionString(NotificationClient::Permission);
82 static const String& permission(ExecutionContext*); 82 static const String& permission(ExecutionContext*);
83 static void requestPermission(ExecutionContext*, PassOwnPtrWillBeRawPtr<Noti ficationPermissionCallback> = nullptr); 83 static void requestPermission(ExecutionContext*, NotificationPermissionCallb ack* = nullptr);
84 84
85 // EventTarget interface. 85 // EventTarget interface.
86 virtual ExecutionContext* executionContext() const OVERRIDE FINAL { return A ctiveDOMObject::executionContext(); } 86 virtual ExecutionContext* executionContext() const OVERRIDE FINAL { return A ctiveDOMObject::executionContext(); }
87 virtual bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) OVERRIDE FINAL; 87 virtual bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) OVERRIDE FINAL;
88 virtual const AtomicString& interfaceName() const OVERRIDE; 88 virtual const AtomicString& interfaceName() const OVERRIDE;
89 89
90 // ActiveDOMObject interface. 90 // ActiveDOMObject interface.
91 virtual void stop() OVERRIDE; 91 virtual void stop() OVERRIDE;
92 virtual bool hasPendingActivity() const OVERRIDE; 92 virtual bool hasPendingActivity() const OVERRIDE;
93 93
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 NotificationState m_state; 125 NotificationState m_state;
126 126
127 NotificationClient* m_client; 127 NotificationClient* m_client;
128 128
129 AsyncMethodRunner<Notification> m_asyncRunner; 129 AsyncMethodRunner<Notification> m_asyncRunner;
130 }; 130 };
131 131
132 } // namespace blink 132 } // namespace blink
133 133
134 #endif // Notification_h 134 #endif // Notification_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/UserMediaRequest.cpp ('k') | Source/modules/notifications/Notification.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698