From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- browser/components/profiles/ProfilesChild.sys.mjs | 5 +++++ browser/components/profiles/ProfilesParent.sys.mjs | 5 +++++ browser/components/profiles/content/profiles.ftl | 16 ++++++++++++++++ browser/components/profiles/content/profiles.html | 20 ++++++++++++++++++++ browser/components/profiles/jar.mn | 6 ++++++ browser/components/profiles/moz.build | 15 +++++++++++++++ 6 files changed, 67 insertions(+) create mode 100644 browser/components/profiles/ProfilesChild.sys.mjs create mode 100644 browser/components/profiles/ProfilesParent.sys.mjs create mode 100644 browser/components/profiles/content/profiles.ftl create mode 100644 browser/components/profiles/content/profiles.html create mode 100644 browser/components/profiles/jar.mn create mode 100644 browser/components/profiles/moz.build (limited to 'browser/components/profiles') diff --git a/browser/components/profiles/ProfilesChild.sys.mjs b/browser/components/profiles/ProfilesChild.sys.mjs new file mode 100644 index 0000000000..5ea9ceaa27 --- /dev/null +++ b/browser/components/profiles/ProfilesChild.sys.mjs @@ -0,0 +1,5 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +export class ProfilesChild extends JSWindowActorParent {} diff --git a/browser/components/profiles/ProfilesParent.sys.mjs b/browser/components/profiles/ProfilesParent.sys.mjs new file mode 100644 index 0000000000..4e2e094ff3 --- /dev/null +++ b/browser/components/profiles/ProfilesParent.sys.mjs @@ -0,0 +1,5 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +export class ProfilesParent extends JSWindowActorParent {} diff --git a/browser/components/profiles/content/profiles.ftl b/browser/components/profiles/content/profiles.ftl new file mode 100644 index 0000000000..0bd05a9208 --- /dev/null +++ b/browser/components/profiles/content/profiles.ftl @@ -0,0 +1,16 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +appmenu-manage-profiles = + .label = Manage profiles +appmenu-create-profile = + .label = Create a new profile + +## Variables +## $profilename (String) - The name of the profile. + +appmenuitem-profiles = + .label = Profiles | { $profilename } +appmenu-close-profile = + .label = Close { $profilename } profile diff --git a/browser/components/profiles/content/profiles.html b/browser/components/profiles/content/profiles.html new file mode 100644 index 0000000000..3151a24366 --- /dev/null +++ b/browser/components/profiles/content/profiles.html @@ -0,0 +1,20 @@ + + + + + + + + +

Hello world - New Profiles

+ + diff --git a/browser/components/profiles/jar.mn b/browser/components/profiles/jar.mn new file mode 100644 index 0000000000..3cec31e462 --- /dev/null +++ b/browser/components/profiles/jar.mn @@ -0,0 +1,6 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +browser.jar: + content/browser/profiles/profiles.html (content/profiles.html) diff --git a/browser/components/profiles/moz.build b/browser/components/profiles/moz.build new file mode 100644 index 0000000000..8e9e82db2c --- /dev/null +++ b/browser/components/profiles/moz.build @@ -0,0 +1,15 @@ +# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +JAR_MANIFESTS += ["jar.mn"] + +FINAL_TARGET_FILES.actors += [ + "ProfilesChild.sys.mjs", + "ProfilesParent.sys.mjs", +] + +with Files("**"): + BUG_COMPONENT = ("Firefox", "Profiles") -- cgit v1.2.3