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

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

Issue 337113005: Reduce forward declarations in core/rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/core/rendering/FilterEffectRenderer.h ('k') | Source/core/rendering/LayoutState.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 15 matching lines...) Expand all
26 #include "platform/geometry/FloatRect.h" 26 #include "platform/geometry/FloatRect.h"
27 #include "platform/geometry/LayoutRect.h" 27 #include "platform/geometry/LayoutRect.h"
28 #include "platform/geometry/RoundedRect.h" 28 #include "platform/geometry/RoundedRect.h"
29 #include "wtf/Forward.h" 29 #include "wtf/Forward.h"
30 #include "wtf/ListHashSet.h" 30 #include "wtf/ListHashSet.h"
31 #include "wtf/OwnPtr.h" 31 #include "wtf/OwnPtr.h"
32 #include "wtf/RefPtr.h" 32 #include "wtf/RefPtr.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 class Element;
37 class LocalFrame;
38 class Image;
39 class KURL;
40 class Node;
41 class Scrollbar;
42
43 class HitTestLocation { 36 class HitTestLocation {
44 public: 37 public:
45 38
46 HitTestLocation(); 39 HitTestLocation();
47 HitTestLocation(const LayoutPoint&); 40 HitTestLocation(const LayoutPoint&);
48 HitTestLocation(const FloatPoint&); 41 HitTestLocation(const FloatPoint&);
49 HitTestLocation(const FloatPoint&, const FloatQuad&); 42 HitTestLocation(const FloatPoint&, const FloatQuad&);
50 // Pass non-zero padding values to perform a rect-based hit test. 43 // Pass non-zero padding values to perform a rect-based hit test.
51 HitTestLocation(const LayoutPoint& centerPoint, unsigned topPadding, unsigne d rightPadding, unsigned bottomPadding, unsigned leftPadding); 44 HitTestLocation(const LayoutPoint& centerPoint, unsigned topPadding, unsigne d rightPadding, unsigned bottomPadding, unsigned leftPadding);
52 HitTestLocation(const HitTestLocation&, const LayoutSize& offset); 45 HitTestLocation(const HitTestLocation&, const LayoutSize& offset);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 FloatPoint m_transformedPoint; 80 FloatPoint m_transformedPoint;
88 FloatQuad m_transformedRect; 81 FloatQuad m_transformedRect;
89 82
90 bool m_isRectBased; 83 bool m_isRectBased;
91 bool m_isRectilinear; 84 bool m_isRectilinear;
92 }; 85 };
93 86
94 } // namespace WebCore 87 } // namespace WebCore
95 88
96 #endif // HitTestLocation_h 89 #endif // HitTestLocation_h
OLDNEW
« no previous file with comments | « Source/core/rendering/FilterEffectRenderer.h ('k') | Source/core/rendering/LayoutState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698