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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2487403002: Allow navigations to frames that aren't being unloaded in the unload handler. (Closed)
Patch Set: fix test Created 4 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999-2001 Lars Knoll <knoll@kde.org> 3 * 1999-2001 Lars Knoll <knoll@kde.org>
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> 4 * 1999-2001 Antti Koivisto <koivisto@kde.org>
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> 5 * 2000-2001 Simon Hausmann <hausmann@kde.org>
6 * 2000-2001 Dirk Mueller <mueller@kde.org> 6 * 2000-2001 Dirk Mueller <mueller@kde.org>
7 * 2000 Stefan Schimanski <1Stein@gmx.de> 7 * 2000 Stefan Schimanski <1Stein@gmx.de>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
9 * reserved. 9 * reserved.
10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 bool isURLAllowed(const KURL&) const; 208 bool isURLAllowed(const KURL&) const;
209 bool shouldReuseDefaultView(const KURL&) const; 209 bool shouldReuseDefaultView(const KURL&) const;
210 void removeSpellingMarkersUnderWords(const Vector<String>& words); 210 void removeSpellingMarkersUnderWords(const Vector<String>& words);
211 211
212 bool shouldThrottleRendering() const; 212 bool shouldThrottleRendering() const;
213 213
214 // Returns the frame scheduler, creating one if needed. 214 // Returns the frame scheduler, creating one if needed.
215 WebFrameScheduler* frameScheduler(); 215 WebFrameScheduler* frameScheduler();
216 void scheduleVisualUpdateUnlessThrottled(); 216 void scheduleVisualUpdateUnlessThrottled();
217 217
218 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; } 218 bool isNavigationAllowed() const;
219 219
220 InterfaceProvider* interfaceProvider() { return m_interfaceProvider; } 220 InterfaceProvider* interfaceProvider() { return m_interfaceProvider; }
221 InterfaceRegistry* interfaceRegistry() { return m_interfaceRegistry; } 221 InterfaceRegistry* interfaceRegistry() { return m_interfaceRegistry; }
222 222
223 FrameLoaderClient* client() const; 223 FrameLoaderClient* client() const;
224 224
225 PluginData* pluginData() const; 225 PluginData* pluginData() const;
226 226
227 PerformanceMonitor* performanceMonitor() { return m_performanceMonitor; } 227 PerformanceMonitor* performanceMonitor() { return m_performanceMonitor; }
228 228
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 explicit ScopedFrameBlamer(LocalFrame*); 377 explicit ScopedFrameBlamer(LocalFrame*);
378 ~ScopedFrameBlamer(); 378 ~ScopedFrameBlamer();
379 379
380 private: 380 private:
381 Member<LocalFrame> m_frame; 381 Member<LocalFrame> m_frame;
382 }; 382 };
383 383
384 } // namespace blink 384 } // namespace blink
385 385
386 #endif // LocalFrame_h 386 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698