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

Unified Diff: Source/core/frame/FrameView.h

Issue 931003002: Move and rename RenderPart to LayoutPart. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.h
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h
index eb0d90c48fb21357920df122bb5d57cc064fc1f2..7319de5f560eadc8f8a51397a18520a087adc3af 100644
--- a/Source/core/frame/FrameView.h
+++ b/Source/core/frame/FrameView.h
@@ -50,6 +50,7 @@ class Cursor;
class Element;
class FloatSize;
class HTMLFrameOwnerElement;
+class LayoutPart;
class LocalFrame;
class KURL;
class Node;
@@ -57,7 +58,6 @@ class Page;
class RenderBox;
class RenderEmbeddedObject;
class LayoutObject;
-class RenderPart;
class RenderScrollbarPart;
class RenderView;
class ScrollingCoordinator;
@@ -206,8 +206,8 @@ public:
bool safeToPropagateScrollToParent() const { return m_safeToPropagateScrollToParent; }
void setSafeToPropagateScrollToParent(bool isSafe) { m_safeToPropagateScrollToParent = isSafe; }
- void addPart(RenderPart*);
- void removePart(RenderPart*);
+ void addPart(LayoutPart*);
+ void removePart(LayoutPart*);
void updateWidgetPositions();
@@ -605,7 +605,7 @@ private:
// Called when our frame rect changes (or the rect/scroll position of an ancestor changes).
virtual void frameRectsChanged() override;
- friend class RenderPart;
+ friend class LayoutPart;
bool contentsInCompositedLayer() const;
@@ -699,7 +699,7 @@ private:
EmbeddedObjectSet m_partUpdateSet;
// FIXME: These are just "children" of the FrameView and should be RefPtrWillBeMember<Widget> instead.
- HashSet<RefPtr<RenderPart>> m_parts;
+ HashSet<RefPtr<LayoutPart>> m_parts;
// The RefPtr cycle between LocalFrame and FrameView is broken
// when a LocalFrame is detached by FrameLoader::detachFromParent().
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698