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

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

Issue 1612: Implement "iframe shim" behavior for windowed plugins.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 2 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/stacking_order_iterator.cc ('k') | webkit/glue/webplugin.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "base/gfx/bitmap_header.h" 5 #include "base/gfx/gdi_util.h"
6 #include "webkit/glue/webcursor.h" 6 #include "webkit/glue/webcursor.h"
7 #include "webkit/glue/webkit_resources.h" 7 #include "webkit/glue/webkit_resources.h"
8 8
9 WebCursor::WebCursor() 9 WebCursor::WebCursor()
10 : type_(ARROW), 10 : type_(ARROW),
11 hotspot_x_(0), 11 hotspot_x_(0),
12 hotspot_y_(0) { 12 hotspot_y_(0) {
13 memset(&bitmap_, 0, sizeof(bitmap_)); 13 memset(&bitmap_, 0, sizeof(bitmap_));
14 } 14 }
15 15
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 bool WebCursor::IsEqual(const WebCursor& other) const { 143 bool WebCursor::IsEqual(const WebCursor& other) const {
144 if (type_ != other.type_) 144 if (type_ != other.type_)
145 return false; 145 return false;
146 146
147 if(type_ == CUSTOM) 147 if(type_ == CUSTOM)
148 return IsSameBitmap(other.bitmap_); 148 return IsSameBitmap(other.bitmap_);
149 return true; 149 return true;
150 } 150 }
151 151
OLDNEW
« no previous file with comments | « webkit/glue/stacking_order_iterator.cc ('k') | webkit/glue/webplugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698