Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: Source/core/dom/Position.h

Issue 1212123003: Componentization: make symbols visible. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 } 444 }
445 445
446 template <typename Strategy> 446 template <typename Strategy>
447 typename Strategy::PositionType PositionAlgorithm<Strategy>::lastPositionInOrAft erNode(Node* node) 447 typename Strategy::PositionType PositionAlgorithm<Strategy>::lastPositionInOrAft erNode(Node* node)
448 { 448 {
449 if (!node) 449 if (!node)
450 return PositionType(); 450 return PositionType();
451 return Strategy::editingIgnoresContent(node) ? afterNode(node) : lastPositio nInNode(node); 451 return Strategy::editingIgnoresContent(node) ? afterNode(node) : lastPositio nInNode(node);
452 } 452 }
453 453
454 PositionInComposedTree toPositionInComposedTree(const Position&); 454 CORE_EXPORT PositionInComposedTree toPositionInComposedTree(const Position&);
455 Position toPositionInDOMTree(const Position&); 455 Position toPositionInDOMTree(const Position&);
456 Position toPositionInDOMTree(const PositionInComposedTree&); 456 CORE_EXPORT Position toPositionInDOMTree(const PositionInComposedTree&);
457 457
458 } // namespace blink 458 } // namespace blink
459 459
460 #ifndef NDEBUG 460 #ifndef NDEBUG
461 // Outside the WebCore namespace for ease of invocation from gdb. 461 // Outside the WebCore namespace for ease of invocation from gdb.
462 void showTree(const blink::Position&); 462 void showTree(const blink::Position&);
463 void showTree(const blink::Position*); 463 void showTree(const blink::Position*);
464 #endif 464 #endif
465 465
466 #endif // Position_h 466 #endif // Position_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698