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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple 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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 public_id.StartsWith("-//W3C//DTD HTML 4.0 Transitional//", 565 public_id.StartsWith("-//W3C//DTD HTML 4.0 Transitional//",
566 kTextCaseASCIIInsensitive) || 566 kTextCaseASCIIInsensitive) ||
567 public_id.StartsWith("-//W3C//DTD HTML Experimental 19960712//", 567 public_id.StartsWith("-//W3C//DTD HTML Experimental 19960712//",
568 kTextCaseASCIIInsensitive) || 568 kTextCaseASCIIInsensitive) ||
569 public_id.StartsWith("-//W3C//DTD HTML Experimental 970421//", 569 public_id.StartsWith("-//W3C//DTD HTML Experimental 970421//",
570 kTextCaseASCIIInsensitive) || 570 kTextCaseASCIIInsensitive) ||
571 public_id.StartsWith("-//W3C//DTD W3 HTML//", 571 public_id.StartsWith("-//W3C//DTD W3 HTML//",
572 kTextCaseASCIIInsensitive) || 572 kTextCaseASCIIInsensitive) ||
573 public_id.StartsWith("-//W3O//DTD W3 HTML 3.0//", 573 public_id.StartsWith("-//W3O//DTD W3 HTML 3.0//",
574 kTextCaseASCIIInsensitive) || 574 kTextCaseASCIIInsensitive) ||
575 EqualIgnoringCase(public_id, "-//W3O//DTD W3 HTML Strict 3.0//EN//") || 575 DeprecatedEqualIgnoringCase(public_id,
576 "-//W3O//DTD W3 HTML Strict 3.0//EN//") ||
576 public_id.StartsWith("-//WebTechs//DTD Mozilla HTML 2.0//", 577 public_id.StartsWith("-//WebTechs//DTD Mozilla HTML 2.0//",
577 kTextCaseASCIIInsensitive) || 578 kTextCaseASCIIInsensitive) ||
578 public_id.StartsWith("-//WebTechs//DTD Mozilla HTML//", 579 public_id.StartsWith("-//WebTechs//DTD Mozilla HTML//",
579 kTextCaseASCIIInsensitive) || 580 kTextCaseASCIIInsensitive) ||
580 EqualIgnoringCase(public_id, "-/W3C/DTD HTML 4.0 Transitional/EN") || 581 DeprecatedEqualIgnoringCase(public_id,
581 EqualIgnoringCase(public_id, "HTML") || 582 "-/W3C/DTD HTML 4.0 Transitional/EN") ||
582 EqualIgnoringCase( 583 DeprecatedEqualIgnoringCase(public_id, "HTML") ||
584 DeprecatedEqualIgnoringCase(
583 system_id, 585 system_id,
584 "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd") || 586 "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd") ||
585 (system_id.IsEmpty() && 587 (system_id.IsEmpty() &&
586 public_id.StartsWith("-//W3C//DTD HTML 4.01 Frameset//", 588 public_id.StartsWith("-//W3C//DTD HTML 4.01 Frameset//",
587 kTextCaseASCIIInsensitive)) || 589 kTextCaseASCIIInsensitive)) ||
588 (system_id.IsEmpty() && 590 (system_id.IsEmpty() &&
589 public_id.StartsWith("-//W3C//DTD HTML 4.01 Transitional//", 591 public_id.StartsWith("-//W3C//DTD HTML 4.01 Transitional//",
590 kTextCaseASCIIInsensitive))) { 592 kTextCaseASCIIInsensitive))) {
591 SetCompatibilityMode(Document::kQuirksMode); 593 SetCompatibilityMode(Document::kQuirksMode);
592 return; 594 return;
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 DCHECK(task.parent); 1084 DCHECK(task.parent);
1083 QueueTask(task); 1085 QueueTask(task);
1084 } 1086 }
1085 1087
1086 DEFINE_TRACE(HTMLConstructionSite::PendingText) { 1088 DEFINE_TRACE(HTMLConstructionSite::PendingText) {
1087 visitor->Trace(parent); 1089 visitor->Trace(parent);
1088 visitor->Trace(next_child); 1090 visitor->Trace(next_child);
1089 } 1091 }
1090 1092
1091 } // namespace blink 1093 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698