OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 #include <windows.h> | 7 #include <windows.h> |
9 #include <tchar.h> | 8 #include <tchar.h> |
10 | 9 |
11 #include "SkTypes.h" | 10 #include "SkTypes.h" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 SkOSWindow* window = SkOSWindow::GetOSWindowForHWND(hWnd); | 123 SkOSWindow* window = SkOSWindow::GetOSWindowForHWND(hWnd); |
125 if (window && window->wndProc(hWnd, message, wParam, lParam)) { | 124 if (window && window->wndProc(hWnd, message, wParam, lParam)) { |
126 return 0; | 125 return 0; |
127 } else { | 126 } else { |
128 return DefWindowProc(hWnd, message, wParam, lParam); | 127 return DefWindowProc(hWnd, message, wParam, lParam); |
129 } | 128 } |
130 } | 129 } |
131 } | 130 } |
132 return 0; | 131 return 0; |
133 } | 132 } |
134 | |
OLD | NEW |