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

Side by Side Diff: Source/core/editing/htmlediting.cpp

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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
« no previous file with comments | « Source/core/editing/VisibleSelection.cpp ('k') | Source/core/events/BeforeUnloadEvent.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006, 2007 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "core/html/HTMLLIElement.h" 48 #include "core/html/HTMLLIElement.h"
49 #include "core/html/HTMLOListElement.h" 49 #include "core/html/HTMLOListElement.h"
50 #include "core/html/HTMLParagraphElement.h" 50 #include "core/html/HTMLParagraphElement.h"
51 #include "core/html/HTMLTableElement.h" 51 #include "core/html/HTMLTableElement.h"
52 #include "core/html/HTMLUListElement.h" 52 #include "core/html/HTMLUListElement.h"
53 #include "core/frame/Frame.h" 53 #include "core/frame/Frame.h"
54 #include "core/rendering/RenderObject.h" 54 #include "core/rendering/RenderObject.h"
55 #include "wtf/Assertions.h" 55 #include "wtf/Assertions.h"
56 #include "wtf/StdLibExtras.h" 56 #include "wtf/StdLibExtras.h"
57 #include "wtf/text/StringBuilder.h" 57 #include "wtf/text/StringBuilder.h"
58 #include "wtf/unicode/CharacterNames.h"
59 58
60 using namespace std; 59 using namespace std;
61 60
62 namespace WebCore { 61 namespace WebCore {
63 62
64 using namespace HTMLNames; 63 using namespace HTMLNames;
65 64
66 // Atomic means that the node has no children, or has children which are ignored for the 65 // Atomic means that the node has no children, or has children which are ignored for the
67 // purposes of editing. 66 // purposes of editing.
68 bool isAtomicNode(const Node *node) 67 bool isAtomicNode(const Node *node)
(...skipping 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 // if the selection starts just before a paragraph break, skip over it 1160 // if the selection starts just before a paragraph break, skip over it
1162 if (isEndOfParagraph(visiblePosition)) 1161 if (isEndOfParagraph(visiblePosition))
1163 return visiblePosition.next().deepEquivalent().downstream(); 1162 return visiblePosition.next().deepEquivalent().downstream();
1164 1163
1165 // otherwise, make sure to be at the start of the first selected node, 1164 // otherwise, make sure to be at the start of the first selected node,
1166 // instead of possibly at the end of the last node before the selection 1165 // instead of possibly at the end of the last node before the selection
1167 return visiblePosition.deepEquivalent().downstream(); 1166 return visiblePosition.deepEquivalent().downstream();
1168 } 1167 }
1169 1168
1170 } // namespace WebCore 1169 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/editing/VisibleSelection.cpp ('k') | Source/core/events/BeforeUnloadEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698