// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.findinpage; import android.graphics.RectF; /** * Holds the result details of a RequestFindMatchRects reply. */ public class FindMatchRectsDetails { /** Version of the the rects in this result. */ public final int version; /** Rects of the find matches in find-in-page coordinates. */ public final RectF[] rects; /** Rect of the active match in find-in-page coordinates. */ public final RectF activeRect; public FindMatchRectsDetails(int version, int numRects, RectF activeRect) { this.version = version; this.rects = new RectF[numRects]; this.activeRect = activeRect; } }