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

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

Issue 267253007: Use LoadURLWithParams in ChromeWebContentsDelegateAndroid (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/Tab.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 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.os.Handler; 7 import android.os.Handler;
8 import android.os.Message; 8 import android.os.Message;
9 import android.util.Log; 9 import android.util.Log;
10 import android.view.KeyEvent; 10 import android.view.KeyEvent;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 return mContentsClient.onConsoleMessage( 103 return mContentsClient.onConsoleMessage(
104 new ConsoleMessage(message, sourceId, lineNumber, messageLevel)) ; 104 new ConsoleMessage(message, sourceId, lineNumber, messageLevel)) ;
105 } 105 }
106 106
107 @Override 107 @Override
108 public void onUpdateUrl(String url) { 108 public void onUpdateUrl(String url) {
109 // TODO: implement 109 // TODO: implement
110 } 110 }
111 111
112 @Override 112 @Override
113 public void openNewTab(String url, String extraHeaders, byte[] postData, int disposition) { 113 public void openNewTab(String url, String extraHeaders, byte[] postData, int disposition,
114 boolean isRendererInitiated) {
114 // This is only called in chrome layers. 115 // This is only called in chrome layers.
115 assert false; 116 assert false;
116 } 117 }
117 118
118 @Override 119 @Override
119 public void closeContents() { 120 public void closeContents() {
120 mContentsClient.onCloseWindow(); 121 mContentsClient.onCloseWindow();
121 } 122 }
122 123
123 @Override 124 @Override
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 @Override 181 @Override
181 public boolean addNewContents(boolean isDialog, boolean isUserGesture) { 182 public boolean addNewContents(boolean isDialog, boolean isUserGesture) {
182 return mContentsClient.onCreateWindow(isDialog, isUserGesture); 183 return mContentsClient.onCreateWindow(isDialog, isUserGesture);
183 } 184 }
184 185
185 @Override 186 @Override
186 public void activateContents() { 187 public void activateContents() {
187 mContentsClient.onRequestFocus(); 188 mContentsClient.onRequestFocus();
188 } 189 }
189 } 190 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/Tab.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698