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

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

Issue 1945353002: [Layout API] Start converting ScrollAnchor to new layout API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | third_party/WebKit/Source/core/layout/ScrollAnchor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index b1f59cf0f021ea0882362ab93a622024781a75f8..c46ee1d490b23307a6b1499050d4eef94e1c7fe4 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -107,7 +107,13 @@ public:
Page* page() const;
+ // TODO(pilgrim) replace all instances of layoutView() with layoutViewItem()
+ // https://crbug.com/499321
LayoutView* layoutView() const;
+ LayoutViewItem layoutViewItem() const
+ {
+ return LayoutViewItem(this->layoutView());
+ }
void setCanHaveScrollbars(bool);
@@ -763,11 +769,6 @@ private:
LayoutBox& boxForScrollControlPaintInvalidation() const override;
LayoutScrollbarPart* resizer() const override { return nullptr; }
- LayoutViewItem layoutViewItem() const
- {
- return LayoutViewItem(this->layoutView());
- }
-
LayoutSize m_size;
typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ScrollAnchor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698