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

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

Issue 1785123003: Rework embeddedContentBox into embeddedReplacedContent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 class Element; 63 class Element;
64 class FloatSize; 64 class FloatSize;
65 class HTMLFrameOwnerElement; 65 class HTMLFrameOwnerElement;
66 class LayoutPart; 66 class LayoutPart;
67 class LocalFrame; 67 class LocalFrame;
68 class KURL; 68 class KURL;
69 class Node; 69 class Node;
70 class LayoutBox; 70 class LayoutBox;
71 class LayoutEmbeddedObject; 71 class LayoutEmbeddedObject;
72 class LayoutObject; 72 class LayoutObject;
73 class LayoutReplaced;
73 class LayoutScrollbarPart; 74 class LayoutScrollbarPart;
74 class LayoutView; 75 class LayoutView;
75 class PaintInvalidationState; 76 class PaintInvalidationState;
76 class Page; 77 class Page;
77 class ScrollingCoordinator; 78 class ScrollingCoordinator;
78 class TracedValue; 79 class TracedValue;
79 struct AnnotatedRegionValue; 80 struct AnnotatedRegionValue;
80 struct CompositedSelection; 81 struct CompositedSelection;
81 82
82 typedef unsigned long long DOMTimeStamp; 83 typedef unsigned long long DOMTimeStamp;
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 296
296 bool scrollbarsCanBeActive() const override; 297 bool scrollbarsCanBeActive() const override;
297 void scrollbarVisibilityChanged() override; 298 void scrollbarVisibilityChanged() override;
298 299
299 // FIXME: Remove this method once plugin loading is decoupled from layout. 300 // FIXME: Remove this method once plugin loading is decoupled from layout.
300 void flushAnyPendingPostLayoutTasks(); 301 void flushAnyPendingPostLayoutTasks();
301 302
302 bool shouldSuspendScrollAnimations() const override; 303 bool shouldSuspendScrollAnimations() const override;
303 void scrollbarStyleChanged() override; 304 void scrollbarStyleChanged() override;
304 305
305 LayoutBox* embeddedContentBox() const; 306 LayoutReplaced* embeddedReplacedContent() const;
306 307
307 static void setInitialTracksPaintInvalidationsForTesting(bool); 308 static void setInitialTracksPaintInvalidationsForTesting(bool);
308 309
309 void setTracksPaintInvalidations(bool); 310 void setTracksPaintInvalidations(bool);
310 bool isTrackingPaintInvalidations() const { return m_isTrackingPaintInvalida tions; } 311 bool isTrackingPaintInvalidations() const { return m_isTrackingPaintInvalida tions; }
311 void resetTrackedPaintInvalidations(); 312 void resetTrackedPaintInvalidations();
312 313
313 using ScrollableAreaSet = WillBeHeapHashSet<RawPtrWillBeMember<ScrollableAre a>>; 314 using ScrollableAreaSet = WillBeHeapHashSet<RawPtrWillBeMember<ScrollableAre a>>;
314 void addScrollableArea(ScrollableArea*); 315 void addScrollableArea(ScrollableArea*);
315 void removeScrollableArea(ScrollableArea*); 316 void removeScrollableArea(ScrollableArea*);
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 928 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
928 setIsVisuallyNonEmpty(); 929 setIsVisuallyNonEmpty();
929 } 930 }
930 931
931 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 932 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
932 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView()); 933 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF rameView(), scrollableArea.isFrameView());
933 934
934 } // namespace blink 935 } // namespace blink
935 936
936 #endif // FrameView_h 937 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698