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

Side by Side Diff: ppapi/proxy/pdf_resource.h

Issue 554893002: [WORK_IN_PROGRESS] PDF::Save() fix for out-of-process-pdf. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better fix for constrained windows Created 6 years, 3 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 | « ppapi/cpp/private/pdf.cc ('k') | ppapi/proxy/pdf_resource.cc » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium 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 #ifndef PPAPI_PROXY_PDF_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_PDF_RESOURCE_H_
6 #define PPAPI_PROXY_PDF_RESOURCE_H_ 6 #define PPAPI_PROXY_PDF_RESOURCE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 bool case_sensitive, 42 bool case_sensitive,
43 PP_PrivateFindResult** results, 43 PP_PrivateFindResult** results,
44 int* count) OVERRIDE; 44 int* count) OVERRIDE;
45 virtual void DidStartLoading() OVERRIDE; 45 virtual void DidStartLoading() OVERRIDE;
46 virtual void DidStopLoading() OVERRIDE; 46 virtual void DidStopLoading() OVERRIDE;
47 virtual void SetContentRestriction(int restrictions) OVERRIDE; 47 virtual void SetContentRestriction(int restrictions) OVERRIDE;
48 virtual void HistogramPDFPageCount(int count) OVERRIDE; 48 virtual void HistogramPDFPageCount(int count) OVERRIDE;
49 virtual void UserMetricsRecordAction(const PP_Var& action) OVERRIDE; 49 virtual void UserMetricsRecordAction(const PP_Var& action) OVERRIDE;
50 virtual void HasUnsupportedFeature() OVERRIDE; 50 virtual void HasUnsupportedFeature() OVERRIDE;
51 virtual void Print() OVERRIDE; 51 virtual void Print() OVERRIDE;
52 virtual void SaveAs() OVERRIDE; 52 virtual void SaveAs(const PP_Var& url) OVERRIDE;
53 virtual PP_Bool IsFeatureEnabled(PP_PDFFeature feature) OVERRIDE; 53 virtual PP_Bool IsFeatureEnabled(PP_PDFFeature feature) OVERRIDE;
54 virtual PP_Resource GetResourceImageForScale(PP_ResourceImage image_id, 54 virtual PP_Resource GetResourceImageForScale(PP_ResourceImage image_id,
55 float scale) OVERRIDE; 55 float scale) OVERRIDE;
56 virtual PP_Resource GetResourceImage(PP_ResourceImage image_id) OVERRIDE; 56 virtual PP_Resource GetResourceImage(PP_ResourceImage image_id) OVERRIDE;
57 virtual PP_Bool IsOutOfProcess() OVERRIDE; 57 virtual PP_Bool IsOutOfProcess() OVERRIDE;
58 virtual void SetSelectedText(const char* selected_text) OVERRIDE; 58 virtual void SetSelectedText(const char* selected_text) OVERRIDE;
59 virtual void SetLinkUnderCursor(const char* url) OVERRIDE; 59 virtual void SetLinkUnderCursor(const char* url) OVERRIDE;
60 60
61 private: 61 private:
62 std::string locale_; 62 std::string locale_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(PDFResource); 64 DISALLOW_COPY_AND_ASSIGN(PDFResource);
65 }; 65 };
66 66
67 } // namespace proxy 67 } // namespace proxy
68 } // namespace ppapi 68 } // namespace ppapi
69 69
70 #endif // PPAPI_PROXY_PDF_RESOURCE_H_ 70 #endif // PPAPI_PROXY_PDF_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/private/pdf.cc ('k') | ppapi/proxy/pdf_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698