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

Side by Side Diff: src/views/win/SkOSWindow_win.cpp

Issue 27343002: Second wave of Win64 warning cleanup (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: switched count_glyphs back to int Created 7 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 | « src/utils/SkNinePatch.cpp ('k') | tools/skdiff_utils.cpp » ('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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #include "SkTypes.h" 8 #include "SkTypes.h"
9 9
10 #if defined(SK_BUILD_FOR_WIN) 10 #if defined(SK_BUILD_FOR_WIN)
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 } 117 }
118 } break; 118 } break;
119 case WM_KEYUP: { 119 case WM_KEYUP: {
120 SkKey key = winToskKey(wParam); 120 SkKey key = winToskKey(wParam);
121 if (kNONE_SkKey != key) { 121 if (kNONE_SkKey != key) {
122 this->handleKeyUp(key); 122 this->handleKeyUp(key);
123 return true; 123 return true;
124 } 124 }
125 } break; 125 } break;
126 case WM_UNICHAR: 126 case WM_UNICHAR:
127 this->handleChar(wParam); 127 this->handleChar((SkUnichar) wParam);
128 return true; 128 return true;
129 case WM_CHAR: { 129 case WM_CHAR: {
130 this->handleChar(SkUTF8_ToUnichar((char*)&wParam)); 130 this->handleChar(SkUTF8_ToUnichar((char*)&wParam));
131 return true; 131 return true;
132 } break; 132 } break;
133 case WM_SIZE: 133 case WM_SIZE:
134 this->resize(lParam & 0xFFFF, lParam >> 16); 134 this->resize(lParam & 0xFFFF, lParam >> 16);
135 break; 135 break;
136 case WM_PAINT: { 136 case WM_PAINT: {
137 PAINTSTRUCT ps; 137 PAINTSTRUCT ps;
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 break; 603 break;
604 #endif // SK_ANGLE 604 #endif // SK_ANGLE
605 #endif // SK_SUPPORT_GPU 605 #endif // SK_SUPPORT_GPU
606 default: 606 default:
607 SkASSERT(false); 607 SkASSERT(false);
608 break; 608 break;
609 } 609 }
610 } 610 }
611 611
612 #endif 612 #endif
OLDNEW
« no previous file with comments | « src/utils/SkNinePatch.cpp ('k') | tools/skdiff_utils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698