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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutTheme.cpp

Issue 2809363002: Rewrite references to "wtf/" to "platform/wtf/" in core/layout. (Closed)
Patch Set: Created 3 years, 8 months 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "core/page/FocusController.h" 46 #include "core/page/FocusController.h"
47 #include "core/page/Page.h" 47 #include "core/page/Page.h"
48 #include "core/style/ComputedStyle.h" 48 #include "core/style/ComputedStyle.h"
49 #include "platform/FileMetadata.h" 49 #include "platform/FileMetadata.h"
50 #include "platform/LayoutTestSupport.h" 50 #include "platform/LayoutTestSupport.h"
51 #include "platform/RuntimeEnabledFeatures.h" 51 #include "platform/RuntimeEnabledFeatures.h"
52 #include "platform/Theme.h" 52 #include "platform/Theme.h"
53 #include "platform/fonts/FontSelector.h" 53 #include "platform/fonts/FontSelector.h"
54 #include "platform/text/PlatformLocale.h" 54 #include "platform/text/PlatformLocale.h"
55 #include "platform/text/StringTruncator.h" 55 #include "platform/text/StringTruncator.h"
56 #include "platform/wtf/text/StringBuilder.h"
56 #include "public/platform/Platform.h" 57 #include "public/platform/Platform.h"
57 #include "public/platform/WebFallbackThemeEngine.h" 58 #include "public/platform/WebFallbackThemeEngine.h"
58 #include "public/platform/WebRect.h" 59 #include "public/platform/WebRect.h"
59 #include "wtf/text/StringBuilder.h"
60 60
61 // The methods in this file are shared by all themes on every platform. 61 // The methods in this file are shared by all themes on every platform.
62 62
63 namespace blink { 63 namespace blink {
64 64
65 using namespace HTMLNames; 65 using namespace HTMLNames;
66 66
67 LayoutTheme& LayoutTheme::GetTheme() { 67 LayoutTheme& LayoutTheme::GetTheme() {
68 if (RuntimeEnabledFeatures::mobileLayoutThemeEnabled()) { 68 if (RuntimeEnabledFeatures::mobileLayoutThemeEnabled()) {
69 DEFINE_STATIC_REF(LayoutTheme, layout_theme_mobile, 69 DEFINE_STATIC_REF(LayoutTheme, layout_theme_mobile,
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 // padding - not honored by WinIE, needs to be removed. 912 // padding - not honored by WinIE, needs to be removed.
913 style.ResetPadding(); 913 style.ResetPadding();
914 914
915 // border - honored by WinIE, but looks terrible (just paints in the control 915 // border - honored by WinIE, but looks terrible (just paints in the control
916 // box and turns off the Windows XP theme) 916 // box and turns off the Windows XP theme)
917 // for now, we will not honor it. 917 // for now, we will not honor it.
918 style.ResetBorder(); 918 style.ResetBorder();
919 } 919 }
920 920
921 } // namespace blink 921 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTheme.h ('k') | third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698