| 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 bool isCaretBlinkingSuspended() const { return m_isCaretBlinkingSuspended; } | 177 bool isCaretBlinkingSuspended() const { return m_isCaretBlinkingSuspended; } |
| 178 | 178 |
| 179 // Focus | 179 // Focus |
| 180 void setFocused(bool); | 180 void setFocused(bool); |
| 181 bool isFocused() const { return m_focused; } | 181 bool isFocused() const { return m_focused; } |
| 182 bool isFocusedAndActive() const; | 182 bool isFocusedAndActive() const; |
| 183 void pageActivationChanged(); | 183 void pageActivationChanged(); |
| 184 | 184 |
| 185 void updateSecureKeyboardEntryIfActive(); | 185 void updateSecureKeyboardEntryIfActive(); |
| 186 | 186 |
| 187 // Returnes true if a word is select. |
| 188 bool selectWordAroundPosition(const VisiblePosition&); |
| 189 |
| 187 #ifndef NDEBUG | 190 #ifndef NDEBUG |
| 188 void formatForDebugger(char* buffer, unsigned length) const; | 191 void formatForDebugger(char* buffer, unsigned length) const; |
| 189 void showTreeForThis() const; | 192 void showTreeForThis() const; |
| 190 #endif | 193 #endif |
| 191 | 194 |
| 192 enum EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary, DoNotAdjsutEnd
points }; | 195 enum EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary, DoNotAdjsutEnd
points }; |
| 193 void setNonDirectionalSelectionIfNeeded(const VisibleSelection&, TextGranula
rity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints); | 196 void setNonDirectionalSelectionIfNeeded(const VisibleSelection&, TextGranula
rity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints); |
| 194 void setFocusedNodeIfNeeded(); | 197 void setFocusedNodeIfNeeded(); |
| 195 void notifyRendererOfSelectionChange(EUserTriggered); | 198 void notifyRendererOfSelectionChange(EUserTriggered); |
| 196 | 199 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 } | 311 } |
| 309 } // namespace blink | 312 } // namespace blink |
| 310 | 313 |
| 311 #ifndef NDEBUG | 314 #ifndef NDEBUG |
| 312 // Outside the WebCore namespace for ease of invocation from gdb. | 315 // Outside the WebCore namespace for ease of invocation from gdb. |
| 313 void showTree(const blink::FrameSelection&); | 316 void showTree(const blink::FrameSelection&); |
| 314 void showTree(const blink::FrameSelection*); | 317 void showTree(const blink::FrameSelection*); |
| 315 #endif | 318 #endif |
| 316 | 319 |
| 317 #endif // FrameSelection_h | 320 #endif // FrameSelection_h |
| OLD | NEW |