mobile/android/base/TouchEventInterceptor.java

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:bbd49de482fe
1 /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 package org.mozilla.gecko;
7
8 import android.view.MotionEvent;
9 import android.view.View;
10
11 public interface TouchEventInterceptor extends View.OnTouchListener {
12 /** Override this method for a chance to consume events before the view or its children */
13 public boolean onInterceptTouchEvent(View view, MotionEvent event);
14 }

mercurial