| OLD | NEW |
| 1 /** | 1 /** |
| 2 * This file is part of the theme implementation for form controls in WebCore. | 2 * This file is part of the theme implementation for form controls in WebCore. |
| 3 * | 3 * |
| 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. | 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "core/page/FocusController.h" | 31 #include "core/page/FocusController.h" |
| 32 #include "core/page/Page.h" | 32 #include "core/page/Page.h" |
| 33 #include "core/frame/Settings.h" | 33 #include "core/frame/Settings.h" |
| 34 #include "core/rendering/PaintInfo.h" | 34 #include "core/rendering/PaintInfo.h" |
| 35 #include "core/rendering/RenderView.h" | 35 #include "core/rendering/RenderView.h" |
| 36 #include "core/rendering/style/RenderStyle.h" | 36 #include "core/rendering/style/RenderStyle.h" |
| 37 #include "platform/FloatConversion.h" | 37 #include "platform/FloatConversion.h" |
| 38 #include "platform/RuntimeEnabledFeatures.h" | 38 #include "platform/RuntimeEnabledFeatures.h" |
| 39 #include "platform/fonts/FontSelector.h" | 39 #include "platform/fonts/FontSelector.h" |
| 40 #include "platform/graphics/GraphicsContextStateSaver.h" | 40 #include "platform/graphics/GraphicsContextStateSaver.h" |
| 41 #include "platform/text/PlatformLocale.h" | |
| 42 #include "platform/text/StringTruncator.h" | 41 #include "platform/text/StringTruncator.h" |
| 43 #include "public/platform/Platform.h" | 42 #include "public/platform/Platform.h" |
| 44 #include "public/platform/WebFallbackThemeEngine.h" | 43 #include "public/platform/WebFallbackThemeEngine.h" |
| 45 #include "public/platform/WebRect.h" | 44 #include "public/platform/WebRect.h" |
| 46 #include "wtf/text/StringBuilder.h" | 45 #include "wtf/text/StringBuilder.h" |
| 47 | 46 |
| 48 // The methods in this file are shared by all themes on every platform. | 47 // The methods in this file are shared by all themes on every platform. |
| 49 | 48 |
| 50 namespace blink { | 49 namespace blink { |
| 51 | 50 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 return theme().platformTapHighlightColor(); | 132 return theme().platformTapHighlightColor(); |
| 134 } | 133 } |
| 135 | 134 |
| 136 RenderTheme& RenderTheme::theme() | 135 RenderTheme& RenderTheme::theme() |
| 137 { | 136 { |
| 138 DEFINE_STATIC_LOCAL(RenderTheme, renderTheme, ()); | 137 DEFINE_STATIC_LOCAL(RenderTheme, renderTheme, ()); |
| 139 return renderTheme; | 138 return renderTheme; |
| 140 } | 139 } |
| 141 | 140 |
| 142 } // namespace blink | 141 } // namespace blink |
| OLD | NEW |