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

Side by Side Diff: third_party/WebKit/Source/core/editing/VisibleSelection.cpp

Issue 1675163002: Rename ComposedTree to FlatTree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip Created 4 years, 10 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, 2005, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, 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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 fputs("start: ", stderr); 947 fputs("start: ", stderr);
948 start().showAnchorTypeAndOffset(); 948 start().showAnchorTypeAndOffset();
949 fputs("end: ", stderr); 949 fputs("end: ", stderr);
950 end().showAnchorTypeAndOffset(); 950 end().showAnchorTypeAndOffset();
951 } 951 }
952 } 952 }
953 953
954 #endif 954 #endif
955 955
956 template class CORE_TEMPLATE_EXPORT VisibleSelectionTemplate<EditingStrategy>; 956 template class CORE_TEMPLATE_EXPORT VisibleSelectionTemplate<EditingStrategy>;
957 template class CORE_TEMPLATE_EXPORT VisibleSelectionTemplate<EditingInComposedTr eeStrategy>; 957 template class CORE_TEMPLATE_EXPORT VisibleSelectionTemplate<EditingInFlatTreeSt rategy>;
958 958
959 } // namespace blink 959 } // namespace blink
960 960
961 #ifndef NDEBUG 961 #ifndef NDEBUG
962 962
963 void showTree(const blink::VisibleSelection& sel) 963 void showTree(const blink::VisibleSelection& sel)
964 { 964 {
965 sel.showTreeForThis(); 965 sel.showTreeForThis();
966 } 966 }
967 967
968 void showTree(const blink::VisibleSelection* sel) 968 void showTree(const blink::VisibleSelection* sel)
969 { 969 {
970 if (sel) 970 if (sel)
971 sel->showTreeForThis(); 971 sel->showTreeForThis();
972 } 972 }
973 973
974 void showTree(const blink::VisibleSelectionInComposedTree& sel) 974 void showTree(const blink::VisibleSelectionInFlatTree& sel)
975 { 975 {
976 sel.showTreeForThis(); 976 sel.showTreeForThis();
977 } 977 }
978 978
979 void showTree(const blink::VisibleSelectionInComposedTree* sel) 979 void showTree(const blink::VisibleSelectionInFlatTree* sel)
980 { 980 {
981 if (sel) 981 if (sel)
982 sel->showTreeForThis(); 982 sel->showTreeForThis();
983 } 983 }
984 #endif 984 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698