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

Unified Diff: webkit/webkit.gyp

Issue 173212: Bring the Mac Chromium render theme up to date and easier to keep merged. Chr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/webkit.gyp
===================================================================
--- webkit/webkit.gyp (revision 26468)
+++ webkit/webkit.gyp (working copy)
@@ -126,6 +126,9 @@
'ScrollbarPrefsObserver=ChromiumWebCoreObjCScrollbarPrefsObserver',
'WebCoreRenderThemeNotificationObserver=ChromiumWebCoreObjCWebCoreRenderThemeNotificationObserver',
'WebFontCache=ChromiumWebCoreObjCWebFontCache',
+
+ # Use USE_NEW_THEME on Mac.
+ 'WTF_USE_NEW_THEME=1',
],
'webcore_include_dirs+': [
# platform/graphics/cg and mac needs to come before
@@ -654,7 +657,8 @@
# Use platform/MIMETypeRegistryChromium.cpp instead.
'../third_party/WebKit/WebCore/platform/MIMETypeRegistry.cpp',
- # USE_NEW_THEME only.
+ # Theme.cpp is used only if we're using USE_NEW_THEME. We are not for
+ # Windows and Linux. We manually include Theme.cpp for the Mac below.
'../third_party/WebKit/WebCore/platform/Theme.cpp',
# Exclude some, but not all, of plugins.
@@ -821,8 +825,12 @@
# the specific exclusions in the "sources!" list below.
['include', '/third_party/WebKit/WebCore/loader/archive/cf/LegacyWebArchive\\.cpp$'],
['include', '/third_party/WebKit/WebCore/platform/graphics/mac/ColorMac\\.mm$'],
+ ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/FloatPointMac\\.mm$'],
+ ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/FloatRectMac\\.mm$'],
+ ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/FloatSizeMac\\.mm$'],
['include', '/third_party/WebKit/WebCore/platform/graphics/mac/GlyphPageTreeNodeMac\\.cpp$'],
['include', '/third_party/WebKit/WebCore/platform/graphics/mac/GraphicsContextMac\\.mm$'],
+ ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/IntRectMac\\.mm$'],
['include', '/third_party/WebKit/WebCore/platform/mac/BlockExceptions\\.mm$'],
['include', '/third_party/WebKit/WebCore/platform/mac/LocalCurrentGraphicsContext\\.mm$'],
['include', '/third_party/WebKit/WebCore/platform/mac/PurgeableBufferMac\\.cpp$'],
@@ -831,6 +839,8 @@
['include', '/third_party/WebKit/WebCore/platform/mac/WebCoreTextRenderer\\.mm$'],
['include', '/third_party/WebKit/WebCore/platform/text/mac/ShapeArabic\\.c$'],
['include', '/third_party/WebKit/WebCore/platform/text/mac/String(Impl)?Mac\\.mm$'],
+ # Use USE_NEW_THEME on Mac.
+ ['include', '/third_party/WebKit/WebCore/platform/Theme\\.cpp$'],
['include', '/third_party/WebKit/WebKit/mac/WebCoreSupport/WebSystemInterface\\.m$'],
],
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698