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

Unified Diff: webkit/tools/test_shell/mac/test_webview_delegate.mm

Issue 155172: Start using WebCursorInfo from the WebKit API. WebCursorInfo is a... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webworker_impl.cc ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/mac/test_webview_delegate.mm
===================================================================
--- webkit/tools/test_shell/mac/test_webview_delegate.mm (revision 20148)
+++ webkit/tools/test_shell/mac/test_webview_delegate.mm (working copy)
@@ -7,6 +7,7 @@
#import <Cocoa/Cocoa.h>
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
+#include "webkit/api/public/WebCursorInfo.h"
#include "webkit/api/public/WebRect.h"
#include "webkit/glue/webcursor.h"
#include "webkit/glue/webview.h"
@@ -15,6 +16,7 @@
#include "webkit/glue/webmenurunner_mac.h"
#include "webkit/tools/test_shell/test_shell.h"
+using WebKit::WebCursorInfo;
using WebKit::WebRect;
// WebViewDelegate -----------------------------------------------------------
@@ -123,8 +125,8 @@
}
void TestWebViewDelegate::SetCursor(WebWidget* webwidget,
- const WebCursor& cursor) {
- NSCursor* ns_cursor = cursor.GetCursor();
+ const WebCursorInfo& cursor_info) {
+ NSCursor* ns_cursor = WebCursor(cursor_info).GetCursor();
[ns_cursor set];
}
« no previous file with comments | « webkit/glue/webworker_impl.cc ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698