summaryrefslogtreecommitdiffstats
path: root/components/translate/README
diff options
context:
space:
mode:
authordroger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-07 17:34:17 +0000
committerdroger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-07 17:34:17 +0000
commiteba93c99a1b80908d17108bdcc1e793d1277a1b0 (patch)
tree95085a2e76be0c8e2a53d3422e0aa83d05023eb5 /components/translate/README
parente1cdab2a550ab533252a6108ed888e7eff684567 (diff)
downloadchromium_src-eba93c99a1b80908d17108bdcc1e793d1277a1b0.zip
chromium_src-eba93c99a1b80908d17108bdcc1e793d1277a1b0.tar.gz
chromium_src-eba93c99a1b80908d17108bdcc1e793d1277a1b0.tar.bz2
Move Translate-related files to components/translate
This CL moves a few files to the translate component. It also layers the structure of the component so that it is better suited for iOS. BUG=331509 TBR=jochen, joi Review URL: https://codereview.chromium.org/93603006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243319 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/translate/README')
-rw-r--r--components/translate/README21
1 files changed, 16 insertions, 5 deletions
diff --git a/components/translate/README b/components/translate/README
index 076afe9..f5f2e4c 100644
--- a/components/translate/README
+++ b/components/translate/README
@@ -1,8 +1,19 @@
- translate/language detection depends on the CLD library and should only be
used from the renderer to avoid bloating the DLLs on Windows.
-- Translate is not allowed to depend on content/, because it is used by iOS.
-If dependences on content/ need to be added to Translate, it will have to be
-made into a layered component: see
-http://www.chromium.org/developers/design-documents/layered-components-design
-for more information.
+- Translate is in the process of becoming a layered component
+(https://sites.google.com/a/chromium.org/dev/developers/design-documents/layered-components-design)
+to enable it to be shared cleanly on iOS.
+
+When this process is complete, this component will have the following structure:
+
+core/: shared code that does not depend on src/content/ or src/ios/
+ browser/: Browser process code
+ common/: Code shared by the browser and the renderer
+ language_detection/: Language detection code, only used from the renderer on
+ all platforms but iOS (where it is used from the browser)
+content/: Driver for the shared code based on the content layer.
+ browser/: Browser process code.
+ renderer/: Renderer process code.
+ common/: Code shared by the browser and the renderer.
+ios/: Driver for the shared code based on src/ios.