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

Side by Side Diff: ppapi/proxy/ppp_pdf_proxy.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/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppp_pdf_proxy.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 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 PPAPI_PROXY_PPP_PDF_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPP_PDF_PROXY_H_
6 #define PPAPI_PROXY_PPP_PDF_PROXY_H_ 6 #define PPAPI_PROXY_PPP_PDF_PROXY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ppapi/c/private/ppp_pdf.h" 9 #include "ppapi/c/private/ppp_pdf.h"
10 #include "ppapi/proxy/interface_proxy.h" 10 #include "ppapi/proxy/interface_proxy.h"
(...skipping 11 matching lines...) Expand all
22 22
23 // InterfaceProxy implementation. 23 // InterfaceProxy implementation.
24 virtual bool OnMessageReceived(const IPC::Message& msg); 24 virtual bool OnMessageReceived(const IPC::Message& msg);
25 25
26 private: 26 private:
27 // Message handlers. 27 // Message handlers.
28 void OnPluginMsgRotate(PP_Instance instance, bool clockwise); 28 void OnPluginMsgRotate(PP_Instance instance, bool clockwise);
29 void OnPluginMsgPrintPresetOptions(PP_Instance instance, 29 void OnPluginMsgPrintPresetOptions(PP_Instance instance,
30 PP_PdfPrintPresetOptions_Dev* options, 30 PP_PdfPrintPresetOptions_Dev* options,
31 PP_Bool* result); 31 PP_Bool* result);
32 void OnPluginMsgEnableAccessibility(PP_Instance instance);
32 33
33 // When this proxy is in the plugin side, this value caches the interface 34 // When this proxy is in the plugin side, this value caches the interface
34 // pointer so we don't have to retrieve it from the dispatcher each time. 35 // pointer so we don't have to retrieve it from the dispatcher each time.
35 // In the host, this value is always NULL. 36 // In the host, this value is always NULL.
36 const PPP_Pdf* ppp_pdf_; 37 const PPP_Pdf* ppp_pdf_;
37 38
38 DISALLOW_COPY_AND_ASSIGN(PPP_Pdf_Proxy); 39 DISALLOW_COPY_AND_ASSIGN(PPP_Pdf_Proxy);
39 }; 40 };
40 41
41 } // namespace proxy 42 } // namespace proxy
42 } // namespace ppapi 43 } // namespace ppapi
43 44
44 #endif // PPAPI_PROXY_PPP_PDF_PROXY_H_ 45 #endif // PPAPI_PROXY_PPP_PDF_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppp_pdf_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698