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

Side by Side Diff: Source/core/rendering/HitTestResult.h

Issue 143323014: *** DO NOT LAND *** Attempt to understand Regions complexity Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/HitTestLocation.cpp ('k') | Source/core/rendering/LayerPaintingInfo.h » ('j') | 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 (C) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 24 matching lines...) Expand all
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 class Element; 38 class Element;
39 class Frame; 39 class Frame;
40 class HTMLMediaElement; 40 class HTMLMediaElement;
41 class Image; 41 class Image;
42 class KURL; 42 class KURL;
43 class Node; 43 class Node;
44 class RenderObject; 44 class RenderObject;
45 class RenderRegion;
46 class Scrollbar; 45 class Scrollbar;
47 46
48 class HitTestResult { 47 class HitTestResult {
49 public: 48 public:
50 typedef ListHashSet<RefPtr<Node> > NodeSet; 49 typedef ListHashSet<RefPtr<Node> > NodeSet;
51 50
52 HitTestResult(); 51 HitTestResult();
53 HitTestResult(const LayoutPoint&); 52 HitTestResult(const LayoutPoint&);
54 // Pass non-negative padding values to perform a rect-based hit test. 53 // Pass non-negative padding values to perform a rect-based hit test.
55 HitTestResult(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding); 54 HitTestResult(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding);
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 RefPtr<Scrollbar> m_scrollbar; 140 RefPtr<Scrollbar> m_scrollbar;
142 bool m_isOverWidget; // Returns true if we are over a widget (and not in the border/padding area of a RenderWidget for example). 141 bool m_isOverWidget; // Returns true if we are over a widget (and not in the border/padding area of a RenderWidget for example).
143 bool m_isFirstLetter; 142 bool m_isFirstLetter;
144 143
145 mutable OwnPtr<NodeSet> m_rectBasedTestResult; 144 mutable OwnPtr<NodeSet> m_rectBasedTestResult;
146 }; 145 };
147 146
148 } // namespace WebCore 147 } // namespace WebCore
149 148
150 #endif // HitTestResult_h 149 #endif // HitTestResult_h
OLDNEW
« no previous file with comments | « Source/core/rendering/HitTestLocation.cpp ('k') | Source/core/rendering/LayerPaintingInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698