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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 using std::min; | 107 using std::min; |
108 using std::max; | 108 using std::max; |
109 | 109 |
110 namespace WebCore { | 110 namespace WebCore { |
111 | 111 |
112 class PostMessageTimer FINAL : public SuspendableTimer { | 112 class PostMessageTimer FINAL : public SuspendableTimer { |
113 public: | 113 public: |
114 PostMessageTimer(DOMWindow& window, PassRefPtr<SerializedScriptValue> messag
e, const String& sourceOrigin, PassRefPtrWillBeRawPtr<DOMWindow> source, PassOwn
Ptr<MessagePortChannelArray> channels, SecurityOrigin* targetOrigin, PassRefPtr<
ScriptCallStack> stackTrace, UserGestureToken* userGestureToken) | 114 PostMessageTimer(DOMWindow& window, PassRefPtr<SerializedScriptValue> messag
e, const String& sourceOrigin, PassRefPtrWillBeRawPtr<DOMWindow> source, PassOwn
Ptr<MessagePortChannelArray> channels, SecurityOrigin* targetOrigin, PassRefPtr<
ScriptCallStack> stackTrace, UserGestureToken* userGestureToken) |
115 : SuspendableTimer(window.document()) | 115 : SuspendableTimer(window.document()) |
116 , m_window(&window) | 116 , m_window(window) |
117 , m_message(message) | 117 , m_message(message) |
118 , m_origin(sourceOrigin) | 118 , m_origin(sourceOrigin) |
119 , m_source(source) | 119 , m_source(source) |
120 , m_channels(channels) | 120 , m_channels(channels) |
121 , m_targetOrigin(targetOrigin) | 121 , m_targetOrigin(targetOrigin) |
122 , m_stackTrace(stackTrace) | 122 , m_stackTrace(stackTrace) |
123 , m_userGestureToken(userGestureToken) | 123 , m_userGestureToken(userGestureToken) |
124 { | 124 { |
125 } | 125 } |
126 | 126 |
(...skipping 1761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1888 visitor->trace(m_localStorage); | 1888 visitor->trace(m_localStorage); |
1889 visitor->trace(m_applicationCache); | 1889 visitor->trace(m_applicationCache); |
1890 visitor->trace(m_performance); | 1890 visitor->trace(m_performance); |
1891 visitor->trace(m_css); | 1891 visitor->trace(m_css); |
1892 #if ENABLE(OILPAN) | 1892 #if ENABLE(OILPAN) |
1893 HeapSupplementable<DOMWindow>::trace(visitor); | 1893 HeapSupplementable<DOMWindow>::trace(visitor); |
1894 #endif | 1894 #endif |
1895 } | 1895 } |
1896 | 1896 |
1897 } // namespace WebCore | 1897 } // namespace WebCore |
OLD | NEW |