diff options
author | rolandsteiner@chromium.org <rolandsteiner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-04 05:51:20 +0000 |
---|---|---|
committer | rolandsteiner@chromium.org <rolandsteiner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-04 05:51:20 +0000 |
commit | 83e962d86c869d3fad6380bfd0ee087039d91ad5 (patch) | |
tree | d1df6f46d7fd7966906499080c221fa1a29e3324 | |
parent | 8343bdaf083a1fbf1c71656991617ad188d4a471 (diff) | |
download | chromium_src-83e962d86c869d3fad6380bfd0ee087039d91ad5.zip chromium_src-83e962d86c869d3fad6380bfd0ee087039d91ad5.tar.gz chromium_src-83e962d86c869d3fad6380bfd0ee087039d91ad5.tar.bz2 |
Revert 48903 - Add support for WebThemeEngine to webkit_support
BUG=45708
TEST=none
Review URL: http://codereview.chromium.org/2571001
TBR=rolandsteiner@chromium.org
Review URL: http://codereview.chromium.org/2660001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48904 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/support/webkit_support.cc | 12 | ||||
-rw-r--r-- | webkit/support/webkit_support.h | 4 |
2 files changed, 0 insertions, 16 deletions
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc index 48eb89d..5a22040 100644 --- a/webkit/support/webkit_support.cc +++ b/webkit/support/webkit_support.cc @@ -59,11 +59,6 @@ class TestEnvironment { WebKit::WebKitClient* webkit_client() { return webkit_client_.get(); } - void set_theme_engine(WebKit::WebThemeEngine* engine) { - DCHECK(webkit_client_ != 0); - webkit_client_->SetThemeEngine(engine); - } - private: scoped_ptr<base::AtExitManager> at_exit_manager_; scoped_ptr<MessageLoopForUI> main_message_loop_; @@ -297,11 +292,4 @@ void SetAcceptAllCookies(bool accept) { SimpleResourceLoaderBridge::SetAcceptAllCookies(accept); } -// Theme engine - -void SetThemeEngine(WebKit::WebThemeEngine* engine) { - DCHECK(test_environment); - test_environment->set_theme_engine(engine); -} - } // namespace webkit_support diff --git a/webkit/support/webkit_support.h b/webkit/support/webkit_support.h index 7375568..bfc87f0 100644 --- a/webkit/support/webkit_support.h +++ b/webkit/support/webkit_support.h @@ -19,7 +19,6 @@ class WebMediaPlayer; class WebMediaPlayerClient; class WebPlugin; class WebString; -class WebThemeEngine; class WebURL; struct WebPluginParams; } @@ -98,9 +97,6 @@ void ClearAllDatabases(); // - Resource loader void SetAcceptAllCookies(bool accept); -// - Theme engine -void SetThemeEngine(WebKit::WebThemeEngine* engine); - } // namespace webkit_support #endif // WEBKIT_SUPPORT_WEBIT_CLIENT_IMPL_H_ |