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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/FullScreenView.java

Issue 421213004: Fixed Compilation Warnings from Aw Files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwContents.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.res.Configuration; 8 import android.content.res.Configuration;
9 import android.graphics.Canvas; 9 import android.graphics.Canvas;
10 import android.graphics.Paint; 10 import android.graphics.Paint;
11 import android.graphics.Rect; 11 import android.graphics.Rect;
12 import android.view.KeyEvent; 12 import android.view.KeyEvent;
13 import android.view.MotionEvent; 13 import android.view.MotionEvent;
14 import android.view.View; 14 import android.view.View;
15 import android.view.inputmethod.EditorInfo; 15 import android.view.inputmethod.EditorInfo;
16 import android.view.inputmethod.InputConnection; 16 import android.view.inputmethod.InputConnection;
17 import android.widget.AbsoluteLayout; 17 import android.widget.FrameLayout;
18 18
19 /** 19 /**
20 * A view that is used to render the web contents in fullscreen mode, ie. 20 * A view that is used to render the web contents in fullscreen mode, ie.
21 * html controls and subtitles, over the {@link ContentVideoView}. 21 * html controls and subtitles, over the {@link ContentVideoView}.
22 */ 22 */
23 public class FullScreenView extends AbsoluteLayout { 23 public class FullScreenView extends FrameLayout {
24 24
25 private AwViewMethods mAwViewMethods; 25 private AwViewMethods mAwViewMethods;
26 private InternalAccessAdapter mInternalAccessAdapter; 26 private InternalAccessAdapter mInternalAccessAdapter;
27 27
28 public FullScreenView(Context context, AwViewMethods awViewMethods) { 28 public FullScreenView(Context context, AwViewMethods awViewMethods) {
29 super(context); 29 super(context);
30 setAwViewMethods(awViewMethods); 30 setAwViewMethods(awViewMethods);
31 mInternalAccessAdapter = new InternalAccessAdapter(); 31 mInternalAccessAdapter = new InternalAccessAdapter();
32 } 32 }
33 33
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 public void super_scrollTo(int scrollX, int scrollY) { 205 public void super_scrollTo(int scrollX, int scrollY) {
206 // Intentional no-op. 206 // Intentional no-op.
207 } 207 }
208 208
209 @Override 209 @Override
210 public void setMeasuredDimension(int measuredWidth, int measuredHeight) { 210 public void setMeasuredDimension(int measuredWidth, int measuredHeight) {
211 FullScreenView.this.setMeasuredDimension(measuredWidth, measuredHeig ht); 211 FullScreenView.this.setMeasuredDimension(measuredWidth, measuredHeig ht);
212 } 212 }
213 } 213 }
214 } 214 }
OLDNEW
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwContents.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698