2011-02-23 Patrick Gansterer <paroga@webkit.org>
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Feb 2011 09:10:37 +0000 (09:10 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Feb 2011 09:10:37 +0000 (09:10 +0000)
        Reviewed by Darin Adler.

        Remove obsolete focusRingColor functions
        https://bugs.webkit.org/show_bug.cgi?id=54824

        * CMakeListsWinCE.txt:
        * platform/graphics/haiku/ColorHaiku.cpp:
        * platform/graphics/wince/ColorWinCE.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79420 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/CMakeListsWinCE.txt
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/haiku/ColorHaiku.cpp
Source/WebCore/platform/graphics/wince/ColorWinCE.cpp [deleted file]

index 7a614e7..b91cbc8 100644 (file)
@@ -87,7 +87,6 @@ LIST(APPEND WebCore_SOURCES
     platform/graphics/win/IntRectWin.cpp
     platform/graphics/win/IntSizeWin.cpp
 
-    platform/graphics/wince/ColorWince.cpp
     platform/graphics/wince/FontCacheWince.cpp
     platform/graphics/wince/FontCustomPlatformData.cpp
     platform/graphics/wince/FontPlatformData.cpp
index b67739f..49a6eec 100644 (file)
@@ -1,3 +1,14 @@
+2011-02-23  Patrick Gansterer  <paroga@webkit.org>
+
+        Reviewed by Darin Adler.
+
+        Remove obsolete focusRingColor functions
+        https://bugs.webkit.org/show_bug.cgi?id=54824
+
+        * CMakeListsWinCE.txt:
+        * platform/graphics/haiku/ColorHaiku.cpp:
+        * platform/graphics/wince/ColorWinCE.cpp: Removed.
+
 2011-02-22  Jia Pu  <jpu@apple.com>
 
         Reviewed by Dan Bernstein.
index a9ac186..7d08c36 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <InterfaceDefs.h>
 
-
 namespace WebCore {
 
 Color::Color(const rgb_color& color)
@@ -44,11 +43,4 @@ Color::operator rgb_color() const
     return make_color(red(), green(), blue(), alpha());
 }
 
-
-Color focusRingColor()
-{
-    return Color(keyboard_navigation_color());
-}
-
 } // namespace WebCore
-
diff --git a/Source/WebCore/platform/graphics/wince/ColorWinCE.cpp b/Source/WebCore/platform/graphics/wince/ColorWinCE.cpp
deleted file mode 100644 (file)
index 820b9d2..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- *  Copyright (C) 2007-2008 Torch Mobile, Inc.
- *
- *  This library is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU Library General Public
- *  License as published by the Free Software Foundation; either
- *  version 2 of the License, or (at your option) any later version.
- *
- *  This library is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- *  Library General Public License for more details.
- *
- *  You should have received a copy of the GNU Library General Public License
- *  along with this library; see the file COPYING.LIB.  If not, write to
- *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- *  Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "Color.h"
-
-#include "NotImplemented.h"
-
-namespace WebCore {
-
-Color focusRingColor()
-{
-    return Color(0, 0, 0);
-}
-
-void setFocusRingColorChangeFunction(void (*)())
-{
-    notImplemented();
-}
-
-} // namespace WebCore