OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009, 2010, 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2009, 2010, 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 #include "core/html/HTMLBRElement.h" | 54 #include "core/html/HTMLBRElement.h" |
55 #include "core/html/HTMLElement.h" | 55 #include "core/html/HTMLElement.h" |
56 #include "core/html/HTMLInputElement.h" | 56 #include "core/html/HTMLInputElement.h" |
57 #include "core/html/HTMLLIElement.h" | 57 #include "core/html/HTMLLIElement.h" |
58 #include "core/html/HTMLQuoteElement.h" | 58 #include "core/html/HTMLQuoteElement.h" |
59 #include "core/html/HTMLSelectElement.h" | 59 #include "core/html/HTMLSelectElement.h" |
60 #include "core/html/HTMLSpanElement.h" | 60 #include "core/html/HTMLSpanElement.h" |
61 #include "core/layout/LayoutObject.h" | 61 #include "core/layout/LayoutObject.h" |
62 #include "core/layout/LayoutText.h" | 62 #include "core/layout/LayoutText.h" |
63 #include "platform/instrumentation/tracing/TraceEvent.h" | 63 #include "platform/instrumentation/tracing/TraceEvent.h" |
64 #include "wtf/StdLibExtras.h" | 64 #include "platform/wtf/StdLibExtras.h" |
65 #include "wtf/Vector.h" | 65 #include "platform/wtf/Vector.h" |
66 | 66 |
67 namespace blink { | 67 namespace blink { |
68 | 68 |
69 using namespace HTMLNames; | 69 using namespace HTMLNames; |
70 | 70 |
71 enum EFragmentType { kEmptyFragment, kSingleTextNodeFragment, kTreeFragment }; | 71 enum EFragmentType { kEmptyFragment, kSingleTextNodeFragment, kTreeFragment }; |
72 | 72 |
73 // --- ReplacementFragment helper class | 73 // --- ReplacementFragment helper class |
74 | 74 |
75 class ReplacementFragment final { | 75 class ReplacementFragment final { |
(...skipping 1933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2009 visitor->Trace(start_of_inserted_content_); | 2009 visitor->Trace(start_of_inserted_content_); |
2010 visitor->Trace(end_of_inserted_content_); | 2010 visitor->Trace(end_of_inserted_content_); |
2011 visitor->Trace(insertion_style_); | 2011 visitor->Trace(insertion_style_); |
2012 visitor->Trace(document_fragment_); | 2012 visitor->Trace(document_fragment_); |
2013 visitor->Trace(start_of_inserted_range_); | 2013 visitor->Trace(start_of_inserted_range_); |
2014 visitor->Trace(end_of_inserted_range_); | 2014 visitor->Trace(end_of_inserted_range_); |
2015 CompositeEditCommand::Trace(visitor); | 2015 CompositeEditCommand::Trace(visitor); |
2016 } | 2016 } |
2017 | 2017 |
2018 } // namespace blink | 2018 } // namespace blink |
OLD | NEW |