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

Side by Side Diff: fpdfsdk/fpdfview.cpp

Issue 2381063002: Move core/fxcodec/codec/include and core/fxcodec/include files up (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 | « fpdfsdk/DEPS ('k') | xfa/fxbarcode/DEPS » ('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 "public/fpdfview.h" 7 #include "public/fpdfview.h"
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
11 11
12 #include "core/fpdfapi/cpdf_modulemgr.h" 12 #include "core/fpdfapi/cpdf_modulemgr.h"
13 #include "core/fpdfapi/cpdf_pagerendercontext.h" 13 #include "core/fpdfapi/cpdf_pagerendercontext.h"
14 #include "core/fpdfapi/fpdf_page/cpdf_page.h" 14 #include "core/fpdfapi/fpdf_page/cpdf_page.h"
15 #include "core/fpdfapi/fpdf_parser/cpdf_array.h" 15 #include "core/fpdfapi/fpdf_parser/cpdf_array.h"
16 #include "core/fpdfapi/fpdf_parser/cpdf_document.h" 16 #include "core/fpdfapi/fpdf_parser/cpdf_document.h"
17 #include "core/fpdfapi/fpdf_parser/fpdf_parser_decode.h" 17 #include "core/fpdfapi/fpdf_parser/fpdf_parser_decode.h"
18 #include "core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h" 18 #include "core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h"
19 #include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h" 19 #include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
20 #include "core/fpdfdoc/cpdf_annotlist.h" 20 #include "core/fpdfdoc/cpdf_annotlist.h"
21 #include "core/fpdfdoc/cpdf_nametree.h" 21 #include "core/fpdfdoc/cpdf_nametree.h"
22 #include "core/fpdfdoc/cpdf_occontext.h" 22 #include "core/fpdfdoc/cpdf_occontext.h"
23 #include "core/fpdfdoc/cpdf_viewerpreferences.h" 23 #include "core/fpdfdoc/cpdf_viewerpreferences.h"
24 #include "core/fxcodec/include/fx_codec.h" 24 #include "core/fxcodec/fx_codec.h"
25 #include "core/fxcrt/include/fx_memory.h" 25 #include "core/fxcrt/include/fx_memory.h"
26 #include "core/fxcrt/include/fx_safe_types.h" 26 #include "core/fxcrt/include/fx_safe_types.h"
27 #include "core/fxge/include/cfx_fxgedevice.h" 27 #include "core/fxge/include/cfx_fxgedevice.h"
28 #include "core/fxge/include/cfx_gemodule.h" 28 #include "core/fxge/include/cfx_gemodule.h"
29 #include "fpdfsdk/include/cpdfsdk_pageview.h" 29 #include "fpdfsdk/include/cpdfsdk_pageview.h"
30 #include "fpdfsdk/include/fsdk_define.h" 30 #include "fpdfsdk/include/fsdk_define.h"
31 #include "fpdfsdk/include/fsdk_pauseadapter.h" 31 #include "fpdfsdk/include/fsdk_pauseadapter.h"
32 #include "fpdfsdk/javascript/ijs_runtime.h" 32 #include "fpdfsdk/javascript/ijs_runtime.h"
33 #include "public/fpdf_ext.h" 33 #include "public/fpdf_ext.h"
34 #include "public/fpdf_progressive.h" 34 #include "public/fpdf_progressive.h"
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 if (!buffer) { 1124 if (!buffer) {
1125 *buflen = len; 1125 *buflen = len;
1126 } else if (*buflen >= len) { 1126 } else if (*buflen >= len) {
1127 memcpy(buffer, utf16Name.c_str(), len); 1127 memcpy(buffer, utf16Name.c_str(), len);
1128 *buflen = len; 1128 *buflen = len;
1129 } else { 1129 } else {
1130 *buflen = -1; 1130 *buflen = -1;
1131 } 1131 }
1132 return (FPDF_DEST)pDestObj; 1132 return (FPDF_DEST)pDestObj;
1133 } 1133 }
OLDNEW
« no previous file with comments | « fpdfsdk/DEPS ('k') | xfa/fxbarcode/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698