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

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/browser/compositor/eventfilter/MockEventFilterHost.java

Issue 987883002: Upstream Layout.java and associated files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to SuppressFBWarnings from findbugs_exclude.xml Created 5 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.chrome.browser.compositor.eventfilter;
6
7 import android.view.MotionEvent;
8
9 import org.chromium.chrome.browser.compositor.layouts.eventfilter.EventFilterHos t;
10
11 /**
12 * Most basic {@link EventFilterHost}.
13 */
14 public class MockEventFilterHost implements EventFilterHost {
15 public MockEventFilterHost() {
16 }
17
18 @Override
19 public boolean propagateEvent(MotionEvent e) {
20 return false;
21 }
22
23 @Override
24 public int getViewportWidth() {
25 return 0;
26 }
27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698