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

Side by Side Diff: xfa/fde/css/fde_css.h

Issue 2616813002: Remove CFX_MapPtrToPtr from xfa/fde. (Closed)
Patch Set: no FDE_LPC* Created 3 years, 11 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/cfde_cssrulecollection.cpp ('k') | xfa/fde/css/fde_cssdatatable.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_CSS_FDE_CSS_H_ 7 #ifndef XFA_FDE_CSS_FDE_CSS_H_
8 #define XFA_FDE_CSS_FDE_CSS_H_ 8 #define XFA_FDE_CSS_FDE_CSS_H_
9 9
10 #include "core/fxge/fx_dib.h" 10 #include "core/fxge/fx_dib.h"
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 FDE_CSSPROPERTY_CounterIncrement, 337 FDE_CSSPROPERTY_CounterIncrement,
338 FDE_CSSPROPERTY_Left, 338 FDE_CSSPROPERTY_Left,
339 FDE_CSSPROPERTY_TextDecoration, 339 FDE_CSSPROPERTY_TextDecoration,
340 FDE_CSSPROPERTY_Padding, 340 FDE_CSSPROPERTY_Padding,
341 FDE_CSSPROPERTY_MarginBottom, 341 FDE_CSSPROPERTY_MarginBottom,
342 FDE_CSSPROPERTY_MarginTop, 342 FDE_CSSPROPERTY_MarginTop,
343 FDE_CSSPROPERTY_Direction, 343 FDE_CSSPROPERTY_Direction,
344 FDE_CSSPROPERTY_MAX 344 FDE_CSSPROPERTY_MAX
345 }; 345 };
346 346
347 enum FDE_CSSPERSUDO { 347 enum FDE_CSSPSEUDO {
348 FDE_CSSPERSUDO_After, 348 FDE_CSSPSEUDO_After,
349 FDE_CSSPERSUDO_Before, 349 FDE_CSSPSEUDO_Before,
350 FDE_CSSPERSUDO_NONE 350 FDE_CSSPSEUDO_NONE
351 }; 351 };
352
352 enum FDE_CSSSELECTORTYPE { 353 enum FDE_CSSSELECTORTYPE {
353 FDE_CSSSELECTORTYPE_Element, 354 FDE_CSSSELECTORTYPE_Element,
354 FDE_CSSSELECTORTYPE_Descendant, 355 FDE_CSSSELECTORTYPE_Descendant,
355 FDE_CSSSELECTORTYPE_Class, 356 FDE_CSSSELECTORTYPE_Class,
356 FDE_CSSSELECTORTYPE_Persudo, 357 FDE_CSSSELECTORTYPE_Pseudo,
357 FDE_CSSSELECTORTYPE_ID, 358 FDE_CSSSELECTORTYPE_ID,
358 }; 359 };
359 360
360 enum FDE_CSSRULETYPE { 361 enum FDE_CSSRULETYPE {
361 FDE_CSSRULETYPE_Unknown = 0, 362 FDE_CSSRULETYPE_Unknown = 0,
362 FDE_CSSRULETYPE_Style = 1, 363 FDE_CSSRULETYPE_Style = 1,
363 FDE_CSSRULETYPE_Media = 4, 364 FDE_CSSRULETYPE_Media = 4,
364 FDE_CSSRULETYPE_FontFace = 5, 365 FDE_CSSRULETYPE_FontFace = 5,
365 }; 366 };
366 367
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 virtual void Reset() = 0; 896 virtual void Reset() = 0;
896 virtual IFDE_CSSFontStyle* GetFontStyles() = 0; 897 virtual IFDE_CSSFontStyle* GetFontStyles() = 0;
897 virtual IFDE_CSSBoundaryStyle* GetBoundaryStyles() = 0; 898 virtual IFDE_CSSBoundaryStyle* GetBoundaryStyles() = 0;
898 virtual IFDE_CSSPositionStyle* GetPositionStyles() = 0; 899 virtual IFDE_CSSPositionStyle* GetPositionStyles() = 0;
899 virtual IFDE_CSSParagraphStyle* GetParagraphStyles() = 0; 900 virtual IFDE_CSSParagraphStyle* GetParagraphStyles() = 0;
900 virtual bool GetCustomStyle(const CFX_WideStringC& wsName, 901 virtual bool GetCustomStyle(const CFX_WideStringC& wsName,
901 CFX_WideString& wsValue) const = 0; 902 CFX_WideString& wsValue) const = 0;
902 }; 903 };
903 904
904 #endif // XFA_FDE_CSS_FDE_CSS_H_ 905 #endif // XFA_FDE_CSS_FDE_CSS_H_
OLDNEW
« no previous file with comments | « xfa/fde/css/cfde_cssrulecollection.cpp ('k') | xfa/fde/css/fde_cssdatatable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698