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

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

Issue 847803002: Make ScriptStreamer and dependents Oilpan friendly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add ScriptSourceCode::isNull() comment Created 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/workers/WorkerGlobalScope.cpp ('k') | Source/platform/heap/Heap.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 /* 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 22 matching lines...) Expand all
33 33
34 #include "bindings/core/v8/ScriptWrappable.h" 34 #include "bindings/core/v8/ScriptWrappable.h"
35 #include "core/dom/Document.h" 35 #include "core/dom/Document.h"
36 #include "core/dom/ExecutionContext.h" 36 #include "core/dom/ExecutionContext.h"
37 #include "core/dom/ExecutionContextTask.h" 37 #include "core/dom/ExecutionContextTask.h"
38 #include "core/dom/ScopedWindowFocusAllowedIndicator.h" 38 #include "core/dom/ScopedWindowFocusAllowedIndicator.h"
39 #include "core/events/Event.h" 39 #include "core/events/Event.h"
40 #include "core/frame/UseCounter.h" 40 #include "core/frame/UseCounter.h"
41 #include "modules/notifications/NotificationOptions.h" 41 #include "modules/notifications/NotificationOptions.h"
42 #include "modules/notifications/NotificationPermissionClient.h" 42 #include "modules/notifications/NotificationPermissionClient.h"
43 #include "platform/UserGestureIndicator.h"
43 #include "public/platform/Platform.h" 44 #include "public/platform/Platform.h"
44 #include "public/platform/WebNotificationData.h" 45 #include "public/platform/WebNotificationData.h"
45 #include "public/platform/WebNotificationManager.h" 46 #include "public/platform/WebNotificationManager.h"
46 #include "public/platform/WebSerializedOrigin.h" 47 #include "public/platform/WebSerializedOrigin.h"
47 48
48 namespace blink { 49 namespace blink {
49 namespace { 50 namespace {
50 51
51 WebNotificationManager* notificationManager() 52 WebNotificationManager* notificationManager()
52 { 53 {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 return m_state == NotificationStateShowing || m_asyncRunner.isActive(); 255 return m_state == NotificationStateShowing || m_asyncRunner.isActive();
255 } 256 }
256 257
257 void Notification::trace(Visitor* visitor) 258 void Notification::trace(Visitor* visitor)
258 { 259 {
259 RefCountedGarbageCollectedEventTargetWithInlineData<Notification>::trace(vis itor); 260 RefCountedGarbageCollectedEventTargetWithInlineData<Notification>::trace(vis itor);
260 ActiveDOMObject::trace(visitor); 261 ActiveDOMObject::trace(visitor);
261 } 262 }
262 263
263 } // namespace blink 264 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/workers/WorkerGlobalScope.cpp ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698