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

Unified Diff: ui/base/touch/selection_bound.h

Issue 1066053002: [Android] Allow custom ActionMode creation via ContentViewClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix null check Created 5 years, 8 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: ui/base/touch/selection_bound.h
diff --git a/ui/base/touch/selection_bound.h b/ui/base/touch/selection_bound.h
index 52491f0a7c655b4e5e5fa522291cfc6f5e351a4c..4636ce11261473d4facd6acdbac21188c7846cb2 100644
--- a/ui/base/touch/selection_bound.h
+++ b/ui/base/touch/selection_bound.h
@@ -11,6 +11,7 @@
namespace gfx {
class Rect;
+class RectF;
}
namespace ui {
@@ -66,6 +67,9 @@ UI_BASE_EXPORT bool operator!=(const SelectionBound& lhs,
UI_BASE_EXPORT gfx::Rect RectBetweenSelectionBounds(const SelectionBound& b1,
const SelectionBound& b2);
+UI_BASE_EXPORT gfx::RectF RectFBetweenSelectionBounds(const SelectionBound& b1,
+ const SelectionBound& b2);
+
} // namespace ui
#endif // UI_BASE_TOUCH_SELECTION_BOUND_H_

Powered by Google App Engine
This is Rietveld 408576698