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

Side by Side Diff: Source/core/page/FrameView.h

Issue 14329005: UpdateWidget() can fire beforeload event synchronously blowing away RenderArena and its associated … (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Incorporate Dominicc's comments Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/page/FrameView.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) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
8 8
9 This library is free software; you can redistribute it and/or 9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public 10 modify it under the terms of the GNU Library General Public
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 411
412 virtual void notifyPageThatContentAreaWillPaint() const; 412 virtual void notifyPageThatContentAreaWillPaint() const;
413 413
414 bool shouldUseLoadTimeDeferredRepaintDelay() const; 414 bool shouldUseLoadTimeDeferredRepaintDelay() const;
415 void deferredRepaintTimerFired(Timer<FrameView>*); 415 void deferredRepaintTimerFired(Timer<FrameView>*);
416 void doDeferredRepaints(); 416 void doDeferredRepaints();
417 void updateDeferredRepaintDelayAfterRepaint(); 417 void updateDeferredRepaintDelayAfterRepaint();
418 double adjustedDeferredRepaintDelay() const; 418 double adjustedDeferredRepaintDelay() const;
419 419
420 bool updateWidgets(); 420 bool updateWidgets();
421 void updateWidget(RenderObject*); 421 bool updateWidget(RenderObject*);
422 void scrollToAnchor(); 422 void scrollToAnchor();
423 void scrollPositionChanged(); 423 void scrollPositionChanged();
424 424
425 bool hasCustomScrollbars() const; 425 bool hasCustomScrollbars() const;
426 426
427 virtual void updateScrollCorner(); 427 virtual void updateScrollCorner();
428 428
429 FrameView* parentFrameView() const; 429 FrameView* parentFrameView() const;
430 430
431 bool doLayoutWithFrameFlattening(bool allowSubtree); 431 bool doLayoutWithFrameFlattening(bool allowSubtree);
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 ASSERT(!widget || widget->isFrameView()); 591 ASSERT(!widget || widget->isFrameView());
592 return static_cast<const FrameView*>(widget); 592 return static_cast<const FrameView*>(widget);
593 } 593 }
594 594
595 // This will catch anyone doing an unnecessary cast. 595 // This will catch anyone doing an unnecessary cast.
596 void toFrameView(const FrameView*); 596 void toFrameView(const FrameView*);
597 597
598 } // namespace WebCore 598 } // namespace WebCore
599 599
600 #endif // FrameView_h 600 #endif // FrameView_h
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/page/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698