root/chrome/android/java/src/org/chromium/chrome/browser/FindMatchRectsDetails.java

/* [<][>][^][v][top][bottom][index][help] */
// 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;

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, RectF[] rects, RectF activeRect) {
        this.version = version;
        this.rects = rects;
        this.activeRect = activeRect;
    }
}

/* [<][>][^][v][top][bottom][index][help] */