Chromium Code Reviews| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 167 unsigned numEnclosingMailBlockquotes(const Position&); | 167 unsigned numEnclosingMailBlockquotes(const Position&); |
| 168 void updatePositionForNodeRemoval(Position&, Node&); | 168 void updatePositionForNodeRemoval(Position&, Node&); |
| 169 | 169 |
| 170 // ------------------------------------------------------------------------- | 170 // ------------------------------------------------------------------------- |
| 171 // VisiblePosition | 171 // VisiblePosition |
| 172 // ------------------------------------------------------------------------- | 172 // ------------------------------------------------------------------------- |
| 173 | 173 |
| 174 // Functions returning VisiblePosition | 174 // Functions returning VisiblePosition |
| 175 | 175 |
| 176 VisiblePosition firstEditablePositionAfterPositionInRoot(const Position&, Node*) ; | 176 VisiblePosition firstEditablePositionAfterPositionInRoot(const Position&, Node*) ; |
| 177 VisiblePosition lastEditablePositionBeforePositionInRoot(const Position&, Node*) ; | 177 Position lastEditablePositionBeforePositionInRoot(const Position&, Node*); |
|
Yuta Kitamura
2014/06/18 08:08:11
It's extremely weird to change this function only.
yosin_UTC9
2014/06/19 07:36:57
Make sense. I made another patch http://crrev.com/
Yuta Kitamura
2014/06/19 07:43:36
Well, self recursion detected in your link ;)
| |
| 178 VisiblePosition visiblePositionBeforeNode(Node&); | 178 VisiblePosition visiblePositionBeforeNode(Node&); |
| 179 VisiblePosition visiblePositionAfterNode(Node&); | 179 VisiblePosition visiblePositionAfterNode(Node&); |
| 180 | 180 |
| 181 bool lineBreakExistsAtVisiblePosition(const VisiblePosition&); | 181 bool lineBreakExistsAtVisiblePosition(const VisiblePosition&); |
| 182 | 182 |
| 183 int comparePositions(const VisiblePosition&, const VisiblePosition&); | 183 int comparePositions(const VisiblePosition&, const VisiblePosition&); |
| 184 | 184 |
| 185 int indexForVisiblePosition(const VisiblePosition&, RefPtrWillBeRawPtr<Container Node>& scope); | 185 int indexForVisiblePosition(const VisiblePosition&, RefPtrWillBeRawPtr<Container Node>& scope); |
| 186 VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope); | 186 VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope); |
| 187 | 187 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 258 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us. | 258 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us. |
| 259 return character == '\'' || character == rightSingleQuotationMark || charact er == hebrewPunctuationGershayim; | 259 return character == '\'' || character == rightSingleQuotationMark || charact er == hebrewPunctuationGershayim; |
| 260 } | 260 } |
| 261 | 261 |
| 262 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph); | 262 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph); |
| 263 const String& nonBreakingSpaceString(); | 263 const String& nonBreakingSpaceString(); |
| 264 | 264 |
| 265 } | 265 } |
| 266 | 266 |
| 267 #endif | 267 #endif |
| OLD | NEW |