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

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

Issue 68093002: Remove duplicated headers from modules/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
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 20 matching lines...) Expand all
31 31
32 #include "config.h" 32 #include "config.h"
33 33
34 #include "modules/notifications/Notification.h" 34 #include "modules/notifications/Notification.h"
35 35
36 #include "bindings/v8/Dictionary.h" 36 #include "bindings/v8/Dictionary.h"
37 #include "bindings/v8/ExceptionMessages.h" 37 #include "bindings/v8/ExceptionMessages.h"
38 #include "bindings/v8/ExceptionState.h" 38 #include "bindings/v8/ExceptionState.h"
39 #include "core/dom/Document.h" 39 #include "core/dom/Document.h"
40 #include "core/events/ErrorEvent.h" 40 #include "core/events/ErrorEvent.h"
41 #include "core/events/ThreadLocalEventNames.h"
42 #include "core/frame/DOMWindow.h" 41 #include "core/frame/DOMWindow.h"
43 #include "core/loader/ThreadableLoader.h" 42 #include "core/loader/ThreadableLoader.h"
44 #include "core/page/WindowFocusAllowedIndicator.h" 43 #include "core/page/WindowFocusAllowedIndicator.h"
45 #include "core/workers/WorkerGlobalScope.h" 44 #include "core/workers/WorkerGlobalScope.h"
46 #include "modules/notifications/DOMWindowNotifications.h" 45 #include "modules/notifications/DOMWindowNotifications.h"
47 #include "modules/notifications/NotificationCenter.h" 46 #include "modules/notifications/NotificationCenter.h"
48 #include "modules/notifications/NotificationClient.h"
49 #include "modules/notifications/NotificationController.h" 47 #include "modules/notifications/NotificationController.h"
50 #include "modules/notifications/NotificationPermissionCallback.h" 48 #include "modules/notifications/NotificationPermissionCallback.h"
51 #include "platform/network/ResourceRequest.h" 49 #include "platform/network/ResourceRequest.h"
52 #include "platform/network/ResourceResponse.h" 50 #include "platform/network/ResourceResponse.h"
53 51
54 namespace WebCore { 52 namespace WebCore {
55 53
56 Notification::Notification() 54 Notification::Notification()
57 : ActiveDOMObject(0) 55 : ActiveDOMObject(0)
58 { 56 {
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 return deniedPermission; 245 return deniedPermission;
248 } 246 }
249 247
250 void Notification::requestPermission(ExecutionContext* context, PassRefPtr<Notif icationPermissionCallback> callback) 248 void Notification::requestPermission(ExecutionContext* context, PassRefPtr<Notif icationPermissionCallback> callback)
251 { 249 {
252 ASSERT(toDocument(context)->page()); 250 ASSERT(toDocument(context)->page());
253 NotificationController::from(toDocument(context)->page())->client()->request Permission(context, callback); 251 NotificationController::from(toDocument(context)->page())->client()->request Permission(context, callback);
254 } 252 }
255 253
256 } // namespace WebCore 254 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCStatsRequestImpl.cpp ('k') | Source/modules/quota/WorkerNavigatorStorageQuota.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698