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

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

Issue 7087028: roll clang 131935:132017 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 6 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) 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 gfx::PluginWindowHandle handle); 244 gfx::PluginWindowHandle handle);
245 virtual void WillDestroyPluginWindow( 245 virtual void WillDestroyPluginWindow(
246 gfx::PluginWindowHandle handle); 246 gfx::PluginWindowHandle handle);
247 virtual void DidMovePlugin( 247 virtual void DidMovePlugin(
248 const webkit::npapi::WebPluginGeometry& move); 248 const webkit::npapi::WebPluginGeometry& move);
249 virtual void DidStartLoadingForPlugin() {} 249 virtual void DidStartLoadingForPlugin() {}
250 virtual void DidStopLoadingForPlugin() {} 250 virtual void DidStopLoadingForPlugin() {}
251 virtual WebKit::WebCookieJar* GetCookieJar(); 251 virtual WebKit::WebCookieJar* GetCookieJar();
252 252
253 TestWebViewDelegate(TestShell* shell); 253 TestWebViewDelegate(TestShell* shell);
254 ~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_; }
262 #if defined(OS_WIN) 262 #if defined(OS_WIN)
263 IDropTarget* drop_delegate() { return drop_delegate_.get(); } 263 IDropTarget* drop_delegate() { return drop_delegate_.get(); }
264 #endif 264 #endif
(...skipping 180 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

Powered by Google App Engine
This is Rietveld 408576698