| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 3 * Copyright (C) 2008, 2009, 2010, 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011 Google Inc. All rights reserved. |
| 4 * Copyright (C) 2011 Igalia S.L. | 4 * Copyright (C) 2011 Igalia S.L. |
| 5 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 5 * Copyright (C) 2011 Motorola Mobility. All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 #include "core/layout/LayoutObject.h" | 66 #include "core/layout/LayoutObject.h" |
| 67 #include "platform/weborigin/KURL.h" | 67 #include "platform/weborigin/KURL.h" |
| 68 #include "wtf/StdLibExtras.h" | 68 #include "wtf/StdLibExtras.h" |
| 69 #include "wtf/text/StringBuilder.h" | 69 #include "wtf/text/StringBuilder.h" |
| 70 | 70 |
| 71 namespace blink { | 71 namespace blink { |
| 72 | 72 |
| 73 using namespace HTMLNames; | 73 using namespace HTMLNames; |
| 74 | 74 |
| 75 class AttributeChange { | 75 class AttributeChange { |
| 76 ALLOW_ONLY_INLINE_ALLOCATION(); | 76 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 77 public: | 77 public: |
| 78 AttributeChange() | 78 AttributeChange() |
| 79 : m_name(nullAtom, nullAtom, nullAtom) | 79 : m_name(nullAtom, nullAtom, nullAtom) |
| 80 { | 80 { |
| 81 } | 81 } |
| 82 | 82 |
| 83 AttributeChange(PassRefPtrWillBeRawPtr<Element> element, const QualifiedName
& name, const String& value) | 83 AttributeChange(PassRefPtrWillBeRawPtr<Element> element, const QualifiedName
& name, const String& value) |
| 84 : m_element(element), m_name(name), m_value(value) | 84 : m_element(element), m_name(name), m_value(value) |
| 85 { | 85 { |
| 86 } | 86 } |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 700 RefPtrWillBeRawPtr<Text> textNext = toText(next); | 700 RefPtrWillBeRawPtr<Text> textNext = toText(next); |
| 701 textNode->appendData(textNext->data()); | 701 textNode->appendData(textNext->data()); |
| 702 if (textNext->parentNode()) // Might have been removed by mutation event. | 702 if (textNext->parentNode()) // Might have been removed by mutation event. |
| 703 textNext->remove(exceptionState); | 703 textNext->remove(exceptionState); |
| 704 } | 704 } |
| 705 | 705 |
| 706 template class CORE_TEMPLATE_EXPORT CreateMarkupAlgorithm<EditingStrategy>; | 706 template class CORE_TEMPLATE_EXPORT CreateMarkupAlgorithm<EditingStrategy>; |
| 707 template class CORE_TEMPLATE_EXPORT CreateMarkupAlgorithm<EditingInComposedTreeS
trategy>; | 707 template class CORE_TEMPLATE_EXPORT CreateMarkupAlgorithm<EditingInComposedTreeS
trategy>; |
| 708 | 708 |
| 709 } | 709 } |
| OLD | NEW |