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

Side by Side Diff: core/fxge/win32/win32_int.h

Issue 2060913003: Make code compile with clang_use_chrome_plugin (part II) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase 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 | « core/fxge/win32/fx_win32_gdipext.cpp ('k') | pdfium.gyp » ('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 #ifndef CORE_FXGE_WIN32_WIN32_INT_H_ 7 #ifndef CORE_FXGE_WIN32_WIN32_INT_H_
8 #define CORE_FXGE_WIN32_WIN32_INT_H_ 8 #define CORE_FXGE_WIN32_WIN32_INT_H_
9 9
10 #include "core/fxge/include/fx_ge.h" 10 #include "core/fxge/include/fx_ge.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 FX_BOOL FillRectWithBlend(const FX_RECT* pRect, 130 FX_BOOL FillRectWithBlend(const FX_RECT* pRect,
131 uint32_t fill_color, 131 uint32_t fill_color,
132 int blend_type) override; 132 int blend_type) override;
133 FX_BOOL DrawCosmeticLine(FX_FLOAT x1, 133 FX_BOOL DrawCosmeticLine(FX_FLOAT x1,
134 FX_FLOAT y1, 134 FX_FLOAT y1,
135 FX_FLOAT x2, 135 FX_FLOAT x2,
136 FX_FLOAT y2, 136 FX_FLOAT y2,
137 uint32_t color, 137 uint32_t color,
138 int blend_type) override; 138 int blend_type) override;
139 FX_BOOL GetClipBox(FX_RECT* pRect) override; 139 FX_BOOL GetClipBox(FX_RECT* pRect) override;
140 void* GetPlatformSurface() const override { return (void*)m_hDC; } 140 void* GetPlatformSurface() const override;
141 141
142 void DrawLine(FX_FLOAT x1, 142 void DrawLine(FX_FLOAT x1,
143 FX_FLOAT y1, 143 FX_FLOAT y1,
144 FX_FLOAT x2, 144 FX_FLOAT x2,
145 FX_FLOAT y2, 145 FX_FLOAT y2,
146 const CFX_Matrix* pMatrix); 146 const CFX_Matrix* pMatrix);
147 147
148 FX_BOOL GDI_SetDIBits(CFX_DIBitmap* pBitmap, 148 FX_BOOL GDI_SetDIBits(CFX_DIBitmap* pBitmap,
149 const FX_RECT* pSrcRect, 149 const FX_RECT* pSrcRect,
150 int left, 150 int left,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 int dest_height, 196 int dest_height,
197 const FX_RECT* pClipRect, 197 const FX_RECT* pClipRect,
198 uint32_t flags, 198 uint32_t flags,
199 int blend_type) override; 199 int blend_type) override;
200 FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, 200 FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap,
201 int bitmap_alpha, 201 int bitmap_alpha,
202 uint32_t color, 202 uint32_t color,
203 const CFX_Matrix* pMatrix, 203 const CFX_Matrix* pMatrix,
204 uint32_t render_flags, 204 uint32_t render_flags,
205 void*& handle, 205 void*& handle,
206 int blend_type) override { 206 int blend_type) override;
207 return FALSE;
208 }
209 FX_BOOL UseFoxitStretchEngine(const CFX_DIBSource* pSource, 207 FX_BOOL UseFoxitStretchEngine(const CFX_DIBSource* pSource,
210 uint32_t color, 208 uint32_t color,
211 int dest_left, 209 int dest_left,
212 int dest_top, 210 int dest_top,
213 int dest_width, 211 int dest_width,
214 int dest_height, 212 int dest_height,
215 const FX_RECT* pClipRect, 213 const FX_RECT* pClipRect,
216 int render_flags); 214 int render_flags);
217 }; 215 };
218 216
(...skipping 25 matching lines...) Expand all
244 const CFX_Matrix* pMatrix, 242 const CFX_Matrix* pMatrix,
245 uint32_t render_flags, 243 uint32_t render_flags,
246 void*& handle, 244 void*& handle,
247 int blend_type) override; 245 int blend_type) override;
248 246
249 const int m_HorzSize; 247 const int m_HorzSize;
250 const int m_VertSize; 248 const int m_VertSize;
251 }; 249 };
252 250
253 #endif // CORE_FXGE_WIN32_WIN32_INT_H_ 251 #endif // CORE_FXGE_WIN32_WIN32_INT_H_
OLDNEW
« no previous file with comments | « core/fxge/win32/fx_win32_gdipext.cpp ('k') | pdfium.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698