Release 71.0.3578.120
This commit is contained in:
parent
532c9c5c8b
commit
79eae0ab09
6 changed files with 839 additions and 246 deletions
|
@ -1,3 +1,6 @@
|
|||
# 71.0.3578.120
|
||||
* fix breakage of translate quick answers by anti-AMP (fixes https://github.com/bromite/bromite/issues/210)
|
||||
|
||||
# 71.0.3578.115
|
||||
* add AdGuard DNS-over-HTTPS option
|
||||
* use green icon for SystemWebView
|
||||
|
|
|
@ -3,7 +3,6 @@ blink_symbol_level=1
|
|||
dcheck_always_on=false
|
||||
debuggable_apks=false
|
||||
enable_ac3_eac3_audio_demuxing=true enable_hevc_demuxing=true enable_iterator_debugging=false
|
||||
enable_av1_decoder=true
|
||||
enable_hangout_services_extension=false
|
||||
enable_mdns=false
|
||||
enable_mse_mpeg2ts_stream_parser=true ffmpeg_branding="Chrome" proprietary_codecs=true
|
||||
|
@ -25,6 +24,7 @@ symbol_level=1
|
|||
target_os="android"
|
||||
use_debug_fission=true
|
||||
use_errorprone_java_compiler=false
|
||||
use_jumbo_build=true
|
||||
use_official_google_api_keys=false
|
||||
use_openh264=true chrome_pgo_phase=0 full_wpo_on_official=true
|
||||
use_sysroot=false
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,109 @@
|
|||
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
||||
Date: Thu, 20 Dec 2018 18:23:32 +0100
|
||||
Subject: Revert "Download location android: Check SD card before showing
|
||||
location dialog."
|
||||
|
||||
This reverts commit 9ade596cc0b315f1f9c3292e1fd8d6182e32fde2.
|
||||
---
|
||||
.../download/DownloadLocationDialogBridge.java | 50 +++-------------------
|
||||
1 file changed, 6 insertions(+), 44 deletions(-)
|
||||
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadLocationDialogBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadLocationDialogBridge.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadLocationDialogBridge.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadLocationDialogBridge.java
|
||||
@@ -4,9 +4,6 @@
|
||||
|
||||
package org.chromium.chrome.browser.download;
|
||||
|
||||
-import android.content.Context;
|
||||
-import android.text.TextUtils;
|
||||
-
|
||||
import org.chromium.base.annotations.CalledByNative;
|
||||
import org.chromium.base.metrics.RecordHistogram;
|
||||
import org.chromium.chrome.browser.ChromeActivity;
|
||||
@@ -17,7 +14,6 @@ import org.chromium.chrome.browser.preferences.PrefServiceBridge;
|
||||
import org.chromium.ui.base.WindowAndroid;
|
||||
|
||||
import java.io.File;
|
||||
-import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* Helper class to handle communication between download location dialog and native.
|
||||
@@ -26,10 +22,6 @@ public class DownloadLocationDialogBridge implements ModalDialogView.Controller
|
||||
private long mNativeDownloadLocationDialogBridge;
|
||||
private DownloadLocationDialog mLocationDialog;
|
||||
private ModalDialogManager mModalDialogManager;
|
||||
- private long mTotalBytes;
|
||||
- private @DownloadLocationDialogType int mDialogType;
|
||||
- private String mSuggestedPath;
|
||||
- private Context mContext;
|
||||
|
||||
private DownloadLocationDialogBridge(long nativeDownloadLocationDialogBridge) {
|
||||
mNativeDownloadLocationDialogBridge = nativeDownloadLocationDialogBridge;
|
||||
@@ -60,13 +52,12 @@ public class DownloadLocationDialogBridge implements ModalDialogView.Controller
|
||||
}
|
||||
|
||||
mModalDialogManager = activity.getModalDialogManager();
|
||||
- mContext = activity;
|
||||
- mTotalBytes = totalBytes;
|
||||
- mDialogType = dialogType;
|
||||
- mSuggestedPath = suggestedPath;
|
||||
|
||||
- DownloadDirectoryProvider.getInstance().getAllDirectoriesOptions(
|
||||
- (ArrayList<DirectoryOption> dirs) -> { onDirectoryOptionsRetrieved(dirs); });
|
||||
+ if (mLocationDialog != null) return;
|
||||
+ mLocationDialog = DownloadLocationDialog.create(
|
||||
+ this, activity, totalBytes, dialogType, new File(suggestedPath));
|
||||
+
|
||||
+ mModalDialogManager.showDialog(mLocationDialog, ModalDialogManager.ModalDialogType.APP);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -101,34 +92,6 @@ public class DownloadLocationDialogBridge implements ModalDialogView.Controller
|
||||
}
|
||||
|
||||
/**
|
||||
- * Called after retrieved the download directory options.
|
||||
- * @param dirs An list of available download directories.
|
||||
- */
|
||||
- private void onDirectoryOptionsRetrieved(ArrayList<DirectoryOption> dirs) {
|
||||
- // If there is only one directory available, don't show the default dialog, and set the
|
||||
- // download directory to default. Dialog will still show for other types of dialogs, like
|
||||
- // name conflict or disk error.
|
||||
- if (dirs.size() == 1 && mDialogType == DownloadLocationDialogType.DEFAULT) {
|
||||
- final DirectoryOption dir = dirs.get(0);
|
||||
- if (dir.type == DirectoryOption.DownloadLocationDirectoryType.DEFAULT) {
|
||||
- assert(!TextUtils.isEmpty(dir.location));
|
||||
- PrefServiceBridge.getInstance().setDownloadAndSaveFileDefaultDirectory(
|
||||
- dir.location);
|
||||
- nativeOnComplete(mNativeDownloadLocationDialogBridge, mSuggestedPath);
|
||||
- }
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
- // Already showing the dialog.
|
||||
- if (mLocationDialog != null) return;
|
||||
-
|
||||
- // Actually show the dialog.
|
||||
- mLocationDialog = DownloadLocationDialog.create(
|
||||
- this, mContext, mTotalBytes, mDialogType, new File(mSuggestedPath));
|
||||
- mModalDialogManager.showDialog(mLocationDialog, ModalDialogManager.ModalDialogType.APP);
|
||||
- }
|
||||
-
|
||||
- /**
|
||||
* Pass along information from location dialog to native.
|
||||
*
|
||||
* @param fileName Name the user gave the file.
|
||||
@@ -156,8 +119,7 @@ public class DownloadLocationDialogBridge implements ModalDialogView.Controller
|
||||
nativeOnComplete(mNativeDownloadLocationDialogBridge, file.getAbsolutePath());
|
||||
}
|
||||
|
||||
- // Update preference to show prompt based on whether checkbox is checked only when the user
|
||||
- // click the positive button.
|
||||
+ // Update preference to show prompt based on whether checkbox is checked.
|
||||
if (dontShowAgain) {
|
||||
PrefServiceBridge.getInstance().setPromptForDownloadAndroid(
|
||||
DownloadPromptStatus.DONT_SHOW);
|
||||
--
|
||||
2.11.0
|
||||
|
|
@ -41,7 +41,7 @@ Subject: ungoogled-chromium: disable safe browsing
|
|||
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
||||
--- a/chrome/browser/BUILD.gn
|
||||
+++ b/chrome/browser/BUILD.gn
|
||||
@@ -2619,8 +2619,6 @@ jumbo_split_static_library("browser") {
|
||||
@@ -2621,8 +2621,6 @@ jumbo_split_static_library("browser") {
|
||||
"download/download_commands.h",
|
||||
"download/download_crx_util.cc",
|
||||
"download/download_crx_util.h",
|
||||
|
|
Loading…
Add table
Reference in a new issue