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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorDOMAgent.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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 String text = node->nodeValue(); 1004 String text = node->nodeValue();
1005 if (text.FindIgnoringCase(whitespace_trimmed_query) != kNotFound) 1005 if (text.FindIgnoringCase(whitespace_trimmed_query) != kNotFound)
1006 result_collector.insert(node); 1006 result_collector.insert(node);
1007 break; 1007 break;
1008 } 1008 }
1009 case Node::kElementNode: { 1009 case Node::kElementNode: {
1010 if ((!start_tag_found && !end_tag_found && 1010 if ((!start_tag_found && !end_tag_found &&
1011 (node->nodeName().FindIgnoringCase(tag_name_query) != 1011 (node->nodeName().FindIgnoringCase(tag_name_query) !=
1012 kNotFound)) || 1012 kNotFound)) ||
1013 (start_tag_found && end_tag_found && 1013 (start_tag_found && end_tag_found &&
1014 EqualIgnoringCase(node->nodeName(), tag_name_query)) || 1014 DeprecatedEqualIgnoringCase(node->nodeName(), tag_name_query)) ||
1015 (start_tag_found && !end_tag_found && 1015 (start_tag_found && !end_tag_found &&
1016 node->nodeName().StartsWith(tag_name_query, 1016 node->nodeName().StartsWith(tag_name_query,
1017 kTextCaseUnicodeInsensitive)) || 1017 kTextCaseUnicodeInsensitive)) ||
1018 (!start_tag_found && end_tag_found && 1018 (!start_tag_found && end_tag_found &&
1019 node->nodeName().EndsWith(tag_name_query, 1019 node->nodeName().EndsWith(tag_name_query,
1020 kTextCaseUnicodeInsensitive))) { 1020 kTextCaseUnicodeInsensitive))) {
1021 result_collector.insert(node); 1021 result_collector.insert(node);
1022 break; 1022 break;
1023 } 1023 }
1024 // Go through all attributes and serialize them. 1024 // Go through all attributes and serialize them.
(...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after
2401 visitor->Trace(id_to_nodes_map_); 2401 visitor->Trace(id_to_nodes_map_);
2402 visitor->Trace(document_); 2402 visitor->Trace(document_);
2403 visitor->Trace(revalidate_task_); 2403 visitor->Trace(revalidate_task_);
2404 visitor->Trace(search_results_); 2404 visitor->Trace(search_results_);
2405 visitor->Trace(history_); 2405 visitor->Trace(history_);
2406 visitor->Trace(dom_editor_); 2406 visitor->Trace(dom_editor_);
2407 InspectorBaseAgent::Trace(visitor); 2407 InspectorBaseAgent::Trace(visitor);
2408 } 2408 }
2409 2409
2410 } // namespace blink 2410 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698