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

Unified Diff: ui/touch_selection/touch_handle.h

Issue 698253004: Reland: Implement Aura side of unified touch text selection for contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed overrides in TouchHandleDrawableAura Created 5 years, 11 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/touch_selection/touch_handle.h
diff --git a/ui/touch_selection/touch_handle.h b/ui/touch_selection/touch_handle.h
index f6863a23ca076c49f2db2be10c916244ccc5c722..eaca7caa92e05a6eb583bba368006c2dde40da88 100644
--- a/ui/touch_selection/touch_handle.h
+++ b/ui/touch_selection/touch_handle.h
@@ -95,12 +95,16 @@ class UI_TOUCH_SELECTION_EXPORT TouchHandle {
TouchHandleOrientation orientation() const { return orientation_; }
private:
+ friend class TouchSelectionControllerAuraTest;
jdduke (slow) 2015/01/28 16:35:32 Hmm, this friend declaration is a shame, I guess t
mohsen 2015/02/22 23:23:09 Fixed, please take another look.
+
void BeginDrag();
void EndDrag();
void BeginFade();
void EndFade();
void SetAlpha(float alpha);
+ TouchHandleDrawable* drawable_for_testing() const { return drawable_.get(); }
+
scoped_ptr<TouchHandleDrawable> drawable_;
TouchHandleClient* const client_;

Powered by Google App Engine
This is Rietveld 408576698