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

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

Issue 2009013002: Remove unnecessary inclusions of LayoutObject-derived headers in core/editing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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) 2005 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2005 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 22 matching lines...) Expand all
33 #include "core/editing/EditingBoundary.h" 33 #include "core/editing/EditingBoundary.h"
34 #include "core/editing/EditingUtilities.h" 34 #include "core/editing/EditingUtilities.h"
35 #include "core/editing/Editor.h" 35 #include "core/editing/Editor.h"
36 #include "core/editing/VisibleUnits.h" 36 #include "core/editing/VisibleUnits.h"
37 #include "core/frame/LocalFrame.h" 37 #include "core/frame/LocalFrame.h"
38 #include "core/html/HTMLBRElement.h" 38 #include "core/html/HTMLBRElement.h"
39 #include "core/html/HTMLInputElement.h" 39 #include "core/html/HTMLInputElement.h"
40 #include "core/html/HTMLStyleElement.h" 40 #include "core/html/HTMLStyleElement.h"
41 #include "core/html/HTMLTableRowElement.h" 41 #include "core/html/HTMLTableRowElement.h"
42 #include "core/layout/LayoutTableCell.h" 42 #include "core/layout/LayoutTableCell.h"
43 #include "core/layout/LayoutText.h"
44 43
45 namespace blink { 44 namespace blink {
46 45
47 using namespace HTMLNames; 46 using namespace HTMLNames;
48 47
49 static bool isTableCellEmpty(Node* cell) 48 static bool isTableCellEmpty(Node* cell)
50 { 49 {
51 DCHECK(isTableCell(cell)) << cell; 50 DCHECK(isTableCell(cell)) << cell;
52 return VisiblePosition::firstPositionInNode(cell).deepEquivalent() == Visibl ePosition::lastPositionInNode(cell).deepEquivalent(); 51 return VisiblePosition::firstPositionInNode(cell).deepEquivalent() == Visibl ePosition::lastPositionInNode(cell).deepEquivalent();
53 } 52 }
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 visitor->trace(m_deleteIntoBlockquoteStyle); 961 visitor->trace(m_deleteIntoBlockquoteStyle);
963 visitor->trace(m_startRoot); 962 visitor->trace(m_startRoot);
964 visitor->trace(m_endRoot); 963 visitor->trace(m_endRoot);
965 visitor->trace(m_startTableRow); 964 visitor->trace(m_startTableRow);
966 visitor->trace(m_endTableRow); 965 visitor->trace(m_endTableRow);
967 visitor->trace(m_temporaryPlaceholder); 966 visitor->trace(m_temporaryPlaceholder);
968 CompositeEditCommand::trace(visitor); 967 CompositeEditCommand::trace(visitor);
969 } 968 }
970 969
971 } // namespace blink 970 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698