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

Side by Side Diff: components/pdf/renderer/pepper_pdf_host.h

Issue 2100753003: Enable PDF accessibility when RenderFrame's accessibility mode changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work around cross-platform whitespace difference in print preview test Created 4 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ 5 #ifndef COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_
6 #define COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ 6 #define COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 const PP_PrivateAccessibilityViewportInfo& viewport_info); 97 const PP_PrivateAccessibilityViewportInfo& viewport_info);
98 int32_t OnHostMsgSetAccessibilityDocInfo( 98 int32_t OnHostMsgSetAccessibilityDocInfo(
99 ppapi::host::HostMessageContext* context, 99 ppapi::host::HostMessageContext* context,
100 const PP_PrivateAccessibilityDocInfo& doc_info); 100 const PP_PrivateAccessibilityDocInfo& doc_info);
101 int32_t OnHostMsgSetAccessibilityPageInfo( 101 int32_t OnHostMsgSetAccessibilityPageInfo(
102 ppapi::host::HostMessageContext* context, 102 ppapi::host::HostMessageContext* context,
103 const PP_PrivateAccessibilityPageInfo& page_info, 103 const PP_PrivateAccessibilityPageInfo& page_info,
104 const std::vector<PP_PrivateAccessibilityTextRunInfo>& text_runs, 104 const std::vector<PP_PrivateAccessibilityTextRunInfo>& text_runs,
105 const std::vector<PP_PrivateAccessibilityCharInfo>& chars); 105 const std::vector<PP_PrivateAccessibilityCharInfo>& chars);
106 106
107 void CreatePdfAccessibilityTreeIfNeeded( 107 void CreatePdfAccessibilityTreeIfNeeded();
108 content::PepperPluginInstance* instance);
109 108
110 std::unique_ptr<PdfAccessibilityTree> pdf_accessibility_tree_; 109 std::unique_ptr<PdfAccessibilityTree> pdf_accessibility_tree_;
111 110
112 content::RendererPpapiHost* host_; 111 content::RendererPpapiHost* host_;
113 112
114 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost); 113 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost);
115 }; 114 };
116 115
117 } // namespace pdf 116 } // namespace pdf
118 117
119 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ 118 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_
OLDNEW
« no previous file with comments | « components/pdf/renderer/pdf_accessibility_tree.cc ('k') | components/pdf/renderer/pepper_pdf_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698