| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 bool isRange() const { return selection().isRange(); } | 167 bool isRange() const { return selection().isRange(); } |
| 168 bool isInPasswordField() const; | 168 bool isInPasswordField() const; |
| 169 bool isDirectional() const { return selection().isDirectional(); } | 169 bool isDirectional() const { return selection().isDirectional(); } |
| 170 | 170 |
| 171 // If this FrameSelection has a logical range which is still valid, this fun
ction return its clone. Otherwise, | 171 // If this FrameSelection has a logical range which is still valid, this fun
ction return its clone. Otherwise, |
| 172 // the return value from underlying VisibleSelection's firstRange() is retur
ned. | 172 // the return value from underlying VisibleSelection's firstRange() is retur
ned. |
| 173 Range* firstRange() const; | 173 Range* firstRange() const; |
| 174 | 174 |
| 175 void documentAttached(Document*); | 175 void documentAttached(Document*); |
| 176 void documentDetached(const Document&); | 176 void documentDetached(const Document&); |
| 177 void nodeChildrenWillBeRemoved(ContainerNode&); |
| 177 void nodeWillBeRemoved(Node&); | 178 void nodeWillBeRemoved(Node&); |
| 178 void dataWillChange(const CharacterData& node); | 179 void dataWillChange(const CharacterData& node); |
| 179 void didUpdateCharacterData(CharacterData*, unsigned offset, unsigned oldLen
gth, unsigned newLength); | 180 void didUpdateCharacterData(CharacterData*, unsigned offset, unsigned oldLen
gth, unsigned newLength); |
| 180 void didMergeTextNodes(const Text& oldNode, unsigned offset); | 181 void didMergeTextNodes(const Text& oldNode, unsigned offset); |
| 181 void didSplitTextNode(const Text& oldNode); | 182 void didSplitTextNode(const Text& oldNode); |
| 182 | 183 |
| 183 bool isAppearanceDirty() const; | 184 bool isAppearanceDirty() const; |
| 184 void commitAppearanceIfNeeded(LayoutView&); | 185 void commitAppearanceIfNeeded(LayoutView&); |
| 185 void updateAppearance(); | 186 void updateAppearance(); |
| 186 void setCaretVisible(bool caretIsVisible); | 187 void setCaretVisible(bool caretIsVisible); |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 } | 324 } |
| 324 } // namespace blink | 325 } // namespace blink |
| 325 | 326 |
| 326 #ifndef NDEBUG | 327 #ifndef NDEBUG |
| 327 // Outside the WebCore namespace for ease of invocation from gdb. | 328 // Outside the WebCore namespace for ease of invocation from gdb. |
| 328 void showTree(const blink::FrameSelection&); | 329 void showTree(const blink::FrameSelection&); |
| 329 void showTree(const blink::FrameSelection*); | 330 void showTree(const blink::FrameSelection*); |
| 330 #endif | 331 #endif |
| 331 | 332 |
| 332 #endif // FrameSelection_h | 333 #endif // FrameSelection_h |
| OLD | NEW |