diff --git a/browser/ui/webui/brave_webui_source.cc b/browser/ui/webui/brave_webui_source.cc index ea588dc95ff7..d78cf381b205 100644 --- a/browser/ui/webui/brave_webui_source.cc +++ b/browser/ui/webui/brave_webui_source.cc @@ -75,23 +75,18 @@ void CustomizeWebUIHTMLSource(const std::string &name, { "anders-jilden.webp", IDR_BRAVE_NEW_TAB_BACKGROUND1 }, { "andreas-gucklhorn.webp", IDR_BRAVE_NEW_TAB_BACKGROUND2 }, { "andy-mai.webp", IDR_BRAVE_NEW_TAB_BACKGROUND3 }, - { "annie-spratt.webp", IDR_BRAVE_NEW_TAB_BACKGROUND4 }, { "anton-repponen.webp", IDR_BRAVE_NEW_TAB_BACKGROUND5 }, { "ben-karpinski.webp", IDR_BRAVE_NEW_TAB_BACKGROUND6 }, - { "dc-cavalleri.webp", IDR_BRAVE_NEW_TAB_BACKGROUND7 }, { "joe-gardner.webp", IDR_BRAVE_NEW_TAB_BACKGROUND8 }, - { "louis-kim.webp", IDR_BRAVE_NEW_TAB_BACKGROUND9 }, { "matt-palmer.webp", IDR_BRAVE_NEW_TAB_BACKGROUND10 }, - { "oliwier-gesla.webp", IDR_BRAVE_NEW_TAB_BACKGROUND11 }, { "svalbard-jerol-soibam.webp", IDR_BRAVE_NEW_TAB_BACKGROUND12 }, { "will-christiansen-glacier-peak.webp", IDR_BRAVE_NEW_TAB_BACKGROUND13 }, { "will-christiansen-ice.webp", IDR_BRAVE_NEW_TAB_BACKGROUND14 }, - { "xavier-balderas-cejudo.webp", IDR_BRAVE_NEW_TAB_BACKGROUND15 }, +#endif // private tab { "c168145d6bf1abf2c0322636366f7dbe.svg", IDR_BRAVE_PRIVATE_TAB_TOR_IMG }, // NOLINT { "dbdc336ccc651b8a7c925b3482d6e65a.svg", IDR_BRAVE_PRIVATE_TAB_IMG } - } -#endif + } #if !defined(OS_ANDROID) }, { std::string("rewards"), { diff --git a/components/brave_new_tab_ui/data/backgrounds.ts b/components/brave_new_tab_ui/data/backgrounds.ts index b49f0fb07c03..694309e0692a 100644 --- a/components/brave_new_tab_ui/data/backgrounds.ts +++ b/components/brave_new_tab_ui/data/backgrounds.ts @@ -2,13 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at https://mozilla.org/MPL/2.0/. */ -// 'name': '1', -// 'source': 'ntp-1.webp', -// 'author': 'Pok Rie', -// 'link': 'https://www.pexels.com/@pok-rie-33563', -// 'originalUrl': 'https://www.pexels.com/photo/red-white-and-blue-abstract-painting-1045850/', -// 'license': 'https://www.pexels.com/photo-license/' - export const images: NewTab.Image[] = [ { 'name': 'ntp-fall-2019-1', @@ -34,14 +27,6 @@ export const images: NewTab.Image[] = [ 'originalUrl': 'https://unsplash.com/photos/4knR_YzeUVc', 'license': 'https://unsplash.com/license' }, - { - 'name': 'ntp-fall-2019-4', - 'source': 'annie-spratt.webp', - 'author': 'Annie Spratt', - 'link': 'https://unsplash.com/@anniespratt?utm_source=unsplash&utm_medium=referral&utm_content=credit', - 'originalUrl': 'https://unsplash.com/photos/C9jP5AlgcuQ', - 'license': 'https://unsplash.com/license' - }, { 'name': 'ntp-fall-2019-5', 'source': 'anton-repponen.webp', @@ -58,14 +43,6 @@ export const images: NewTab.Image[] = [ 'originalUrl': 'Contributor sent the hi-res version through email', 'license': 'Used with permission' }, - { - 'name': 'ntp-fall-2019-7', - 'source': 'dc-cavalleri.webp', - 'author': 'D.C. Cavalleri', - 'link': 'https://gradivis.com', - 'originalUrl': 'Contributor sent the hi-res version through email', - 'license': 'Used with permission' - }, { 'name': 'ntp-fall-2019-8', 'source': 'joe-gardner.webp', @@ -74,14 +51,6 @@ export const images: NewTab.Image[] = [ 'originalUrl': 'https://unsplash.com/photos/4xv3lqnanYc', 'license': 'Used with permission' }, - { - 'name': 'ntp-fall-2019-9', - 'source': 'louis-kim.webp', - 'author': 'Louis Kim', - 'link': 'http://louiskimphotography.com', - 'originalUrl': 'Contributor sent the hi-res version through email', - 'license': 'Used with permission' - }, { 'name': 'ntp-fall-2019-10', 'source': 'matt-palmer.webp', @@ -90,14 +59,6 @@ export const images: NewTab.Image[] = [ 'originalUrl': 'https://unsplash.com/photos/veMnvjmfoxw', 'license': 'Used with permission' }, - { - 'name': 'ntp-fall-2019-11', - 'source': 'oliwier-gesla.webp', - 'author': 'Oliwier Gesla', - 'link': 'https://www.instagram.com/oliwiergesla/', - 'originalUrl': 'Contributor sent the hi-res version through email', - 'license': 'Used with permission' - }, { 'name': 'ntp-fall-2019-12', 'source': 'svalbard-jerol-soibam.webp', @@ -121,13 +82,5 @@ export const images: NewTab.Image[] = [ 'link': 'www.theskyfolk.com', 'originalUrl': 'Contributor sent the hi-res version through email', 'license': 'Used with permission' - }, - { - 'name': 'ntp-fall-2019-15', - 'source': 'xavier-balderas-cejudo.webp', - 'author': 'Xavier Balderas Cejudo', - 'link': 'https://unsplash.com/@xavibalderas?utm_source=unsplash&utm_medium=referral&utm_content=credit', - 'originalUrl': 'https://unsplash.com/photos/kxIE049IZ1g', - 'license': 'https://unsplash.com/license' } ] diff --git a/components/img/newtab/backgrounds/annie-spratt.webp b/components/img/newtab/backgrounds/annie-spratt.webp deleted file mode 100644 index 77fbae36371f..000000000000 Binary files a/components/img/newtab/backgrounds/annie-spratt.webp and /dev/null differ diff --git a/components/img/newtab/backgrounds/dc-cavalleri.webp b/components/img/newtab/backgrounds/dc-cavalleri.webp deleted file mode 100755 index 2f17b7da9786..000000000000 Binary files a/components/img/newtab/backgrounds/dc-cavalleri.webp and /dev/null differ diff --git a/components/img/newtab/backgrounds/louis-kim.webp b/components/img/newtab/backgrounds/louis-kim.webp deleted file mode 100644 index 52aebeffe2dd..000000000000 Binary files a/components/img/newtab/backgrounds/louis-kim.webp and /dev/null differ diff --git a/components/img/newtab/backgrounds/oliwier-gesla.webp b/components/img/newtab/backgrounds/oliwier-gesla.webp deleted file mode 100644 index 787fbbfa23bf..000000000000 Binary files a/components/img/newtab/backgrounds/oliwier-gesla.webp and /dev/null differ diff --git a/components/img/newtab/backgrounds/xavier-balderas-cejudo.webp b/components/img/newtab/backgrounds/xavier-balderas-cejudo.webp deleted file mode 100644 index 55649f75040b..000000000000 Binary files a/components/img/newtab/backgrounds/xavier-balderas-cejudo.webp and /dev/null differ diff --git a/components/resources/brave_components_resources.grd b/components/resources/brave_components_resources.grd index 2dbd8ef63b5d..f86b674352c3 100644 --- a/components/resources/brave_components_resources.grd +++ b/components/resources/brave_components_resources.grd @@ -47,18 +47,13 @@ - - - - -