| 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
reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
| 30 #include "core/editing/VisiblePosition.h" | 30 #include "core/editing/VisiblePosition.h" |
| 31 #include "platform/geometry/IntRect.h" | 31 #include "platform/geometry/IntRect.h" |
| 32 #include "platform/geometry/LayoutRect.h" | 32 #include "platform/geometry/LayoutRect.h" |
| 33 #include "wtf/Noncopyable.h" | 33 #include "wtf/Noncopyable.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class LocalFrame; | 37 class LocalFrame; |
| 38 class GraphicsContext; | 38 class GraphicsContext; |
| 39 class PositionWithAffinity; | |
| 40 class LayoutBlock; | 39 class LayoutBlock; |
| 41 class LayoutView; | 40 class LayoutView; |
| 42 | 41 |
| 43 class CORE_EXPORT CaretBase { | 42 class CORE_EXPORT CaretBase { |
| 44 WTF_MAKE_NONCOPYABLE(CaretBase); | 43 WTF_MAKE_NONCOPYABLE(CaretBase); |
| 45 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(CaretBase); | 44 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(CaretBase); |
| 46 protected: | 45 protected: |
| 47 enum CaretVisibility { Visible, Hidden }; | 46 enum CaretVisibility { Visible, Hidden }; |
| 48 explicit CaretBase(CaretVisibility = Hidden); | 47 explicit CaretBase(CaretVisibility = Hidden); |
| 49 | 48 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 private: | 97 private: |
| 99 DragCaretController(); | 98 DragCaretController(); |
| 100 | 99 |
| 101 VisiblePosition m_position; | 100 VisiblePosition m_position; |
| 102 }; | 101 }; |
| 103 | 102 |
| 104 } // namespace blink | 103 } // namespace blink |
| 105 | 104 |
| 106 | 105 |
| 107 #endif // Caret_h | 106 #endif // Caret_h |
| OLD | NEW |