From eba93c99a1b80908d17108bdcc1e793d1277a1b0 Mon Sep 17 00:00:00 2001 From: "droger@chromium.org" Date: Tue, 7 Jan 2014 17:34:17 +0000 Subject: 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 --- components/translate/README | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'components/translate/README') 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. -- cgit v1.1