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

Side by Side Diff: webkit/glue/webcursor_gtk.cc

Issue 15088: Add support for custom cursors set by windowless plugins. Windowless plugins... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « webkit/glue/webcursor.cc ('k') | webkit/glue/webcursor_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "webkit/glue/webcursor.h" 5 #include "webkit/glue/webcursor.h"
6 6
7 #include <gdk/gdk.h> 7 #include <gdk/gdk.h>
8 8
9 #include "config.h" 9 #include "config.h"
10 #include "PlatformCursor.h" 10 #include "PlatformCursor.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 GdkCursor* cursor = gdk_cursor_new_from_pixbuf(gdk_display_get_default(), 163 GdkCursor* cursor = gdk_cursor_new_from_pixbuf(gdk_display_get_default(),
164 pixbuf, 164 pixbuf,
165 hotspot_.x(), 165 hotspot_.x(),
166 hotspot_.y()); 166 hotspot_.y());
167 167
168 gdk_pixbuf_unref(pixbuf); 168 gdk_pixbuf_unref(pixbuf);
169 169
170 return cursor; 170 return cursor;
171 } 171 }
172
173 void WebCursor::InitPlatformData() {
174 return;
175 }
176
177 bool WebCursor::SerializePlatformData(Pickle* pickle) const {
178 return true;
179 }
180
181 bool WebCursor::DeserializePlatformData(const Pickle* pickle, void** iter) {
182 return true;
183 }
184
185 bool WebCursor::IsPlatformDataEqual(const WebCursor& other) const {
186 return true;
187 }
188
189 void WebCursor::CleanupPlatformData() {
190 return;
191 }
192
193 void WebCursor::CopyPlatformData(const WebCursor& other) {
194 return;
195 }
OLDNEW
« no previous file with comments | « webkit/glue/webcursor.cc ('k') | webkit/glue/webcursor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698