summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_delegate.cc
blob: f4afb2bff85c662957deec82eb9c2b8fe61dde8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "config.h"

#undef LOG

#include "webkit/glue/webview_delegate.h"

#include "base/logging.h"
#include "googleurl/src/gurl.h"

void WebViewDelegate::SetSmartInsertDeleteEnabled(bool enabled) {
  // This method is only used in test shell, which overrides this
  // method.
  NOTREACHED();
}

void WebViewDelegate::SetSelectTrailingWhitespaceEnabled(bool enabled) {
  // This method is only used in test shell, which overrides this
  // method.
  NOTREACHED();
}

GURL WebViewDelegate::GetAlternateErrorPageURL(const GURL& failedURL,
                                               ErrorPageType error_type) {
  return GURL();
}