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

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

Issue 2643723008: [devtools] Add a command to emulate the default background color. (Closed)
Patch Set: Apply compositedLayerMapping updates during updateLifecyclePhases to fix DCHECK errors. Created 3 years, 10 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 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 void updateRenderThrottlingStatus(bool hidden, bool subtreeThrottled); 1020 void updateRenderThrottlingStatus(bool hidden, bool subtreeThrottled);
1021 void notifyResizeObservers(); 1021 void notifyResizeObservers();
1022 1022
1023 // PaintInvalidationCapableScrollableArea 1023 // PaintInvalidationCapableScrollableArea
1024 LayoutScrollbarPart* resizer() const override { return nullptr; } 1024 LayoutScrollbarPart* resizer() const override { return nullptr; }
1025 1025
1026 bool checkLayoutInvalidationIsAllowed() const; 1026 bool checkLayoutInvalidationIsAllowed() const;
1027 1027
1028 PaintController* paintController() { return m_paintController.get(); } 1028 PaintController* paintController() { return m_paintController.get(); }
1029 1029
1030 void updateOpaquenessIfNeeded();
1031
1030 LayoutSize m_size; 1032 LayoutSize m_size;
1031 1033
1032 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; 1034 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet;
1033 EmbeddedObjectSet m_partUpdateSet; 1035 EmbeddedObjectSet m_partUpdateSet;
1034 1036
1035 // FIXME: These are just "children" of the FrameView and should be 1037 // FIXME: These are just "children" of the FrameView and should be
1036 // Member<Widget> instead. 1038 // Member<Widget> instead.
1037 HashSet<RefPtr<LayoutPart>> m_parts; 1039 HashSet<RefPtr<LayoutPart>> m_parts;
1038 1040
1039 // The RefPtr cycle between LocalFrame and FrameView is broken 1041 // The RefPtr cycle between LocalFrame and FrameView is broken
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 HeapLinkedHashSet<WeakMember<ScrollableArea>>; 1175 HeapLinkedHashSet<WeakMember<ScrollableArea>>;
1174 AnchoringAdjustmentQueue m_anchoringAdjustmentQueue; 1176 AnchoringAdjustmentQueue m_anchoringAdjustmentQueue;
1175 1177
1176 // ScrollbarManager holds the Scrollbar instances. 1178 // ScrollbarManager holds the Scrollbar instances.
1177 ScrollbarManager m_scrollbarManager; 1179 ScrollbarManager m_scrollbarManager;
1178 1180
1179 bool m_needsScrollbarsUpdate; 1181 bool m_needsScrollbarsUpdate;
1180 bool m_suppressAdjustViewSize; 1182 bool m_suppressAdjustViewSize;
1181 bool m_allowsLayoutInvalidationAfterLayoutClean; 1183 bool m_allowsLayoutInvalidationAfterLayoutClean;
1182 1184
1185 bool m_needsOpaquenessUpdate;
1186
1183 Member<ElementVisibilityObserver> m_visibilityObserver; 1187 Member<ElementVisibilityObserver> m_visibilityObserver;
1184 1188
1185 IntRect m_remoteViewportIntersection; 1189 IntRect m_remoteViewportIntersection;
1186 1190
1187 // For testing. 1191 // For testing.
1188 struct ObjectPaintInvalidation { 1192 struct ObjectPaintInvalidation {
1189 String name; 1193 String name;
1190 PaintInvalidationReason reason; 1194 PaintInvalidationReason reason;
1191 }; 1195 };
1192 std::unique_ptr<Vector<ObjectPaintInvalidation>> 1196 std::unique_ptr<Vector<ObjectPaintInvalidation>>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1242 widget.isFrameView()); 1246 widget.isFrameView());
1243 DEFINE_TYPE_CASTS(FrameView, 1247 DEFINE_TYPE_CASTS(FrameView,
1244 ScrollableArea, 1248 ScrollableArea,
1245 scrollableArea, 1249 scrollableArea,
1246 scrollableArea->isFrameView(), 1250 scrollableArea->isFrameView(),
1247 scrollableArea.isFrameView()); 1251 scrollableArea.isFrameView());
1248 1252
1249 } // namespace blink 1253 } // namespace blink
1250 1254
1251 #endif // FrameView_h 1255 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698