diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebKit/win/ForEachCoClass.h | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebKit/win/ForEachCoClass.h')
-rw-r--r-- | WebKit/win/ForEachCoClass.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/WebKit/win/ForEachCoClass.h b/WebKit/win/ForEachCoClass.h index e60a1ff..94976e6 100644 --- a/WebKit/win/ForEachCoClass.h +++ b/WebKit/win/ForEachCoClass.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007 Apple Inc. All rights reserved. + * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -31,6 +31,7 @@ #include "ProgIDMacros.h" +// Items may only be added to the end of this macro. No items may be removed from it. #define FOR_EACH_COCLASS(macro) \ macro(CFDictionaryPropertyBag) \ macro(WebCache) \ @@ -53,8 +54,13 @@ macro(WebURLRequest) \ macro(WebURLResponse) \ macro(WebView) \ + macro(WebArchive) \ + macro(WebCoreStatistics) \ + macro(WebCookieManager) \ // end of macro +// Everything below this point is deprecated. Please do not use. + #define WEBKITCLASS_MEMBER(cls) cls##Class, enum WebKitClass { FOR_EACH_COCLASS(WEBKITCLASS_MEMBER) @@ -62,29 +68,17 @@ enum WebKitClass { }; #undef WEBKITCLASS_MEMBER -#define PRODUCTION_PROGID(cls) VERSION_INDEPENDENT_PRODUCTION_PROGID(cls), -static LPCOLESTR productionProgIDs[WebKitClassSentinel] = { - FOR_EACH_COCLASS(PRODUCTION_PROGID) -}; -#undef PRODUCTION_PROGID - #define OPENSOURCE_PROGID(cls) VERSION_INDEPENDENT_OPENSOURCE_PROGID(cls), static LPCOLESTR openSourceProgIDs[WebKitClassSentinel] = { FOR_EACH_COCLASS(OPENSOURCE_PROGID) }; #undef OPENSOURCE_PROGID -#if __PRODUCTION__ - static LPCOLESTR* s_progIDs = productionProgIDs; -#else - static LPCOLESTR* s_progIDs = openSourceProgIDs; -#endif +static LPCOLESTR* s_progIDs = openSourceProgIDs; #define PROGID(className) progIDForClass(className##Class) void setUseOpenSourceWebKit(bool); LPCOLESTR progIDForClass(WebKitClass); - - #endif // !defined(ForEachCoClass_h) |