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

Side by Side Diff: core/src/fxge/ge/fx_ge_device.cpp

Issue 1438573002: Merge to XFA: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: 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.cpp ('k') | core/src/fxge/ge/fx_ge_font.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 "../../../include/fxge/fx_ge.h" 7 #include "core/include/fxge/fx_ge.h"
8
8 CFX_RenderDevice::CFX_RenderDevice() { 9 CFX_RenderDevice::CFX_RenderDevice() {
9 m_pDeviceDriver = NULL; 10 m_pDeviceDriver = NULL;
10 m_pBitmap = NULL; 11 m_pBitmap = NULL;
11 } 12 }
12 CFX_RenderDevice::~CFX_RenderDevice() { 13 CFX_RenderDevice::~CFX_RenderDevice() {
13 delete m_pDeviceDriver; 14 delete m_pDeviceDriver;
14 } 15 }
15 void CFX_RenderDevice::SetDeviceDriver(IFX_RenderDeviceDriver* pDriver) { 16 void CFX_RenderDevice::SetDeviceDriver(IFX_RenderDeviceDriver* pDriver) {
16 delete m_pDeviceDriver; 17 delete m_pDeviceDriver;
17 m_pDeviceDriver = pDriver; 18 m_pDeviceDriver = pDriver;
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 return m_pDeviceDriver->StartDIBits(pBitmap, bitmap_alpha, argb, pMatrix, 467 return m_pDeviceDriver->StartDIBits(pBitmap, bitmap_alpha, argb, pMatrix,
467 flags, handle, alpha_flag, pIccTransform, 468 flags, handle, alpha_flag, pIccTransform,
468 blend_mode); 469 blend_mode);
469 } 470 }
470 FX_BOOL CFX_RenderDevice::ContinueDIBits(void* handle, IFX_Pause* pPause) { 471 FX_BOOL CFX_RenderDevice::ContinueDIBits(void* handle, IFX_Pause* pPause) {
471 return m_pDeviceDriver->ContinueDIBits(handle, pPause); 472 return m_pDeviceDriver->ContinueDIBits(handle, pPause);
472 } 473 }
473 void CFX_RenderDevice::CancelDIBits(void* handle) { 474 void CFX_RenderDevice::CancelDIBits(void* handle) {
474 m_pDeviceDriver->CancelDIBits(handle); 475 m_pDeviceDriver->CancelDIBits(handle);
475 } 476 }
OLDNEW
« no previous file with comments | « core/src/fxge/ge/fx_ge.cpp ('k') | core/src/fxge/ge/fx_ge_font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698