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.content.browser; | 5 package org.chromium.content.browser; |
6 | 6 |
7 import android.app.Activity; | 7 import android.app.Activity; |
8 import android.content.Context; | 8 import android.content.Context; |
9 import android.content.res.Configuration; | 9 import android.content.res.Configuration; |
10 import android.graphics.Bitmap; | 10 import android.graphics.Bitmap; |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 } | 270 } |
271 | 271 |
272 /** | 272 /** |
273 * Goes to the navigation entry following the current one. | 273 * Goes to the navigation entry following the current one. |
274 */ | 274 */ |
275 public void goForward() { | 275 public void goForward() { |
276 mContentViewCore.goForward(); | 276 mContentViewCore.goForward(); |
277 } | 277 } |
278 | 278 |
279 /** | 279 /** |
280 * Reload the current page. | |
281 */ | |
282 public void reload() { | |
283 mContentViewCore.reload(); | |
284 } | |
285 | |
286 /** | |
287 * Clears the WebView's page history in both the backwards and forwards | 280 * Clears the WebView's page history in both the backwards and forwards |
288 * directions. | 281 * directions. |
289 */ | 282 */ |
290 public void clearHistory() { | 283 public void clearHistory() { |
291 mContentViewCore.clearHistory(); | 284 mContentViewCore.clearHistory(); |
292 } | 285 } |
293 | 286 |
294 /** | 287 /** |
295 * Start profiling the update speed. You must call {@link #stopFpsProfiling} | 288 * Start profiling the update speed. You must call {@link #stopFpsProfiling} |
296 * to stop profiling. | 289 * to stop profiling. |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 | 791 |
799 @Override | 792 @Override |
800 public boolean super_awakenScrollBars(int startDelay, boolean invalidate) { | 793 public boolean super_awakenScrollBars(int startDelay, boolean invalidate) { |
801 return super.awakenScrollBars(startDelay, invalidate); | 794 return super.awakenScrollBars(startDelay, invalidate); |
802 } | 795 } |
803 | 796 |
804 ////////////////////////////////////////////////////////////////////////////
/////////////////// | 797 ////////////////////////////////////////////////////////////////////////////
/////////////////// |
805 // End Implementation of ContentViewCore.InternalAccessDelega
te // | 798 // End Implementation of ContentViewCore.InternalAccessDelega
te // |
806 ////////////////////////////////////////////////////////////////////////////
/////////////////// | 799 ////////////////////////////////////////////////////////////////////////////
/////////////////// |
807 } | 800 } |
OLD | NEW |