mobile/android/base/GeckoViewContent.java

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

michael@0 1 /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
michael@0 2 * This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5
michael@0 6 package org.mozilla.gecko;
michael@0 7
michael@0 8 public class GeckoViewContent implements GeckoView.ContentDelegate {
michael@0 9 /**
michael@0 10 * A Browser has started loading content from the network.
michael@0 11 * @param view The GeckoView that initiated the callback.
michael@0 12 * @param browser The Browser that is loading the content.
michael@0 13 * @param url The resource being loaded.
michael@0 14 */
michael@0 15 public void onPageStart(GeckoView view, GeckoView.Browser browser, String url) {}
michael@0 16
michael@0 17 /**
michael@0 18 * A Browser has finished loading content from the network.
michael@0 19 * @param view The GeckoView that initiated the callback.
michael@0 20 * @param browser The Browser that was loading the content.
michael@0 21 * @param success Whether the page loaded successfully or an error occured.
michael@0 22 */
michael@0 23 public void onPageStop(GeckoView view, GeckoView.Browser browser, boolean success) {}
michael@0 24
michael@0 25 /**
michael@0 26 * A Browser is displaying content. This page could have been loaded via
michael@0 27 * network or from the session history.
michael@0 28 * @param view The GeckoView that initiated the callback.
michael@0 29 * @param browser The Browser that is showing the content.
michael@0 30 */
michael@0 31 public void onPageShow(GeckoView view, GeckoView.Browser browser) {}
michael@0 32
michael@0 33 /**
michael@0 34 * A page title was discovered in the content or updated after the content
michael@0 35 * loaded.
michael@0 36 * @param view The GeckoView that initiated the callback.
michael@0 37 * @param browser The Browser that is showing the content.
michael@0 38 * @param title The title sent from the content.
michael@0 39 */
michael@0 40 public void onReceivedTitle(GeckoView view, GeckoView.Browser browser, String title) {}
michael@0 41
michael@0 42 /**
michael@0 43 * A link element was discovered in the content or updated after the content
michael@0 44 * loaded that specifies a favicon.
michael@0 45 * @param view The GeckoView that initiated the callback.
michael@0 46 * @param browser The Browser that is showing the content.
michael@0 47 * @param url The href of the link element specifying the favicon.
michael@0 48 * @param size The maximum size specified for the favicon, or -1 for any size.
michael@0 49 */
michael@0 50 public void onReceivedFavicon(GeckoView view, GeckoView.Browser browser, String url, int size) {}
michael@0 51 }

mercurial