- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / android / java / src / org / chromium / chrome / browser / FindMatchRectsDetails.java
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.
4
5 package org.chromium.chrome.browser;
6
7 import android.graphics.RectF;
8
9 /**
10  * Holds the result details of a RequestFindMatchRects reply.
11  */
12 public class FindMatchRectsDetails {
13     /** Version of the the rects in this result. */
14     public final int version;
15
16     /** Rects of the find matches in find-in-page coordinates. */
17     public final RectF[] rects;
18
19     /** Rect of the active match in find-in-page coordinates. */
20     public final RectF activeRect;
21
22     public FindMatchRectsDetails(int version, RectF[] rects, RectF activeRect) {
23         this.version = version;
24         this.rects = rects;
25         this.activeRect = activeRect;
26     }
27 }