| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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.android_webview; | 5 package org.chromium.android_webview; |
| 6 | 6 |
| 7 import android.content.Context; | 7 import android.content.Context; |
| 8 import android.content.Intent; | 8 import android.content.Intent; |
| 9 import android.view.KeyEvent; | 9 import android.view.KeyEvent; |
| 10 import android.view.View; | 10 import android.view.View; |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 /** | 145 /** |
| 146 * Called to show the web contents in embedded mode. | 146 * Called to show the web contents in embedded mode. |
| 147 */ | 147 */ |
| 148 public void exitFullscreen() { | 148 public void exitFullscreen() { |
| 149 if (mCustomView != null) { | 149 if (mCustomView != null) { |
| 150 mCustomView = null; | 150 mCustomView = null; |
| 151 mAwContents.exitFullScreen(); | 151 mAwContents.exitFullScreen(); |
| 152 mAwContentsClient.onHideCustomView(); | 152 mAwContentsClient.onHideCustomView(); |
| 153 } | 153 } |
| 154 } | 154 } |
| 155 |
| 156 @Override |
| 157 public String getProductVersion() { |
| 158 return AwContentsStatics.getProductVersion(); |
| 159 } |
| 155 } | 160 } |
| OLD | NEW |