Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/FindMatchRectsDetails.java

Issue 10905058: Upstream the Android port find-in-page feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixes. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698