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

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

Issue 2528813002: Fix Self-Referencing OOPIF Infinite Loop (Closed)
Patch Set: actually fix broken test Created 3 years, 11 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 String selectedText() const; 199 String selectedText() const;
200 String selectedTextForClipboard() const; 200 String selectedTextForClipboard() const;
201 201
202 PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>> 202 PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>>
203 positionForPoint(const IntPoint& framePoint); 203 positionForPoint(const IntPoint& framePoint);
204 Document* documentAtPoint(const IntPoint&); 204 Document* documentAtPoint(const IntPoint&);
205 EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> rangeForPoint( 205 EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> rangeForPoint(
206 const IntPoint& framePoint); 206 const IntPoint& framePoint);
207 207
208 bool isURLAllowed(const KURL&) const;
209 bool shouldReuseDefaultView(const KURL&) const; 208 bool shouldReuseDefaultView(const KURL&) const;
210 void removeSpellingMarkersUnderWords(const Vector<String>& words); 209 void removeSpellingMarkersUnderWords(const Vector<String>& words);
211 210
212 bool shouldThrottleRendering() const; 211 bool shouldThrottleRendering() const;
213 212
214 // Returns the frame scheduler, creating one if needed. 213 // Returns the frame scheduler, creating one if needed.
215 WebFrameScheduler* frameScheduler(); 214 WebFrameScheduler* frameScheduler();
216 void scheduleVisualUpdateUnlessThrottled(); 215 void scheduleVisualUpdateUnlessThrottled();
217 216
218 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; } 217 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; }
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 explicit ScopedFrameBlamer(LocalFrame*); 377 explicit ScopedFrameBlamer(LocalFrame*);
379 ~ScopedFrameBlamer(); 378 ~ScopedFrameBlamer();
380 379
381 private: 380 private:
382 Member<LocalFrame> m_frame; 381 Member<LocalFrame> m_frame;
383 }; 382 };
384 383
385 } // namespace blink 384 } // namespace blink
386 385
387 #endif // LocalFrame_h 386 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698