| OLD | NEW |
| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "core/frame/PerformanceMonitor.h" | 45 #include "core/frame/PerformanceMonitor.h" |
| 46 #include "core/frame/UseCounter.h" | 46 #include "core/frame/UseCounter.h" |
| 47 #include "core/probe/CoreProbes.h" | 47 #include "core/probe/CoreProbes.h" |
| 48 #include "modules/notifications/NotificationAction.h" | 48 #include "modules/notifications/NotificationAction.h" |
| 49 #include "modules/notifications/NotificationData.h" | 49 #include "modules/notifications/NotificationData.h" |
| 50 #include "modules/notifications/NotificationManager.h" | 50 #include "modules/notifications/NotificationManager.h" |
| 51 #include "modules/notifications/NotificationOptions.h" | 51 #include "modules/notifications/NotificationOptions.h" |
| 52 #include "modules/notifications/NotificationResourcesLoader.h" | 52 #include "modules/notifications/NotificationResourcesLoader.h" |
| 53 #include "platform/RuntimeEnabledFeatures.h" | 53 #include "platform/RuntimeEnabledFeatures.h" |
| 54 #include "platform/UserGestureIndicator.h" | 54 #include "platform/UserGestureIndicator.h" |
| 55 #include "platform/wtf/Assertions.h" |
| 56 #include "platform/wtf/Functional.h" |
| 55 #include "public/platform/Platform.h" | 57 #include "public/platform/Platform.h" |
| 56 #include "public/platform/WebSecurityOrigin.h" | 58 #include "public/platform/WebSecurityOrigin.h" |
| 57 #include "public/platform/modules/notifications/WebNotificationAction.h" | 59 #include "public/platform/modules/notifications/WebNotificationAction.h" |
| 58 #include "public/platform/modules/notifications/WebNotificationConstants.h" | 60 #include "public/platform/modules/notifications/WebNotificationConstants.h" |
| 59 #include "public/platform/modules/notifications/WebNotificationManager.h" | 61 #include "public/platform/modules/notifications/WebNotificationManager.h" |
| 60 #include "wtf/Assertions.h" | |
| 61 #include "wtf/Functional.h" | |
| 62 | 62 |
| 63 namespace blink { | 63 namespace blink { |
| 64 namespace { | 64 namespace { |
| 65 | 65 |
| 66 WebNotificationManager* GetNotificationManager() { | 66 WebNotificationManager* GetNotificationManager() { |
| 67 return Platform::Current()->GetNotificationManager(); | 67 return Platform::Current()->GetNotificationManager(); |
| 68 } | 68 } |
| 69 | 69 |
| 70 } // namespace | 70 } // namespace |
| 71 | 71 |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 } | 423 } |
| 424 | 424 |
| 425 DEFINE_TRACE(Notification) { | 425 DEFINE_TRACE(Notification) { |
| 426 visitor->Trace(prepare_show_method_runner_); | 426 visitor->Trace(prepare_show_method_runner_); |
| 427 visitor->Trace(loader_); | 427 visitor->Trace(loader_); |
| 428 EventTargetWithInlineData::Trace(visitor); | 428 EventTargetWithInlineData::Trace(visitor); |
| 429 ContextLifecycleObserver::Trace(visitor); | 429 ContextLifecycleObserver::Trace(visitor); |
| 430 } | 430 } |
| 431 | 431 |
| 432 } // namespace blink | 432 } // namespace blink |
| OLD | NEW |