| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2008 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 WhitespacePositionOption = NotConsiderNonCollapsibleWhitespace); | 296 WhitespacePositionOption = NotConsiderNonCollapsibleWhitespace); |
| 297 Position trailingWhitespacePosition( | 297 Position trailingWhitespacePosition( |
| 298 const Position&, | 298 const Position&, |
| 299 TextAffinity, | 299 TextAffinity, |
| 300 WhitespacePositionOption = NotConsiderNonCollapsibleWhitespace); | 300 WhitespacePositionOption = NotConsiderNonCollapsibleWhitespace); |
| 301 unsigned numEnclosingMailBlockquotes(const Position&); | 301 unsigned numEnclosingMailBlockquotes(const Position&); |
| 302 PositionWithAffinity positionRespectingEditingBoundary( | 302 PositionWithAffinity positionRespectingEditingBoundary( |
| 303 const Position&, | 303 const Position&, |
| 304 const LayoutPoint& localPoint, | 304 const LayoutPoint& localPoint, |
| 305 Node* targetNode); | 305 Node* targetNode); |
| 306 void updatePositionForNodeRemoval(Position&, Node&); | 306 Position computePositionForNodeRemoval(const Position&, Node&); |
| 307 | 307 |
| 308 // ------------------------------------------------------------------------- | 308 // ------------------------------------------------------------------------- |
| 309 // VisiblePosition | 309 // VisiblePosition |
| 310 // ------------------------------------------------------------------------- | 310 // ------------------------------------------------------------------------- |
| 311 | 311 |
| 312 // Functions returning VisiblePosition | 312 // Functions returning VisiblePosition |
| 313 | 313 |
| 314 // TODO(yosin) We should rename | 314 // TODO(yosin) We should rename |
| 315 // |firstEditableVisiblePositionAfterPositionInRoot()| to a better name which | 315 // |firstEditableVisiblePositionAfterPositionInRoot()| to a better name which |
| 316 // describes what this function returns, since it returns a position before | 316 // describes what this function returns, since it returns a position before |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, | 421 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, |
| 422 InputEvent::InputType, | 422 InputEvent::InputType, |
| 423 DataTransfer*); | 423 DataTransfer*); |
| 424 | 424 |
| 425 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, | 425 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, |
| 426 TextGranularity); | 426 TextGranularity); |
| 427 | 427 |
| 428 } // namespace blink | 428 } // namespace blink |
| 429 | 429 |
| 430 #endif | 430 #endif |
| OLD | NEW |