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

Side by Side Diff: core/fxge/win32/fx_win32_device.cpp

Issue 2337293002: Sort include entries. (Closed)
Patch Set: Created 4 years, 3 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 | « core/fxge/ge/cfx_fontmapper.cpp ('k') | core/fxge/win32/fx_win32_print.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 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "core/fxcrt/include/fx_system.h" 7 #include "core/fxcrt/include/fx_system.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory> 10 #include <memory>
(...skipping 10 matching lines...) Expand all
21 #endif 21 #endif
22 22
23 #include "core/fxge/dib/dib_int.h" 23 #include "core/fxge/dib/dib_int.h"
24 #include "core/fxge/ge/cfx_folderfontinfo.h" 24 #include "core/fxge/ge/cfx_folderfontinfo.h"
25 #include "core/fxge/ge/fx_text_int.h" 25 #include "core/fxge/ge/fx_text_int.h"
26 #include "core/fxge/include/cfx_fontmapper.h" 26 #include "core/fxge/include/cfx_fontmapper.h"
27 #include "core/fxge/include/cfx_gemodule.h" 27 #include "core/fxge/include/cfx_gemodule.h"
28 #include "core/fxge/include/cfx_graphstatedata.h" 28 #include "core/fxge/include/cfx_graphstatedata.h"
29 #include "core/fxge/include/cfx_pathdata.h" 29 #include "core/fxge/include/cfx_pathdata.h"
30 #include "core/fxge/include/cfx_windowsdevice.h" 30 #include "core/fxge/include/cfx_windowsdevice.h"
31 #include "core/fxge/include/ifx_systemfontinfo.h"
32 #include "core/fxge/include/fx_font.h" 31 #include "core/fxge/include/fx_font.h"
33 #include "core/fxge/include/fx_freetype.h" 32 #include "core/fxge/include/fx_freetype.h"
33 #include "core/fxge/include/ifx_systemfontinfo.h"
34 #include "core/fxge/win32/cfx_windowsdib.h" 34 #include "core/fxge/win32/cfx_windowsdib.h"
35 #include "core/fxge/win32/dwrite_int.h" 35 #include "core/fxge/win32/dwrite_int.h"
36 #include "core/fxge/win32/win32_int.h" 36 #include "core/fxge/win32/win32_int.h"
37 #include "third_party/base/stl_util.h" 37 #include "third_party/base/stl_util.h"
38 38
39 namespace { 39 namespace {
40 40
41 const struct { 41 const struct {
42 const FX_CHAR* m_pFaceName; 42 const FX_CHAR* m_pFaceName;
43 const FX_CHAR* m_pVariantName; 43 const FX_CHAR* m_pVariantName;
(...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 int device_type = ::GetDeviceCaps(hDC, TECHNOLOGY); 1387 int device_type = ::GetDeviceCaps(hDC, TECHNOLOGY);
1388 int obj_type = ::GetObjectType(hDC); 1388 int obj_type = ::GetObjectType(hDC);
1389 bool use_printer = device_type == DT_RASPRINTER || 1389 bool use_printer = device_type == DT_RASPRINTER ||
1390 device_type == DT_PLOTTER || obj_type == OBJ_ENHMETADC; 1390 device_type == DT_PLOTTER || obj_type == OBJ_ENHMETADC;
1391 if (use_printer) 1391 if (use_printer)
1392 return new CGdiPrinterDriver(hDC); 1392 return new CGdiPrinterDriver(hDC);
1393 return new CGdiDisplayDriver(hDC); 1393 return new CGdiDisplayDriver(hDC);
1394 } 1394 }
1395 1395
1396 #endif // _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_ 1396 #endif // _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_
OLDNEW
« no previous file with comments | « core/fxge/ge/cfx_fontmapper.cpp ('k') | core/fxge/win32/fx_win32_print.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698