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

Unified Diff: webkit/glue/chrome_client_impl.cc

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/chrome_client_impl.h ('k') | webkit/glue/chromium_bridge_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/chrome_client_impl.cc
===================================================================
--- webkit/glue/chrome_client_impl.cc (revision 20148)
+++ webkit/glue/chrome_client_impl.cc (working copy)
@@ -36,6 +36,7 @@
#include "base/gfx/rect.h"
#include "base/logging.h"
#include "googleurl/src/gurl.h"
+#include "webkit/api/public/WebCursorInfo.h"
#include "webkit/api/public/WebInputEvent.h"
#include "webkit/api/public/WebKit.h"
#include "webkit/api/public/WebRect.h"
@@ -48,6 +49,7 @@
#include "webkit/glue/webview_impl.h"
#include "webkit/glue/webwidget_impl.h"
+using WebKit::WebCursorInfo;
using WebKit::WebInputEvent;
using WebKit::WebMouseEvent;
using WebKit::WebRect;
@@ -603,7 +605,7 @@
popup_items);
}
-void ChromeClientImpl::SetCursor(const WebCursor& cursor) {
+void ChromeClientImpl::SetCursor(const WebCursorInfo& cursor) {
if (ignore_next_set_cursor_) {
ignore_next_set_cursor_ = false;
return;
@@ -614,7 +616,7 @@
delegate->SetCursor(webview_, cursor);
}
-void ChromeClientImpl::SetCursorForPlugin(const WebCursor& cursor) {
+void ChromeClientImpl::SetCursorForPlugin(const WebCursorInfo& cursor) {
SetCursor(cursor);
// Currently, Widget::setCursor is always called after this function in
// EventHandler.cpp and since we don't want that we set a flag indicating
« no previous file with comments | « webkit/glue/chrome_client_impl.h ('k') | webkit/glue/chromium_bridge_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698