Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: Source/core/rendering/RenderTheme.cpp

Issue 48113009: Move Font related classes to Source/platform/fonts (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix mac export Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 26 matching lines...) Expand all
37 #include "core/html/forms/InputTypeNames.h" 37 #include "core/html/forms/InputTypeNames.h"
38 #include "core/html/parser/HTMLParserIdioms.h" 38 #include "core/html/parser/HTMLParserIdioms.h"
39 #include "core/html/shadow/MediaControlElements.h" 39 #include "core/html/shadow/MediaControlElements.h"
40 #include "core/html/shadow/ShadowElementNames.h" 40 #include "core/html/shadow/ShadowElementNames.h"
41 #include "core/html/shadow/SpinButtonElement.h" 41 #include "core/html/shadow/SpinButtonElement.h"
42 #include "core/html/shadow/TextControlInnerElements.h" 42 #include "core/html/shadow/TextControlInnerElements.h"
43 #include "core/page/FocusController.h" 43 #include "core/page/FocusController.h"
44 #include "core/frame/Frame.h" 44 #include "core/frame/Frame.h"
45 #include "core/page/Page.h" 45 #include "core/page/Page.h"
46 #include "core/page/Settings.h" 46 #include "core/page/Settings.h"
47 #include "core/platform/graphics/FontSelector.h"
48 #include "core/platform/graphics/GraphicsContextStateSaver.h" 47 #include "core/platform/graphics/GraphicsContextStateSaver.h"
49 #include "core/platform/graphics/StringTruncator.h" 48 #include "core/platform/graphics/StringTruncator.h"
50 #include "core/rendering/PaintInfo.h" 49 #include "core/rendering/PaintInfo.h"
51 #include "core/rendering/RenderMeter.h" 50 #include "core/rendering/RenderMeter.h"
52 #include "core/rendering/RenderView.h" 51 #include "core/rendering/RenderView.h"
53 #include "core/rendering/style/RenderStyle.h" 52 #include "core/rendering/style/RenderStyle.h"
54 #include "platform/FileMetadata.h" 53 #include "platform/FileMetadata.h"
55 #include "platform/FloatConversion.h" 54 #include "platform/FloatConversion.h"
55 #include "platform/fonts/FontSelector.h"
56 #include "platform/text/PlatformLocale.h" 56 #include "platform/text/PlatformLocale.h"
57 #include "public/platform/Platform.h" 57 #include "public/platform/Platform.h"
58 #include "public/platform/WebFallbackThemeEngine.h" 58 #include "public/platform/WebFallbackThemeEngine.h"
59 #include "public/platform/WebRect.h" 59 #include "public/platform/WebRect.h"
60 #include "wtf/text/StringBuilder.h" 60 #include "wtf/text/StringBuilder.h"
61 61
62 #if ENABLE(INPUT_SPEECH) 62 #if ENABLE(INPUT_SPEECH)
63 #include "core/rendering/RenderInputSpeech.h" 63 #include "core/rendering/RenderInputSpeech.h"
64 #endif 64 #endif
65 65
(...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1314 1314
1315 // padding - not honored by WinIE, needs to be removed. 1315 // padding - not honored by WinIE, needs to be removed.
1316 style->resetPadding(); 1316 style->resetPadding();
1317 1317
1318 // border - honored by WinIE, but looks terrible (just paints in the control box and turns off the Windows XP theme) 1318 // border - honored by WinIE, but looks terrible (just paints in the control box and turns off the Windows XP theme)
1319 // for now, we will not honor it. 1319 // for now, we will not honor it.
1320 style->resetBorder(); 1320 style->resetBorder();
1321 } 1321 }
1322 1322
1323 } // namespace WebCore 1323 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderEmbeddedObject.cpp ('k') | Source/core/rendering/RenderThemeChromiumFontProviderLinux.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698