| OLD | NEW |
| (Empty) | |
| 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 * Java equivalent to the C++ FindMatchRectsDetails class |
| 11 * defined in chrome/browser/ui/find_bar/find_match_rects_details.h |
| 12 */ |
| 13 public class FindMatchRectsDetails { |
| 14 /** Version of the the rects in this result. */ |
| 15 public final int version; |
| 16 |
| 17 /** Rects of the find matches in find-in-page coordinates. */ |
| 18 public final RectF[] rects; |
| 19 |
| 20 /** Rect of the active match in find-in-page coordinates. */ |
| 21 public final RectF activeRect; |
| 22 |
| 23 public FindMatchRectsDetails(int version, RectF[] rects, RectF activeRect) { |
| 24 this.version = version; |
| 25 this.rects = rects; |
| 26 this.activeRect = activeRect; |
| 27 } |
| 28 } |
| OLD | NEW |