mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 11:27:32 -03:00
M128 stage 5
This commit is contained in:
parent
20b6c37ea4
commit
bb9267f41d
15 changed files with 2595 additions and 2558 deletions
|
@ -152,8 +152,8 @@
|
|||
<DT><A HREF="https://source.chromium.org/chromium/chromium/src/+/refs/tags/128.0.6613.181:components/offline_pages/core/offline_page_model.cc;bpv=1" ADD_DATE="1661054752" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADIUlEQVQ4jW1TXWwUZRQ955ufnZ3dlm4VpE2Q+lND1cSQYDBaKY2VEkUFa1d9K4laBROEIg+mDfvkg5Bu9MWoD/hkTJdqJBFCMRENEqONRkMbIiWGWn5SjWw7OzO7szPf9UFCCnrebu7JuTc55xA3QURYKkEtXw7+1gDm0mDWBtMm+GcAnb+P0VI+lw4fTIp7C6O7dU3nlKFyisxp0TmDRpMmmyDSCqLY96D1HUQIUsxrd9nfD3VrHDbDTi/ENi5V/TCdtmlQ0Y60dmwANNXT0HpodEx+2kNUb/4e45PSUhBR/1lcw6Gvf3fGf4gmJn6NBgGgUBBFAHj+vepdKSvp2r5m/pPu7juqA4fEOTcXvhaG2KAMVjOp5MjJ4eynBOTIz7Vnzs5Jcfoiej9+1TlHAHjyneArKrl/XcVtnQLcS/A/b23J9DzUBgQRcPo84JX90VOF7JCIGFsOBLMCTB/dl3lc9b+7uA1O+jHb4OuFAvVl+oOtLZmekc1JbUc36nt7pb6zK0mslL2n6+3wUZJJyuIuOm7Ps8Xyc8qP3Q+TMDj+2W73MABUatK5vg26vcVQf3navOqL+Ui7kay53dJeEG8AgPE33PEkDI6HSfZ9BRFAQJF/LSVYDSIQEBiKsE0lsRaGNSiTEl43X4SAQKWN8GUj427qG/XyAJB15IvTM+CJKW04FuoiEpd+1Grmj8BvzPIYAGwten2mm9mUsauDBIAnDvgnAHQMrHZX5/NMOguLBy07NXTPKhvVGnDhb0BH3pvfDjcelDExnpoNLormmS/3uT0KAFY0xDs2dhiLqXZsBoBThca9QK1z8mxlZPpCZZeq+2dMqi2AcGYtzOZG9dayrHoFACgiJCkTU9FAJZCtCxX7he3dvCFl60b8ta6lh2/T2Rdf2oam3gc4f2MXRLi7NOd0tq34iFS/aNFHIwBhJLGVSLRqZd3rWNYQfj+L5igOdb6YvoISNEC5LgBSDk9G6ynYScgVrbGgFMsQKSdiLIhIWSe6rGifzz/M8H/bCABjU2L781BeOCMrK5FcvfNeuexB8M1J7N+/MSEpS/n/AGH0clblBN69AAAAAElFTkSuQmCC">offline_page_model.cc - Chromium Code Search</A>
|
||||
<DT><A HREF="https://source.chromium.org/chromium/chromium/src/+/refs/tags/128.0.6613.181:content/common/url_schemes.cc;bpv=1" ADD_DATE="1661054752" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADIUlEQVQ4jW1TXWwUZRQ955ufnZ3dlm4VpE2Q+lND1cSQYDBaKY2VEkUFa1d9K4laBROEIg+mDfvkg5Bu9MWoD/hkTJdqJBFCMRENEqONRkMbIiWGWn5SjWw7OzO7szPf9UFCCnrebu7JuTc55xA3QURYKkEtXw7+1gDm0mDWBtMm+GcAnb+P0VI+lw4fTIp7C6O7dU3nlKFyisxp0TmDRpMmmyDSCqLY96D1HUQIUsxrd9nfD3VrHDbDTi/ENi5V/TCdtmlQ0Y60dmwANNXT0HpodEx+2kNUb/4e45PSUhBR/1lcw6Gvf3fGf4gmJn6NBgGgUBBFAHj+vepdKSvp2r5m/pPu7juqA4fEOTcXvhaG2KAMVjOp5MjJ4eynBOTIz7Vnzs5Jcfoiej9+1TlHAHjyneArKrl/XcVtnQLcS/A/b23J9DzUBgQRcPo84JX90VOF7JCIGFsOBLMCTB/dl3lc9b+7uA1O+jHb4OuFAvVl+oOtLZmekc1JbUc36nt7pb6zK0mslL2n6+3wUZJJyuIuOm7Ps8Xyc8qP3Q+TMDj+2W73MABUatK5vg26vcVQf3navOqL+Ui7kay53dJeEG8AgPE33PEkDI6HSfZ9BRFAQJF/LSVYDSIQEBiKsE0lsRaGNSiTEl43X4SAQKWN8GUj427qG/XyAJB15IvTM+CJKW04FuoiEpd+1Grmj8BvzPIYAGwten2mm9mUsauDBIAnDvgnAHQMrHZX5/NMOguLBy07NXTPKhvVGnDhb0BH3pvfDjcelDExnpoNLormmS/3uT0KAFY0xDs2dhiLqXZsBoBThca9QK1z8mxlZPpCZZeq+2dMqi2AcGYtzOZG9dayrHoFACgiJCkTU9FAJZCtCxX7he3dvCFl60b8ta6lh2/T2Rdf2oam3gc4f2MXRLi7NOd0tq34iFS/aNFHIwBhJLGVSLRqZd3rWNYQfj+L5igOdb6YvoISNEC5LgBSDk9G6ynYScgVrbGgFMsQKSdiLIhIWSe6rGifzz/M8H/bCABjU2L781BeOCMrK5FcvfNeuexB8M1J7N+/MSEpS/n/AGH0clblBN69AAAAAElFTkSuQmCC">url_schemes.cc - Chromium Code Search</A>
|
||||
<DT><A HREF="https://source.chromium.org/chromium/chromium/src/+/refs/tags/128.0.6613.181:content/public/common/url_utils.cc;bpv=1" ADD_DATE="1661054752" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADIUlEQVQ4jW1TXWwUZRQ955ufnZ3dlm4VpE2Q+lND1cSQYDBaKY2VEkUFa1d9K4laBROEIg+mDfvkg5Bu9MWoD/hkTJdqJBFCMRENEqONRkMbIiWGWn5SjWw7OzO7szPf9UFCCnrebu7JuTc55xA3QURYKkEtXw7+1gDm0mDWBtMm+GcAnb+P0VI+lw4fTIp7C6O7dU3nlKFyisxp0TmDRpMmmyDSCqLY96D1HUQIUsxrd9nfD3VrHDbDTi/ENi5V/TCdtmlQ0Y60dmwANNXT0HpodEx+2kNUb/4e45PSUhBR/1lcw6Gvf3fGf4gmJn6NBgGgUBBFAHj+vepdKSvp2r5m/pPu7juqA4fEOTcXvhaG2KAMVjOp5MjJ4eynBOTIz7Vnzs5Jcfoiej9+1TlHAHjyneArKrl/XcVtnQLcS/A/b23J9DzUBgQRcPo84JX90VOF7JCIGFsOBLMCTB/dl3lc9b+7uA1O+jHb4OuFAvVl+oOtLZmekc1JbUc36nt7pb6zK0mslL2n6+3wUZJJyuIuOm7Ps8Xyc8qP3Q+TMDj+2W73MABUatK5vg26vcVQf3navOqL+Ui7kay53dJeEG8AgPE33PEkDI6HSfZ9BRFAQJF/LSVYDSIQEBiKsE0lsRaGNSiTEl43X4SAQKWN8GUj427qG/XyAJB15IvTM+CJKW04FuoiEpd+1Grmj8BvzPIYAGwten2mm9mUsauDBIAnDvgnAHQMrHZX5/NMOguLBy07NXTPKhvVGnDhb0BH3pvfDjcelDExnpoNLormmS/3uT0KAFY0xDs2dhiLqXZsBoBThca9QK1z8mxlZPpCZZeq+2dMqi2AcGYtzOZG9dayrHoFACgiJCkTU9FAJZCtCxX7he3dvCFl60b8ta6lh2/T2Rdf2oam3gc4f2MXRLi7NOd0tq34iFS/aNFHIwBhJLGVSLRqZd3rWNYQfj+L5igOdb6YvoISNEC5LgBSDk9G6ynYScgVrbGgFMsQKSdiLIhIWSe6rGifzz/M8H/bCABjU2L781BeOCMrK5FcvfNeuexB8M1J7N+/MSEpS/n/AGH0clblBN69AAAAAElFTkSuQmCC">url_utils.cc - Chromium Code Search</A>
|
||||
<DT><A HREF="https://source.chromium.org/chromium/chromium/src/+/refs/tags/128.0.6613.181:ui/views/examples/examples_window.cc;bpv=1" ADD_DATE="1661054752" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADIUlEQVQ4jW1TXWwUZRQ955ufnZ3dlm4VpE2Q+lND1cSQYDBaKY2VEkUFa1d9K4laBROEIg+mDfvkg5Bu9MWoD/hkTJdqJBFCMRENEqONRkMbIiWGWn5SjWw7OzO7szPf9UFCCnrebu7JuTc55xA3QURYKkEtXw7+1gDm0mDWBtMm+GcAnb+P0VI+lw4fTIp7C6O7dU3nlKFyisxp0TmDRpMmmyDSCqLY96D1HUQIUsxrd9nfD3VrHDbDTi/ENi5V/TCdtmlQ0Y60dmwANNXT0HpodEx+2kNUb/4e45PSUhBR/1lcw6Gvf3fGf4gmJn6NBgGgUBBFAHj+vepdKSvp2r5m/pPu7juqA4fEOTcXvhaG2KAMVjOp5MjJ4eynBOTIz7Vnzs5Jcfoiej9+1TlHAHjyneArKrl/XcVtnQLcS/A/b23J9DzUBgQRcPo84JX90VOF7JCIGFsOBLMCTB/dl3lc9b+7uA1O+jHb4OuFAvVl+oOtLZmekc1JbUc36nt7pb6zK0mslL2n6+3wUZJJyuIuOm7Ps8Xyc8qP3Q+TMDj+2W73MABUatK5vg26vcVQf3navOqL+Ui7kay53dJeEG8AgPE33PEkDI6HSfZ9BRFAQJF/LSVYDSIQEBiKsE0lsRaGNSiTEl43X4SAQKWN8GUj427qG/XyAJB15IvTM+CJKW04FuoiEpd+1Grmj8BvzPIYAGwten2mm9mUsauDBIAnDvgnAHQMrHZX5/NMOguLBy07NXTPKhvVGnDhb0BH3pvfDjcelDExnpoNLormmS/3uT0KAFY0xDs2dhiLqXZsBoBThca9QK1z8mxlZPpCZZeq+2dMqi2AcGYtzOZG9dayrHoFACgiJCkTU9FAJZCtCxX7he3dvCFl60b8ta6lh2/T2Rdf2oam3gc4f2MXRLi7NOd0tq34iFS/aNFHIwBhJLGVSLRqZd3rWNYQfj+L5igOdb6YvoISNEC5LgBSDk9G6ynYScgVrbGgFMsQKSdiLIhIWSe6rGifzz/M8H/bCABjU2L781BeOCMrK5FcvfNeuexB8M1J7N+/MSEpS/n/AGH0clblBN69AAAAAElFTkSuQmCC">examples_window.cc - Chromium Code Search</A>
|
||||
<DT><A HREF="https://source.chromium.org/chromium/chromium/src/+/refs/tags/128.0.6613.181:ui/views/examples/BUILD.gn;bpv=1" ADD_DATE="1661054752" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADIUlEQVQ4jW1TXWwUZRQ955ufnZ3dlm4VpE2Q+lND1cSQYDBaKY2VEkUFa1d9K4laBROEIg+mDfvkg5Bu9MWoD/hkTJdqJBFCMRENEqONRkMbIiWGWn5SjWw7OzO7szPf9UFCCnrebu7JuTc55xA3QURYKkEtXw7+1gDm0mDWBtMm+GcAnb+P0VI+lw4fTIp7C6O7dU3nlKFyisxp0TmDRpMmmyDSCqLY96D1HUQIUsxrd9nfD3VrHDbDTi/ENi5V/TCdtmlQ0Y60dmwANNXT0HpodEx+2kNUb/4e45PSUhBR/1lcw6Gvf3fGf4gmJn6NBgGgUBBFAHj+vepdKSvp2r5m/pPu7juqA4fEOTcXvhaG2KAMVjOp5MjJ4eynBOTIz7Vnzs5Jcfoiej9+1TlHAHjyneArKrl/XcVtnQLcS/A/b23J9DzUBgQRcPo84JX90VOF7JCIGFsOBLMCTB/dl3lc9b+7uA1O+jHb4OuFAvVl+oOtLZmekc1JbUc36nt7pb6zK0mslL2n6+3wUZJJyuIuOm7Ps8Xyc8qP3Q+TMDj+2W73MABUatK5vg26vcVQf3navOqL+Ui7kay53dJeEG8AgPE33PEkDI6HSfZ9BRFAQJF/LSVYDSIQEBiKsE0lsRaGNSiTEl43X4SAQKWN8GUj427qG/XyAJB15IvTM+CJKW04FuoiEpd+1Grmj8BvzPIYAGwten2mm9mUsauDBIAnDvgnAHQMrHZX5/NMOguLBy07NXTPKhvVGnDhb0BH3pvfDjcelDExnpoNLormmS/3uT0KAFY0xDs2dhiLqXZsBoBThca9QK1z8mxlZPpCZZeq+2dMqi2AcGYtzOZG9dayrHoFACgiJCkTU9FAJZCtCxX7he3dvCFl60b8ta6lh2/T2Rdf2oam3gc4f2MXRLi7NOd0tq34iFS/aNFHIwBhJLGVSLRqZd3rWNYQfj+L5igOdb6YvoISNEC5LgBSDk9G6ynYScgVrbGgFMsQKSdiLIhIWSe6rGifzz/M8H/bCABjU2L781BeOCMrK5FcvfNeuexB8M1J7N+/MSEpS/n/AGH0clblBN69AAAAAElFTkSuQmCC">BUILD.gn - Chromium Code Search</A>
|
||||
<DT><A HREF="https://source.chromium.org/chromium/chromium/src/+/refs/tags/128.0.6613.181:ui/views/examples/examples_window.cc;bpv=1" ADD_DATE="1661054752" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADIUlEQVQ4jW1TXWwUZRQ955ufnZ3dlm4VpE2Q+lND1cSQYDBaKY2VEkUFa1d9K4laBROEIg+mDfvkg5Bu9MWoD/hkTJdqJBFCMRENEqONRkMbIiWGWn5SjWw7OzO7szPf9UFCCnrebu7JuTc55xA3QURYKkEtXw7+1gDm0mDWBtMm+GcAnb+P0VI+lw4fTIp7C6O7dU3nlKFyisxp0TmDRpMmmyDSCqLY96D1HUQIUsxrd9nfD3VrHDbDTi/ENi5V/TCdtmlQ0Y60dmwANNXT0HpodEx+2kNUb/4e45PSUhBR/1lcw6Gvf3fGf4gmJn6NBgGgUBBFAHj+vepdKSvp2r5m/pPu7juqA4fEOTcXvhaG2KAMVjOp5MjJ4eynBOTIz7Vnzs5Jcfoiej9+1TlHAHjyneArKrl/XcVtnQLcS/A/b23J9DzUBgQRcPo84JX90VOF7JCIGFsOBLMCTB/dl3lc9b+7uA1O+jHb4OuFAvVl+oOtLZmekc1JbUc36nt7pb6zK0mslL2n6+3wUZJJyuIuOm7Ps8Xyc8qP3Q+TMDj+2W73MABUatK5vg26vcVQf3navOqL+Ui7kay53dJeEG8AgPE33PEkDI6HSfZ9BRFAQJF/LSVYDSIQEBiKsE0lsRaGNSiTEl43X4SAQKWN8GUj427qG/XyAJB15IvTM+CJKW04FuoiEpd+1Grmj8BvzPIYAGwten2mm9mUsauDBIAnDvgnAHQMrHZX5/NMOguLBy07NXTPKhvVGnDhb0BH3pvfDjcelDExnpoNLormmS/3uT0KAFY0xDs2dhiLqXZsBoBThca9QK1z8mxlZPpCZZeq+2dMqi2AcGYtzOZG9dayrHoFACgiJCkTU9FAJZCtCxX7he3dvCFl60b8ta6lh2/T2Rdf2oam3gc4f2MXRLi7NOd0tq34iFS/aNFHIwBhJLGVSLRqZd3rWNYQfj+L5igOdb6YvoISNEC5LgBSDk9G6ynYScgVrbGgFMsQKSdiLIhIWSe6rGifzz/M8H/bCABjU2L781BeOCMrK5FcvfNeuexB8M1J7N+/MSEpS/n/AGH0clblBN69AAAAAElFTkSuQmCC">examples_window.cc - Chromium Code Search</A>
|
||||
<DT><A HREF="https://source.chromium.org/chromium/chromium/src/+/refs/tags/128.0.6613.181:components/BUILD.gn;bpv=1" ADD_DATE="1661054752" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADIUlEQVQ4jW1TXWwUZRQ955ufnZ3dlm4VpE2Q+lND1cSQYDBaKY2VEkUFa1d9K4laBROEIg+mDfvkg5Bu9MWoD/hkTJdqJBFCMRENEqONRkMbIiWGWn5SjWw7OzO7szPf9UFCCnrebu7JuTc55xA3QURYKkEtXw7+1gDm0mDWBtMm+GcAnb+P0VI+lw4fTIp7C6O7dU3nlKFyisxp0TmDRpMmmyDSCqLY96D1HUQIUsxrd9nfD3VrHDbDTi/ENi5V/TCdtmlQ0Y60dmwANNXT0HpodEx+2kNUb/4e45PSUhBR/1lcw6Gvf3fGf4gmJn6NBgGgUBBFAHj+vepdKSvp2r5m/pPu7juqA4fEOTcXvhaG2KAMVjOp5MjJ4eynBOTIz7Vnzs5Jcfoiej9+1TlHAHjyneArKrl/XcVtnQLcS/A/b23J9DzUBgQRcPo84JX90VOF7JCIGFsOBLMCTB/dl3lc9b+7uA1O+jHb4OuFAvVl+oOtLZmekc1JbUc36nt7pb6zK0mslL2n6+3wUZJJyuIuOm7Ps8Xyc8qP3Q+TMDj+2W73MABUatK5vg26vcVQf3navOqL+Ui7kay53dJeEG8AgPE33PEkDI6HSfZ9BRFAQJF/LSVYDSIQEBiKsE0lsRaGNSiTEl43X4SAQKWN8GUj427qG/XyAJB15IvTM+CJKW04FuoiEpd+1Grmj8BvzPIYAGwten2mm9mUsauDBIAnDvgnAHQMrHZX5/NMOguLBy07NXTPKhvVGnDhb0BH3pvfDjcelDExnpoNLormmS/3uT0KAFY0xDs2dhiLqXZsBoBThca9QK1z8mxlZPpCZZeq+2dMqi2AcGYtzOZG9dayrHoFACgiJCkTU9FAJZCtCxX7he3dvCFl60b8ta6lh2/T2Rdf2oam3gc4f2MXRLi7NOd0tq34iFS/aNFHIwBhJLGVSLRqZd3rWNYQfj+L5igOdb6YvoISNEC5LgBSDk9G6ynYScgVrbGgFMsQKSdiLIhIWSe6rGifzz/M8H/bCABjU2L781BeOCMrK5FcvfNeuexB8M1J7N+/MSEpS/n/AGH0clblBN69AAAAAElFTkSuQmCC">BUILD.gn - Chromium Code Search</A>
|
||||
<DT><A HREF="https://source.chromium.org/chromium/chromium/src/+/refs/tags/128.0.6613.181:tools/clang/scripts/build.py;bpv=1" ADD_DATE="1661054752" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADIUlEQVQ4jW1TXWwUZRQ955ufnZ3dlm4VpE2Q+lND1cSQYDBaKY2VEkUFa1d9K4laBROEIg+mDfvkg5Bu9MWoD/hkTJdqJBFCMRENEqONRkMbIiWGWn5SjWw7OzO7szPf9UFCCnrebu7JuTc55xA3QURYKkEtXw7+1gDm0mDWBtMm+GcAnb+P0VI+lw4fTIp7C6O7dU3nlKFyisxp0TmDRpMmmyDSCqLY96D1HUQIUsxrd9nfD3VrHDbDTi/ENi5V/TCdtmlQ0Y60dmwANNXT0HpodEx+2kNUb/4e45PSUhBR/1lcw6Gvf3fGf4gmJn6NBgGgUBBFAHj+vepdKSvp2r5m/pPu7juqA4fEOTcXvhaG2KAMVjOp5MjJ4eynBOTIz7Vnzs5Jcfoiej9+1TlHAHjyneArKrl/XcVtnQLcS/A/b23J9DzUBgQRcPo84JX90VOF7JCIGFsOBLMCTB/dl3lc9b+7uA1O+jHb4OuFAvVl+oOtLZmekc1JbUc36nt7pb6zK0mslL2n6+3wUZJJyuIuOm7Ps8Xyc8qP3Q+TMDj+2W73MABUatK5vg26vcVQf3navOqL+Ui7kay53dJeEG8AgPE33PEkDI6HSfZ9BRFAQJF/LSVYDSIQEBiKsE0lsRaGNSiTEl43X4SAQKWN8GUj427qG/XyAJB15IvTM+CJKW04FuoiEpd+1Grmj8BvzPIYAGwten2mm9mUsauDBIAnDvgnAHQMrHZX5/NMOguLBy07NXTPKhvVGnDhb0BH3pvfDjcelDExnpoNLormmS/3uT0KAFY0xDs2dhiLqXZsBoBThca9QK1z8mxlZPpCZZeq+2dMqi2AcGYtzOZG9dayrHoFACgiJCkTU9FAJZCtCxX7he3dvCFl60b8ta6lh2/T2Rdf2oam3gc4f2MXRLi7NOd0tq34iFS/aNFHIwBhJLGVSLRqZd3rWNYQfj+L5igOdb6YvoISNEC5LgBSDk9G6ynYScgVrbGgFMsQKSdiLIhIWSe6rGifzz/M8H/bCABjU2L781BeOCMrK5FcvfNeuexB8M1J7N+/MSEpS/n/AGH0clblBN69AAAAAElFTkSuQmCC">build.py - Chromium Code Search</A>
|
||||
<DT><A HREF="https://source.chromium.org/chromium/chromium/src/+/refs/tags/128.0.6613.181:third_party/opus/src/configure.ac;bpv=1" ADD_DATE="1665798387" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADIUlEQVQ4jW1TXWwUZRQ955ufnZ3dlm4VpE2Q+lND1cSQYDBaKY2VEkUFa1d9K4laBROEIg+mDfvkg5Bu9MWoD/hkTJdqJBFCMRENEqONRkMbIiWGWn5SjWw7OzO7szPf9UFCCnrebu7JuTc55xA3QURYKkEtXw7+1gDm0mDWBtMm+GcAnb+P0VI+lw4fTIp7C6O7dU3nlKFyisxp0TmDRpMmmyDSCqLY96D1HUQIUsxrd9nfD3VrHDbDTi/ENi5V/TCdtmlQ0Y60dmwANNXT0HpodEx+2kNUb/4e45PSUhBR/1lcw6Gvf3fGf4gmJn6NBgGgUBBFAHj+vepdKSvp2r5m/pPu7juqA4fEOTcXvhaG2KAMVjOp5MjJ4eynBOTIz7Vnzs5Jcfoiej9+1TlHAHjyneArKrl/XcVtnQLcS/A/b23J9DzUBgQRcPo84JX90VOF7JCIGFsOBLMCTB/dl3lc9b+7uA1O+jHb4OuFAvVl+oOtLZmekc1JbUc36nt7pb6zK0mslL2n6+3wUZJJyuIuOm7Ps8Xyc8qP3Q+TMDj+2W73MABUatK5vg26vcVQf3navOqL+Ui7kay53dJeEG8AgPE33PEkDI6HSfZ9BRFAQJF/LSVYDSIQEBiKsE0lsRaGNSiTEl43X4SAQKWN8GUj427qG/XyAJB15IvTM+CJKW04FuoiEpd+1Grmj8BvzPIYAGwten2mm9mUsauDBIAnDvgnAHQMrHZX5/NMOguLBy07NXTPKhvVGnDhb0BH3pvfDjcelDExnpoNLormmS/3uT0KAFY0xDs2dhiLqXZsBoBThca9QK1z8mxlZPpCZZeq+2dMqi2AcGYtzOZG9dayrHoFACgiJCkTU9FAJZCtCxX7he3dvCFl60b8ta6lh2/T2Rdf2oam3gc4f2MXRLi7NOd0tq34iFS/aNFHIwBhJLGVSLRqZd3rWNYQfj+L5igOdb6YvoISNEC5LgBSDk9G6ynYScgVrbGgFMsQKSdiLIhIWSe6rGifzz/M8H/bCABjU2L781BeOCMrK5FcvfNeuexB8M1J7N+/MSEpS/n/AGH0clblBN69AAAAAElFTkSuQmCC">configure.ac - Chromium Code Search</A>
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -5,6 +5,7 @@
|
|||
#include "chrome/browser/ui/browser_commands.h"
|
||||
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
|
@ -209,11 +210,6 @@
|
|||
#include "components/rlz/rlz_tracker.h" // nogncheck
|
||||
#endif
|
||||
|
||||
#if BUILDFLAG(ENABLE_SCREEN_AI_SERVICE)
|
||||
#include "chrome/browser/accessibility/ax_screen_ai_annotator.h"
|
||||
#include "chrome/browser/accessibility/ax_screen_ai_annotator_factory.h"
|
||||
#endif
|
||||
|
||||
#if BUILDFLAG(IS_CHROMEOS_LACROS)
|
||||
#include "chromeos/crosapi/mojom/task_manager.mojom.h"
|
||||
#include "chromeos/lacros/lacros_service.h"
|
||||
|
@ -609,6 +605,12 @@ Browser* OpenEmptyWindow(Profile* profile,
|
|||
Browser::CreationStatus::kOk) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Don't create a new window when the profile is shutting down.
|
||||
if (profile->ShutdownStarted()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Browser::CreateParams params =
|
||||
Browser::CreateParams(Browser::TYPE_NORMAL, profile, true);
|
||||
params.should_trigger_session_restore = should_trigger_session_restore;
|
||||
|
@ -1108,35 +1110,29 @@ void MoveTabsToNewWindow(Browser* browser,
|
|||
Browser::Create(Browser::CreateParams(browser->profile(), true));
|
||||
}
|
||||
|
||||
std::optional<base::Uuid> paused_saved_guid = std::nullopt;
|
||||
|
||||
tab_groups::SavedTabGroupKeyedService* const service =
|
||||
tab_groups::SavedTabGroupServiceFactory::GetForProfile(
|
||||
browser->profile());
|
||||
|
||||
tab_groups::TabGroupVisualData visual_data;
|
||||
|
||||
if (group.has_value()) {
|
||||
tab_groups::SavedTabGroupKeyedService* const service =
|
||||
tab_groups::SavedTabGroupServiceFactory::GetForProfile(
|
||||
browser->profile());
|
||||
if (service && service->model()->Contains(group.value())) {
|
||||
// If the group we are looking to move is saved:
|
||||
// 1) Stop listening to changes on it
|
||||
// 2) Close the group in the browser
|
||||
// 3) Open the group in a new browser and link it to the saved guid.
|
||||
const base::Uuid& saved_guid =
|
||||
service->model()->Get(group.value())->saved_guid();
|
||||
|
||||
service->DisconnectLocalTabGroup(group.value());
|
||||
browser->tab_strip_model()->CloseAllTabsInGroup(group.value());
|
||||
service->OpenSavedTabGroupInBrowser(new_browser, saved_guid);
|
||||
return;
|
||||
}
|
||||
|
||||
const tab_groups::TabGroupVisualData* old_visual_data =
|
||||
browser->tab_strip_model()
|
||||
->group_model()
|
||||
->GetTabGroup(group.value())
|
||||
->visual_data();
|
||||
tab_groups::TabGroupVisualData new_visual_data(old_visual_data->title(),
|
||||
old_visual_data->color(),
|
||||
false /* is_collapsed */);
|
||||
|
||||
new_browser->tab_strip_model()->group_model()->AddTabGroup(group.value(),
|
||||
new_visual_data);
|
||||
visual_data = tab_groups::TabGroupVisualData(old_visual_data->title(),
|
||||
old_visual_data->color(),
|
||||
false /* is_collapsed */);
|
||||
|
||||
if (service && service->model()->Contains(group.value())) {
|
||||
paused_saved_guid = service->model()->Get(group.value())->saved_guid();
|
||||
service->PauseTrackingLocalTabGroup(group.value());
|
||||
}
|
||||
}
|
||||
|
||||
int indices_size = tab_indices.size();
|
||||
|
@ -1147,8 +1143,6 @@ void MoveTabsToNewWindow(Browser* browser,
|
|||
bool pinned = browser->tab_strip_model()->IsTabPinned(adjusted_index);
|
||||
std::unique_ptr<tabs::TabModel> tab_model =
|
||||
browser->tab_strip_model()->DetachTabAtForInsertion(adjusted_index);
|
||||
std::unique_ptr<content::WebContents> contents_move =
|
||||
tabs::TabModel::DestroyAndTakeWebContents(std::move(tab_model));
|
||||
|
||||
int add_types = pinned ? AddTabTypes::ADD_PINNED : 0;
|
||||
// The last tab made active takes precedence, so activate the last active
|
||||
|
@ -1158,10 +1152,24 @@ void MoveTabsToNewWindow(Browser* browser,
|
|||
add_types = add_types | AddTabTypes::ADD_ACTIVE;
|
||||
}
|
||||
|
||||
new_browser->tab_strip_model()->AddWebContents(std::move(contents_move), -1,
|
||||
ui::PAGE_TRANSITION_TYPED,
|
||||
add_types, group);
|
||||
new_browser->tab_strip_model()->AddTab(std::move(tab_model), -1,
|
||||
ui::PAGE_TRANSITION_TYPED, add_types,
|
||||
std::nullopt);
|
||||
}
|
||||
|
||||
// Add all the tabs in the new browser to the group if it belonged in a group.
|
||||
if (group.has_value()) {
|
||||
std::vector<int> indices(new_browser->tab_strip_model()->GetTabCount());
|
||||
std::iota(indices.begin(), indices.end(), 0);
|
||||
new_browser->tab_strip_model()->AddToNewGroup(indices, group.value(),
|
||||
visual_data);
|
||||
|
||||
if (paused_saved_guid.has_value()) {
|
||||
service->ResumeTrackingLocalTabGroup(paused_saved_guid.value(),
|
||||
group.value());
|
||||
}
|
||||
}
|
||||
|
||||
new_browser->window()->Show();
|
||||
}
|
||||
|
||||
|
@ -1229,12 +1237,10 @@ void MoveTabsToExistingWindow(Browser* source,
|
|||
bool pinned = source->tab_strip_model()->IsTabPinned(adjusted_index);
|
||||
std::unique_ptr<tabs::TabModel> tab_model =
|
||||
source->tab_strip_model()->DetachTabAtForInsertion(adjusted_index);
|
||||
std::unique_ptr<content::WebContents> contents_move =
|
||||
tabs::TabModel::DestroyAndTakeWebContents(std::move(tab_model));
|
||||
int add_types =
|
||||
AddTabTypes::ADD_ACTIVE | (pinned ? AddTabTypes::ADD_PINNED : 0);
|
||||
target->tab_strip_model()->AddWebContents(
|
||||
std::move(contents_move), -1, ui::PAGE_TRANSITION_TYPED, add_types);
|
||||
target->tab_strip_model()->AddTab(std::move(tab_model), -1,
|
||||
ui::PAGE_TRANSITION_TYPED, add_types);
|
||||
}
|
||||
target->window()->Show();
|
||||
}
|
||||
|
@ -1306,6 +1312,11 @@ void ConvertPopupToTabbedBrowser(Browser* browser) {
|
|||
TabStripModel* tab_strip = browser->tab_strip_model();
|
||||
std::unique_ptr<tabs::TabModel> tab_model =
|
||||
tab_strip->DetachTabAtForInsertion(tab_strip->active_index());
|
||||
// This method moves a WebContents from a non-normal browser window to a
|
||||
// normal browser window. We cannot move the Tab over directly since TabModel
|
||||
// enforces the requirement that it cannot move between window types.
|
||||
// https://crbug.com/334281979): Non-normal browser windows should not have a
|
||||
// tab to begin with.
|
||||
std::unique_ptr<content::WebContents> contents_move =
|
||||
tabs::TabModel::DestroyAndTakeWebContents(std::move(tab_model));
|
||||
Browser* b = Browser::Create(Browser::CreateParams(browser->profile(), true));
|
||||
|
@ -1525,7 +1536,7 @@ void SaveAutofillAddress(Browser* browser) {
|
|||
browser->tab_strip_model()->GetActiveWebContents();
|
||||
autofill::AddressBubblesController* controller =
|
||||
autofill::AddressBubblesController::FromWebContents(web_contents);
|
||||
controller->OnPageActionIconClicked();
|
||||
controller->OnIconClicked();
|
||||
}
|
||||
|
||||
void ShowVirtualCardManualFallbackBubble(Browser* browser) {
|
||||
|
@ -1555,6 +1566,7 @@ void StartTabOrganizationRequest(Browser* browser) {
|
|||
TabOrganizationServiceFactory::GetForProfile(browser->profile());
|
||||
UMA_HISTOGRAM_BOOLEAN("Tab.Organization.AllEntrypoints.Clicked", true);
|
||||
UMA_HISTOGRAM_BOOLEAN("Tab.Organization.ThreeDotMenu.Clicked", true);
|
||||
browser->window()->NotifyPromoFeatureUsed(features::kTabOrganization);
|
||||
|
||||
service->RestartSessionAndShowUI(browser,
|
||||
TabOrganizationEntryPoint::kThreeDotMenu);
|
||||
|
@ -1934,7 +1946,7 @@ void OpenTaskManager(Browser* browser) {
|
|||
base::RecordAction(UserMetricsAction("TaskManager"));
|
||||
chrome::ShowTaskManager(browser);
|
||||
#else
|
||||
NOTREACHED();
|
||||
NOTREACHED_IN_MIGRATION();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -1960,6 +1972,13 @@ void ToggleShowFullURLs(Browser* browser) {
|
|||
omnibox::kPreventUrlElisionsInOmnibox, !pref_enabled);
|
||||
}
|
||||
|
||||
void ToggleShowGoogleLensShortcut(Browser* browser) {
|
||||
bool pref_enabled = browser->profile()->GetPrefs()->GetBoolean(
|
||||
omnibox::kShowGoogleLensShortcut);
|
||||
browser->profile()->GetPrefs()->SetBoolean(omnibox::kShowGoogleLensShortcut,
|
||||
!pref_enabled);
|
||||
}
|
||||
|
||||
void ShowAppMenu(Browser* browser) {
|
||||
// We record the user metric for this event in AppMenu::RunMenu.
|
||||
browser->window()->ShowAppMenu();
|
||||
|
@ -1970,12 +1989,22 @@ void ShowAvatarMenu(Browser* browser) {
|
|||
/*is_source_accelerator=*/true);
|
||||
}
|
||||
|
||||
// TODO(crbug.com/345770406): Rename the function name.
|
||||
// We removed the extra confirmation step in the Chrome update flow. After the
|
||||
// full rollout of the code, this name will be misleading. We will clean up the
|
||||
// code and its related source enums.
|
||||
void OpenUpdateChromeDialog(Browser* browser) {
|
||||
if (UpgradeDetector::GetInstance()->is_outdated_install()) {
|
||||
UpgradeDetector::GetInstance()->NotifyOutdatedInstall();
|
||||
} else if (UpgradeDetector::GetInstance()->is_outdated_install_no_au()) {
|
||||
UpgradeDetector::GetInstance()->NotifyOutdatedInstallNoAutoUpdate();
|
||||
} else {
|
||||
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
|
||||
if (base::FeatureList::IsEnabled(features::kFewerUpdateConfirmations)) {
|
||||
chrome::AttemptRelaunch();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
base::RecordAction(UserMetricsAction("UpdateChrome"));
|
||||
browser->window()->ShowUpdateChromeDialog();
|
||||
}
|
||||
|
@ -2064,6 +2093,19 @@ void CopyURL(content::WebContents* web_contents) {
|
|||
scw.WriteText(base::UTF8ToUTF16(web_contents->GetVisibleURL().spec()));
|
||||
}
|
||||
|
||||
bool CanCopyUrl(const Browser* browser) {
|
||||
return IsWebAppOrCustomTab(browser) ||
|
||||
!sharing_hub::SharingIsDisabledByPolicy(browser->profile());
|
||||
}
|
||||
|
||||
bool IsWebAppOrCustomTab(const Browser* browser) {
|
||||
return
|
||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
browser->is_type_custom_tab() ||
|
||||
#endif
|
||||
web_app::AppBrowserController::IsWebApp(browser);
|
||||
}
|
||||
|
||||
Browser* OpenInChrome(Browser* hosted_app_browser) {
|
||||
// Find a non-incognito browser.
|
||||
Browser* target_browser =
|
||||
|
@ -2218,24 +2260,10 @@ void ProcessInterceptedChromeURLNavigationInIncognito(Browser* browser,
|
|||
} else if (url == GURL(chrome::kChromeUIHistoryURL)) {
|
||||
ShowIncognitoHistoryDisclaimerDialog(browser);
|
||||
} else {
|
||||
NOTREACHED();
|
||||
NOTREACHED_IN_MIGRATION();
|
||||
}
|
||||
}
|
||||
|
||||
#if BUILDFLAG(ENABLE_SCREEN_AI_SERVICE)
|
||||
void RunScreenAILayoutExtraction(Browser* browser) {
|
||||
content::WebContents* web_contents =
|
||||
browser->tab_strip_model()->GetActiveWebContents();
|
||||
if (!web_contents) {
|
||||
return;
|
||||
}
|
||||
|
||||
screen_ai::AXScreenAIAnnotatorFactory::GetForBrowserContext(
|
||||
browser->profile())
|
||||
->AnnotateScreenshot(web_contents);
|
||||
}
|
||||
#endif // BUILDFLAG(ENABLE_SCREEN_AI_SERVICE)
|
||||
|
||||
void ExecLensOverlay(Browser* browser) {
|
||||
content::WebContents* web_contents =
|
||||
browser->tab_strip_model()->GetActiveWebContents();
|
||||
|
@ -2269,7 +2297,7 @@ void ExecLensRegionSearch(Browser* browser) {
|
|||
std::make_unique<lens::LensRegionSearchController>();
|
||||
lens_region_search_controller_data->lens_region_search_controller->Start(
|
||||
contents, lens::features::IsLensFullscreenSearchEnabled(),
|
||||
is_google_dsp, entry_point);
|
||||
/*force_open_in_new_tab=*/false, is_google_dsp, entry_point);
|
||||
browser->SetUserData(lens::LensRegionSearchControllerData::kDataKey,
|
||||
std::move(lens_region_search_controller_data));
|
||||
}
|
||||
|
|
|
@ -32,8 +32,7 @@ const InstallConstants kInstallModes[] = {
|
|||
.install_suffix =
|
||||
L"", // Empty install_suffix for the primary install mode.
|
||||
.logo_suffix = L"", // No logo suffix for the primary install mode.
|
||||
.app_guid =
|
||||
L"", // Empty app_guid since no integration with Google Update.
|
||||
.app_guid = L"{7D2B3E1D-D096-4594-9D8F-A6667F12E0AC}",
|
||||
.base_app_name = L"Thorium", // A distinct base_app_name.
|
||||
.base_app_id = L"Thorium", // A distinct base_app_id.
|
||||
.browser_prog_id_prefix = L"ThoriumHTM", // Browser ProgID prefix.
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include "chrome/install_static/install_details.h"
|
||||
#include "chrome/install_static/install_modes.h"
|
||||
#include "chrome/install_static/install_util.h"
|
||||
#include "chrome/installer/setup/configure_app_container_sandbox.h"
|
||||
#include "chrome/installer/setup/downgrade_cleanup.h"
|
||||
#include "chrome/installer/setup/install_params.h"
|
||||
#include "chrome/installer/setup/installer_state.h"
|
||||
|
@ -79,13 +80,6 @@ namespace installer {
|
|||
|
||||
namespace {
|
||||
|
||||
constexpr wchar_t kChromeInstallFilesCapabilitySid[] =
|
||||
L"S-1-15-3-1024-3424233489-972189580-2057154623-747635277-1604371224-"
|
||||
L"316187997-3786583170-1043257646";
|
||||
constexpr wchar_t kLpacChromeInstallFilesCapabilitySid[] =
|
||||
L"S-1-15-3-1024-2302894289-466761758-1166120688-1039016420-2430351297-"
|
||||
L"4240214049-4028510897-3317428798";
|
||||
|
||||
// Thorium Application dir files
|
||||
const wchar_t kInitPref[] = L"initial_preferences";
|
||||
const wchar_t kThorVer[] = L"thor_ver";
|
||||
|
@ -361,6 +355,7 @@ void AddChromeWorkItems(const InstallParams& install_params,
|
|||
->set_best_effort(true);
|
||||
}
|
||||
|
||||
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
||||
// Adds work items to register the Elevation Service with Windows. Only for
|
||||
// system level installs.
|
||||
void AddElevationServiceWorkItems(const base::FilePath& elevation_service_path,
|
||||
|
@ -382,6 +377,7 @@ void AddElevationServiceWorkItems(const base::FilePath& elevation_service_path,
|
|||
install_service_work_item->set_best_effort(true);
|
||||
list->AddWorkItem(install_service_work_item);
|
||||
}
|
||||
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING
|
||||
|
||||
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
||||
// Adds work items to add the "store-dmtoken" command to Chrome's version key.
|
||||
|
@ -929,20 +925,8 @@ void AddInstallWorkItems(const InstallParams& install_params,
|
|||
base::BindOnce(
|
||||
[](const base::FilePath& target_path, const base::FilePath& temp_path,
|
||||
const CallbackWorkItem& work_item) {
|
||||
auto sids = base::win::Sid::FromSddlStringVector(
|
||||
{kChromeInstallFilesCapabilitySid,
|
||||
kLpacChromeInstallFilesCapabilitySid});
|
||||
bool success = false;
|
||||
if (sids) {
|
||||
bool success_target = base::win::GrantAccessToPath(
|
||||
target_path, *sids, FILE_GENERIC_READ | FILE_GENERIC_EXECUTE,
|
||||
CONTAINER_INHERIT_ACE | OBJECT_INHERIT_ACE);
|
||||
bool success_temp = base::win::GrantAccessToPath(
|
||||
temp_path, *sids, FILE_GENERIC_READ | FILE_GENERIC_EXECUTE,
|
||||
CONTAINER_INHERIT_ACE | OBJECT_INHERIT_ACE);
|
||||
success = success_target && success_temp;
|
||||
}
|
||||
return success;
|
||||
return ConfigureAppContainerSandbox(
|
||||
std::array<const base::FilePath*, 2>{&target_path, &temp_path});
|
||||
},
|
||||
target_path, temp_path),
|
||||
base::DoNothing());
|
||||
|
@ -1004,10 +988,12 @@ void AddInstallWorkItems(const InstallParams& install_params,
|
|||
installer_state.root_key(),
|
||||
GetNotificationHelperPath(target_path, new_version), install_list);
|
||||
|
||||
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
||||
if (installer_state.system_install()) {
|
||||
AddElevationServiceWorkItems(
|
||||
GetElevationServicePath(target_path, new_version), install_list);
|
||||
}
|
||||
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING
|
||||
|
||||
AddUpdateDowngradeVersionItem(installer_state.root_key(), current_version,
|
||||
new_version, install_list);
|
||||
|
|
|
@ -34,14 +34,14 @@
|
|||
#include "base/metrics/histogram_macros.h"
|
||||
#include "base/numerics/safe_conversions.h"
|
||||
#include "base/ranges/algorithm.h"
|
||||
#include "base/strings/string_number_conversions.h"
|
||||
#include "base/strings/string_split_win.h"
|
||||
#include "base/strings/string_util.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "base/version.h"
|
||||
#include "base/win/registry.h"
|
||||
#include "base/win/win_util.h"
|
||||
#include "base/win/windows_version.h"
|
||||
#include "build/branding_buildflags.h"
|
||||
#include "build/build_config.h"
|
||||
#include "chrome/install_static/install_details.h"
|
||||
#include "chrome/install_static/install_modes.h"
|
||||
#include "chrome/install_static/install_util.h"
|
||||
|
@ -303,7 +303,7 @@ bool DeleteFileFromTempProcess(const base::FilePath& path,
|
|||
PAPCFUNC exit_process =
|
||||
reinterpret_cast<PAPCFUNC>(::GetProcAddress(kernel32, "ExitProcess"));
|
||||
if (!sleep || !delete_file || !exit_process) {
|
||||
NOTREACHED();
|
||||
NOTREACHED_IN_MIGRATION();
|
||||
ok = FALSE;
|
||||
} else {
|
||||
::QueueUserAPC(sleep, pi.hThread, delay_before_delete_ms);
|
||||
|
@ -838,4 +838,28 @@ void AddUpdateDowngradeVersionItem(HKEY root,
|
|||
}
|
||||
}
|
||||
|
||||
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
||||
std::wstring UpdateLastWindowsVersion(base::wcstring_view os_version) {
|
||||
constexpr wchar_t kLastWindowsVersion[] = L"LastWindowsVersion";
|
||||
|
||||
base::win::RegKey key;
|
||||
std::wstring last_version;
|
||||
if (key.Create(HKEY_CURRENT_USER, install_static::GetRegistryPath().c_str(),
|
||||
KEY_QUERY_VALUE | KEY_SET_VALUE) == ERROR_SUCCESS) {
|
||||
key.ReadValue(kLastWindowsVersion, &last_version);
|
||||
if (last_version == os_version) {
|
||||
return last_version;
|
||||
}
|
||||
base::Version version(base::WideToASCII(last_version));
|
||||
// Verify that last_version has a valid Windows version format, and if not,
|
||||
// return an empty string.
|
||||
if (!version.IsValid() || version.components().size() != 4) {
|
||||
last_version.clear();
|
||||
}
|
||||
key.WriteValue(kLastWindowsVersion, os_version.c_str());
|
||||
}
|
||||
return last_version;
|
||||
}
|
||||
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
||||
|
||||
} // namespace installer
|
||||
|
|
|
@ -279,6 +279,8 @@ test("components_unittests") {
|
|||
"//components/password_manager/core/common:unit_tests",
|
||||
"//components/payments/core:unit_tests",
|
||||
"//components/plus_addresses:unit_tests",
|
||||
"//components/plus_addresses/metrics:unit_tests",
|
||||
"//components/plus_addresses/settings:unit_tests",
|
||||
"//components/plus_addresses/webdata:unit_tests",
|
||||
"//components/policy/core/browser:unit_tests",
|
||||
"//components/policy/core/common:unit_tests",
|
||||
|
@ -320,6 +322,7 @@ test("components_unittests") {
|
|||
"//components/services/unzip:unit_tests",
|
||||
"//components/sessions:unit_tests",
|
||||
"//components/shared_highlighting/core/common:unit_tests",
|
||||
"//components/sharing_message:unit_tests",
|
||||
"//components/signin/core/browser:unit_tests",
|
||||
"//components/signin/internal/identity_manager:unit_tests",
|
||||
"//components/signin/public/base:unit_tests",
|
||||
|
@ -349,6 +352,7 @@ test("components_unittests") {
|
|||
"//components/unexportable_keys:unit_tests",
|
||||
"//components/unified_consent:unit_tests",
|
||||
"//components/upload_list:unit_tests",
|
||||
"//components/url_deduplication:unit_tests",
|
||||
"//components/url_formatter:unit_tests",
|
||||
"//components/url_formatter/spoof_checks/common_words:unit_tests",
|
||||
"//components/url_formatter/spoof_checks/top_domains:unit_tests",
|
||||
|
@ -415,7 +419,6 @@ test("components_unittests") {
|
|||
if (use_blink) {
|
||||
deps += [
|
||||
"//components/autofill/content/browser:unit_tests",
|
||||
"//components/autofill/content/renderer:unit_tests",
|
||||
"//components/autofill/core/common/mojom:unit_tests",
|
||||
"//components/browsing_data/content:unit_tests",
|
||||
"//components/browsing_topics:unit_tests",
|
||||
|
@ -444,13 +447,15 @@ test("components_unittests") {
|
|||
"//components/enterprise/content:unit_tests",
|
||||
"//components/favicon/content:unit_tests",
|
||||
"//components/feed/core/v2:core_unit_tests",
|
||||
"//components/feed/core/v2:ios_shared_unit_tests",
|
||||
"//components/file_access:unit_tests",
|
||||
"//components/fingerprinting_protection_filter/browser:unit_tests",
|
||||
"//components/gcm_driver/instance_id:unit_tests",
|
||||
"//components/heavy_ad_intervention:unit_tests",
|
||||
"//components/history/content/browser:unit_tests",
|
||||
"//components/history_clusters/core:unit_tests",
|
||||
"//components/history_embeddings:unit_tests",
|
||||
"//components/input:unit_tests",
|
||||
"//components/invalidation:unit_tests",
|
||||
"//components/invalidation/impl:unit_tests",
|
||||
"//components/javascript_dialogs:unit_tests",
|
||||
"//components/js_injection/common:unit_tests",
|
||||
|
@ -487,6 +492,7 @@ test("components_unittests") {
|
|||
"//components/performance_manager:unit_tests",
|
||||
"//components/policy/content:unit_tests",
|
||||
"//components/query_tiles:unit_tests",
|
||||
"//components/reduce_accept_language/browser:unit_tests",
|
||||
"//components/reporting/resources:unit_tests",
|
||||
"//components/services/heap_profiling:unit_tests",
|
||||
"//components/services/paint_preview_compositor:unit_tests",
|
||||
|
@ -503,6 +509,7 @@ test("components_unittests") {
|
|||
"//components/user_education/common:unit_tests",
|
||||
"//components/value_store:unit_tests",
|
||||
"//components/visited_url_ranking/internal:unit_tests",
|
||||
"//components/visited_url_ranking/public:unit_tests",
|
||||
"//components/visitedlink/test:unit_tests",
|
||||
"//components/web_cache/browser:unit_tests",
|
||||
"//components/web_package:unit_tests",
|
||||
|
@ -523,6 +530,10 @@ test("components_unittests") {
|
|||
deps += [ "//components/enterprise/idle:unit_tests" ]
|
||||
}
|
||||
|
||||
if (is_linux || is_win || is_mac) {
|
||||
deps += [ "//components/named_system_lock:unit_tests" ]
|
||||
}
|
||||
|
||||
if (is_ios) {
|
||||
bundle_deps = [ ":components_tests_pak_bundle_data" ]
|
||||
if (use_blink) {
|
||||
|
@ -552,24 +563,21 @@ test("components_unittests") {
|
|||
}
|
||||
} else { #!is_ios
|
||||
deps += [
|
||||
"//components/autofill/content/renderer:unit_tests",
|
||||
"//components/background_sync:unit_tests",
|
||||
"//components/blocked_content:unit_tests",
|
||||
"//components/content_settings/browser/ui:unit_tests",
|
||||
"//components/facilitated_payments/content/renderer:unit_tests",
|
||||
"//components/fingerprinting_protection_filter/browser:unit_tests",
|
||||
"//components/headless/test:unit_tests",
|
||||
"//components/media_router/browser:unit_tests",
|
||||
"//components/media_router/common:unit_tests",
|
||||
"//components/media_router/common/providers/cast/channel:unit_tests",
|
||||
"//components/page_info:unit_tests",
|
||||
"//components/permissions:unit_tests",
|
||||
"//components/permissions/prediction_service:unit_tests",
|
||||
"//components/privacy_sandbox:unit_tests",
|
||||
"//components/privacy_sandbox/privacy_sandbox_attestations:unit_tests",
|
||||
|
||||
# TODO(chromium: 1169835) components / reporting / storage / resources: unit_tests
|
||||
# can't be run on iOS until they are updated.
|
||||
"//components/safe_browsing/content/browser/password_protection:password_protection_unittest",
|
||||
"//components/safe_browsing/content/browser/triggers:unit_tests",
|
||||
"//components/safe_browsing/content/browser/web_ui:unit_tests",
|
||||
"//components/safety_check:unit_tests",
|
||||
"//components/security_interstitials/content:unit_tests",
|
||||
"//components/services/quarantine:unit_tests",
|
||||
|
@ -611,9 +619,12 @@ test("components_unittests") {
|
|||
"//components/cdm/browser:unit_tests",
|
||||
"//components/component_updater/android:embedded_component_loader_java",
|
||||
"//components/component_updater/android:embedded_component_loader_unittests",
|
||||
"//components/content_settings/android:native_java_unittests_java",
|
||||
"//components/content_settings/android:unit_tests",
|
||||
"//components/crash/android:java",
|
||||
"//components/crash/android:unit_tests",
|
||||
"//components/data_sharing/internal:internal_java",
|
||||
"//components/data_sharing/internal:native_test_helper_java",
|
||||
"//components/download/internal/common:internal_java",
|
||||
"//components/embedder_support/android:native_java_unittests_java",
|
||||
"//components/embedder_support/android/metrics:test_support_java",
|
||||
|
@ -741,7 +752,10 @@ test("components_unittests") {
|
|||
}
|
||||
|
||||
if (is_win) {
|
||||
deps += [ "//components/winhttp:unit_tests" ]
|
||||
deps += [
|
||||
"//components/services/font_data:unit_tests",
|
||||
"//components/winhttp:unit_tests",
|
||||
]
|
||||
}
|
||||
|
||||
if (enable_printing) {
|
||||
|
@ -757,27 +771,29 @@ test("components_unittests") {
|
|||
|
||||
if (safe_browsing_mode != 0) {
|
||||
deps += [
|
||||
"//components/safe_browsing/content/browser:unit_tests",
|
||||
"//components/safe_browsing/content/browser/download:unittests",
|
||||
"//components/safe_browsing/content/common:file_type_policies_unittest",
|
||||
"//components/safe_browsing/content/common:unit_tests",
|
||||
"//components/safe_browsing/core/browser:safe_browsing_url_checker_unittest",
|
||||
]
|
||||
}
|
||||
|
||||
# TODO(crbug / 1056278): Enable this on Fuchsia and merge with the above
|
||||
# conditional.
|
||||
if (safe_browsing_mode != 0 && !is_fuchsia) {
|
||||
if (safe_browsing_mode != 0 && !is_ios) {
|
||||
deps += [
|
||||
"//components/safe_browsing/content/browser/download:unittests",
|
||||
"//components/safe_browsing/content/common:file_type_policies_unittest",
|
||||
# TODO(chromium: 1169835) components / reporting / storage / resources: unit_tests
|
||||
# can't be run on iOS until they are updated.
|
||||
"//components/safe_browsing/content/browser/password_protection:password_protection_unittest",
|
||||
"//components/safe_browsing/content/browser/triggers:unit_tests",
|
||||
"//components/safe_browsing/content/browser/web_ui:unit_tests",
|
||||
"//components/safe_browsing/content/common:file_type_policies_policy_util_unittest",
|
||||
]
|
||||
}
|
||||
|
||||
if (safe_browsing_mode != 0 && !is_ios && !is_fuchsia) {
|
||||
deps += [ "//components/safe_browsing/content/common:file_type_policies_policy_util_unittest" ]
|
||||
}
|
||||
|
||||
if (safe_browsing_mode == 1) {
|
||||
deps += [
|
||||
"//components/safe_browsing/content/renderer:throttles_unittest",
|
||||
"//components/safe_browsing/content/renderer/phishing_classifier:unit_tests",
|
||||
"//components/safe_browsing/core/browser:ping_manager_unittest",
|
||||
"//components/safe_browsing/core/browser:user_population_unittest",
|
||||
"//components/safe_browsing/core/browser:verdict_cache_manager_unittest",
|
||||
|
@ -794,15 +810,6 @@ test("components_unittests") {
|
|||
]
|
||||
}
|
||||
|
||||
if (safe_browsing_mode == 1) {
|
||||
deps += [
|
||||
"//components/safe_browsing/content/browser:unit_tests",
|
||||
"//components/safe_browsing/content/renderer/phishing_classifier:unit_tests",
|
||||
]
|
||||
} else if (safe_browsing_mode == 2) {
|
||||
deps += [ "//components/safe_browsing/content/browser:unit_tests" ]
|
||||
}
|
||||
|
||||
if (use_dbus) {
|
||||
deps += [
|
||||
"//components/dbus/menu:unit_tests",
|
||||
|
@ -836,7 +843,10 @@ test("components_unittests") {
|
|||
}
|
||||
|
||||
if (is_mac) {
|
||||
deps += [ "//components/remote_cocoa/common:unit_tests" ]
|
||||
deps += [
|
||||
"//components/remote_cocoa/app_shim:unit_tests",
|
||||
"//components/remote_cocoa/common:unit_tests",
|
||||
]
|
||||
}
|
||||
|
||||
# On LaCrOS, tests use ash - chrome as a window manager, thus the dependency.
|
||||
|
@ -1030,6 +1040,11 @@ if (use_blink) {
|
|||
data += [ "$root_out_dir/Thorium Shell.app/" ]
|
||||
}
|
||||
|
||||
if (toolkit_views && !is_mac) {
|
||||
# TODO(crbug.com/349781050): Enable test on Mac.
|
||||
deps += [ "//components/constrained_window:browser_tests" ]
|
||||
}
|
||||
|
||||
if (is_ios) {
|
||||
entitlements_path = "//content/app/ios/appex/app.entitlements"
|
||||
bundle_deps = [
|
||||
|
@ -1054,6 +1069,7 @@ if (use_blink) {
|
|||
"//components/pdf/renderer",
|
||||
"//pdf:accessibility",
|
||||
"//pdf:features",
|
||||
"//ui/strings:auto_image_annotation_strings",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -1208,7 +1224,7 @@ if (use_blink) {
|
|||
]
|
||||
}
|
||||
|
||||
if (!is_android) {
|
||||
if (safe_browsing_mode == 1 || is_ios) {
|
||||
sources += [ "safe_browsing/core/browser/db/v4_store_perftest.cc" ]
|
||||
deps += [
|
||||
"//components/safe_browsing/core/browser/db:v4_protocol_manager_util",
|
||||
|
@ -1252,7 +1268,6 @@ if (is_android) {
|
|||
"//components/policy/android:components_policy_junit_tests",
|
||||
"//components/prefs/android:junit",
|
||||
"//components/query_tiles:query_tiles_junit_tests",
|
||||
"//components/saved_tab_groups:components_tab_group_sync_junit_tests",
|
||||
"//components/signin/public/android:junit",
|
||||
"//components/stylus_handwriting/android:stylus_handwriting_junit_tests",
|
||||
"//components/subresource_filter/android:junit",
|
||||
|
|
|
@ -152,8 +152,9 @@ std::string TruncateUrl(const std::string& url) {
|
|||
GURL GetUrlFromClipboard(bool notify_if_restricted) {
|
||||
std::u16string url_text;
|
||||
#if !BUILDFLAG(IS_IOS)
|
||||
ui::DataTransferEndpoint data_dst = ui::DataTransferEndpoint(
|
||||
ui::EndpointType::kDefault, notify_if_restricted);
|
||||
ui::DataTransferEndpoint data_dst =
|
||||
ui::DataTransferEndpoint(ui::EndpointType::kDefault,
|
||||
{.notify_if_restricted = notify_if_restricted});
|
||||
ui::Clipboard::GetForCurrentThread()->ReadText(
|
||||
ui::ClipboardBuffer::kCopyPaste, &data_dst, &url_text);
|
||||
#endif
|
||||
|
@ -244,7 +245,7 @@ void CloneBookmarkNode(BookmarkModel* model,
|
|||
size_t index_to_add_at,
|
||||
bool reset_node_times) {
|
||||
if (!parent->is_folder() || !model) {
|
||||
NOTREACHED();
|
||||
NOTREACHED_IN_MIGRATION();
|
||||
return;
|
||||
}
|
||||
for (size_t i = 0; i < elements.size(); ++i) {
|
||||
|
@ -310,7 +311,7 @@ void MakeTitleUnique(const BookmarkModel* model,
|
|||
return;
|
||||
}
|
||||
}
|
||||
NOTREACHED();
|
||||
NOTREACHED_IN_MIGRATION();
|
||||
}
|
||||
|
||||
void PasteFromClipboard(BookmarkModel* model,
|
||||
|
@ -495,8 +496,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
|||
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
||||
registry->RegisterBooleanPref(prefs::kEditBookmarksEnabled, true);
|
||||
registry->RegisterBooleanPref(
|
||||
// Alex313031 removed in Thorium M120
|
||||
prefs::kShowAppsShortcutInBookmarkBar, false,
|
||||
prefs::kShowAppsShortcutInBookmarkBar, true,
|
||||
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
||||
registry->RegisterBooleanPref(
|
||||
prefs::kShowTabGroupsInBookmarkBar, true,
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "base/strings/string_util.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "build/build_config.h"
|
||||
#include "components/bookmarks/browser/core_bookmark_model.h"
|
||||
#include "components/bookmarks/browser/bookmark_model.h"
|
||||
#include "components/omnibox/browser/autocomplete_controller.h"
|
||||
#include "components/omnibox/browser/autocomplete_input.h"
|
||||
#include "components/omnibox/browser/autocomplete_match.h"
|
||||
|
@ -195,7 +195,7 @@ ui::ImageModel OmniboxView::GetIcon(int dip_size,
|
|||
bool dark_mode) const {
|
||||
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS)
|
||||
// This is used on desktop only.
|
||||
NOTREACHED();
|
||||
NOTREACHED_IN_MIGRATION();
|
||||
return ui::ImageModel();
|
||||
#else
|
||||
|
||||
|
@ -233,7 +233,7 @@ ui::ImageModel OmniboxView::GetIcon(int dip_size,
|
|||
// If it's never called, the vector icon we provide below should remain.
|
||||
|
||||
// For bookmarked suggestions, display bookmark icon.
|
||||
bookmarks::CoreBookmarkModel* bookmark_model =
|
||||
bookmarks::BookmarkModel* bookmark_model =
|
||||
controller_->client()->GetBookmarkModel();
|
||||
const bool is_bookmarked =
|
||||
bookmark_model && bookmark_model->IsBookmarked(match.destination_url);
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
#include "build/build_config.h"
|
||||
#include "services/metrics/public/cpp/ukm_builders.h"
|
||||
#include "services/metrics/public/cpp/ukm_recorder.h"
|
||||
#include "third_party/blink/public/common/browser_interface_broker_proxy.h"
|
||||
#include "third_party/blink/public/common/features.h"
|
||||
#include "third_party/blink/public/common/mediastream/media_devices.h"
|
||||
#include "third_party/blink/public/platform/browser_interface_broker_proxy.h"
|
||||
#include "third_party/blink/public/platform/modules/webrtc/webrtc_logging.h"
|
||||
#include "third_party/blink/public/platform/web_audio_latency_hint.h"
|
||||
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
|
||||
|
@ -29,6 +29,7 @@
|
|||
#include "third_party/blink/renderer/modules/peerconnection/peer_connection_dependency_factory.h"
|
||||
#include "third_party/blink/renderer/modules/permissions/permission_utils.h"
|
||||
#include "third_party/blink/renderer/modules/webaudio/audio_listener.h"
|
||||
#include "third_party/blink/renderer/modules/webaudio/audio_playout_stats.h"
|
||||
#include "third_party/blink/renderer/modules/webaudio/audio_sink_info.h"
|
||||
#include "third_party/blink/renderer/modules/webaudio/media_element_audio_source_node.h"
|
||||
#include "third_party/blink/renderer/modules/webaudio/media_stream_audio_destination_node.h"
|
||||
|
@ -41,6 +42,7 @@
|
|||
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
|
||||
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
|
||||
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
|
||||
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
|
||||
#include "third_party/blink/renderer/platform/scheduler/public/post_cross_thread_task.h"
|
||||
#include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h"
|
||||
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
|
||||
|
@ -358,6 +360,7 @@ AudioContext::~AudioContext() {
|
|||
|
||||
void AudioContext::Trace(Visitor* visitor) const {
|
||||
visitor->Trace(close_resolver_);
|
||||
visitor->Trace(audio_playout_stats_);
|
||||
visitor->Trace(audio_context_manager_);
|
||||
visitor->Trace(permission_service_);
|
||||
visitor->Trace(permission_receiver_);
|
||||
|
@ -595,6 +598,17 @@ double AudioContext::outputLatency() const {
|
|||
return std::round(output_position_.hardware_output_latency / factor) * factor;
|
||||
}
|
||||
|
||||
AudioPlayoutStats* AudioContext::playoutStats() {
|
||||
DCHECK(IsMainThread());
|
||||
if (!RuntimeEnabledFeatures::AudioContextPlayoutStatsEnabled()) {
|
||||
return nullptr;
|
||||
}
|
||||
if (!audio_playout_stats_) {
|
||||
audio_playout_stats_ = MakeGarbageCollected<AudioPlayoutStats>(this);
|
||||
}
|
||||
return audio_playout_stats_.Get();
|
||||
}
|
||||
|
||||
ScriptPromise<IDLUndefined> AudioContext::setSinkId(
|
||||
ScriptState* script_state,
|
||||
const V8UnionAudioSinkOptionsOrString* v8_sink_id,
|
||||
|
@ -714,7 +728,7 @@ bool AudioContext::AreAutoplayRequirementsFulfilled() const {
|
|||
return AutoplayPolicy::IsDocumentAllowedToPlay(*GetWindow()->document());
|
||||
}
|
||||
|
||||
NOTREACHED();
|
||||
NOTREACHED_IN_MIGRATION();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -749,7 +763,7 @@ bool AudioContext::IsAllowedToStart() const {
|
|||
|
||||
switch (GetAutoplayPolicy()) {
|
||||
case AutoplayPolicy::Type::kNoUserGestureRequired:
|
||||
NOTREACHED();
|
||||
NOTREACHED_IN_MIGRATION();
|
||||
break;
|
||||
case AutoplayPolicy::Type::kUserGestureRequired:
|
||||
DCHECK(window->GetFrame());
|
||||
|
@ -827,10 +841,17 @@ RealtimeAudioDestinationNode* AudioContext::GetRealtimeAudioDestinationNode()
|
|||
return static_cast<RealtimeAudioDestinationNode*>(destination());
|
||||
}
|
||||
|
||||
bool AudioContext::HandlePreRenderTasks(const AudioIOPosition* output_position,
|
||||
const AudioCallbackMetric* metric) {
|
||||
bool AudioContext::HandlePreRenderTasks(
|
||||
uint32_t frames_to_process,
|
||||
const AudioIOPosition* output_position,
|
||||
const AudioCallbackMetric* metric,
|
||||
base::TimeDelta playout_delay,
|
||||
const media::AudioGlitchInfo& glitch_info) {
|
||||
DCHECK(IsAudioThread());
|
||||
|
||||
pending_audio_frame_stats_.Update(frames_to_process, sampleRate(),
|
||||
playout_delay, glitch_info);
|
||||
|
||||
// At the beginning of every render quantum, try to update the internal
|
||||
// rendering graph state (from main thread changes). It's OK if the tryLock()
|
||||
// fails, we'll just take slightly longer to pick up the changes.
|
||||
|
@ -850,6 +871,8 @@ bool AudioContext::HandlePreRenderTasks(const AudioIOPosition* output_position,
|
|||
output_position_ = *output_position;
|
||||
callback_metric_ = *metric;
|
||||
|
||||
audio_frame_stats_.Absorb(pending_audio_frame_stats_);
|
||||
|
||||
unlock();
|
||||
}
|
||||
|
||||
|
@ -1178,18 +1201,18 @@ bool AudioContext::IsValidSinkDescriptor(
|
|||
}
|
||||
|
||||
void AudioContext::OnRenderError() {
|
||||
if (base::FeatureList::IsEnabled(features::kWebAudioHandleOnRenderError)) {
|
||||
DCHECK(IsMainThread());
|
||||
DCHECK(IsMainThread());
|
||||
|
||||
CHECK(GetExecutionContext());
|
||||
LocalDOMWindow* window = To<LocalDOMWindow>(GetExecutionContext());
|
||||
if (window && window->GetFrame()) {
|
||||
window->AddConsoleMessage(MakeGarbageCollected<ConsoleMessage>(
|
||||
mojom::blink::ConsoleMessageSource::kOther,
|
||||
mojom::blink::ConsoleMessageLevel::kError,
|
||||
"The AudioContext encountered a render error."));
|
||||
}
|
||||
if (!RuntimeEnabledFeatures::AudioContextOnErrorEnabled()) {
|
||||
return;
|
||||
}
|
||||
|
||||
CHECK(GetExecutionContext());
|
||||
render_error_occurred_ = true;
|
||||
GetExecutionContext()->GetTaskRunner(TaskType::kMediaElementEvent)
|
||||
->PostTask(FROM_HERE,
|
||||
WTF::BindOnce(&AudioContext::HandleRenderError,
|
||||
WrapPersistent(this)));
|
||||
}
|
||||
|
||||
void AudioContext::ResumeOnPrerenderActivation() {
|
||||
|
@ -1206,4 +1229,42 @@ void AudioContext::ResumeOnPrerenderActivation() {
|
|||
}
|
||||
}
|
||||
|
||||
void AudioContext::TransferAudioFrameStatsTo(
|
||||
AudioContext::AudioFrameStats& receiver) {
|
||||
DeferredTaskHandler::GraphAutoLocker locker(this);
|
||||
receiver.Absorb(audio_frame_stats_);
|
||||
}
|
||||
|
||||
void AudioContext::HandleRenderError() {
|
||||
DCHECK(IsMainThread());
|
||||
|
||||
LocalDOMWindow* window = To<LocalDOMWindow>(GetExecutionContext());
|
||||
if (window && window->GetFrame()) {
|
||||
window->AddConsoleMessage(MakeGarbageCollected<ConsoleMessage>(
|
||||
mojom::blink::ConsoleMessageSource::kOther,
|
||||
mojom::blink::ConsoleMessageLevel::kError,
|
||||
"The AudioContext encountered an error from the audio device or the "
|
||||
"WebAudio renderer."));
|
||||
}
|
||||
|
||||
// Implements
|
||||
// https://webaudio.github.io/web-audio-api/#error-handling-on-a-running-audio-context
|
||||
if (ContextState() == kRunning) {
|
||||
// TODO(https://crbug.com/353641602): starting or stopping the renderer
|
||||
// should happen on the render thread, but this is the current convention.
|
||||
destination()->GetAudioDestinationHandler().StopRendering();
|
||||
|
||||
DispatchEvent(*Event::Create(event_type_names::kError));
|
||||
suspended_by_user_ = false;
|
||||
SetContextState(kSuspended);
|
||||
} else if (ContextState() == kSuspended) {
|
||||
DispatchEvent(*Event::Create(event_type_names::kError));
|
||||
}
|
||||
}
|
||||
|
||||
void AudioContext::invoke_onrendererror_from_platform_for_testing() {
|
||||
GetRealtimeAudioDestinationNode()->GetOwnHandler()
|
||||
.invoke_onrendererror_from_platform_for_testing();
|
||||
}
|
||||
|
||||
} // namespace blink
|
||||
|
|
1048
src/third_party/ffmpeg/chromium/scripts/build_ffmpeg.py
vendored
1048
src/third_party/ffmpeg/chromium/scripts/build_ffmpeg.py
vendored
File diff suppressed because it is too large
Load diff
|
@ -576,25 +576,24 @@ def DownloadDebianSysroot(platform_name, skip_download=False):
|
|||
# work (clang can require 2.18; chromium currently doesn't)
|
||||
# - libcrypt.so.1 reversioned so that crypt() is picked up from glibc
|
||||
# The sysroot was built at
|
||||
# https://chromium-review.googlesource.com/c/chromium/src/+/3684954/1
|
||||
# https://chromium-review.googlesource.com/c/chromium/src/+/5506275/1
|
||||
# and the hashes here are from sysroots.json in that CL.
|
||||
toolchain_bucket = 'https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/'
|
||||
toolchain_bucket = 'https://commondatastorage.googleapis.com/chrome-linux-sysroot/'
|
||||
|
||||
hashes = {
|
||||
# hash from https://chromium-review.googlesource.com/c/chromium/src/+/3684954/1/build/linux/sysroot_scripts/sysroots.json#3
|
||||
'amd64': '2028cdaf24259d23adcff95393b8cc4f0eef714b',
|
||||
# hash from https://chromium-review.googlesource.com/c/chromium/src/+/3684954/1/build/linux/sysroot_scripts/sysroots.json#23
|
||||
'i386': 'a033618b5e092c86e96d62d3c43f7363df6cebe7',
|
||||
# hash from https://chromium-review.googlesource.com/c/chromium/src/+/3684954/1/build/linux/sysroot_scripts/sysroots.json#8
|
||||
'arm': '0b9a3c54d2d5f6b1a428369aaa8d7ba7b227f701',
|
||||
# hash from https://chromium-review.googlesource.com/c/chromium/src/+/3684954/1/build/linux/sysroot_scripts/sysroots.json#12
|
||||
'arm64': '0e28d9832614729bb5b731161ff96cb4d516f345',
|
||||
# hash from https://chromium-review.googlesource.com/c/chromium/src/+/5506275/1/build/linux/sysroot_scripts/sysroots.json#3
|
||||
'amd64': 'dec7a3a0fc5b83b909cba1b6d119077e0429a138eadef6bf5a0f2e03b1904631',
|
||||
# hash from https://chromium-review.googlesource.com/c/chromium/src/+/5506275/1/build/linux/sysroot_scripts/sysroots.json#21
|
||||
'i386': 'b53933120bb08ffc38140a817e3f0f99782254a6bf9622271574fa004e8783a4',
|
||||
# hash from https://chromium-review.googlesource.com/c/chromium/src/+/5506275/1/build/linux/sysroot_scripts/sysroots.json#15
|
||||
'arm': 'fe81e7114b97440262bce004caf02c1514732e2fa7f99693b2836932ad1c4626',
|
||||
# hash from https://chromium-review.googlesource.com/c/chromium/src/+/5506275/1/build/linux/sysroot_scripts/sysroots.json#21
|
||||
'arm64': '308e23faba3174bd01accfe358467b8a40fad4db4c49ef629da30219f65a275f',
|
||||
}
|
||||
|
||||
toolchain_name = f'debian_bullseye_{platform_name}_sysroot'
|
||||
output = os.path.join(LLVM_BUILD_TOOLS_DIR, toolchain_name)
|
||||
U = toolchain_bucket + hashes[platform_name] + '/' + toolchain_name + \
|
||||
'.tar.xz'
|
||||
U = toolchain_bucket + hashes[platform_name]
|
||||
if not skip_download:
|
||||
DownloadAndUnpack(U, output)
|
||||
|
||||
|
@ -948,6 +947,8 @@ def main():
|
|||
# Fails with a recent ld, crbug.com/332589870
|
||||
'^.*ContinuousSyncMode/darwin-proof-of-concept.c$',
|
||||
'^.*instrprof-darwin-exports.c$',
|
||||
# Fails on our mac builds, crbug.com/346289767
|
||||
'^.*Interpreter/pretty-print.c$',
|
||||
]
|
||||
test_env = None
|
||||
if lit_excludes:
|
||||
|
@ -1130,7 +1131,9 @@ def main():
|
|||
|
||||
chrome_tools = []
|
||||
if not args.no_tools:
|
||||
default_tools = ['plugins', 'blink_gc_plugin', 'translation_unit']
|
||||
default_tools = [
|
||||
'plugins', 'blink_gc_plugin', 'raw_ptr_plugin', 'translation_unit'
|
||||
]
|
||||
chrome_tools = list(set(default_tools + args.extra_tools))
|
||||
if cc is not None: base_cmake_args.append('-DCMAKE_C_COMPILER=' + cc)
|
||||
if cxx is not None: base_cmake_args.append('-DCMAKE_CXX_COMPILER=' + cxx)
|
||||
|
@ -1432,8 +1435,6 @@ def main():
|
|||
cmake_args.append('-DLLVM_BUILTIN_TARGETS=' + all_triples)
|
||||
cmake_args.append('-DLLVM_RUNTIME_TARGETS=' + all_triples)
|
||||
|
||||
# If we're bootstrapping, Goma doesn't know about the bootstrap compiler
|
||||
# we're using as the host compiler.
|
||||
if not args.bootstrap:
|
||||
cmake_args.extend(ccache_cmake_args)
|
||||
|
||||
|
@ -1519,7 +1520,7 @@ def main():
|
|||
VerifyZStdSupport()
|
||||
|
||||
# Run tests.
|
||||
if (not args.build_mac_arm and
|
||||
if (chrome_tools and not args.build_mac_arm and
|
||||
(args.run_tests or args.llvm_force_head_revision)):
|
||||
RunCommand(['ninja', '-C', LLVM_BUILD_DIR, 'cr-check-all'], setenv=True)
|
||||
|
||||
|
|
|
@ -199,7 +199,8 @@ void ShowExamplesWindow(base::OnceClosure on_close,
|
|||
} else {
|
||||
examples = GetExamplesToShow(std::move(examples));
|
||||
Widget* widget = new Widget;
|
||||
Widget::InitParams params;
|
||||
Widget::InitParams params(Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET,
|
||||
Widget::InitParams::TYPE_WINDOW);
|
||||
params.delegate =
|
||||
new ExamplesWindowContents(std::move(on_close), std::move(examples));
|
||||
params.context = window_context;
|
||||
|
|
|
@ -55,8 +55,11 @@ generate_grd("build_grdp") {
|
|||
"arrow_down.svg",
|
||||
"arrow_right.svg",
|
||||
"business.svg",
|
||||
"colorize.svg",
|
||||
"chevron_down.svg",
|
||||
"chrome_logo_dark.svg",
|
||||
"dark/arrow_down.svg",
|
||||
"dark/chevron_down.svg",
|
||||
"icon_arrow_back.svg",
|
||||
"icon_arrow_drop_down_cr23.svg",
|
||||
"icon_arrow_drop_up_cr23.svg",
|
||||
|
|
Loading…
Reference in a new issue