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

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

Issue 1528323002: Include <algorithm> if you use functions from <algorithm>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split ui parts into a separate review Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2007, 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 #include "core/html/HTMLBRElement.h" 66 #include "core/html/HTMLBRElement.h"
67 #include "core/html/HTMLDivElement.h" 67 #include "core/html/HTMLDivElement.h"
68 #include "core/html/HTMLElement.h" 68 #include "core/html/HTMLElement.h"
69 #include "core/html/HTMLLIElement.h" 69 #include "core/html/HTMLLIElement.h"
70 #include "core/html/HTMLQuoteElement.h" 70 #include "core/html/HTMLQuoteElement.h"
71 #include "core/html/HTMLSpanElement.h" 71 #include "core/html/HTMLSpanElement.h"
72 #include "core/layout/LayoutBlock.h" 72 #include "core/layout/LayoutBlock.h"
73 #include "core/layout/LayoutListItem.h" 73 #include "core/layout/LayoutListItem.h"
74 #include "core/layout/LayoutText.h" 74 #include "core/layout/LayoutText.h"
75 #include "core/layout/line/InlineTextBox.h" 75 #include "core/layout/line/InlineTextBox.h"
76 #include <algorithm>
76 77
77 namespace blink { 78 namespace blink {
78 79
79 using namespace HTMLNames; 80 using namespace HTMLNames;
80 81
81 PassRefPtrWillBeRawPtr<EditCommandComposition> EditCommandComposition::create(Do cument* document, 82 PassRefPtrWillBeRawPtr<EditCommandComposition> EditCommandComposition::create(Do cument* document,
82 const VisibleSelection& startingSelection, const VisibleSelection& endingSel ection, EditAction editAction) 83 const VisibleSelection& startingSelection, const VisibleSelection& endingSel ection, EditAction editAction)
83 { 84 {
84 return adoptRefWillBeNoop(new EditCommandComposition(document, startingSelec tion, endingSelection, editAction)); 85 return adoptRefWillBeNoop(new EditCommandComposition(document, startingSelec tion, endingSelection, editAction));
85 } 86 }
(...skipping 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after
1502 } 1503 }
1503 1504
1504 DEFINE_TRACE(CompositeEditCommand) 1505 DEFINE_TRACE(CompositeEditCommand)
1505 { 1506 {
1506 visitor->trace(m_commands); 1507 visitor->trace(m_commands);
1507 visitor->trace(m_composition); 1508 visitor->trace(m_composition);
1508 EditCommand::trace(visitor); 1509 EditCommand::trace(visitor);
1509 } 1510 }
1510 1511
1511 } // namespace blink 1512 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698