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

Unified Diff: ui/views/animation/test/test_ink_drop_delegate.h

Issue 2017833003: Fixes ink drop being "stuck" on when losing focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed some left-over crufty code. Created 4 years, 7 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/views/animation/test/test_ink_drop_delegate.h
diff --git a/ui/views/animation/test/test_ink_drop_delegate.h b/ui/views/animation/test/test_ink_drop_delegate.h
index ec9b7c9626b1a7ad75d6feb53c5d065411e8980a..12e1e4947149306b64c19ce003242d9dbe5e382c 100644
--- a/ui/views/animation/test/test_ink_drop_delegate.h
+++ b/ui/views/animation/test/test_ink_drop_delegate.h
@@ -6,6 +6,7 @@
#define UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_DELEGATE_H_
#include "base/macros.h"
+#include "base/memory/ptr_util.h"
#include "ui/views/animation/ink_drop_delegate.h"
namespace views {
@@ -30,6 +31,8 @@ class TestInkDropDelegate : public InkDropDelegate {
bool is_hovered_;
+ std::unique_ptr<InkDrop> ink_drop_;
+
DISALLOW_COPY_AND_ASSIGN(TestInkDropDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698