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

Side by Side Diff: xfa/fde/fde_object.h

Issue 2072803002: Make code compile with clang_use_chrome_plugin (final) (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 | « xfa/fde/css/fde_csssyntax.h ('k') | xfa/fde/ifde_txtedtengine.h » ('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 XFA_FDE_FDE_OBJECT_H_ 7 #ifndef XFA_FDE_FDE_OBJECT_H_
8 #define XFA_FDE_FDE_OBJECT_H_ 8 #define XFA_FDE_FDE_OBJECT_H_
9 9
10 #include <cstdint> 10 #include <cstdint>
11 11
12 #include "core/fxge/include/fx_dib.h" 12 #include "core/fxge/include/fx_dib.h"
13 #include "xfa/fgas/crt/fgas_memory.h" 13 #include "xfa/fgas/crt/fgas_memory.h"
14 14
15 class CFDE_Brush : public CFX_Target { 15 class CFDE_Brush : public CFX_Target {
16 public: 16 public:
17 CFDE_Brush() : m_Color(0xFF000000) {} 17 CFDE_Brush() : m_Color(0xFF000000) {}
18 18
19 FX_ARGB GetColor() const { return m_Color; } 19 FX_ARGB GetColor() const { return m_Color; }
20 void SetColor(FX_ARGB color) { m_Color = color; } 20 void SetColor(FX_ARGB color) { m_Color = color; }
21 21
22 private: 22 private:
23 FX_ARGB m_Color; 23 FX_ARGB m_Color;
24 }; 24 };
25 25
26 class CFDE_Pen : public CFX_Target { 26 class CFDE_Pen : public CFX_Target {
27 public: 27 public:
28 CFDE_Pen() : m_Color(0) {} 28 CFDE_Pen() : m_Color(0) {}
29 ~CFDE_Pen() {} 29 ~CFDE_Pen() override {}
30 30
31 FX_ARGB GetColor() const { return m_Color; } 31 FX_ARGB GetColor() const { return m_Color; }
32 void SetColor(FX_ARGB color) { m_Color = color; } 32 void SetColor(FX_ARGB color) { m_Color = color; }
33 33
34 private: 34 private:
35 FX_ARGB m_Color; 35 FX_ARGB m_Color;
36 }; 36 };
37 37
38 #endif // XFA_FDE_FDE_OBJECT_H_ 38 #endif // XFA_FDE_FDE_OBJECT_H_
OLDNEW
« no previous file with comments | « xfa/fde/css/fde_csssyntax.h ('k') | xfa/fde/ifde_txtedtengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698