| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.content.browser; | 5 package org.chromium.content.browser; |
| 6 | 6 |
| 7 import android.content.ActivityNotFoundException; | 7 import android.content.ActivityNotFoundException; |
| 8 import android.content.Context; | 8 import android.content.Context; |
| 9 import android.content.Intent; | 9 import android.content.Intent; |
| 10 import android.util.Log; | 10 import android.util.Log; |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 keyCode == KeyEvent.KEYCODE_HEADSETHOOK || | 202 keyCode == KeyEvent.KEYCODE_HEADSETHOOK || |
| 203 keyCode == KeyEvent.KEYCODE_CAMERA || | 203 keyCode == KeyEvent.KEYCODE_CAMERA || |
| 204 keyCode == KeyEvent.KEYCODE_FOCUS || | 204 keyCode == KeyEvent.KEYCODE_FOCUS || |
| 205 keyCode == KeyEvent.KEYCODE_VOLUME_DOWN || | 205 keyCode == KeyEvent.KEYCODE_VOLUME_DOWN || |
| 206 keyCode == KeyEvent.KEYCODE_VOLUME_MUTE || | 206 keyCode == KeyEvent.KEYCODE_VOLUME_MUTE || |
| 207 keyCode == KeyEvent.KEYCODE_VOLUME_UP) { | 207 keyCode == KeyEvent.KEYCODE_VOLUME_UP) { |
| 208 return false; | 208 return false; |
| 209 } | 209 } |
| 210 return true; | 210 return true; |
| 211 } | 211 } |
| 212 | |
| 213 /** | |
| 214 * Called when a non-video element has entered fullscreen. For video element
s see | |
| 215 * {@link ContentVideoViewClient#enterFullscreenVideo(android.view.View)}. | |
| 216 */ | |
| 217 public void enterFullscreen() { } | |
| 218 | |
| 219 /** | |
| 220 * Called when a non-video element has exited fullscreen. For video elements
see | |
| 221 * {@link ContentVideoViewClient#exitFullscreenVideo()}. | |
| 222 */ | |
| 223 public void exitFullscreen() { } | |
| 224 } | 212 } |
| OLD | NEW |