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

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

Issue 2852573002: Rename InvalidatePaintIfNeeded to drop deprecated IfNeeded suffix. (Closed)
Patch Set: Created 3 years, 7 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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 FloatSize ViewportSizeForMediaQueries() const; 785 FloatSize ViewportSizeForMediaQueries() const;
786 786
787 ScrollAnchor* GetScrollAnchor() override { return &scroll_anchor_; } 787 ScrollAnchor* GetScrollAnchor() override { return &scroll_anchor_; }
788 void ClearScrollAnchor(); 788 void ClearScrollAnchor();
789 bool ShouldPerformScrollAnchoring() const override; 789 bool ShouldPerformScrollAnchoring() const override;
790 void EnqueueScrollAnchoringAdjustment(ScrollableArea*); 790 void EnqueueScrollAnchoringAdjustment(ScrollableArea*);
791 void PerformScrollAnchoringAdjustments(); 791 void PerformScrollAnchoringAdjustments();
792 792
793 // For PaintInvalidator temporarily. TODO(wangxianzhu): Move into 793 // For PaintInvalidator temporarily. TODO(wangxianzhu): Move into
794 // PaintInvalidator. 794 // PaintInvalidator.
795 void InvalidatePaintIfNeeded(const PaintInvalidationState&); 795 void InvalidatePaint(const PaintInvalidationState&);
796 796
797 // Only for SPv2. 797 // Only for SPv2.
798 std::unique_ptr<JSONObject> CompositedLayersAsJSON(LayerTreeFlags); 798 std::unique_ptr<JSONObject> CompositedLayersAsJSON(LayerTreeFlags);
799 799
800 // Recursively update frame tree. Each frame has its only 800 // Recursively update frame tree. Each frame has its only
801 // scroll on main reason. Given the following frame tree 801 // scroll on main reason. Given the following frame tree
802 //.. A... 802 //.. A...
803 //../.\.. 803 //../.\..
804 //.B...C. 804 //.B...C.
805 //.|..... 805 //.|.....
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 frameViewBase.IsFrameView()); 1273 frameViewBase.IsFrameView());
1274 DEFINE_TYPE_CASTS(FrameView, 1274 DEFINE_TYPE_CASTS(FrameView,
1275 ScrollableArea, 1275 ScrollableArea,
1276 scrollableArea, 1276 scrollableArea,
1277 scrollableArea->IsFrameView(), 1277 scrollableArea->IsFrameView(),
1278 scrollableArea.IsFrameView()); 1278 scrollableArea.IsFrameView());
1279 1279
1280 } // namespace blink 1280 } // namespace blink
1281 1281
1282 #endif // FrameView_h 1282 #endif // FrameView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameSelection.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698