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

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

Issue 2604073002: Apply offset from the correct graphics layer; simplify code for link highlights. (Closed)
Patch Set: none Created 3 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual void flowThreadDescendantStyleWillChange( 85 virtual void flowThreadDescendantStyleWillChange(
86 LayoutBox*, 86 LayoutBox*,
87 StyleDifference, 87 StyleDifference,
88 const ComputedStyle& newStyle) {} 88 const ComputedStyle& newStyle) {}
89 virtual void flowThreadDescendantStyleDidChange( 89 virtual void flowThreadDescendantStyleDidChange(
90 LayoutBox*, 90 LayoutBox*,
91 StyleDifference, 91 StyleDifference,
92 const ComputedStyle& oldStyle) {} 92 const ComputedStyle& oldStyle) {}
93 93
94 void absoluteQuadsForDescendant(const LayoutBox& descendant, 94 void absoluteQuadsForDescendant(const LayoutBox& descendant,
95 Vector<FloatQuad>&); 95 Vector<FloatQuad>&,
96 MapCoordinatesFlags mode = 0);
96 97
97 bool nodeAtPoint(HitTestResult&, 98 bool nodeAtPoint(HitTestResult&,
98 const HitTestLocation& locationInContainer, 99 const HitTestLocation& locationInContainer,
99 const LayoutPoint& accumulatedOffset, 100 const LayoutPoint& accumulatedOffset,
100 HitTestAction) final; 101 HitTestAction) final;
101 102
102 virtual void addColumnSetToThread(LayoutMultiColumnSet*) = 0; 103 virtual void addColumnSetToThread(LayoutMultiColumnSet*) = 0;
103 virtual void removeColumnSetFromThread(LayoutMultiColumnSet*); 104 virtual void removeColumnSetFromThread(LayoutMultiColumnSet*);
104 105
105 void computeLogicalHeight(LayoutUnit logicalHeight, 106 void computeLogicalHeight(LayoutUnit logicalHeight,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 struct ValueToString<LayoutMultiColumnSet*> { 204 struct ValueToString<LayoutMultiColumnSet*> {
204 static String toString(const LayoutMultiColumnSet* value) { 205 static String toString(const LayoutMultiColumnSet* value) {
205 return String::format("%p", value); 206 return String::format("%p", value);
206 } 207 }
207 }; 208 };
208 #endif 209 #endif
209 210
210 } // namespace blink 211 } // namespace blink
211 212
212 #endif // LayoutFlowThread_h 213 #endif // LayoutFlowThread_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698