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

Unified Diff: chrome/browser/ui/browser_browsertest.cc

Issue 1735833002: Remove WebContentsObserver::DidGetUserGesture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/browser_browsertest.cc
diff --git a/chrome/browser/ui/browser_browsertest.cc b/chrome/browser/ui/browser_browsertest.cc
index da10776145b10134468bb4c775a326e095870822..fde2e611c07fc14fc312c50de89965bb47b59548 100644
--- a/chrome/browser/ui/browser_browsertest.cc
+++ b/chrome/browser/ui/browser_browsertest.cc
@@ -2099,7 +2099,9 @@ class MockWebContentsObserver : public WebContentsObserver {
got_user_gesture_(false) {
}
- void DidGetUserGesture() override { got_user_gesture_ = true; }
+ void DidGetUserInteraction(const blink::WebInputEvent::Type type) override {
tdresser 2016/02/25 14:42:48 Can we add a test that the type here is sane?
dominickn 2016/02/26 00:36:11 Done.
+ got_user_gesture_ = true;
+ }
bool got_user_gesture() const {
return got_user_gesture_;

Powered by Google App Engine
This is Rietveld 408576698