Skip to content

Commit

Permalink
[FB] Core | Add Basic Injections
Browse files Browse the repository at this point in the history
  • Loading branch information
surapunoyousei committed Jul 13, 2024
1 parent 7e40179 commit 1180d5a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "floorp"]
path = floorp
url = https://github.com/Floorp-Projects/Floorp-core.git
4 changes: 2 additions & 2 deletions browser/app/firefox.exe.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="*"
name="Firefox"
name="Floorp"
type="win32"
/>
<description>Firefox</description>
<description>Floorp</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
Expand Down
5 changes: 5 additions & 0 deletions browser/base/content/browser-box.inc.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

<hbox flex="1" id="browser">

<!-- Floorp Injection -->
<splitter id="verticaltab-splitter" class="chromeclass-extrachrome sidebar-splitter" resizebefore="sibling" resizeafter="none" hidden="true"/>
<!-- Finish -->

<box context="sidebar-context-menu" id="sidebar-main" hidden="true">
<html:sidebar-main flex="1"></html:sidebar-main>
</box>
Expand Down
2 changes: 2 additions & 0 deletions browser/base/content/browser.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,15 @@
<link rel="localization" href="preview/sidebar.ftl"/>
<link rel="localization" href="preview/profiles.ftl"/>
<link rel="localization" href="preview/onboarding.ftl"/>
<link rel="localization" href="browser/floorp.ftl"/>

<title data-l10n-id="browser-main-window-title"></title>

# All JS files which are needed by browser.xhtml and other top level windows to
# support MacOS specific features *must* go into the global-scripts.inc file so
# that they can be shared with macWindow.inc.xhtml.
#include global-scripts.inc
#include ../../../floorp/browser/base/content/floorp-scripts.inc

<script>
/* eslint-env mozilla/browser-window */
Expand Down
1 change: 1 addition & 0 deletions floorp
Submodule floorp added at 9362e3
1 change: 1 addition & 0 deletions moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ if CONFIG["ENABLE_CLANG_PLUGIN"]:
DIRS += [
"build",
"config",
"floorp",
"python",
"testing",
"third_party/python",
Expand Down

0 comments on commit 1180d5a

Please sign in to comment.