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

Side by Side Diff: Source/core/layout/LayoutObject.h

Issue 1187073014: Templatize PositionWithAffinity class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-06-17T16:31:27 Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef LayoutObject_h 26 #ifndef LayoutObject_h
27 #define LayoutObject_h 27 #define LayoutObject_h
28 28
29 #include "core/CoreExport.h" 29 #include "core/CoreExport.h"
30 #include "core/dom/Document.h" 30 #include "core/dom/Document.h"
31 #include "core/dom/DocumentLifecycle.h" 31 #include "core/dom/DocumentLifecycle.h"
32 #include "core/dom/Element.h" 32 #include "core/dom/Element.h"
33 #include "core/dom/Position.h" 33 #include "core/dom/Position.h"
34 #include "core/editing/PositionWithAffinity.h"
34 #include "core/editing/TextAffinity.h" 35 #include "core/editing/TextAffinity.h"
35 #include "core/fetch/ImageResourceClient.h" 36 #include "core/fetch/ImageResourceClient.h"
36 #include "core/html/HTMLElement.h" 37 #include "core/html/HTMLElement.h"
37 #include "core/inspector/InspectorTraceEvents.h" 38 #include "core/inspector/InspectorTraceEvents.h"
38 #include "core/layout/HitTestRequest.h" 39 #include "core/layout/HitTestRequest.h"
39 #include "core/layout/LayoutObjectChildList.h" 40 #include "core/layout/LayoutObjectChildList.h"
40 #include "core/layout/PaintInvalidationState.h" 41 #include "core/layout/PaintInvalidationState.h"
41 #include "core/layout/ScrollAlignment.h" 42 #include "core/layout/ScrollAlignment.h"
42 #include "core/layout/SubtreeLayoutScope.h" 43 #include "core/layout/SubtreeLayoutScope.h"
43 #include "core/layout/compositing/CompositingState.h" 44 #include "core/layout/compositing/CompositingState.h"
44 #include "core/layout/compositing/CompositingTriggers.h" 45 #include "core/layout/compositing/CompositingTriggers.h"
45 #include "core/style/ComputedStyle.h" 46 #include "core/style/ComputedStyle.h"
46 #include "core/style/StyleInheritedData.h" 47 #include "core/style/StyleInheritedData.h"
47 #include "platform/geometry/FloatQuad.h" 48 #include "platform/geometry/FloatQuad.h"
48 #include "platform/geometry/LayoutRect.h" 49 #include "platform/geometry/LayoutRect.h"
49 #include "platform/graphics/CompositingReasons.h" 50 #include "platform/graphics/CompositingReasons.h"
50 #include "platform/graphics/PaintInvalidationReason.h" 51 #include "platform/graphics/PaintInvalidationReason.h"
51 #include "platform/graphics/paint/DisplayItemClient.h" 52 #include "platform/graphics/paint/DisplayItemClient.h"
52 #include "platform/transforms/TransformationMatrix.h" 53 #include "platform/transforms/TransformationMatrix.h"
53 54
54 namespace blink { 55 namespace blink {
55 56
56 class AffineTransform; 57 class AffineTransform;
57 class Cursor; 58 class Cursor;
58 class Document; 59 class Document;
59 class HitTestLocation; 60 class HitTestLocation;
60 class HitTestResult; 61 class HitTestResult;
61 class InlineBox; 62 class InlineBox;
62 class PositionWithAffinity;
63 class PseudoStyleRequest; 63 class PseudoStyleRequest;
64 class LayoutBoxModelObject; 64 class LayoutBoxModelObject;
65 class LayoutBlock; 65 class LayoutBlock;
66 class LayoutFlowThread; 66 class LayoutFlowThread;
67 class LayoutGeometryMap; 67 class LayoutGeometryMap;
68 class DeprecatedPaintLayer; 68 class DeprecatedPaintLayer;
69 class LayoutMultiColumnSpannerPlaceholder; 69 class LayoutMultiColumnSpannerPlaceholder;
70 class LayoutView; 70 class LayoutView;
71 class TransformState; 71 class TransformState;
72 72
(...skipping 1585 matching lines...) Expand 10 before | Expand all | Expand 10 after
1658 void showTree(const blink::LayoutObject*); 1658 void showTree(const blink::LayoutObject*);
1659 void showLineTree(const blink::LayoutObject*); 1659 void showLineTree(const blink::LayoutObject*);
1660 void showLayoutTree(const blink::LayoutObject* object1); 1660 void showLayoutTree(const blink::LayoutObject* object1);
1661 // We don't make object2 an optional parameter so that showLayoutTree 1661 // We don't make object2 an optional parameter so that showLayoutTree
1662 // can be called from gdb easily. 1662 // can be called from gdb easily.
1663 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 1663 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
1664 1664
1665 #endif 1665 #endif
1666 1666
1667 #endif // LayoutObject_h 1667 #endif // LayoutObject_h
OLDNEW
« Source/core/editing/PositionWithAffinity.cpp ('K') | « Source/core/layout/HitTestResult.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698