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

Side by Side Diff: xfa/fde/css/fde_cssstylesheet.cpp

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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_cssstylesheet.h ('k') | xfa/fde/css/fde_csssyntax.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 #include "xfa/src/fde/css/fde_cssstylesheet.h" 7 #include "xfa/fde/css/fde_cssstylesheet.h"
8 8
9 #include "xfa/src/fde/css/fde_cssdatatable.h" 9 #include "xfa/fde/css/fde_cssdatatable.h"
10 #include "xfa/src/fde/css/fde_csssyntax.h" 10 #include "xfa/fde/css/fde_csssyntax.h"
11 #include "xfa/src/fgas/crt/fgas_codepage.h" 11 #include "xfa/fgas/crt/fgas_codepage.h"
12 12
13 IFDE_CSSStyleSheet* IFDE_CSSStyleSheet::LoadHTMLStandardStyleSheet() { 13 IFDE_CSSStyleSheet* IFDE_CSSStyleSheet::LoadHTMLStandardStyleSheet() {
14 static const FX_WCHAR* s_pStyle = 14 static const FX_WCHAR* s_pStyle =
15 L"html,address,blockquote,body,dd,div,dl,dt,fieldset,form,frame,frameset," 15 L"html,address,blockquote,body,dd,div,dl,dt,fieldset,form,frame,frameset,"
16 L"h1,h2,h3,h4,h5,h6,noframes,ol,p,ul,center,dir,hr,menu,pre{display:" 16 L"h1,h2,h3,h4,h5,h6,noframes,ol,p,ul,center,dir,hr,menu,pre{display:"
17 L"block}" 17 L"block}"
18 L"li{display:list-item}head{display:none}table{display:table}tr{display:" 18 L"li{display:list-item}head{display:none}table{display:table}tr{display:"
19 L"table-row}thead{display:table-header-group}tbody{display:table-row-" 19 L"table-row}thead{display:table-header-group}tbody{display:table-row-"
20 L"group}tfoot{display:table-footer-group}" 20 L"group}tfoot{display:table-footer-group}"
21 L"col{display:table-column}colgroup{display:table-column-group}td,th{" 21 L"col{display:table-column}colgroup{display:table-column-group}td,th{"
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 return NULL; 500 return NULL;
501 } 501 }
502 } 502 }
503 if (pPersudoFirst == NULL) { 503 if (pPersudoFirst == NULL) {
504 return pFirst; 504 return pFirst;
505 } else { 505 } else {
506 pPersudoLast->SetNext(pFirst); 506 pPersudoLast->SetNext(pFirst);
507 return pPersudoFirst; 507 return pPersudoFirst;
508 } 508 }
509 } 509 }
OLDNEW
« no previous file with comments | « xfa/fde/css/fde_cssstylesheet.h ('k') | xfa/fde/css/fde_csssyntax.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698