Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: Source/WebKit/chromium/public/WebColorName.h

Issue 14096013: Implement select element list box with shadow DOM. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@shadowselect
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 21 matching lines...) Expand all
32 #define WebColorName_h 32 #define WebColorName_h
33 33
34 #include "../../../Platform/chromium/public/WebColor.h" 34 #include "../../../Platform/chromium/public/WebColor.h"
35 #include "../../../Platform/chromium/public/WebCommon.h" 35 #include "../../../Platform/chromium/public/WebCommon.h"
36 36
37 namespace WebKit { 37 namespace WebKit {
38 38
39 enum WebColorName { 39 enum WebColorName {
40 WebColorActiveBorder, 40 WebColorActiveBorder,
41 WebColorActiveCaption, 41 WebColorActiveCaption,
42 WebColorActiveListBoxSelection,
43 WebColorActiveListBoxSelectionText,
42 WebColorAppworkspace, 44 WebColorAppworkspace,
43 WebColorBackground, 45 WebColorBackground,
44 WebColorButtonFace, 46 WebColorButtonFace,
45 WebColorButtonHighlight, 47 WebColorButtonHighlight,
46 WebColorButtonShadow, 48 WebColorButtonShadow,
47 WebColorButtonText, 49 WebColorButtonText,
48 WebColorCaptionText, 50 WebColorCaptionText,
49 WebColorGrayText, 51 WebColorGrayText,
50 WebColorHighlight, 52 WebColorHighlight,
51 WebColorHighlightText, 53 WebColorHighlightText,
52 WebColorInactiveBorder, 54 WebColorInactiveBorder,
53 WebColorInactiveCaption, 55 WebColorInactiveCaption,
54 WebColorInactiveCaptionText, 56 WebColorInactiveCaptionText,
57 WebColorInactiveListBoxSelection,
58 WebColorInactiveListBoxSelectionText,
55 WebColorInfoBackground, 59 WebColorInfoBackground,
56 WebColorInfoText, 60 WebColorInfoText,
57 WebColorMenu, 61 WebColorMenu,
58 WebColorMenuText, 62 WebColorMenuText,
59 WebColorScrollbar, 63 WebColorScrollbar,
60 WebColorText, 64 WebColorText,
61 WebColorThreedDarkShadow, 65 WebColorThreedDarkShadow,
62 WebColorThreedShadow, 66 WebColorThreedShadow,
63 WebColorThreedFace, 67 WebColorThreedFace,
64 WebColorThreedHighlight, 68 WebColorThreedHighlight,
65 WebColorThreedLightShadow, 69 WebColorThreedLightShadow,
66 WebColorWebkitFocusRingColor, 70 WebColorWebkitFocusRingColor,
67 WebColorWindow, 71 WebColorWindow,
68 WebColorWindowFrame, 72 WebColorWindowFrame,
69 WebColorWindowText 73 WebColorWindowText
70 }; 74 };
71 75
72 // Sets the values of a set of named colors. 76 // Sets the values of a set of named colors.
73 WEBKIT_EXPORT void setNamedColors(const WebColorName*, const WebColor*, size_t l ength); 77 WEBKIT_EXPORT void setNamedColors(const WebColorName*, const WebColor*, size_t l ength);
74 78
75 } // namespace WebKit 79 } // namespace WebKit
76 80
77 #endif 81 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698