summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_delegate.h
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-18 19:47:21 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-18 19:47:21 +0000
commit319d9e6f29cc2d27c0f72ce701d905d2402c350a (patch)
tree5d637ba43b9aeed5c925e694e50aa251230c0b92 /webkit/glue/webview_delegate.h
parent22f21125f11953e1022f5e75e560c1af9484503e (diff)
downloadchromium_src-319d9e6f29cc2d27c0f72ce701d905d2402c350a.zip
chromium_src-319d9e6f29cc2d27c0f72ce701d905d2402c350a.tar.gz
chromium_src-319d9e6f29cc2d27c0f72ce701d905d2402c350a.tar.bz2
Reduce the amount of included header files. Vast change like in "Oh God! This revision changes half of the source files!".
Review URL: http://codereview.chromium.org/20378 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9958 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_delegate.h')
-rw-r--r--webkit/glue/webview_delegate.h21
1 files changed, 3 insertions, 18 deletions
diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h
index 892c25e..359d45c 100644
--- a/webkit/glue/webview_delegate.h
+++ b/webkit/glue/webview_delegate.h
@@ -26,15 +26,10 @@
#ifndef WEBKIT_GLUE_WEBVIEW_DELEGATE_H_
#define WEBKIT_GLUE_WEBVIEW_DELEGATE_H_
-#include <string>
#include <vector>
-#include "base/basictypes.h"
-#include "base/logging.h"
-#include "googleurl/src/gurl.h"
#include "webkit/glue/context_menu.h"
#include "webkit/glue/webwidget_delegate.h"
-#include "webkit/glue/window_open_disposition.h"
namespace gfx {
class Point;
@@ -657,11 +652,7 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
return true;
}
- virtual void SetSmartInsertDeleteEnabled(bool enabled) {
- // This method is only used in test shell, which overrides this
- // method.
- NOTREACHED();
- }
+ virtual void SetSmartInsertDeleteEnabled(bool enabled);
virtual bool IsSelectTrailingWhitespaceEnabled() {
#if defined(OS_WIN)
@@ -671,11 +662,7 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
#endif
}
- virtual void SetSelectTrailingWhitespaceEnabled(bool enabled) {
- // This method is only used in test shell, which overrides this
- // method.
- NOTREACHED();
- }
+ virtual void SetSelectTrailingWhitespaceEnabled(bool enabled);
virtual void DidBeginEditing() { }
virtual void DidChangeSelection(bool is_empty_selection) { }
@@ -711,9 +698,7 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
// error pages. |error_name| tells the delegate what type of error page we
// want (e.g., 404 vs dns errors).
virtual GURL GetAlternateErrorPageURL(const GURL& failedURL,
- ErrorPageType error_type) {
- return GURL();
- }
+ ErrorPageType error_type);
// History Related ---------------------------------------------------------