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

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

Issue 8539047: Add OVERRIDE to webkit/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 1 month 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
« no previous file with comments | « webkit/tools/test_shell/test_shell_webmimeregistry_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 virtual void openFileSystem( 232 virtual void openFileSystem(
233 WebKit::WebFrame* frame, 233 WebKit::WebFrame* frame,
234 WebKit::WebFileSystem::Type type, 234 WebKit::WebFileSystem::Type type,
235 long long size, 235 long long size,
236 bool create, 236 bool create,
237 WebKit::WebFileSystemCallbacks* callbacks); 237 WebKit::WebFileSystemCallbacks* callbacks);
238 238
239 // webkit::npapi::WebPluginPageDelegate 239 // webkit::npapi::WebPluginPageDelegate
240 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( 240 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate(
241 const FilePath& url, 241 const FilePath& url,
242 const std::string& mime_type); 242 const std::string& mime_type) OVERRIDE;
243 virtual void CreatedPluginWindow( 243 virtual void CreatedPluginWindow(
244 gfx::PluginWindowHandle handle); 244 gfx::PluginWindowHandle handle) OVERRIDE;
245 virtual void WillDestroyPluginWindow( 245 virtual void WillDestroyPluginWindow(
246 gfx::PluginWindowHandle handle); 246 gfx::PluginWindowHandle handle) OVERRIDE;
247 virtual void DidMovePlugin( 247 virtual void DidMovePlugin(
248 const webkit::npapi::WebPluginGeometry& move); 248 const webkit::npapi::WebPluginGeometry& move) OVERRIDE;
249 virtual void DidStartLoadingForPlugin() {} 249 virtual void DidStartLoadingForPlugin() OVERRIDE {}
250 virtual void DidStopLoadingForPlugin() {} 250 virtual void DidStopLoadingForPlugin() OVERRIDE {}
251 virtual WebKit::WebCookieJar* GetCookieJar(); 251 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE;
252 252
253 TestWebViewDelegate(TestShell* shell); 253 TestWebViewDelegate(TestShell* shell);
254 virtual ~TestWebViewDelegate(); 254 virtual ~TestWebViewDelegate();
255 void Reset(); 255 void Reset();
256 256
257 void SetSmartInsertDeleteEnabled(bool enabled); 257 void SetSmartInsertDeleteEnabled(bool enabled);
258 void SetSelectTrailingWhitespaceEnabled(bool enabled); 258 void SetSelectTrailingWhitespaceEnabled(bool enabled);
259 259
260 // Additional accessors 260 // Additional accessors
261 WebKit::WebFrame* top_loading_frame() { return top_loading_frame_; } 261 WebKit::WebFrame* top_loading_frame() { return top_loading_frame_; }
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 std::string edit_command_name_; 445 std::string edit_command_name_;
446 std::string edit_command_value_; 446 std::string edit_command_value_;
447 447
448 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). 448 // The mock spellchecker used in TestWebViewDelegate::spellCheck().
449 MockSpellCheck mock_spellcheck_; 449 MockSpellCheck mock_spellcheck_;
450 450
451 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 451 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
452 }; 452 };
453 453
454 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 454 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell_webmimeregistry_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698