http://trac.webkit.org/changeset/108860
https://bugs.webkit.org/show_bug.cgi?id=79544
"Breaks Linux compile" (Requested by enne on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-02-24
Source/Platform:
* Platform.gypi:
* chromium/public/WebColor.h:
(WebKit):
* chromium/public/WebColorName.h: Renamed from Source/WebKit/chromium/public/WebColorName.h.
(WebKit):
Source/WebKit/chromium:
* WebKit.gyp:
* public/platform/WebColorName.h:
* src/WebColor.cpp: Renamed from Source/WebKit/chromium/src/WebColorName.cpp.
(WebKit):
(WebKit::toCSSValueKeyword):
(WebKit::setNamedColors):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@108865
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-24 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r108860.
+ http://trac.webkit.org/changeset/108860
+ https://bugs.webkit.org/show_bug.cgi?id=79544
+
+ "Breaks Linux compile" (Requested by enne on #webkit).
+
+ * Platform.gypi:
+ * chromium/public/WebColor.h:
+ (WebKit):
+ * chromium/public/WebColorName.h: Renamed from Source/WebKit/chromium/public/WebColorName.h.
+ (WebKit):
+
2012-02-24 James Robinson <jamesr@chromium.org>
[chromium] WebKit::setColorNames is a client API
'chromium/public/WebCString.h',
'chromium/public/WebCanvas.h',
'chromium/public/WebColor.h',
+ 'chromium/public/WebColorName.h',
'chromium/public/WebCommon.h',
'chromium/public/WebContentLayer.h',
'chromium/public/WebContentLayerClient.h',
#ifndef WebColor_h
#define WebColor_h
+#include "WebColorName.h"
+#include "WebCommon.h"
+
namespace WebKit {
typedef unsigned WebColor; // RGBA quad. Equivalent to SkColor.
+// Sets the values of a set of named colors.
+WEBKIT_EXPORT void setNamedColors(const WebColorName*, const WebColor*, size_t length);
+
} // namespace WebKit
#endif
#ifndef WebColorName_h
#define WebColorName_h
-#include <public/WebColor.h>
-#include <public/WebCommon.h>
-
namespace WebKit {
enum WebColorName {
WebColorWindowText
};
-// Sets the values of a set of named colors.
-WEBKIT_EXPORT void setNamedColors(const WebColorName*, const WebColor*, size_t length);
-
-} // namespace WebKit
+} // namespace WebKit
#endif
+2012-02-24 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r108860.
+ http://trac.webkit.org/changeset/108860
+ https://bugs.webkit.org/show_bug.cgi?id=79544
+
+ "Breaks Linux compile" (Requested by enne on #webkit).
+
+ * WebKit.gyp:
+ * public/platform/WebColorName.h:
+ * src/WebColor.cpp: Renamed from Source/WebKit/chromium/src/WebColorName.cpp.
+ (WebKit):
+ (WebKit::toCSSValueKeyword):
+ (WebKit::setNamedColors):
+
2012-02-24 James Robinson <jamesr@chromium.org>
[chromium] WebKit::setColorNames is a client API
'public/WebCache.h',
'public/WebColorChooser.h',
'public/WebColorChooserClient.h',
- 'public/WebColorName.h',
'public/WebCommonWorkerClient.h',
'public/WebCompositionUnderline.h',
'public/WebCompositor.h',
'public/platform/WebCanvas.h',
'public/platform/WebClipboard.h',
'public/platform/WebColor.h',
+ 'public/platform/WebColorName.h',
'public/platform/WebCommon.h',
'public/platform/WebContentLayer.h',
'public/platform/WebContentLayerClient.h',
'src/WebBlob.cpp',
'src/WebBlobData.cpp',
'src/WebCache.cpp',
+ 'src/WebColor.cpp',
'src/WebColorChooserClientImpl.cpp',
'src/WebColorChooserClientImpl.h',
- 'src/WebColorName.cpp',
'src/WebCommon.cpp',
'src/WebCompositorImpl.cpp',
'src/WebCompositorImpl.h',
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// FIXME: This is logically part of the WebKit client API and doesn't belong in platform. This is a forwarding header to avoid requiring a two-sided commit.
-// As soon as all chromium code is updated for the new location of this header, remove this.
-
-#include "../WebColorName.h"
+#include "../../../../Platform/chromium/public/WebColorName.h"
*/
#include "config.h"
-#include "WebColorName.h"
+#include "platform/WebColor.h"
-#include "CSSValueKeywords.h"
#include "Color.h"
+#include "CSSValueKeywords.h"
#include "RenderTheme.h"
#include "UnusedParam.h"
-#include <public/WebColor.h>
+#include "platform/WebColorName.h"
using namespace::WebCore;
namespace WebKit {
-static int toCSSValueKeyword(WebColorName name)
+static int toCSSValueKeyword(WebColorName in_value)
{
- switch (name) {
+ switch (in_value) {
case WebColorActiveBorder:
return CSSValueActiveborder;
case WebColorActiveCaption: