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

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

Issue 2605543002: Replace adjustment of previous visual rects on scroll with normal paint invalidation (Closed)
Patch Set: Remove unused parameters 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) 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 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 926
927 void scheduleUpdateWidgetsIfNecessary(); 927 void scheduleUpdateWidgetsIfNecessary();
928 void updateWidgetsTimerFired(TimerBase*); 928 void updateWidgetsTimerFired(TimerBase*);
929 bool updateWidgets(); 929 bool updateWidgets();
930 930
931 bool processUrlFragmentHelper(const String&, UrlFragmentBehavior); 931 bool processUrlFragmentHelper(const String&, UrlFragmentBehavior);
932 void setFragmentAnchor(Node*); 932 void setFragmentAnchor(Node*);
933 void scrollToFragmentAnchor(); 933 void scrollToFragmentAnchor();
934 void didScrollTimerFired(TimerBase*); 934 void didScrollTimerFired(TimerBase*);
935 935
936 void updateLayersAndCompositingAfterScrollIfNeeded( 936 void updateLayersAndCompositingAfterScrollIfNeeded();
937 const ScrollOffset& scrollDelta);
938 937
939 static bool computeCompositedSelection(LocalFrame&, CompositedSelection&); 938 static bool computeCompositedSelection(LocalFrame&, CompositedSelection&);
940 void updateCompositedSelectionIfNeeded(); 939 void updateCompositedSelectionIfNeeded();
941 940
942 // Returns true if the FrameView's own scrollbars overlay its content when 941 // Returns true if the FrameView's own scrollbars overlay its content when
943 // visible. 942 // visible.
944 bool hasOverlayScrollbars() const; 943 bool hasOverlayScrollbars() const;
945 944
946 // Returns true if the frame should use custom scrollbars. If true, one of 945 // Returns true if the frame should use custom scrollbars. If true, one of
947 // either |customScrollbarElement| or |customScrollbarFrame| will be set to 946 // either |customScrollbarElement| or |customScrollbarFrame| will be set to
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 widget.isFrameView()); 1208 widget.isFrameView());
1210 DEFINE_TYPE_CASTS(FrameView, 1209 DEFINE_TYPE_CASTS(FrameView,
1211 ScrollableArea, 1210 ScrollableArea,
1212 scrollableArea, 1211 scrollableArea,
1213 scrollableArea->isFrameView(), 1212 scrollableArea->isFrameView(),
1214 scrollableArea.isFrameView()); 1213 scrollableArea.isFrameView());
1215 1214
1216 } // namespace blink 1215 } // namespace blink
1217 1216
1218 #endif // FrameView_h 1217 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698