OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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.graphics.Rect; | 7 import android.graphics.Rect; |
8 import android.graphics.RectF; | 8 import android.graphics.RectF; |
9 import android.os.Handler; | 9 import android.os.Handler; |
10 import android.os.Looper; | 10 import android.os.Looper; |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // TODO: implement | 120 // TODO: implement |
121 return false; | 121 return false; |
122 } | 122 } |
123 | 123 |
124 @Override | 124 @Override |
125 public void closeContents() { | 125 public void closeContents() { |
126 // TODO: implement | 126 // TODO: implement |
127 } | 127 } |
128 | 128 |
129 @Override | 129 @Override |
130 public void onUrlStarredChanged(boolean starred) { | |
131 // TODO: implement | |
132 } | |
133 | |
134 @Override | |
135 public void showRepostFormWarningDialog(ContentViewCore contentViewCore)
{ | 130 public void showRepostFormWarningDialog(ContentViewCore contentViewCore)
{ |
136 Message dontResend = mHandler.obtainMessage(CANCEL_PENDING_RELOAD, c
ontentViewCore); | 131 Message dontResend = mHandler.obtainMessage(CANCEL_PENDING_RELOAD, c
ontentViewCore); |
137 Message resend = mHandler.obtainMessage(CONTINUE_PENDING_RELOAD, con
tentViewCore); | 132 Message resend = mHandler.obtainMessage(CONTINUE_PENDING_RELOAD, con
tentViewCore); |
138 AwContentsClient.this.onFormResubmission(dontResend, resend); | 133 AwContentsClient.this.onFormResubmission(dontResend, resend); |
139 } | 134 } |
140 | 135 |
141 @Override | 136 @Override |
142 public boolean addNewContents(boolean isDialog, boolean isUserGesture) { | 137 public boolean addNewContents(boolean isDialog, boolean isUserGesture) { |
143 return AwContentsClient.this.onCreateWindow(isDialog, isUserGesture)
; | 138 return AwContentsClient.this.onCreateWindow(isDialog, isUserGesture)
; |
144 } | 139 } |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 } | 239 } |
245 | 240 |
246 @Override | 241 @Override |
247 final public void onContextualActionBarShown() { | 242 final public void onContextualActionBarShown() { |
248 } | 243 } |
249 | 244 |
250 @Override | 245 @Override |
251 final public void onContextualActionBarHidden() { | 246 final public void onContextualActionBarHidden() { |
252 } | 247 } |
253 } | 248 } |
OLD | NEW |