| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the WebKit project. | 2 * This file is part of the WebKit project. |
| 3 * | 3 * |
| 4 * Copyright (C) 2006 Apple Computer, Inc. | 4 * Copyright (C) 2006 Apple Computer, Inc. |
| 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com | 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com |
| 6 * Copyright (C) 2007 Holger Hans Peter Freyther | 6 * Copyright (C) 2007 Holger Hans Peter Freyther |
| 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> | 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
| 8 * Copyright (C) 2008, 2009 Google, Inc. | 8 * Copyright (C) 2008, 2009 Google, Inc. |
| 9 * All rights reserved. | 9 * All rights reserved. |
| 10 * Copyright (C) 2009 Kenneth Rohde Christiansen | 10 * Copyright (C) 2009 Kenneth Rohde Christiansen |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&)
OVERRIDE; | 73 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&)
OVERRIDE; |
| 74 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&)
OVERRIDE; | 74 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&)
OVERRIDE; |
| 75 virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntR
ect&) OVERRIDE; | 75 virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntR
ect&) OVERRIDE; |
| 76 virtual bool paintSliderTrack(RenderObject*, const PaintInfo&, const IntRect
&) OVERRIDE; | 76 virtual bool paintSliderTrack(RenderObject*, const PaintInfo&, const IntRect
&) OVERRIDE; |
| 77 virtual bool paintSliderThumb(RenderObject*, const PaintInfo&, const IntRect
&) OVERRIDE; | 77 virtual bool paintSliderThumb(RenderObject*, const PaintInfo&, const IntRect
&) OVERRIDE; |
| 78 | 78 |
| 79 virtual void adjustInnerSpinButtonStyle(RenderStyle*, Element*) const OVERRI
DE; | 79 virtual void adjustInnerSpinButtonStyle(RenderStyle*, Element*) const OVERRI
DE; |
| 80 virtual bool paintInnerSpinButton(RenderObject*, const PaintInfo&, const Int
Rect&) OVERRIDE; | 80 virtual bool paintInnerSpinButton(RenderObject*, const PaintInfo&, const Int
Rect&) OVERRIDE; |
| 81 | 81 |
| 82 virtual bool popsMenuBySpaceOrReturn() const OVERRIDE FINAL { return true; } | 82 virtual bool popsMenuBySpaceOrReturn() const OVERRIDE FINAL { return true; } |
| 83 virtual bool shouldOpenDropDownWithAltDownUpOrF4Key() const OVERRIDE { retur
n true; } |
| 83 | 84 |
| 84 virtual bool paintProgressBar(RenderObject*, const PaintInfo&, const IntRect
&) OVERRIDE; | 85 virtual bool paintProgressBar(RenderObject*, const PaintInfo&, const IntRect
&) OVERRIDE; |
| 85 | 86 |
| 86 virtual bool shouldOpenPickerWithF4Key() const OVERRIDE; | 87 virtual bool shouldOpenPickerWithF4Key() const OVERRIDE; |
| 87 | 88 |
| 88 static void setSelectionColors(unsigned activeBackgroundColor, unsigned acti
veForegroundColor, unsigned inactiveBackgroundColor, unsigned inactiveForeground
Color); | 89 static void setSelectionColors(unsigned activeBackgroundColor, unsigned acti
veForegroundColor, unsigned inactiveBackgroundColor, unsigned inactiveForeground
Color); |
| 89 | 90 |
| 90 protected: | 91 protected: |
| 91 RenderThemeChromiumDefault(); | 92 RenderThemeChromiumDefault(); |
| 92 virtual ~RenderThemeChromiumDefault(); | 93 virtual ~RenderThemeChromiumDefault(); |
| 93 virtual bool shouldUseFallbackTheme(RenderStyle*) const OVERRIDE; | 94 virtual bool shouldUseFallbackTheme(RenderStyle*) const OVERRIDE; |
| 94 | 95 |
| 95 private: | 96 private: |
| 96 static double m_caretBlinkInterval; | 97 static double m_caretBlinkInterval; |
| 97 | 98 |
| 98 static unsigned m_activeSelectionBackgroundColor; | 99 static unsigned m_activeSelectionBackgroundColor; |
| 99 static unsigned m_activeSelectionForegroundColor; | 100 static unsigned m_activeSelectionForegroundColor; |
| 100 static unsigned m_inactiveSelectionBackgroundColor; | 101 static unsigned m_inactiveSelectionBackgroundColor; |
| 101 static unsigned m_inactiveSelectionForegroundColor; | 102 static unsigned m_inactiveSelectionForegroundColor; |
| 102 }; | 103 }; |
| 103 | 104 |
| 104 } // namespace WebCore | 105 } // namespace WebCore |
| 105 | 106 |
| 106 #endif // RenderThemeChromiumDefault_h | 107 #endif // RenderThemeChromiumDefault_h |
| OLD | NEW |