| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |