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

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

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-07 (Tuesday) 11:28:42 EDT Created 4 years, 6 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
« no previous file with comments | « src/views/win/SkOSWindow_win.cpp ('k') | src/xps/SkXPSDevice.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 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * 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
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 #include <windows.h> 7
8 #include "SkTypes.h"
9
8 #include <tchar.h> 10 #include <tchar.h>
9 11
10 #include "SkTypes.h"
11 #include "SkApplication.h" 12 #include "SkApplication.h"
12 #include "SkOSWindow_Win.h" 13 #include "SkOSWindow_Win.h"
13 14
14 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); 15 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
15 16
16 // Returns the main window Win32 class name. 17 // Returns the main window Win32 class name.
17 static const TCHAR* register_class(HINSTANCE hInstance) { 18 static const TCHAR* register_class(HINSTANCE hInstance) {
18 WNDCLASSEX wcex; 19 WNDCLASSEX wcex;
19 // The main window class name 20 // The main window class name
20 static const TCHAR gSZWindowClass[] = _T("SkiaApp"); 21 static const TCHAR gSZWindowClass[] = _T("SkiaApp");
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 SkOSWindow* window = SkOSWindow::GetOSWindowForHWND(hWnd); 124 SkOSWindow* window = SkOSWindow::GetOSWindowForHWND(hWnd);
124 if (window && window->wndProc(hWnd, message, wParam, lParam)) { 125 if (window && window->wndProc(hWnd, message, wParam, lParam)) {
125 return 0; 126 return 0;
126 } else { 127 } else {
127 return DefWindowProc(hWnd, message, wParam, lParam); 128 return DefWindowProc(hWnd, message, wParam, lParam);
128 } 129 }
129 } 130 }
130 } 131 }
131 return 0; 132 return 0;
132 } 133 }
OLDNEW
« no previous file with comments | « src/views/win/SkOSWindow_win.cpp ('k') | src/xps/SkXPSDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698