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

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

Issue 6136005: Chromium support for window.webkitRequestAnimationFrame() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ScheduleAnimation implemented as part of WebWidgetHost Created 9 years, 11 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 virtual WebKit::WebGeolocationClient* geolocationClient(); 143 virtual WebKit::WebGeolocationClient* geolocationClient();
144 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); 144 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
145 virtual WebKit::WebSpeechInputController* speechInputController( 145 virtual WebKit::WebSpeechInputController* speechInputController(
146 WebKit::WebSpeechInputListener*); 146 WebKit::WebSpeechInputListener*);
147 147
148 // WebKit::WebWidgetClient 148 // WebKit::WebWidgetClient
149 virtual void didInvalidateRect(const WebKit::WebRect& rect); 149 virtual void didInvalidateRect(const WebKit::WebRect& rect);
150 virtual void didScrollRect(int dx, int dy, 150 virtual void didScrollRect(int dx, int dy,
151 const WebKit::WebRect& clip_rect); 151 const WebKit::WebRect& clip_rect);
152 virtual void scheduleComposite(); 152 virtual void scheduleComposite();
153 virtual void scheduleAnimation();
153 virtual void didFocus(); 154 virtual void didFocus();
154 virtual void didBlur(); 155 virtual void didBlur();
155 virtual void didChangeCursor(const WebKit::WebCursorInfo& cursor); 156 virtual void didChangeCursor(const WebKit::WebCursorInfo& cursor);
156 virtual void closeWidgetSoon(); 157 virtual void closeWidgetSoon();
157 virtual void show(WebKit::WebNavigationPolicy policy); 158 virtual void show(WebKit::WebNavigationPolicy policy);
158 virtual void runModal(); 159 virtual void runModal();
159 virtual WebKit::WebRect windowRect(); 160 virtual WebKit::WebRect windowRect();
160 virtual void setWindowRect(const WebKit::WebRect& rect); 161 virtual void setWindowRect(const WebKit::WebRect& rect);
161 virtual WebKit::WebRect rootWindowRect(); 162 virtual WebKit::WebRect rootWindowRect();
162 virtual WebKit::WebRect windowResizerRect(); 163 virtual WebKit::WebRect windowResizerRect();
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 std::string edit_command_name_; 451 std::string edit_command_name_;
451 std::string edit_command_value_; 452 std::string edit_command_value_;
452 453
453 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). 454 // The mock spellchecker used in TestWebViewDelegate::spellCheck().
454 MockSpellCheck mock_spellcheck_; 455 MockSpellCheck mock_spellcheck_;
455 456
456 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 457 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
457 }; 458 };
458 459
459 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 460 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698