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

Side by Side Diff: android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java

Issue 1614053002: [Android WebView] Actualize @Overrides for methods added in Lollipop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | 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 com.android.webview.chromium; 5 package com.android.webview.chromium;
6 6
7 import android.app.ActivityManager; 7 import android.app.ActivityManager;
8 import android.content.ComponentCallbacks2; 8 import android.content.ComponentCallbacks2;
9 import android.content.Context; 9 import android.content.Context;
10 import android.content.Intent; 10 import android.content.Intent;
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 355
356 @Override 356 @Override
357 public void setWebContentsDebuggingEnabled(boolean enable) { 357 public void setWebContentsDebuggingEnabled(boolean enable) {
358 // Web Contents debugging is always enabled on debug bui lds. 358 // Web Contents debugging is always enabled on debug bui lds.
359 if (!isBuildDebuggable()) { 359 if (!isBuildDebuggable()) {
360 WebViewChromiumFactoryProvider.this.setWebContentsDe buggingEnabled( 360 WebViewChromiumFactoryProvider.this.setWebContentsDe buggingEnabled(
361 enable); 361 enable);
362 } 362 }
363 } 363 }
364 364
365 // TODO enable after L release to AOSP 365 @Override
366 //@Override
367 public void clearClientCertPreferences(Runnable onCleared) { 366 public void clearClientCertPreferences(Runnable onCleared) {
368 AwContentsStatics.clearClientCertPreferences(onCleared); 367 AwContentsStatics.clearClientCertPreferences(onCleared);
369 } 368 }
370 369
371 @Override 370 @Override
372 public void freeMemoryForTests() { 371 public void freeMemoryForTests() {
373 if (ActivityManager.isRunningInTestHarness()) { 372 if (ActivityManager.isRunningInTestHarness()) {
374 MemoryPressureListener.maybeNotifyMemoryPresure( 373 MemoryPressureListener.maybeNotifyMemoryPresure(
375 ComponentCallbacks2.TRIM_MEMORY_COMPLETE); 374 ComponentCallbacks2.TRIM_MEMORY_COMPLETE);
376 } 375 }
377 } 376 }
378 377
379 // TODO: Add @Override. 378 @Override
380 public void enableSlowWholeDocumentDraw() { 379 public void enableSlowWholeDocumentDraw() {
381 WebViewChromium.enableSlowWholeDocumentDraw(); 380 WebViewChromium.enableSlowWholeDocumentDraw();
382 } 381 }
383 382
384 @Override 383 @Override
385 public Uri[] parseFileChooserResult(int resultCode, Intent i ntent) { 384 public Uri[] parseFileChooserResult(int resultCode, Intent i ntent) {
386 return AwContentsClient.parseFileChooserResult(resultCod e, intent); 385 return AwContentsClient.parseFileChooserResult(resultCod e, intent);
387 } 386 }
388 }; 387 };
389 } 388 }
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 browserContext.getHttpAuthDatabase(context)); 464 browserContext.getHttpAuthDatabase(context));
466 } 465 }
467 } 466 }
468 return mWebViewDatabase; 467 return mWebViewDatabase;
469 } 468 }
470 469
471 WebViewDelegate getWebViewDelegate() { 470 WebViewDelegate getWebViewDelegate() {
472 return mWebViewDelegate; 471 return mWebViewDelegate;
473 } 472 }
474 } 473 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698