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

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

Issue 2229303002: Revert "Remove extraneous frameView->setNeedsLayout() in LayoutPart" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: windows too. :( 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 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 // Only the root frame should create them and they will be no-op. 918 // Only the root frame should create them and they will be no-op.
919 RefPtr<TransformPaintPropertyNode> m_rootTransform; 919 RefPtr<TransformPaintPropertyNode> m_rootTransform;
920 RefPtr<ClipPaintPropertyNode> m_rootClip; 920 RefPtr<ClipPaintPropertyNode> m_rootClip;
921 RefPtr<EffectPaintPropertyNode> m_rootEffect; 921 RefPtr<EffectPaintPropertyNode> m_rootEffect;
922 922
923 // This is set on the local root frame view only. 923 // This is set on the local root frame view only.
924 DocumentLifecycle::LifecycleState m_currentUpdateLifecyclePhasesTargetState; 924 DocumentLifecycle::LifecycleState m_currentUpdateLifecyclePhasesTargetState;
925 925
926 ScrollAnchor m_scrollAnchor; 926 ScrollAnchor m_scrollAnchor;
927 927
928 bool m_needsScrollbarsUpdate;
928 bool m_suppressAdjustViewSize; 929 bool m_suppressAdjustViewSize;
929 bool m_allowsLayoutInvalidationAfterLayoutClean; 930 bool m_allowsLayoutInvalidationAfterLayoutClean;
930 931
931 // For testing. 932 // For testing.
932 struct ObjectPaintInvalidation { 933 struct ObjectPaintInvalidation {
933 String name; 934 String name;
934 PaintInvalidationReason reason; 935 PaintInvalidationReason reason;
935 }; 936 };
936 std::unique_ptr<Vector<ObjectPaintInvalidation>> m_trackedObjectPaintInvalid ations; 937 std::unique_ptr<Vector<ObjectPaintInvalidation>> m_trackedObjectPaintInvalid ations;
937 }; 938 };
(...skipping 20 matching lines...) Expand all
958 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 959 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
959 setIsVisuallyNonEmpty(); 960 setIsVisuallyNonEmpty();
960 } 961 }
961 962
962 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 963 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
963 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView()); 964 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView());
964 965
965 } // namespace blink 966 } // namespace blink
966 967
967 #endif // FrameView_h 968 #endif // FrameView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameSelectionTest.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