Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: webkit/tools/test_shell/test_webview_delegate.h

Issue 10274020: Revert 134620 - Show a replacement plug-in for loading errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TestWebViewDelegate class: 5 // TestWebViewDelegate class:
6 // This class implements the WebViewDelegate methods for the test shell. One 6 // This class implements the WebViewDelegate methods for the test shell. One
7 // instance is owned by each TestShell. 7 // instance is owned by each TestShell.
8 8
9 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 9 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
10 #define WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 10 #define WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 WebKit::WebFrame* frame, 234 WebKit::WebFrame* frame,
235 WebKit::WebFileSystem::Type type, 235 WebKit::WebFileSystem::Type type,
236 long long size, 236 long long size,
237 bool create, 237 bool create,
238 WebKit::WebFileSystemCallbacks* callbacks); 238 WebKit::WebFileSystemCallbacks* callbacks);
239 239
240 // webkit::npapi::WebPluginPageDelegate 240 // webkit::npapi::WebPluginPageDelegate
241 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( 241 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate(
242 const FilePath& url, 242 const FilePath& url,
243 const std::string& mime_type) OVERRIDE; 243 const std::string& mime_type) OVERRIDE;
244 virtual WebKit::WebPlugin* CreatePluginReplacement(
245 const FilePath& file_path) OVERRIDE;
246 virtual void CreatedPluginWindow( 244 virtual void CreatedPluginWindow(
247 gfx::PluginWindowHandle handle) OVERRIDE; 245 gfx::PluginWindowHandle handle) OVERRIDE;
248 virtual void WillDestroyPluginWindow( 246 virtual void WillDestroyPluginWindow(
249 gfx::PluginWindowHandle handle) OVERRIDE; 247 gfx::PluginWindowHandle handle) OVERRIDE;
250 virtual void DidMovePlugin( 248 virtual void DidMovePlugin(
251 const webkit::npapi::WebPluginGeometry& move) OVERRIDE; 249 const webkit::npapi::WebPluginGeometry& move) OVERRIDE;
252 virtual void DidStartLoadingForPlugin() OVERRIDE {} 250 virtual void DidStartLoadingForPlugin() OVERRIDE {}
253 virtual void DidStopLoadingForPlugin() OVERRIDE {} 251 virtual void DidStopLoadingForPlugin() OVERRIDE {}
254 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE; 252 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE;
255 253
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 std::string edit_command_name_; 438 std::string edit_command_name_;
441 std::string edit_command_value_; 439 std::string edit_command_value_;
442 440
443 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). 441 // The mock spellchecker used in TestWebViewDelegate::spellCheck().
444 MockSpellCheck mock_spellcheck_; 442 MockSpellCheck mock_spellcheck_;
445 443
446 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 444 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
447 }; 445 };
448 446
449 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 447 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/support/test_webplugin_page_delegate.cc ('k') | webkit/tools/test_shell/test_webview_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698