Commit a0933169 authored by sdefresne's avatar sdefresne Committed by Commit bot

[iOS] Cleanup comments in find_in_page.js

BUG=None

Review URL: https://codereview.chromium.org/1123383006

Cr-Commit-Position: refs/heads/master@{#330714}
parent 27e044cf
......@@ -3,13 +3,10 @@
// found in the LICENSE file.
/**
* This file is lifted from the GoogleMobile find tool.
* Based heavily on code from the Google iOS app.
*
* @fileoverview A find in page tool. It scans the DOM for elements with the
* text being search for, and wraps them with a span that highlights them.
*
* @author bmcmahan@google.com (Benjamin McMahan)
*
*/
/**
......@@ -867,7 +864,7 @@ __gCrWeb['findInPage'].isVisible = function(elem) {
// only scroll the window, not any scrollable containers in the DOM itself. So
// for now this function returns false if the element is scrolled outside the
// viewable area of its ancestors.
// TODO (jonwall): handle scrolling within the DOM.
// TODO(justincohen): handle scrolling within the DOM.
var pageHeight = __gCrWeb['findInPage'].getBodyHeight();
var pageWidth = __gCrWeb['findInPage'].getBodyWidth();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment