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

Side by Side Diff: Source/core/frame/DOMWindow.cpp

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
« no previous file with comments | « Source/core/fileapi/File.cpp ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 RefPtr<SerializedScriptValue> m_message; 142 RefPtr<SerializedScriptValue> m_message;
143 String m_origin; 143 String m_origin;
144 RefPtr<DOMWindow> m_source; 144 RefPtr<DOMWindow> m_source;
145 OwnPtr<MessagePortChannelArray> m_channels; 145 OwnPtr<MessagePortChannelArray> m_channels;
146 RefPtr<SecurityOrigin> m_targetOrigin; 146 RefPtr<SecurityOrigin> m_targetOrigin;
147 RefPtr<ScriptCallStack> m_stackTrace; 147 RefPtr<ScriptCallStack> m_stackTrace;
148 }; 148 };
149 149
150 static void disableSuddenTermination() 150 static void disableSuddenTermination()
151 { 151 {
152 WebKit::Platform::current()->suddenTerminationChanged(false); 152 blink::Platform::current()->suddenTerminationChanged(false);
153 } 153 }
154 154
155 static void enableSuddenTermination() 155 static void enableSuddenTermination()
156 { 156 {
157 WebKit::Platform::current()->suddenTerminationChanged(true); 157 blink::Platform::current()->suddenTerminationChanged(true);
158 } 158 }
159 159
160 typedef HashCountedSet<DOMWindow*> DOMWindowSet; 160 typedef HashCountedSet<DOMWindow*> DOMWindowSet;
161 161
162 static DOMWindowSet& windowsWithUnloadEventListeners() 162 static DOMWindowSet& windowsWithUnloadEventListeners()
163 { 163 {
164 DEFINE_STATIC_LOCAL(DOMWindowSet, windowsWithUnloadEventListeners, ()); 164 DEFINE_STATIC_LOCAL(DOMWindowSet, windowsWithUnloadEventListeners, ());
165 return windowsWithUnloadEventListeners; 165 return windowsWithUnloadEventListeners;
166 } 166 }
167 167
(...skipping 1700 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 return static_cast<DOMWindowLifecycleNotifier&>(LifecycleContext::lifecycleN otifier()); 1868 return static_cast<DOMWindowLifecycleNotifier&>(LifecycleContext::lifecycleN otifier());
1869 } 1869 }
1870 1870
1871 PassOwnPtr<LifecycleNotifier<DOMWindow> > DOMWindow::createLifecycleNotifier() 1871 PassOwnPtr<LifecycleNotifier<DOMWindow> > DOMWindow::createLifecycleNotifier()
1872 { 1872 {
1873 return DOMWindowLifecycleNotifier::create(this); 1873 return DOMWindowLifecycleNotifier::create(this);
1874 } 1874 }
1875 1875
1876 1876
1877 } // namespace WebCore 1877 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/fileapi/File.cpp ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698