summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_webview_delegate.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 20:20:47 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 20:20:47 +0000
commitd750e4d1052bd33755326f122bb2ab73df9e0079 (patch)
treecbd51d5ddc906d39cd63d77190fa5184a5eafb3b /webkit/tools/test_shell/test_webview_delegate.cc
parent34cc1917d8003c107c1c320e5b50fe240de8a010 (diff)
downloadchromium_src-d750e4d1052bd33755326f122bb2ab73df9e0079.zip
chromium_src-d750e4d1052bd33755326f122bb2ab73df9e0079.tar.gz
chromium_src-d750e4d1052bd33755326f122bb2ab73df9e0079.tar.bz2
Reverting 23068.
Review URL: http://codereview.chromium.org/165316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_webview_delegate.cc')
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.cc32
1 files changed, 0 insertions, 32 deletions
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
index 654dc314..f3ae7e8 100644
--- a/webkit/tools/test_shell/test_webview_delegate.cc
+++ b/webkit/tools/test_shell/test_webview_delegate.cc
@@ -845,32 +845,6 @@ WebScreenInfo TestWebViewDelegate::screenInfo() {
return WebScreenInfo();
}
-// Public methods ------------------------------------------------------------
-
-TestWebViewDelegate::TestWebViewDelegate(TestShell* shell)
- : policy_delegate_enabled_(false),
- policy_delegate_is_permissive_(false),
- policy_delegate_should_notify_done_(false),
- shell_(shell),
- top_loading_frame_(NULL),
- page_id_(-1),
- last_page_id_updated_(-1),
-#if defined(OS_LINUX)
- cursor_type_(GDK_X_CURSOR),
-#endif
- smart_insert_delete_enabled_(true),
-#if defined(OS_WIN)
- select_trailing_whitespace_enabled_(true),
-#else
- select_trailing_whitespace_enabled_(false),
-#endif
- block_redirects_(false) {
-}
-
-void TestWebViewDelegate::Reset() {
- *this = TestWebViewDelegate(shell_);
-}
-
void TestWebViewDelegate::SetSmartInsertDeleteEnabled(bool enabled) {
smart_insert_delete_enabled_ = enabled;
// In upstream WebKit, smart insert/delete is mutually exclusive with select
@@ -894,12 +868,6 @@ void TestWebViewDelegate::RegisterDragDrop() {
#endif
}
-void TestWebViewDelegate::RevokeDragDrop() {
-#if defined(OS_WIN)
- ::RevokeDragDrop(shell_->webViewWnd());
-#endif
-}
-
void TestWebViewDelegate::SetCustomPolicyDelegate(bool is_custom,
bool is_permissive) {
policy_delegate_enabled_ = is_custom;