Bug 1782578 - Stub out the textrecognition component files r=nordzilla

The implementation follows after this, but I felt it made the code
easier to read to by splitting it out.

Differential Revision: https://phabricator.services.mozilla.com/D153395
This commit is contained in:
Greg Tatum 2022-08-10 19:38:45 +00:00
Родитель 43adfeafe7
Коммит b3d582927d
6 изменённых файлов: 40 добавлений и 0 удалений

Просмотреть файл

@ -56,6 +56,7 @@ DIRS += [
"shell",
"syncedtabs",
"tabunloader",
"textrecognition",
"translation",
"uitour",
"urlbar",

Просмотреть файл

@ -0,0 +1,8 @@
# 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/textrecognition/textrecognition.html
content/browser/textrecognition/textrecognition.mjs
content/browser/textrecognition/textrecognition.css

Просмотреть файл

@ -0,0 +1,10 @@
# -*- 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"]
with Files("**"):
BUG_COMPONENT = ("Firefox", "General")

Просмотреть файл

@ -0,0 +1,3 @@
/* 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/. */

Просмотреть файл

@ -0,0 +1,15 @@
<!-- 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/. -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css"
href="chrome://browser/content/textrecognition/textrecognition.css">
<script type="module" src="chrome://browser/content/textrecognition/textrecognition.mjs"></script>
</head>
<body>
</body>
</html>

Просмотреть файл

@ -0,0 +1,3 @@
/* 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/. */