зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
43adfeafe7
Коммит
b3d582927d
|
@ -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/. */
|
Загрузка…
Ссылка в новой задаче