OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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.vr_shell; |
| 6 |
| 7 /** |
| 8 * Callback used to execute code additional test code after VrShellImpl's |
| 9 * dispatchTouchEvent() runs. |
| 10 */ |
| 11 public interface OnDispatchTouchEventCallback { |
| 12 /** |
| 13 * Runs some code that may need to know if the event was consumed |
| 14 * by the parent and if a cardboard event was triggered. |
| 15 */ |
| 16 void onDispatchTouchEvent(boolean parentConsumed, boolean cardboardTriggered
); |
| 17 } |
OLD | NEW |