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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 383 { | 383 { |
| 384 return position; | 384 return position; |
| 385 } | 385 } |
| 386 | 386 |
| 387 template <> | 387 template <> |
| 388 inline PositionInComposedTree fromPositionInDOMTree<EditingInComposedTreeStrateg y>(const Position& position) | 388 inline PositionInComposedTree fromPositionInDOMTree<EditingInComposedTreeStrateg y>(const Position& position) |
| 389 { | 389 { |
| 390 return toPositionInComposedTree(position); | 390 return toPositionInComposedTree(position); |
| 391 } | 391 } |
| 392 | 392 |
| 393 std::ostream& operator<<(std::ostream&, PositionAnchorType); | |
|
tkent
2015/08/26 05:08:37
Ditto.
yosin_UTC9
2015/08/26 05:36:52
Done.
| |
| 394 std::ostream& operator<<(std::ostream&, const Position&); | |
| 395 std::ostream& operator<<(std::ostream&, const PositionInComposedTree&); | |
| 396 | |
| 393 } // namespace blink | 397 } // namespace blink |
| 394 | 398 |
| 395 #ifndef NDEBUG | 399 #ifndef NDEBUG |
| 396 // Outside the WebCore namespace for ease of invocation from gdb. | 400 // Outside the WebCore namespace for ease of invocation from gdb. |
| 397 void showTree(const blink::Position&); | 401 void showTree(const blink::Position&); |
| 398 void showTree(const blink::Position*); | 402 void showTree(const blink::Position*); |
| 399 #endif | 403 #endif |
| 400 | 404 |
| 401 #endif // Position_h | 405 #endif // Position_h |
| OLD | NEW |