Commit 6c1f58f2 authored by dimich@chromium.org's avatar dimich@chromium.org

2009-04-14 Rohit Rao <rohitrao@google.com>

        Reviewed by Dan Bernstein.

        https://bugs.webkit.org/show_bug.cgi?id=25184
        Do not change the text color for selected text in Mac Chromium.

        * rendering/RenderThemeChromiumMac.h:
        (WebCore::RenderThemeChromiumMac::supportsSelectionForegroundColors):
        Now returns false, matching the behavior of Safari on Mac.

git-svn-id: svn://svn.chromium.org/blink/trunk@42508 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent b87b1c11
2009-04-14 Rohit Rao <rohitrao@google.com>
Reviewed by Dan Bernstein.
https://bugs.webkit.org/show_bug.cgi?id=25184
Do not change the text color for selected text in Mac Chromium.
* rendering/RenderThemeChromiumMac.h:
(WebCore::RenderThemeChromiumMac::supportsSelectionForegroundColors):
Now returns false, matching the behavior of Safari on Mac.
2009-04-13 Justin Garcia <justin.garcia@apple.com> 2009-04-13 Justin Garcia <justin.garcia@apple.com>
Reviewed by Eric Seidel. Reviewed by Eric Seidel.
...@@ -85,6 +85,8 @@ namespace WebCore { ...@@ -85,6 +85,8 @@ namespace WebCore {
virtual Color systemColor(int cssValueId) const; virtual Color systemColor(int cssValueId) const;
protected: protected:
virtual bool supportsSelectionForegroundColors() const { return false; }
// Methods for each appearance value. // Methods for each appearance value.
virtual bool paintCheckbox(RenderObject*, const RenderObject::PaintInfo&, const IntRect&); virtual bool paintCheckbox(RenderObject*, const RenderObject::PaintInfo&, const IntRect&);
virtual void setCheckboxSize(RenderStyle*) const; virtual void setCheckboxSize(RenderStyle*) const;
......
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