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

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

Issue 1161783005: [Android WebView] Send WebChromeClient.onReceivedTitle when navigating back (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typo Created 5 years, 6 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 | android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java » ('j') | 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.content.Context; 7 import android.content.Context;
8 import android.graphics.Bitmap; 8 import android.graphics.Bitmap;
9 import android.graphics.BitmapFactory; 9 import android.graphics.BitmapFactory;
10 import android.graphics.Canvas; 10 import android.graphics.Canvas;
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 } 623 }
624 624
625 /** 625 /**
626 * @see ContentViewClient#onReceivedTitle(String) 626 * @see ContentViewClient#onReceivedTitle(String)
627 */ 627 */
628 @Override 628 @Override
629 public void onReceivedTitle(String title) { 629 public void onReceivedTitle(String title) {
630 try { 630 try {
631 TraceEvent.begin("WebViewContentsClientAdapter.onReceivedTitle"); 631 TraceEvent.begin("WebViewContentsClientAdapter.onReceivedTitle");
632 if (mWebChromeClient != null) { 632 if (mWebChromeClient != null) {
633 if (TRACE) Log.d(TAG, "onReceivedTitle"); 633 if (TRACE) Log.d(TAG, "onReceivedTitle=\"" + title + "\"");
634 mWebChromeClient.onReceivedTitle(mWebView, title); 634 mWebChromeClient.onReceivedTitle(mWebView, title);
635 } 635 }
636 } finally { 636 } finally {
637 TraceEvent.end("WebViewContentsClientAdapter.onReceivedTitle"); 637 TraceEvent.end("WebViewContentsClientAdapter.onReceivedTitle");
638 } 638 }
639 } 639 }
640 640
641 /** 641 /**
642 * @see ContentViewClient#shouldOverrideKeyEvent(KeyEvent) 642 * @see ContentViewClient#shouldOverrideKeyEvent(KeyEvent)
643 */ 643 */
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 mAwPermissionRequest.deny(); 1284 mAwPermissionRequest.deny();
1285 } 1285 }
1286 } 1286 }
1287 1287
1288 @Override 1288 @Override
1289 public void deny() { 1289 public void deny() {
1290 mAwPermissionRequest.deny(); 1290 mAwPermissionRequest.deny();
1291 } 1291 }
1292 } 1292 }
1293 } 1293 }
OLDNEW
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698