summaryrefslogtreecommitdiffstats
path: root/webkit/support/webkit_support.cc
diff options
context:
space:
mode:
authormihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-30 19:41:24 +0000
committermihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-30 19:41:24 +0000
commit6464b4c1fa4b1553547dbf9096ddc8209bc555c8 (patch)
tree93c8967f26d48565f61419cb868dbd3eeb0b9360 /webkit/support/webkit_support.cc
parent7b37cab53f1ef329106196428a20e83d3293edbb (diff)
downloadchromium_src-6464b4c1fa4b1553547dbf9096ddc8209bc555c8.zip
chromium_src-6464b4c1fa4b1553547dbf9096ddc8209bc555c8.tar.gz
chromium_src-6464b4c1fa4b1553547dbf9096ddc8209bc555c8.tar.bz2
Expose Mac WebThemeEngine hooks added by r70278 (and r74581 on the WebKit side)
to test_shell/DRT. BUG=23498 TEST=Layout tests Review URL: http://codereview.chromium.org/6090002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70319 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/webkit_support.cc')
-rw-r--r--webkit/support/webkit_support.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc
index d088d3c..e9eed2e 100644
--- a/webkit/support/webkit_support.cc
+++ b/webkit/support/webkit_support.cc
@@ -125,7 +125,7 @@ class TestEnvironment {
TestWebKitClient* webkit_client() const { return webkit_client_.get(); }
-#if defined(OS_WIN)
+#if defined(OS_WIN) || defined(OS_MACOSX)
void set_theme_engine(WebKit::WebThemeEngine* engine) {
DCHECK(webkit_client_ != 0);
webkit_client_->SetThemeEngine(engine);
@@ -490,7 +490,7 @@ void SetAcceptAllCookies(bool accept) {
}
// Theme engine
-#if defined(OS_WIN)
+#if defined(OS_WIN) || defined(OS_MACOSX)
void SetThemeEngine(WebKit::WebThemeEngine* engine) {
DCHECK(test_environment);