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

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

Issue 2950503003: Remove unused LayoutViewItem::ClearSelection() (Closed)
Patch Set: Created 3 years, 6 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 | 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LayoutViewItem_h 5 #ifndef LayoutViewItem_h
6 #define LayoutViewItem_h 6 #define LayoutViewItem_h
7 7
8 #include "core/layout/LayoutView.h" 8 #include "core/layout/LayoutView.h"
9 #include "core/layout/api/LayoutBlockItem.h" 9 #include "core/layout/api/LayoutBlockItem.h"
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 IntSize GetLayoutSize( 36 IntSize GetLayoutSize(
37 IncludeScrollbarsInRect scrollbars = kExcludeScrollbars) const { 37 IncludeScrollbarsInRect scrollbars = kExcludeScrollbars) const {
38 return ToView()->GetLayoutSize(scrollbars); 38 return ToView()->GetLayoutSize(scrollbars);
39 } 39 }
40 40
41 LayoutRect OverflowClipRect(const LayoutPoint& location) const { 41 LayoutRect OverflowClipRect(const LayoutPoint& location) const {
42 return ToView()->OverflowClipRect(location); 42 return ToView()->OverflowClipRect(location);
43 } 43 }
44 44
45 void ClearSelection() { return ToView()->ClearSelection(); }
46
47 bool HitTest(HitTestResult& result) { return ToView()->HitTest(result); } 45 bool HitTest(HitTestResult& result) { return ToView()->HitTest(result); }
48 46
49 bool HitTestNoLifecycleUpdate(HitTestResult& result) { 47 bool HitTestNoLifecycleUpdate(HitTestResult& result) {
50 return ToView()->HitTestNoLifecycleUpdate(result); 48 return ToView()->HitTestNoLifecycleUpdate(result);
51 } 49 }
52 50
53 // bool hitTest(HitTestResult&); 51 // bool hitTest(HitTestResult&);
54 // bool hitTestNoLifecycleUpdate(HitTestResult&); 52 // bool hitTestNoLifecycleUpdate(HitTestResult&);
55 53
56 unsigned HitTestCount() const { return ToView()->HitTestCount(); } 54 unsigned HitTestCount() const { return ToView()->HitTestCount(); }
(...skipping 25 matching lines...) Expand all
82 const LayoutView* ToView() const { return ToLayoutView(GetLayoutObject()); } 80 const LayoutView* ToView() const { return ToLayoutView(GetLayoutObject()); }
83 }; 81 };
84 82
85 inline LayoutViewItem LayoutItem::View() const { 83 inline LayoutViewItem LayoutItem::View() const {
86 return LayoutViewItem(layout_object_->View()); 84 return LayoutViewItem(layout_object_->View());
87 } 85 }
88 86
89 } // namespace blink 87 } // namespace blink
90 88
91 #endif // LayoutViewItem_h 89 #endif // LayoutViewItem_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698