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

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

Issue 6283019: Render using WebPaintSurface. Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 virtual void navigateBackForwardSoon(int offset); 138 virtual void navigateBackForwardSoon(int offset);
139 virtual int historyBackListCount(); 139 virtual int historyBackListCount();
140 virtual int historyForwardListCount(); 140 virtual int historyForwardListCount();
141 virtual WebKit::WebNotificationPresenter* notificationPresenter(); 141 virtual WebKit::WebNotificationPresenter* notificationPresenter();
142 virtual WebKit::WebGeolocationClient* geolocationClient(); 142 virtual WebKit::WebGeolocationClient* geolocationClient();
143 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); 143 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
144 virtual WebKit::WebSpeechInputController* speechInputController( 144 virtual WebKit::WebSpeechInputController* speechInputController(
145 WebKit::WebSpeechInputListener*); 145 WebKit::WebSpeechInputListener*);
146 146
147 // WebKit::WebWidgetClient 147 // WebKit::WebWidgetClient
148 #if WEBKIT_USING_PAINTSURFACE
149 virtual WebKit::WebPaintSurface* paintSurface();
150 #else
148 virtual void didInvalidateRect(const WebKit::WebRect& rect); 151 virtual void didInvalidateRect(const WebKit::WebRect& rect);
149 virtual void didScrollRect(int dx, int dy, 152 virtual void didScrollRect(int dx, int dy,
150 const WebKit::WebRect& clip_rect); 153 const WebKit::WebRect& clip_rect);
154 #endif
151 virtual void scheduleComposite(); 155 virtual void scheduleComposite();
152 virtual void scheduleAnimation(); 156 virtual void scheduleAnimation();
153 virtual void didFocus(); 157 virtual void didFocus();
154 virtual void didBlur(); 158 virtual void didBlur();
155 virtual void didChangeCursor(const WebKit::WebCursorInfo& cursor); 159 virtual void didChangeCursor(const WebKit::WebCursorInfo& cursor);
156 virtual void closeWidgetSoon(); 160 virtual void closeWidgetSoon();
157 virtual void show(WebKit::WebNavigationPolicy policy); 161 virtual void show(WebKit::WebNavigationPolicy policy);
158 virtual void runModal(); 162 virtual void runModal();
159 virtual WebKit::WebRect windowRect(); 163 virtual WebKit::WebRect windowRect();
160 virtual void setWindowRect(const WebKit::WebRect& rect); 164 virtual void setWindowRect(const WebKit::WebRect& rect);
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 std::string edit_command_name_; 464 std::string edit_command_name_;
461 std::string edit_command_value_; 465 std::string edit_command_value_;
462 466
463 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). 467 // The mock spellchecker used in TestWebViewDelegate::spellCheck().
464 MockSpellCheck mock_spellcheck_; 468 MockSpellCheck mock_spellcheck_;
465 469
466 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 470 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
467 }; 471 };
468 472
469 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 473 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell_win.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