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

Side by Side Diff: public/platform/WebCursorInfo.h

Issue 457353002: Cleanup namespace usage in public/platform/Web[A-M]*.h. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « public/platform/WebCrypto.h ('k') | public/platform/WebData.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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebCursorInfo_h 31 #ifndef WebCursorInfo_h
32 #define WebCursorInfo_h 32 #define WebCursorInfo_h
33 33
34 #include "WebImage.h" 34 #include "WebImage.h"
35 #include "WebPoint.h" 35 #include "WebPoint.h"
36 36
37 #if INSIDE_BLINK
38 namespace blink { class Cursor; }
39 #endif
40
41 #ifdef WIN32 37 #ifdef WIN32
42 typedef struct HICON__* HICON; 38 typedef struct HICON__* HICON;
43 typedef HICON HCURSOR; 39 typedef HICON HCURSOR;
44 #endif 40 #endif
45 41
46 namespace blink { 42 namespace blink {
47 43
44 class Cursor;
45
48 struct WebCursorInfo { 46 struct WebCursorInfo {
49 enum Type { 47 enum Type {
50 TypePointer, 48 TypePointer,
51 TypeCross, 49 TypeCross,
52 TypeHand, 50 TypeHand,
53 TypeIBeam, 51 TypeIBeam,
54 TypeWait, 52 TypeWait,
55 TypeHelp, 53 TypeHelp,
56 TypeEastResize, 54 TypeEastResize,
57 TypeNorthResize, 55 TypeNorthResize,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 explicit WebCursorInfo(Type type = TypePointer) 107 explicit WebCursorInfo(Type type = TypePointer)
110 : type(type) 108 : type(type)
111 , imageScaleFactor(1) 109 , imageScaleFactor(1)
112 { 110 {
113 #ifdef WIN32 111 #ifdef WIN32
114 externalHandle = 0; 112 externalHandle = 0;
115 #endif 113 #endif
116 } 114 }
117 115
118 #if INSIDE_BLINK 116 #if INSIDE_BLINK
119 BLINK_PLATFORM_EXPORT explicit WebCursorInfo(const blink::Cursor&); 117 BLINK_PLATFORM_EXPORT explicit WebCursorInfo(const Cursor&);
120 #endif 118 #endif
121 }; 119 };
122 120
123 } // namespace blink 121 } // namespace blink
124 122
125 #endif 123 #endif
OLDNEW
« no previous file with comments | « public/platform/WebCrypto.h ('k') | public/platform/WebData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698