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

Side by Side Diff: Source/core/html/HTMLDocument.cpp

Issue 19510005: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLButtonElement.cpp ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 set->add(qName.localName().impl()); 339 set->add(qName.localName().impl());
340 } 340 }
341 341
342 static HashSet<AtomicStringImpl*>* createHtmlCaseInsensitiveAttributesSet() 342 static HashSet<AtomicStringImpl*>* createHtmlCaseInsensitiveAttributesSet()
343 { 343 {
344 // This is the list of attributes in HTML 4.01 with values marked as "[CI]" or case-insensitive 344 // This is the list of attributes in HTML 4.01 with values marked as "[CI]" or case-insensitive
345 // Mozilla treats all other values as case-sensitive, thus so do we. 345 // Mozilla treats all other values as case-sensitive, thus so do we.
346 HashSet<AtomicStringImpl*>* attrSet = new HashSet<AtomicStringImpl*>; 346 HashSet<AtomicStringImpl*>* attrSet = new HashSet<AtomicStringImpl*>;
347 347
348 addLocalNameToSet(attrSet, accept_charsetAttr); 348 addLocalNameToSet(attrSet, accept_charsetAttr);
349 addLocalNameToSet(attrSet, acceptAttr); 349 addLocalNameToSet(attrSet, accept_Attr);
350 addLocalNameToSet(attrSet, alignAttr); 350 addLocalNameToSet(attrSet, alignAttr);
351 addLocalNameToSet(attrSet, alinkAttr); 351 addLocalNameToSet(attrSet, alinkAttr);
352 addLocalNameToSet(attrSet, axisAttr); 352 addLocalNameToSet(attrSet, axisAttr);
353 addLocalNameToSet(attrSet, bgcolorAttr); 353 addLocalNameToSet(attrSet, bgcolorAttr);
354 addLocalNameToSet(attrSet, charsetAttr); 354 addLocalNameToSet(attrSet, charsetAttr);
355 addLocalNameToSet(attrSet, checkedAttr); 355 addLocalNameToSet(attrSet, checkedAttr);
356 addLocalNameToSet(attrSet, clearAttr); 356 addLocalNameToSet(attrSet, clearAttr);
357 addLocalNameToSet(attrSet, codetypeAttr); 357 addLocalNameToSet(attrSet, codetypeAttr);
358 addLocalNameToSet(attrSet, colorAttr); 358 addLocalNameToSet(attrSet, colorAttr);
359 addLocalNameToSet(attrSet, compactAttr); 359 addLocalNameToSet(attrSet, compactAttr);
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 // But I do see it in the documentation for Mozilla. 408 // But I do see it in the documentation for Mozilla.
409 } 409 }
410 410
411 bool HTMLDocument::isFrameSet() const 411 bool HTMLDocument::isFrameSet() const
412 { 412 {
413 HTMLElement* bodyElement = body(); 413 HTMLElement* bodyElement = body();
414 return bodyElement && bodyElement->hasTagName(framesetTag); 414 return bodyElement && bodyElement->hasTagName(framesetTag);
415 } 415 }
416 416
417 } 417 }
OLDNEW
« no previous file with comments | « Source/core/html/HTMLButtonElement.cpp ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698