| Index: webkit/tools/test_shell/test_webview_delegate.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/test_webview_delegate.cc (revision 37542)
|
| +++ webkit/tools/test_shell/test_webview_delegate.cc (working copy)
|
| @@ -663,6 +663,16 @@
|
| return new webkit_glue::WebMediaPlayerImpl(client, factory);
|
| }
|
|
|
| +bool TestWebViewDelegate::allowPlugins(WebFrame* frame,
|
| + bool enabled_per_settings) {
|
| + return shell_->allow_plugins();
|
| +}
|
| +
|
| +bool TestWebViewDelegate::allowImages(WebFrame* frame,
|
| + bool enabled_per_settings) {
|
| + return shell_->allow_images();
|
| +}
|
| +
|
| void TestWebViewDelegate::loadURLExternally(
|
| WebFrame* frame, const WebURLRequest& request,
|
| WebNavigationPolicy policy) {
|
| @@ -998,6 +1008,11 @@
|
| printf("didRunInsecureContent\n");
|
| }
|
|
|
| +bool TestWebViewDelegate::allowScript(WebFrame* frame,
|
| + bool enabled_per_settings) {
|
| + return shell_->allow_scripts();
|
| +}
|
| +
|
| void TestWebViewDelegate::focusAccessibilityObject(
|
| const WebAccessibilityObject& object) {
|
| shell_->accessibility_controller()->SetFocusedElement(object);
|
|
|