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

Side by Side Diff: src/views/win/SkOSWindow_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/utils/win/SkWGL.h ('k') | src/views/win/skia_win.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 "SkTypes.h" 7 #include "SkTypes.h"
8 8
9 #if defined(SK_BUILD_FOR_WIN) 9 #if defined(SK_BUILD_FOR_WIN)
10 10
11 #include "SkLeanWindows.h"
12
11 #include <GL/gl.h> 13 #include <GL/gl.h>
12 #include <WindowsX.h> 14 #include <WindowsX.h>
13 #include "win/SkWGL.h" 15 #include "win/SkWGL.h"
14 #include "SkWindow.h" 16 #include "SkWindow.h"
15 #include "SkCanvas.h" 17 #include "SkCanvas.h"
16 #include "SkOSMenu.h" 18 #include "SkOSMenu.h"
17 #include "SkTime.h" 19 #include "SkTime.h"
18 #include "SkUtils.h" 20 #include "SkUtils.h"
19 21
20 #include "SkGraphics.h" 22 #include "SkGraphics.h"
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 } 831 }
830 832
831 void SkOSWindow::closeWindow() { 833 void SkOSWindow::closeWindow() {
832 DestroyWindow((HWND)fHWND); 834 DestroyWindow((HWND)fHWND);
833 if (fFullscreen) { 835 if (fFullscreen) {
834 DestroyWindow((HWND)fSavedWindowState.fHWND); 836 DestroyWindow((HWND)fSavedWindowState.fHWND);
835 } 837 }
836 gHwndToOSWindowMap.remove(fHWND); 838 gHwndToOSWindowMap.remove(fHWND);
837 } 839 }
838 #endif 840 #endif
OLDNEW
« no previous file with comments | « src/utils/win/SkWGL.h ('k') | src/views/win/skia_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698