1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 package org.chromium.chrome.browser;
7 import android.graphics.RectF;
10 * Holds the result details of a RequestFindMatchRects reply.
12 public class FindMatchRectsDetails {
13 /** Version of the the rects in this result. */
14 public final int version;
16 /** Rects of the find matches in find-in-page coordinates. */
17 public final RectF[] rects;
19 /** Rect of the active match in find-in-page coordinates. */
20 public final RectF activeRect;
22 public FindMatchRectsDetails(int version, RectF[] rects, RectF activeRect) {
23 this.version = version;
25 this.activeRect = activeRect;