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

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

Issue 1115553002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 7 months 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
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/frame/NavigatorCPU.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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 RefPtrWillBeMember<MessageEvent> m_event; 151 RefPtrWillBeMember<MessageEvent> m_event;
152 RawPtrWillBeMember<LocalDOMWindow> m_window; 152 RawPtrWillBeMember<LocalDOMWindow> m_window;
153 RefPtr<SecurityOrigin> m_targetOrigin; 153 RefPtr<SecurityOrigin> m_targetOrigin;
154 RefPtrWillBeMember<ScriptCallStack> m_stackTrace; 154 RefPtrWillBeMember<ScriptCallStack> m_stackTrace;
155 RefPtr<UserGestureToken> m_userGestureToken; 155 RefPtr<UserGestureToken> m_userGestureToken;
156 int m_asyncOperationId; 156 int m_asyncOperationId;
157 }; 157 };
158 158
159 static void updateSuddenTerminationStatus(LocalDOMWindow* domWindow, bool addedL istener, FrameLoaderClient::SuddenTerminationDisablerType disablerType) 159 static void updateSuddenTerminationStatus(LocalDOMWindow* domWindow, bool addedL istener, FrameLoaderClient::SuddenTerminationDisablerType disablerType)
160 { 160 {
161 blink::Platform::current()->suddenTerminationChanged(!addedListener); 161 Platform::current()->suddenTerminationChanged(!addedListener);
162 if (domWindow->frame() && domWindow->frame()->loader().client()) 162 if (domWindow->frame() && domWindow->frame()->loader().client())
163 domWindow->frame()->loader().client()->suddenTerminationDisablerChanged( addedListener, disablerType); 163 domWindow->frame()->loader().client()->suddenTerminationDisablerChanged( addedListener, disablerType);
164 } 164 }
165 165
166 typedef HashCountedSet<LocalDOMWindow*> DOMWindowSet; 166 typedef HashCountedSet<LocalDOMWindow*> DOMWindowSet;
167 167
168 static DOMWindowSet& windowsWithUnloadEventListeners() 168 static DOMWindowSet& windowsWithUnloadEventListeners()
169 { 169 {
170 DEFINE_STATIC_LOCAL(DOMWindowSet, windowsWithUnloadEventListeners, ()); 170 DEFINE_STATIC_LOCAL(DOMWindowSet, windowsWithUnloadEventListeners, ());
171 return windowsWithUnloadEventListeners; 171 return windowsWithUnloadEventListeners;
(...skipping 1399 matching lines...) Expand 10 before | Expand all | Expand 10 after
1571 DOMWindow::trace(visitor); 1571 DOMWindow::trace(visitor);
1572 DOMWindowLifecycleNotifier::trace(visitor); 1572 DOMWindowLifecycleNotifier::trace(visitor);
1573 } 1573 }
1574 1574
1575 LocalFrame* LocalDOMWindow::frame() const 1575 LocalFrame* LocalDOMWindow::frame() const
1576 { 1576 {
1577 return m_frameObserver->frame(); 1577 return m_frameObserver->frame();
1578 } 1578 }
1579 1579
1580 } // namespace blink 1580 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/frame/NavigatorCPU.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698