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

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

Issue 2413723002: Re-Compute slow scroll region on frameview visibility change. (Closed)
Patch Set: addressed reviiew comments Created 4 years, 1 month 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) 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 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
8 reserved. 8 reserved.
9 9
10 This library is free software; you can redistribute it and/or 10 This library is free software; you can redistribute it and/or
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 IntRect convertToContainingWidget(const IntRect&) const override; 829 IntRect convertToContainingWidget(const IntRect&) const override;
830 IntRect convertFromContainingWidget(const IntRect&) const override; 830 IntRect convertFromContainingWidget(const IntRect&) const override;
831 IntPoint convertToContainingWidget(const IntPoint&) const override; 831 IntPoint convertToContainingWidget(const IntPoint&) const override;
832 IntPoint convertFromContainingWidget(const IntPoint&) const override; 832 IntPoint convertFromContainingWidget(const IntPoint&) const override;
833 833
834 void updateWidgetGeometriesIfNeeded(); 834 void updateWidgetGeometriesIfNeeded();
835 835
836 bool wasViewportResized(); 836 bool wasViewportResized();
837 void sendResizeEventIfNeeded(); 837 void sendResizeEventIfNeeded();
838 838
839 void updateScrollableAreaSet(); 839 void frameViewVisibilityChanged();
840
841 void updateParentScrollableAreaSet();
840 842
841 void scheduleUpdateWidgetsIfNecessary(); 843 void scheduleUpdateWidgetsIfNecessary();
842 void updateWidgetsTimerFired(TimerBase*); 844 void updateWidgetsTimerFired(TimerBase*);
843 bool updateWidgets(); 845 bool updateWidgets();
844 846
845 bool processUrlFragmentHelper(const String&, UrlFragmentBehavior); 847 bool processUrlFragmentHelper(const String&, UrlFragmentBehavior);
846 void setFragmentAnchor(Node*); 848 void setFragmentAnchor(Node*);
847 void scrollToFragmentAnchor(); 849 void scrollToFragmentAnchor();
848 void didScrollTimerFired(TimerBase*); 850 void didScrollTimerFired(TimerBase*);
849 851
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 widget.isFrameView()); 1115 widget.isFrameView());
1114 DEFINE_TYPE_CASTS(FrameView, 1116 DEFINE_TYPE_CASTS(FrameView,
1115 ScrollableArea, 1117 ScrollableArea,
1116 scrollableArea, 1118 scrollableArea,
1117 scrollableArea->isFrameView(), 1119 scrollableArea->isFrameView(),
1118 scrollableArea.isFrameView()); 1120 scrollableArea.isFrameView());
1119 1121
1120 } // namespace blink 1122 } // namespace blink
1121 1123
1122 #endif // FrameView_h 1124 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698