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

Side by Side Diff: Source/core/layout/LayoutMultiColumnSpannerPlaceholder.cpp

Issue 1032823003: Refactor HitTestResult to store the HitTestRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated as per review comments Created 5 years, 8 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "config.h" 5 #include "config.h"
6 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h" 6 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h"
7 7
8 namespace blink { 8 namespace blink {
9 9
10 static void copyMarginProperties(ComputedStyle& placeholderStyle, const Computed Style& spannerStyle) 10 static void copyMarginProperties(ComputedStyle& placeholderStyle, const Computed Style& spannerStyle)
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 m_rendererInFlowThread->invalidateTreeIfNeeded(newPaintInvalidationState); 97 m_rendererInFlowThread->invalidateTreeIfNeeded(newPaintInvalidationState);
98 LayoutBox::invalidateTreeIfNeeded(paintInvalidationState); 98 LayoutBox::invalidateTreeIfNeeded(paintInvalidationState);
99 } 99 }
100 100
101 void LayoutMultiColumnSpannerPlaceholder::paint(const PaintInfo& paintInfo, cons t LayoutPoint& paintOffset) 101 void LayoutMultiColumnSpannerPlaceholder::paint(const PaintInfo& paintInfo, cons t LayoutPoint& paintOffset)
102 { 102 {
103 if (!m_rendererInFlowThread->hasSelfPaintingLayer()) 103 if (!m_rendererInFlowThread->hasSelfPaintingLayer())
104 m_rendererInFlowThread->paint(paintInfo, paintOffset); 104 m_rendererInFlowThread->paint(paintInfo, paintOffset);
105 } 105 }
106 106
107 bool LayoutMultiColumnSpannerPlaceholder::nodeAtPoint(const HitTestRequest& requ est, HitTestResult& result, const HitTestLocation& locationInContainer, const La youtPoint& accumulatedOffset, HitTestAction action) 107 bool LayoutMultiColumnSpannerPlaceholder::nodeAtPoint(HitTestResult& result, con st HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, H itTestAction action)
108 { 108 {
109 return !m_rendererInFlowThread->hasSelfPaintingLayer() && m_rendererInFlowTh read->nodeAtPoint(request, result, locationInContainer, accumulatedOffset, actio n); 109 return !m_rendererInFlowThread->hasSelfPaintingLayer() && m_rendererInFlowTh read->nodeAtPoint(result, locationInContainer, accumulatedOffset, action);
110 } 110 }
111 111
112 } 112 }
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutMultiColumnSpannerPlaceholder.h ('k') | Source/core/layout/LayoutObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698