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

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

Issue 1434223002: Remove relative includes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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/src/fxge/ge/fx_ge_fontmap.cpp ('k') | core/src/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/include/fxge/fx_ge.h" 7 #include "core/include/fxge/fx_ge.h"
8 8
9 #if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_DESKTOP_ 9 #if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_DESKTOP_
10 #include <crtdbg.h> 10 #include <crtdbg.h>
11 11
12 #include "../dib/dib_int.h"
13 #include "../ge/text_int.h"
14 #include "core/include/fxcodec/fx_codec.h" 12 #include "core/include/fxcodec/fx_codec.h"
15 #include "core/include/fxge/fx_freetype.h" 13 #include "core/include/fxge/fx_freetype.h"
16 #include "core/include/fxge/fx_ge_win32.h" 14 #include "core/include/fxge/fx_ge_win32.h"
17 #include "core/src/fxge/agg/include/fx_agg_driver.h" 15 #include "core/src/fxge/agg/include/fx_agg_driver.h"
16 #include "core/src/fxge/dib/dib_int.h"
17 #include "core/src/fxge/ge/text_int.h"
18 #include "dwrite_int.h" 18 #include "dwrite_int.h"
19 #include "win32_int.h" 19 #include "win32_int.h"
20 20
21 class CFX_Win32FallbackFontInfo final : public CFX_FolderFontInfo { 21 class CFX_Win32FallbackFontInfo final : public CFX_FolderFontInfo {
22 public: 22 public:
23 void* MapFont(int weight, 23 void* MapFont(int weight,
24 FX_BOOL bItalic, 24 FX_BOOL bItalic,
25 int charset, 25 int charset,
26 int pitch_family, 26 int pitch_family,
27 const FX_CHAR* family, 27 const FX_CHAR* family,
(...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 SelectObject(m_hDC, m_hOldBitmap); 1356 SelectObject(m_hDC, m_hOldBitmap);
1357 DeleteDC(m_hDC); 1357 DeleteDC(m_hDC);
1358 } 1358 }
1359 if (m_hBitmap) { 1359 if (m_hBitmap) {
1360 DeleteObject(m_hBitmap); 1360 DeleteObject(m_hBitmap);
1361 } 1361 }
1362 delete GetBitmap(); 1362 delete GetBitmap();
1363 } 1363 }
1364 1364
1365 #endif // _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_ 1365 #endif // _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_
OLDNEW
« no previous file with comments | « core/src/fxge/ge/fx_ge_fontmap.cpp ('k') | core/src/fxge/win32/fx_win32_print.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698