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

Side by Side Diff: sky/engine/core/rendering/RenderInline.cpp

Issue 713073003: remove updateTouchEventTargetRectsIfNeeded (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: moar Created 6 years, 1 month 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 layoutRect.move(m_accumulatedOffset.x(), m_accumulatedOffset.y()); 1342 layoutRect.move(m_accumulatedOffset.x(), m_accumulatedOffset.y());
1343 m_rects.append(layoutRect); 1343 m_rects.append(layoutRect);
1344 } 1344 }
1345 private: 1345 private:
1346 Vector<LayoutRect>& m_rects; 1346 Vector<LayoutRect>& m_rects;
1347 const LayoutPoint& m_accumulatedOffset; 1347 const LayoutPoint& m_accumulatedOffset;
1348 }; 1348 };
1349 1349
1350 } 1350 }
1351 1351
1352 void RenderInline::computeSelfHitTestRects(Vector<LayoutRect>& rects, const Layo utPoint& layerOffset) const
1353 {
1354 AbsoluteLayoutRectsGeneratorContext context(rects, layerOffset);
1355 generateLineBoxRects(context);
1356 }
1357
1358 void RenderInline::paintOutline(PaintInfo& paintInfo, const LayoutPoint& paintOf fset) 1352 void RenderInline::paintOutline(PaintInfo& paintInfo, const LayoutPoint& paintOf fset)
1359 { 1353 {
1360 RenderStyle* styleToUse = style(); 1354 RenderStyle* styleToUse = style();
1361 if (!styleToUse->hasOutline()) 1355 if (!styleToUse->hasOutline())
1362 return; 1356 return;
1363 1357
1364 if (styleToUse->outlineStyleIsAuto()) 1358 if (styleToUse->outlineStyleIsAuto())
1365 return; 1359 return;
1366 1360
1367 if (styleToUse->outlineStyle() == BNONE) 1361 if (styleToUse->outlineStyle() == BNONE)
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 pixelSnappedBox.maxY(), 1493 pixelSnappedBox.maxY(),
1500 pixelSnappedBox.maxX() + outlineWidth, 1494 pixelSnappedBox.maxX() + outlineWidth,
1501 pixelSnappedBox.maxY() + outlineWidth, 1495 pixelSnappedBox.maxY() + outlineWidth,
1502 BSBottom, outlineColor, outlineStyle, 1496 BSBottom, outlineColor, outlineStyle,
1503 outlineWidth, 1497 outlineWidth,
1504 outlineWidth, 1498 outlineWidth,
1505 antialias); 1499 antialias);
1506 } 1500 }
1507 1501
1508 } // namespace blink 1502 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698