| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 // Painting. | 177 // Painting. |
| 178 void updateAppearance(); | 178 void updateAppearance(); |
| 179 | 179 |
| 180 void updateSecureKeyboardEntryIfActive(); | 180 void updateSecureKeyboardEntryIfActive(); |
| 181 | 181 |
| 182 #ifndef NDEBUG | 182 #ifndef NDEBUG |
| 183 void formatForDebugger(char* buffer, unsigned length) const; | 183 void formatForDebugger(char* buffer, unsigned length) const; |
| 184 void showTreeForThis() const; | 184 void showTreeForThis() const; |
| 185 #endif | 185 #endif |
| 186 | 186 |
| 187 bool shouldChangeSelection(const VisibleSelection&) const; | |
| 188 bool shouldDeleteSelection(const VisibleSelection&) const; | |
| 189 enum EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary, DoNotAdjsutEnd
points }; | 187 enum EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary, DoNotAdjsutEnd
points }; |
| 190 void setNonDirectionalSelectionIfNeeded(const VisibleSelection&, TextGranula
rity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints); | 188 void setNonDirectionalSelectionIfNeeded(const VisibleSelection&, TextGranula
rity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints); |
| 191 void setFocusedNodeIfNeeded(); | 189 void setFocusedNodeIfNeeded(); |
| 192 void notifyRendererOfSelectionChange(EUserTriggered); | 190 void notifyRendererOfSelectionChange(EUserTriggered); |
| 193 | 191 |
| 194 void paintDragCaret(GraphicsContext*, const LayoutPoint&, const LayoutRect&
clipRect) const; | 192 void paintDragCaret(GraphicsContext*, const LayoutPoint&, const LayoutRect&
clipRect) const; |
| 195 | 193 |
| 196 EditingStyle* typingStyle() const; | 194 EditingStyle* typingStyle() const; |
| 197 PassRefPtr<MutableStylePropertySet> copyTypingStyle() const; | 195 PassRefPtr<MutableStylePropertySet> copyTypingStyle() const; |
| 198 void setTypingStyle(PassRefPtr<EditingStyle>); | 196 void setTypingStyle(PassRefPtr<EditingStyle>); |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 } | 289 } |
| 292 } // namespace WebCore | 290 } // namespace WebCore |
| 293 | 291 |
| 294 #ifndef NDEBUG | 292 #ifndef NDEBUG |
| 295 // Outside the WebCore namespace for ease of invocation from gdb. | 293 // Outside the WebCore namespace for ease of invocation from gdb. |
| 296 void showTree(const WebCore::FrameSelection&); | 294 void showTree(const WebCore::FrameSelection&); |
| 297 void showTree(const WebCore::FrameSelection*); | 295 void showTree(const WebCore::FrameSelection*); |
| 298 #endif | 296 #endif |
| 299 | 297 |
| 300 #endif // FrameSelection_h | 298 #endif // FrameSelection_h |
| OLD | NEW |