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

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

Issue 1519018: Update test shell for new dragImage api.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: alphabet Created 10 years, 8 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 WebKit::WebFrame* frame, const WebKit::WebString& message, 117 WebKit::WebFrame* frame, const WebKit::WebString& message,
118 const WebKit::WebString& default_value, WebKit::WebString* actual_value); 118 const WebKit::WebString& default_value, WebKit::WebString* actual_value);
119 virtual bool runModalBeforeUnloadDialog( 119 virtual bool runModalBeforeUnloadDialog(
120 WebKit::WebFrame* frame, const WebKit::WebString& message); 120 WebKit::WebFrame* frame, const WebKit::WebString& message);
121 virtual void showContextMenu( 121 virtual void showContextMenu(
122 WebKit::WebFrame* frame, const WebKit::WebContextMenuData& data); 122 WebKit::WebFrame* frame, const WebKit::WebContextMenuData& data);
123 virtual void setStatusText(const WebKit::WebString& text); 123 virtual void setStatusText(const WebKit::WebString& text);
124 virtual void startDragging( 124 virtual void startDragging(
125 const WebKit::WebPoint& from, const WebKit::WebDragData& data, 125 const WebKit::WebPoint& from, const WebKit::WebDragData& data,
126 WebKit::WebDragOperationsMask mask); 126 WebKit::WebDragOperationsMask mask);
127 virtual void startDragging(
128 const WebKit::WebDragData& data, WebKit::WebDragOperationsMask mask,
129 const WebKit::WebImage& image, const WebKit::WebPoint& offset);
127 virtual void navigateBackForwardSoon(int offset); 130 virtual void navigateBackForwardSoon(int offset);
128 virtual int historyBackListCount(); 131 virtual int historyBackListCount();
129 virtual int historyForwardListCount(); 132 virtual int historyForwardListCount();
130 virtual void focusAccessibilityObject( 133 virtual void focusAccessibilityObject(
131 const WebKit::WebAccessibilityObject& object); 134 const WebKit::WebAccessibilityObject& object);
132 135
133 // WebKit::WebWidgetClient 136 // WebKit::WebWidgetClient
134 virtual void didInvalidateRect(const WebKit::WebRect& rect); 137 virtual void didInvalidateRect(const WebKit::WebRect& rect);
135 virtual void didScrollRect(int dx, int dy, 138 virtual void didScrollRect(int dx, int dy,
136 const WebKit::WebRect& clip_rect); 139 const WebKit::WebRect& clip_rect);
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 std::string edit_command_name_; 418 std::string edit_command_name_;
416 std::string edit_command_value_; 419 std::string edit_command_value_;
417 420
418 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). 421 // The mock spellchecker used in TestWebViewDelegate::spellCheck().
419 MockSpellCheck mock_spellcheck_; 422 MockSpellCheck mock_spellcheck_;
420 423
421 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 424 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
422 }; 425 };
423 426
424 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 427 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/event_sending_controller.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