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

Side by Side Diff: ppapi/thunk/ppb_pdf_api.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 from raymes 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_THUNK_PPB_PDF_API_H_ 5 #ifndef PPAPI_THUNK_PPB_PDF_API_H_
6 #define PPAPI_THUNK_PPB_PDF_API_H_ 6 #define PPAPI_THUNK_PPB_PDF_API_H_
7 7
8 #include "ppapi/c/private/ppb_pdf.h" 8 #include "ppapi/c/private/ppb_pdf.h"
9 #include "ppapi/shared_impl/singleton_resource_id.h" 9 #include "ppapi/shared_impl/singleton_resource_id.h"
10 10
(...skipping 14 matching lines...) Expand all
25 virtual void HasUnsupportedFeature() = 0; 25 virtual void HasUnsupportedFeature() = 0;
26 virtual void SaveAs() = 0; 26 virtual void SaveAs() = 0;
27 virtual PP_Bool IsFeatureEnabled(PP_PDFFeature feature) = 0; 27 virtual PP_Bool IsFeatureEnabled(PP_PDFFeature feature) = 0;
28 virtual void Print() = 0; 28 virtual void Print() = 0;
29 virtual void SetSelectedText(const char* selected_text) = 0; 29 virtual void SetSelectedText(const char* selected_text) = 0;
30 virtual void SetLinkUnderCursor(const char* url) = 0; 30 virtual void SetLinkUnderCursor(const char* url) = 0;
31 virtual void GetV8ExternalSnapshotData(const char** natives_data_out, 31 virtual void GetV8ExternalSnapshotData(const char** natives_data_out,
32 int* natives_size_out, 32 int* natives_size_out,
33 const char** snapshot_data_out, 33 const char** snapshot_data_out,
34 int* snapshot_size_out) = 0; 34 int* snapshot_size_out) = 0;
35 35 virtual void SetAccessibilityViewportInfo(
36 PP_PrivateAccessibilityViewportInfo* viewport_info) = 0;
37 virtual void SetAccessibilityDocInfo(PP_PrivateAccessibilityDocInfo* doc_info)
38 = 0;
Lei Zhang 2016/06/01 21:26:33 Is this the "git cl format" output? If not, can yo
dmazzoni 2016/06/01 22:56:43 Fixed, and I applied "git cl format" elsewhere, ex
39 virtual void SetAccessibilityPageInfo(
40 PP_PrivateAccessibilityPageInfo* page_info,
41 PP_PrivateAccessibilityTextRunInfo text_runs[],
42 PP_PrivateAccessibilityCharInfo chars[]) = 0;
36 static const SingletonResourceID kSingletonResourceID = PDF_SINGLETON_ID; 43 static const SingletonResourceID kSingletonResourceID = PDF_SINGLETON_ID;
37 }; 44 };
38 45
39 } // namespace thunk 46 } // namespace thunk
40 } // namespace ppapi 47 } // namespace ppapi
41 48
42 #endif // PPAPI_THUNK_PPB_PDF_API_H_ 49 #endif // PPAPI_THUNK_PPB_PDF_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698