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 12 matching lines...) Expand all Loading... |
23 | 23 |
24 #include "core/InputTypeNames.h" | 24 #include "core/InputTypeNames.h" |
25 #include "core/frame/FrameView.h" | 25 #include "core/frame/FrameView.h" |
26 #include "core/html/HTMLDataListElement.h" | 26 #include "core/html/HTMLDataListElement.h" |
27 #include "core/html/HTMLDataListOptionsCollection.h" | 27 #include "core/html/HTMLDataListOptionsCollection.h" |
28 #include "core/html/HTMLInputElement.h" | 28 #include "core/html/HTMLInputElement.h" |
29 #include "core/html/HTMLOptionElement.h" | 29 #include "core/html/HTMLOptionElement.h" |
30 #include "core/html/parser/HTMLParserIdioms.h" | 30 #include "core/html/parser/HTMLParserIdioms.h" |
31 #include "core/html/shadow/ShadowElementNames.h" | 31 #include "core/html/shadow/ShadowElementNames.h" |
32 #include "core/layout/LayoutTheme.h" | 32 #include "core/layout/LayoutTheme.h" |
33 #include "core/layout/LayoutView.h" | |
34 #include "core/paint/MediaControlsPainter.h" | 33 #include "core/paint/MediaControlsPainter.h" |
35 #include "core/paint/PaintInfo.h" | 34 #include "core/paint/PaintInfo.h" |
36 #include "core/style/ComputedStyle.h" | 35 #include "core/style/ComputedStyle.h" |
37 #include "platform/Theme.h" | 36 #include "platform/Theme.h" |
38 #include "platform/graphics/GraphicsContextStateSaver.h" | 37 #include "platform/graphics/GraphicsContextStateSaver.h" |
39 #include "public/platform/Platform.h" | 38 #include "public/platform/Platform.h" |
40 #include "public/platform/WebFallbackThemeEngine.h" | 39 #include "public/platform/WebFallbackThemeEngine.h" |
41 #include "public/platform/WebRect.h" | 40 #include "public/platform/WebRect.h" |
42 | 41 |
43 // The methods in this file are shared by all themes on every platform. | 42 // The methods in this file are shared by all themes on every platform. |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); | 356 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); |
358 i.context.scale(zoomLevel, zoomLevel); | 357 i.context.scale(zoomLevel, zoomLevel); |
359 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); | 358 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); |
360 } | 359 } |
361 | 360 |
362 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn
gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam
s); | 361 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn
gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam
s); |
363 return false; | 362 return false; |
364 } | 363 } |
365 | 364 |
366 } // namespace blink | 365 } // namespace blink |
OLD | NEW |