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

Side by Side Diff: sky/engine/core/rendering/HitTestResult.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « sky/engine/core/page/TouchAdjustment.cpp ('k') | sky/engine/core/rendering/HitTestResult.cpp » ('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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 typedef ListHashSet<RefPtr<Node> > NodeSet; 51 typedef ListHashSet<RefPtr<Node> > NodeSet;
52 52
53 HitTestResult(); 53 HitTestResult();
54 HitTestResult(const LayoutPoint&); 54 HitTestResult(const LayoutPoint&);
55 // Pass non-negative padding values to perform a rect-based hit test. 55 // Pass non-negative padding values to perform a rect-based hit test.
56 HitTestResult(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding); 56 HitTestResult(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding);
57 HitTestResult(const HitTestLocation&); 57 HitTestResult(const HitTestLocation&);
58 HitTestResult(const HitTestResult&); 58 HitTestResult(const HitTestResult&);
59 ~HitTestResult(); 59 ~HitTestResult();
60 HitTestResult& operator=(const HitTestResult&); 60 HitTestResult& operator=(const HitTestResult&);
61 void trace(Visitor*);
62 61
63 // For point-based hit tests, these accessors provide information about the node 62 // For point-based hit tests, these accessors provide information about the node
64 // under the point. For rect-based hit tests they are meaningless (reflect t he 63 // under the point. For rect-based hit tests they are meaningless (reflect t he
65 // last candidate node observed in the rect). 64 // last candidate node observed in the rect).
66 // FIXME: Make these less error-prone for rect-based hit tests (center point or fail). 65 // FIXME: Make these less error-prone for rect-based hit tests (center point or fail).
67 Node* innerNode() const { return m_innerNode.get(); } 66 Node* innerNode() const { return m_innerNode.get(); }
68 Node* innerPossiblyPseudoNode() const { return m_innerPossiblyPseudoNode.get (); } 67 Node* innerPossiblyPseudoNode() const { return m_innerPossiblyPseudoNode.get (); }
69 Element* innerElement() const; 68 Element* innerElement() const;
70 Node* innerNonSharedNode() const { return m_innerNonSharedNode.get(); } 69 Node* innerNonSharedNode() const { return m_innerNonSharedNode.get(); }
71 Element* URLElement() const { return m_innerURLElement.get(); } 70 Element* URLElement() const { return m_innerURLElement.get(); }
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 RefPtr<Element> m_innerURLElement; 148 RefPtr<Element> m_innerURLElement;
150 RefPtr<Scrollbar> m_scrollbar; 149 RefPtr<Scrollbar> m_scrollbar;
151 bool m_isOverWidget; // Returns true if we are over a widget. 150 bool m_isOverWidget; // Returns true if we are over a widget.
152 151
153 mutable OwnPtr<NodeSet> m_rectBasedTestResult; 152 mutable OwnPtr<NodeSet> m_rectBasedTestResult;
154 }; 153 };
155 154
156 } // namespace blink 155 } // namespace blink
157 156
158 #endif // HitTestResult_h 157 #endif // HitTestResult_h
OLDNEW
« no previous file with comments | « sky/engine/core/page/TouchAdjustment.cpp ('k') | sky/engine/core/rendering/HitTestResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698