OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 #include "core/CoreExport.h" | 30 #include "core/CoreExport.h" |
31 #include "core/editing/VisiblePosition.h" | 31 #include "core/editing/VisiblePosition.h" |
32 #include "platform/geometry/IntRect.h" | 32 #include "platform/geometry/IntRect.h" |
33 #include "platform/geometry/LayoutRect.h" | 33 #include "platform/geometry/LayoutRect.h" |
34 #include "platform/graphics/paint/DisplayItem.h" | 34 #include "platform/graphics/paint/DisplayItem.h" |
35 #include "wtf/Noncopyable.h" | 35 #include "wtf/Noncopyable.h" |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class CullRect; | |
40 class DisplayItemClient; | 39 class DisplayItemClient; |
41 class LocalFrame; | |
42 class GraphicsContext; | 40 class GraphicsContext; |
43 class LayoutBlock; | 41 class LayoutBlock; |
44 class LayoutViewItem; | |
45 | 42 |
46 class CORE_EXPORT CaretBase : public GarbageCollectedFinalized<CaretBase>, | 43 class CORE_EXPORT CaretBase : public GarbageCollectedFinalized<CaretBase>, |
47 public DisplayItemClient { | 44 public DisplayItemClient { |
48 WTF_MAKE_NONCOPYABLE(CaretBase); | 45 WTF_MAKE_NONCOPYABLE(CaretBase); |
49 | 46 |
50 public: | 47 public: |
51 CaretBase(); | 48 CaretBase(); |
52 virtual ~CaretBase(); | 49 virtual ~CaretBase(); |
53 | 50 |
54 void invalidateCaretRect(Node*); | 51 void invalidateCaretRect(Node*); |
(...skipping 26 matching lines...) Expand all Loading... |
81 private: | 78 private: |
82 // caret rect in coords local to the layoutObject responsible for painting the | 79 // caret rect in coords local to the layoutObject responsible for painting the |
83 // caret | 80 // caret |
84 LayoutRect m_caretLocalRect; | 81 LayoutRect m_caretLocalRect; |
85 LayoutRect m_visualRect; | 82 LayoutRect m_visualRect; |
86 }; | 83 }; |
87 | 84 |
88 } // namespace blink | 85 } // namespace blink |
89 | 86 |
90 #endif // CaretBase_h | 87 #endif // CaretBase_h |
OLD | NEW |