diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-10 20:30:41 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-10 20:30:41 +0000 |
commit | afdcf5c1551bf741662c60d42cae425b3c017ef7 (patch) | |
tree | f53b5ce5dba4765b4f11a921ee94122aab443d3a /webkit/api/README | |
parent | 743daf194f9bb1ebba83b16b13e1f16b3fce861e (diff) | |
download | chromium_src-afdcf5c1551bf741662c60d42cae425b3c017ef7.zip chromium_src-afdcf5c1551bf741662c60d42cae425b3c017ef7.tar.gz chromium_src-afdcf5c1551bf741662c60d42cae425b3c017ef7.tar.bz2 |
Move WebKit API to src/webkit/api.
R=dglazkov
Review URL: http://codereview.chromium.org/113186
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15739 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api/README')
-rw-r--r-- | webkit/api/README | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/webkit/api/README b/webkit/api/README new file mode 100644 index 0000000..247bcde --- /dev/null +++ b/webkit/api/README @@ -0,0 +1,48 @@ +This directory contains the Chromium WebKit API. It will eventually be +upstreamed to WebKit/WebKit/chromium in svn.webkit.org. + + +OVERVIEW + + The Chromium WebKit API provides a stable interface to WebCore without + revealing any of the WebCore or WTF types to the consumer. + + The 'public' directory contains the API headers, and the 'src' directory + contains the API implementation. The API is intended to be used either as a + shared or static library. + + +COMPATIBILITY + + No attempt is made to support runtime compatibility in a shared library + build. Instead, the API is intended to support backwards compatibility at + build time. C++ symbols are allowed in other words. + + +CODING STYLE + + The code in this directory should adhere to the WebKit Coding Style + Guidelines: http://webkit.org/coding/coding-style.html + + +DEFINES + + WEBKIT_IMPLEMENTATION is defined when building the 'src' directory. + Consumers should not define this macro. + + WEBKIT_DLL is defined when building as a shared library. This should be + defined when building the 'src' directory, and it should also be defined by + the consumer to ensure proper linkage to the shared library. + + +BASIC TYPES + + Use of STL is prohibited except in cases where it would be allowed in + WebCore. This includes non-allocating uses: algorithms, numeric limits, etc. + WTF container classes should be used in the implementation of this API. + + The API includes some usage of WebCore types when WEBKIT_IMPLEMENTATION is + defined. This is only done for the convenience to the implementation, and + should not be considered part of the Chromium WebKit API. Similarly, STL + types are assumed when WEBKIT_IMPLEMENTATION is not defined, which is done + for the convenience of the consumer. |