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

Side by Side Diff: third_party/WebKit/Source/core/frame/SmartClip.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) 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 ConvertToContentCoordinatesWithoutCollapsingToZero( 164 ConvertToContentCoordinatesWithoutCollapsingToZero(
165 crop_rect_in_viewport, root_node->GetDocument().View()); 165 crop_rect_in_viewport, root_node->GetDocument().View());
166 166
167 Node* node = root_node; 167 Node* node = root_node;
168 Node* min_node = nullptr; 168 Node* min_node = nullptr;
169 169
170 while (node) { 170 while (node) {
171 IntRect node_rect = node->PixelSnappedBoundingBox(); 171 IntRect node_rect = node->PixelSnappedBoundingBox();
172 172
173 if (node->IsElementNode() && 173 if (node->IsElementNode() &&
174 EqualIgnoringCase( 174 DeprecatedEqualIgnoringCase(
175 ToElement(node)->FastGetAttribute(HTMLNames::aria_hiddenAttr), 175 ToElement(node)->FastGetAttribute(HTMLNames::aria_hiddenAttr),
176 "true")) { 176 "true")) {
177 node = NodeTraversal::NextSkippingChildren(*node, root_node); 177 node = NodeTraversal::NextSkippingChildren(*node, root_node);
178 continue; 178 continue;
179 } 179 }
180 180
181 LayoutObject* layout_object = node->GetLayoutObject(); 181 LayoutObject* layout_object = node->GetLayoutObject();
182 if (layout_object && !node_rect.IsEmpty()) { 182 if (layout_object && !node_rect.IsEmpty()) {
183 if (layout_object->IsText() || layout_object->IsLayoutImage() || 183 if (layout_object->IsText() || layout_object->IsLayoutImage() ||
184 node->IsFrameOwnerElement() || 184 node->IsFrameOwnerElement() ||
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 result.Append(node_value); 267 result.Append(node_value);
268 } 268 }
269 } 269 }
270 } 270 }
271 271
272 return result.ToString(); 272 return result.ToString();
273 } 273 }
274 274
275 } // namespace blink 275 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698