| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2013 Google, 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 Uninitialized, | 68 Uninitialized, |
| 69 DOCTYPE, | 69 DOCTYPE, |
| 70 StartTag, | 70 StartTag, |
| 71 EndTag, | 71 EndTag, |
| 72 Comment, | 72 Comment, |
| 73 Character, | 73 Character, |
| 74 EndOfFile, | 74 EndOfFile, |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 class Attribute { | 77 class Attribute { |
| 78 ALLOW_ONLY_INLINE_ALLOCATION(); | 78 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 79 public: | 79 public: |
| 80 class Range { | 80 class Range { |
| 81 DISALLOW_ALLOCATION(); | 81 DISALLOW_NEW(); |
| 82 public: | 82 public: |
| 83 int start; | 83 int start; |
| 84 int end; | 84 int end; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 Range nameRange; | 87 Range nameRange; |
| 88 Range valueRange; | 88 Range valueRange; |
| 89 Vector<UChar, 32> name; | 89 Vector<UChar, 32> name; |
| 90 Vector<UChar, 32> value; | 90 Vector<UChar, 32> value; |
| 91 }; | 91 }; |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 // A pointer into m_attributes used during lexing. | 452 // A pointer into m_attributes used during lexing. |
| 453 Attribute* m_currentAttribute; | 453 Attribute* m_currentAttribute; |
| 454 | 454 |
| 455 // For DOCTYPE | 455 // For DOCTYPE |
| 456 OwnPtr<DoctypeData> m_doctypeData; | 456 OwnPtr<DoctypeData> m_doctypeData; |
| 457 }; | 457 }; |
| 458 | 458 |
| 459 } | 459 } |
| 460 | 460 |
| 461 #endif | 461 #endif |
| OLD | NEW |