OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
| 3 * reserved. |
3 * | 4 * |
4 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
6 * are met: | 7 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 11 * notice, this list of conditions and the following disclaimer in the |
11 * documentation and/or other materials provided with the distribution. | 12 * documentation and/or other materials provided with the distribution. |
12 * | 13 * |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 static LayoutBlock* caretLayoutObject(Node*); | 73 static LayoutBlock* caretLayoutObject(Node*); |
73 void invalidateLocalCaretRect(Node*, const LayoutRect&); | 74 void invalidateLocalCaretRect(Node*, const LayoutRect&); |
74 | 75 |
75 // DisplayItemClient methods. | 76 // DisplayItemClient methods. |
76 LayoutRect visualRect() const override; | 77 LayoutRect visualRect() const override; |
77 String debugName() const final; | 78 String debugName() const final; |
78 | 79 |
79 DECLARE_VIRTUAL_TRACE(); | 80 DECLARE_VIRTUAL_TRACE(); |
80 | 81 |
81 private: | 82 private: |
82 LayoutRect | 83 // caret rect in coords local to the layoutObject responsible for painting the |
83 m_caretLocalRect; // caret rect in coords local to the layoutObject respo
nsible for painting the caret | 84 // caret |
| 85 LayoutRect m_caretLocalRect; |
84 LayoutRect m_visualRect; | 86 LayoutRect m_visualRect; |
85 }; | 87 }; |
86 | 88 |
87 } // namespace blink | 89 } // namespace blink |
88 | 90 |
89 #endif // CaretBase_h | 91 #endif // CaretBase_h |
OLD | NEW |