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

Side by Side Diff: third_party/WebKit/Source/core/layout/api/LayoutViewItem.h

Issue 1998643002: [Layout API] Use FrameView::layoutViewItem() in LayoutPart.cpp (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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutPart.cpp ('k') | no next file » | 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 2016 The Chromium Authors. All rights reserved. 2 // Copyright 2016 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #ifndef LayoutViewItem_h 6 #ifndef LayoutViewItem_h
7 #define LayoutViewItem_h 7 #define LayoutViewItem_h
8 8
9 #include "core/layout/LayoutView.h" 9 #include "core/layout/LayoutView.h"
10 #include "core/layout/api/LayoutBlockItem.h" 10 #include "core/layout/api/LayoutBlockItem.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void clearSelection() 68 void clearSelection()
69 { 69 {
70 return toView()->clearSelection(); 70 return toView()->clearSelection();
71 } 71 }
72 72
73 bool hitTest(HitTestResult& result) 73 bool hitTest(HitTestResult& result)
74 { 74 {
75 return toView()->hitTest(result); 75 return toView()->hitTest(result);
76 } 76 }
77 77
78 bool hitTestNoLifecycleUpdate(HitTestResult& result)
79 {
80 return toView()->hitTestNoLifecycleUpdate(result);
81 }
82
78 IntRect selectionBounds() 83 IntRect selectionBounds()
79 { 84 {
80 return toView()->selectionBounds(); 85 return toView()->selectionBounds();
81 } 86 }
82 87
83 void invalidatePaintForSelection() 88 void invalidatePaintForSelection()
84 { 89 {
85 return toView()->invalidatePaintForSelection(); 90 return toView()->invalidatePaintForSelection();
86 } 91 }
87 92
(...skipping 21 matching lines...) Expand all
109 } 114 }
110 115
111 private: 116 private:
112 LayoutView* toView() { return toLayoutView(layoutObject()); } 117 LayoutView* toView() { return toLayoutView(layoutObject()); }
113 const LayoutView* toView() const { return toLayoutView(layoutObject()); } 118 const LayoutView* toView() const { return toLayoutView(layoutObject()); }
114 }; 119 };
115 120
116 } // namespace blink 121 } // namespace blink
117 122
118 #endif // LayoutViewItem_h 123 #endif // LayoutViewItem_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutPart.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698