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

Unified Diff: chrome/browser/ui/find_bar/find_match_rects_details.cc

Issue 10905058: Upstream the Android port find-in-page feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/find_bar/find_match_rects_details.cc
diff --git a/chrome/browser/ui/find_bar/find_match_rects_details.cc b/chrome/browser/ui/find_bar/find_match_rects_details.cc
new file mode 100644
index 0000000000000000000000000000000000000000..7e8e9da651e109e35b8512811b823e9153bb3d62
--- /dev/null
+++ b/chrome/browser/ui/find_bar/find_match_rects_details.cc
@@ -0,0 +1,21 @@
+// Copyright (c) 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.
+
+#include "chrome/browser/ui/find_bar/find_match_rects_details.h"
+
+FindMatchRectsDetails::FindMatchRectsDetails()
+ : version_(-1) {
+}
+
+FindMatchRectsDetails::FindMatchRectsDetails(
+ int version,
+ const std::vector<gfx::RectF>& rects,
+ const gfx::RectF& active_rect)
+ : version_(version),
+ rects_(rects),
+ active_rect_(active_rect) {
+}
+
+FindMatchRectsDetails::~FindMatchRectsDetails() {
+}

Powered by Google App Engine
This is Rietveld 408576698