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

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

Issue 872313003: Move Notification-related Blink API headers into their own directory. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 24 matching lines...) Expand all
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 "platform/UserGestureIndicator.h"
44 #include "public/platform/Platform.h" 44 #include "public/platform/Platform.h"
45 #include "public/platform/WebNotificationData.h"
46 #include "public/platform/WebNotificationManager.h"
47 #include "public/platform/WebSerializedOrigin.h" 45 #include "public/platform/WebSerializedOrigin.h"
46 #include "public/platform/modules/notifications/WebNotificationData.h"
47 #include "public/platform/modules/notifications/WebNotificationManager.h"
48 48
49 namespace blink { 49 namespace blink {
50 namespace { 50 namespace {
51 51
52 WebNotificationManager* notificationManager() 52 WebNotificationManager* notificationManager()
53 { 53 {
54 return Platform::current()->notificationManager(); 54 return Platform::current()->notificationManager();
55 } 55 }
56 56
57 } // namespace 57 } // namespace
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 return m_state == NotificationStateShowing || m_asyncRunner.isActive(); 251 return m_state == NotificationStateShowing || m_asyncRunner.isActive();
252 } 252 }
253 253
254 void Notification::trace(Visitor* visitor) 254 void Notification::trace(Visitor* visitor)
255 { 255 {
256 RefCountedGarbageCollectedEventTargetWithInlineData<Notification>::trace(vis itor); 256 RefCountedGarbageCollectedEventTargetWithInlineData<Notification>::trace(vis itor);
257 ActiveDOMObject::trace(visitor); 257 ActiveDOMObject::trace(visitor);
258 } 258 }
259 259
260 } // namespace blink 260 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698