2011-03-27 Ben Taylor <bentaylor.solx86@gmail.com>

        Reviewed by Alexey Proskuryakov.

        https://bugs.webkit.org/show_bug.cgi?id=57170  Fix last elements
        in an enum to remove a trailing comma. Sun Studio 12 CC errors out.

        Compile fix only, no actual code change.

        * wtf/MessageQueue.h:
2011-03-27  Ben Taylor  <bentaylor.solx86@gmail.com>

        Reviewed by Alexey Proskuryakov.

        https://bugs.webkit.org/show_bug.cgi?id=57170  Fix last elements
        in an enum to remove a trailing comma. Sun Studio 12 CC errors out.

        Compile fix only, no actual code change.

        * dom/ExceptionCode.h:
        * editing/EditorInsertAction.h:
        * loader/FrameLoaderTypes.h:
        * platform/PlatformKeyboardEvent.h:
        * platform/ScrollTypes.h:
        * platform/graphics/BitmapImage.h:
        * platform/image-decoders/ImageDecoder.h:
        * platform/network/ProtectionSpace.h:
        * platform/network/ResourceHandleClient.h:
        * platform/network/ResourceRequestBase.h:
        * platform/text/TextCodec.h:

git-svn-id: svn://svn.chromium.org/blink/trunk@82067 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 755f315e
2011-03-27 Ben Taylor <bentaylor.solx86@gmail.com>
Reviewed by Alexey Proskuryakov.
https://bugs.webkit.org/show_bug.cgi?id=57170 Fix last elements
in an enum to remove a trailing comma. Sun Studio 12 CC errors out.
Compile fix only, no actual code change.
* wtf/MessageQueue.h:
2011-03-25 Oliver Hunt <oliver@apple.com> 2011-03-25 Oliver Hunt <oliver@apple.com>
Reviewed by Darin Adler. Reviewed by Darin Adler.
......
...@@ -41,7 +41,7 @@ namespace WTF { ...@@ -41,7 +41,7 @@ namespace WTF {
enum MessageQueueWaitResult { enum MessageQueueWaitResult {
MessageQueueTerminated, // Queue was destroyed while waiting for message. MessageQueueTerminated, // Queue was destroyed while waiting for message.
MessageQueueTimeout, // Timeout was specified and it expired. MessageQueueTimeout, // Timeout was specified and it expired.
MessageQueueMessageReceived, // A message was successfully received and returned. MessageQueueMessageReceived // A message was successfully received and returned.
}; };
// The queue takes ownership of messages and transfer it to the new owner // The queue takes ownership of messages and transfer it to the new owner
......
2011-03-27 Ben Taylor <bentaylor.solx86@gmail.com>
Reviewed by Alexey Proskuryakov.
https://bugs.webkit.org/show_bug.cgi?id=57170 Fix last elements
in an enum to remove a trailing comma. Sun Studio 12 CC errors out.
Compile fix only, no actual code change.
* dom/ExceptionCode.h:
* editing/EditorInsertAction.h:
* loader/FrameLoaderTypes.h:
* platform/PlatformKeyboardEvent.h:
* platform/ScrollTypes.h:
* platform/graphics/BitmapImage.h:
* platform/image-decoders/ImageDecoder.h:
* platform/network/ProtectionSpace.h:
* platform/network/ResourceHandleClient.h:
* platform/network/ResourceRequestBase.h:
* platform/text/TextCodec.h:
2011-03-27 Rob Buis <rwlbuis@gmail.com> 2011-03-27 Rob Buis <rwlbuis@gmail.com>
Reviewed by Nikolas Zimmermann. Reviewed by Nikolas Zimmermann.
...@@ -57,13 +57,13 @@ namespace WebCore { ...@@ -57,13 +57,13 @@ namespace WebCore {
NETWORK_ERR = 19, NETWORK_ERR = 19,
ABORT_ERR = 20, ABORT_ERR = 20,
URL_MISMATCH_ERR = 21, URL_MISMATCH_ERR = 21,
QUOTA_EXCEEDED_ERR = 22, QUOTA_EXCEEDED_ERR = 22
// Introduced in File API: // Introduced in File API:
// http://www.w3.org/TR/file-upload/#dfn-fileerror // http://www.w3.org/TR/file-upload/#dfn-fileerror
#if ENABLE(BLOB) || ENABLE(FILE_SYSTEM) #if ENABLE(BLOB) || ENABLE(FILE_SYSTEM)
NOT_READABLE_ERR = 24, , NOT_READABLE_ERR = 24
ENCODING_ERR = 26, , ENCODING_ERR = 26
#endif #endif
}; };
......
...@@ -32,7 +32,7 @@ namespace WebCore { ...@@ -32,7 +32,7 @@ namespace WebCore {
enum EditorInsertAction { enum EditorInsertAction {
EditorInsertActionTyped, EditorInsertActionTyped,
EditorInsertActionPasted, EditorInsertActionPasted,
EditorInsertActionDropped, EditorInsertActionDropped
}; };
} // namespace } // namespace
......
...@@ -42,7 +42,7 @@ namespace WebCore { ...@@ -42,7 +42,7 @@ namespace WebCore {
enum PolicyAction { enum PolicyAction {
PolicyUse, PolicyUse,
PolicyDownload, PolicyDownload,
PolicyIgnore, PolicyIgnore
}; };
// NOTE: Keep in sync with WebKit/mac/WebView/WebFramePrivate.h and WebKit/win/Interfaces/IWebFramePrivate.idl // NOTE: Keep in sync with WebKit/mac/WebView/WebFramePrivate.h and WebKit/win/Interfaces/IWebFramePrivate.idl
......
...@@ -96,7 +96,7 @@ namespace WebCore { ...@@ -96,7 +96,7 @@ namespace WebCore {
AltKey = 1 << 0, AltKey = 1 << 0,
CtrlKey = 1 << 1, CtrlKey = 1 << 1,
MetaKey = 1 << 2, MetaKey = 1 << 2,
ShiftKey = 1 << 3, ShiftKey = 1 << 3
}; };
PlatformKeyboardEvent() PlatformKeyboardEvent()
......
...@@ -119,7 +119,7 @@ namespace WebCore { ...@@ -119,7 +119,7 @@ namespace WebCore {
enum ScrollbarControlStateMask { enum ScrollbarControlStateMask {
ActiveScrollbarState = 1, ActiveScrollbarState = 1,
EnabledScrollbarState = 1 << 1, EnabledScrollbarState = 1 << 1,
PressedScrollbarState = 1 << 2, PressedScrollbarState = 1 << 2
}; };
enum ScrollbarPart { enum ScrollbarPart {
...@@ -133,7 +133,7 @@ namespace WebCore { ...@@ -133,7 +133,7 @@ namespace WebCore {
ForwardButtonEndPart = 1 << 6, ForwardButtonEndPart = 1 << 6,
ScrollbarBGPart = 1 << 7, ScrollbarBGPart = 1 << 7,
TrackBGPart = 1 << 8, TrackBGPart = 1 << 8,
AllParts = 0xffffffff, AllParts = 0xffffffff
}; };
enum ScrollbarButtonsPlacement { enum ScrollbarButtonsPlacement {
......
...@@ -161,7 +161,7 @@ protected: ...@@ -161,7 +161,7 @@ protected:
enum RepetitionCountStatus { enum RepetitionCountStatus {
Unknown, // We haven't checked the source's repetition count. Unknown, // We haven't checked the source's repetition count.
Uncertain, // We have a repetition count, but it might be wrong (some GIFs have a count after the image data, and will report "loop once" until all data has been decoded). Uncertain, // We have a repetition count, but it might be wrong (some GIFs have a count after the image data, and will report "loop once" until all data has been decoded).
Certain, // The repetition count is known to be correct. Certain // The repetition count is known to be correct.
}; };
BitmapImage(NativeImagePtr, ImageObserver* = 0); BitmapImage(NativeImagePtr, ImageObserver* = 0);
......
...@@ -62,7 +62,7 @@ namespace WebCore { ...@@ -62,7 +62,7 @@ namespace WebCore {
DisposeNotSpecified, // Leave frame in framebuffer DisposeNotSpecified, // Leave frame in framebuffer
DisposeKeep, // Leave frame in framebuffer DisposeKeep, // Leave frame in framebuffer
DisposeOverwriteBgcolor, // Clear frame to transparent DisposeOverwriteBgcolor, // Clear frame to transparent
DisposeOverwritePrevious, // Clear frame to previous framebuffer DisposeOverwritePrevious // Clear frame to previous framebuffer
// contents // contents
}; };
#if USE(SKIA) || PLATFORM(QT) #if USE(SKIA) || PLATFORM(QT)
......
...@@ -49,7 +49,7 @@ enum ProtectionSpaceAuthenticationScheme { ...@@ -49,7 +49,7 @@ enum ProtectionSpaceAuthenticationScheme {
ProtectionSpaceAuthenticationSchemeNegotiate = 6, ProtectionSpaceAuthenticationSchemeNegotiate = 6,
ProtectionSpaceAuthenticationSchemeClientCertificateRequested = 7, ProtectionSpaceAuthenticationSchemeClientCertificateRequested = 7,
ProtectionSpaceAuthenticationSchemeServerTrustEvaluationRequested = 8, ProtectionSpaceAuthenticationSchemeServerTrustEvaluationRequested = 8,
ProtectionSpaceAuthenticationSchemeUnknown = 100, ProtectionSpaceAuthenticationSchemeUnknown = 100
}; };
class ProtectionSpace { class ProtectionSpace {
......
...@@ -59,7 +59,7 @@ namespace WebCore { ...@@ -59,7 +59,7 @@ namespace WebCore {
enum CacheStoragePolicy { enum CacheStoragePolicy {
StorageAllowed, StorageAllowed,
StorageAllowedInMemoryOnly, StorageAllowedInMemoryOnly,
StorageNotAllowed, StorageNotAllowed
}; };
class ResourceHandleClient { class ResourceHandleClient {
......
...@@ -41,7 +41,7 @@ namespace WebCore { ...@@ -41,7 +41,7 @@ namespace WebCore {
UseProtocolCachePolicy, // normal load UseProtocolCachePolicy, // normal load
ReloadIgnoringCacheData, // reload ReloadIgnoringCacheData, // reload
ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale data ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale data
ReturnCacheDataDontLoad, // results of a post - allow stale data and only use cache ReturnCacheDataDontLoad // results of a post - allow stale data and only use cache
}; };
class ResourceRequest; class ResourceRequest;
......
...@@ -52,7 +52,7 @@ namespace WebCore { ...@@ -52,7 +52,7 @@ namespace WebCore {
// Encodes the character as en entity as above, but escaped // Encodes the character as en entity as above, but escaped
// non-alphanumeric characters. This is used in URLs. // non-alphanumeric characters. This is used in URLs.
// For example, U+6DE would be "%26%231758%3B". // For example, U+6DE would be "%26%231758%3B".
URLEncodedEntitiesForUnencodables, URLEncodedEntitiesForUnencodables
}; };
typedef char UnencodableReplacementArray[32]; typedef char UnencodableReplacementArray[32];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment