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

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

Issue 2528813002: Fix Self-Referencing OOPIF Infinite Loop (Closed)
Patch Set: refactor allowedToLoadFrame conditional Created 3 years, 10 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
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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 197
198 String selectedText() const; 198 String selectedText() const;
199 String selectedTextForClipboard() const; 199 String selectedTextForClipboard() const;
200 200
201 PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>> 201 PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>>
202 positionForPoint(const IntPoint& framePoint); 202 positionForPoint(const IntPoint& framePoint);
203 Document* documentAtPoint(const IntPoint&); 203 Document* documentAtPoint(const IntPoint&);
204 EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> rangeForPoint( 204 EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> rangeForPoint(
205 const IntPoint& framePoint); 205 const IntPoint& framePoint);
206 206
207 bool isURLAllowed(const KURL&) const;
208 bool shouldReuseDefaultView(const KURL&) const; 207 bool shouldReuseDefaultView(const KURL&) const;
209 void removeSpellingMarkersUnderWords(const Vector<String>& words); 208 void removeSpellingMarkersUnderWords(const Vector<String>& words);
210 209
211 bool shouldThrottleRendering() const; 210 bool shouldThrottleRendering() const;
212 211
213 // Returns the frame scheduler, creating one if needed. 212 // Returns the frame scheduler, creating one if needed.
214 WebFrameScheduler* frameScheduler(); 213 WebFrameScheduler* frameScheduler();
215 void scheduleVisualUpdateUnlessThrottled(); 214 void scheduleVisualUpdateUnlessThrottled();
216 215
217 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; } 216 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; }
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 explicit ScopedFrameBlamer(LocalFrame*); 376 explicit ScopedFrameBlamer(LocalFrame*);
378 ~ScopedFrameBlamer(); 377 ~ScopedFrameBlamer();
379 378
380 private: 379 private:
381 Member<LocalFrame> m_frame; 380 Member<LocalFrame> m_frame;
382 }; 381 };
383 382
384 } // namespace blink 383 } // namespace blink
385 384
386 #endif // LocalFrame_h 385 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « content/test/data/page_with_meta_refresh_frame.html ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698