OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
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 | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 #include "core/page/WindowFeatures.h" | 79 #include "core/page/WindowFeatures.h" |
80 #include "core/page/scrolling/ScrollingCoordinator.h" | 80 #include "core/page/scrolling/ScrollingCoordinator.h" |
81 #include "core/timing/DOMWindowPerformance.h" | 81 #include "core/timing/DOMWindowPerformance.h" |
82 #include "core/timing/Performance.h" | 82 #include "core/timing/Performance.h" |
83 #include "platform/EventDispatchForbiddenScope.h" | 83 #include "platform/EventDispatchForbiddenScope.h" |
84 #include "platform/WebFrameScheduler.h" | 84 #include "platform/WebFrameScheduler.h" |
85 #include "platform/weborigin/SecurityOrigin.h" | 85 #include "platform/weborigin/SecurityOrigin.h" |
86 #include "platform/weborigin/Suborigin.h" | 86 #include "platform/weborigin/Suborigin.h" |
87 #include "public/platform/Platform.h" | 87 #include "public/platform/Platform.h" |
88 #include "public/platform/WebScreenInfo.h" | 88 #include "public/platform/WebScreenInfo.h" |
| 89 #include "public/platform/site_engagement.mojom-blink.h" |
| 90 |
89 #include <memory> | 91 #include <memory> |
90 | 92 |
91 namespace blink { | 93 namespace blink { |
92 | 94 |
93 // Timeout for link preloads to be used after window.onload | 95 // Timeout for link preloads to be used after window.onload |
94 static const int unusedPreloadTimeoutInSeconds = 3; | 96 static const int unusedPreloadTimeoutInSeconds = 3; |
95 | 97 |
96 class PostMessageTimer final | 98 class PostMessageTimer final |
97 : public GarbageCollectedFinalized<PostMessageTimer>, | 99 : public GarbageCollectedFinalized<PostMessageTimer>, |
98 public SuspendableTimer { | 100 public SuspendableTimer { |
(...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1615 DOMWindow::trace(visitor); | 1617 DOMWindow::trace(visitor); |
1616 Supplementable<LocalDOMWindow>::trace(visitor); | 1618 Supplementable<LocalDOMWindow>::trace(visitor); |
1617 } | 1619 } |
1618 | 1620 |
1619 DEFINE_TRACE_WRAPPERS(LocalDOMWindow) { | 1621 DEFINE_TRACE_WRAPPERS(LocalDOMWindow) { |
1620 visitor->traceWrappers(m_customElements); | 1622 visitor->traceWrappers(m_customElements); |
1621 DOMWindow::traceWrappers(visitor); | 1623 DOMWindow::traceWrappers(visitor); |
1622 } | 1624 } |
1623 | 1625 |
1624 } // namespace blink | 1626 } // namespace blink |
OLD | NEW |