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

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

Issue 1953053002: Add private PPAPI interfaces for PDFium accessibility. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback and run git cl format Created 4 years, 6 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/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 void HasUnsupportedFeature() override; 47 void HasUnsupportedFeature() override;
48 void Print() override; 48 void Print() override;
49 void SaveAs() override; 49 void SaveAs() override;
50 PP_Bool IsFeatureEnabled(PP_PDFFeature feature) override; 50 PP_Bool IsFeatureEnabled(PP_PDFFeature feature) override;
51 void SetSelectedText(const char* selected_text) override; 51 void SetSelectedText(const char* selected_text) override;
52 void SetLinkUnderCursor(const char* url) override; 52 void SetLinkUnderCursor(const char* url) override;
53 void GetV8ExternalSnapshotData(const char** natives_data_out, 53 void GetV8ExternalSnapshotData(const char** natives_data_out,
54 int* natives_size_out, 54 int* natives_size_out,
55 const char** snapshot_data_out, 55 const char** snapshot_data_out,
56 int* snapshot_size_out) override; 56 int* snapshot_size_out) override;
57 void SetAccessibilityViewportInfo(
58 PP_PrivateAccessibilityViewportInfo* viewport_info) override;
59 void SetAccessibilityDocInfo(
60 PP_PrivateAccessibilityDocInfo* doc_info) override;
61 void SetAccessibilityPageInfo(
62 PP_PrivateAccessibilityPageInfo* page_info,
63 PP_PrivateAccessibilityTextRunInfo text_runs[],
64 PP_PrivateAccessibilityCharInfo chars[]) override;
57 65
58 private: 66 private:
59 std::string locale_; 67 std::string locale_;
60 68
61 DISALLOW_COPY_AND_ASSIGN(PDFResource); 69 DISALLOW_COPY_AND_ASSIGN(PDFResource);
62 }; 70 };
63 71
64 } // namespace proxy 72 } // namespace proxy
65 } // namespace ppapi 73 } // namespace ppapi
66 74
67 #endif // PPAPI_PROXY_PDF_RESOURCE_H_ 75 #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