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

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

Issue 2188483004: Remove extraneous frameView->setNeedsLayout() in LayoutPart (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove bogus test Created 4 years, 4 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 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 912 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 // Only the root frame should create them and they will be no-op. 923 // Only the root frame should create them and they will be no-op.
924 RefPtr<TransformPaintPropertyNode> m_rootTransform; 924 RefPtr<TransformPaintPropertyNode> m_rootTransform;
925 RefPtr<ClipPaintPropertyNode> m_rootClip; 925 RefPtr<ClipPaintPropertyNode> m_rootClip;
926 RefPtr<EffectPaintPropertyNode> m_rootEffect; 926 RefPtr<EffectPaintPropertyNode> m_rootEffect;
927 927
928 // This is set on the local root frame view only. 928 // This is set on the local root frame view only.
929 DocumentLifecycle::LifecycleState m_currentUpdateLifecyclePhasesTargetState; 929 DocumentLifecycle::LifecycleState m_currentUpdateLifecyclePhasesTargetState;
930 930
931 ScrollAnchor m_scrollAnchor; 931 ScrollAnchor m_scrollAnchor;
932 932
933 bool m_needsScrollbarsUpdate;
934 bool m_suppressAdjustViewSize; 933 bool m_suppressAdjustViewSize;
935 bool m_allowsLayoutInvalidationAfterLayoutClean; 934 bool m_allowsLayoutInvalidationAfterLayoutClean;
936 935
937 // For testing. 936 // For testing.
938 struct ObjectPaintInvalidation { 937 struct ObjectPaintInvalidation {
939 String name; 938 String name;
940 PaintInvalidationReason reason; 939 PaintInvalidationReason reason;
941 }; 940 };
942 std::unique_ptr<Vector<ObjectPaintInvalidation>> m_trackedObjectPaintInvalid ations; 941 std::unique_ptr<Vector<ObjectPaintInvalidation>> m_trackedObjectPaintInvalid ations;
943 }; 942 };
(...skipping 20 matching lines...) Expand all
964 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 963 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
965 setIsVisuallyNonEmpty(); 964 setIsVisuallyNonEmpty();
966 } 965 }
967 966
968 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 967 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
969 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView()); 968 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView());
970 969
971 } // namespace blink 970 } // namespace blink
972 971
973 #endif // FrameView_h 972 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698