Code example for WebStorage.QuotaUpdater

Methods: updateQuota

0
	} 
	 
	@Override 
	public void onExceededDatabaseQuota(String url, String databaseIdentifier, long currentQuota, long estimatedSize, long totalUsedQuota, QuotaUpdater quotaUpdater)
	{ 
		quotaUpdater.updateQuota(estimatedSize * 2);
	} 
 
	@Override 
	public void onShowCustomView(View view, CustomViewCallback callback)
	{ 
		tiWebView.getWebView().setVisibility(View.GONE);
 
		// If a view already existed then immediately terminate the new one. 
		if (mCustomView != null) {
			callback.onCustomViewHidden();
			return; 
		} 
 
		Activity activity = tiWebView.getProxy().getActivity();
		FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);