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

Side by Side Diff: components/pdf/common/pdf_messages.h

Issue 1125113002: Remove the unused parts of PPB_PDF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pdf-delete-pdf
Patch Set: Created 5 years, 7 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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <string.h> 6 #include <string.h>
7 7
8 #include "content/public/common/common_param_traits.h" 8 #include "content/public/common/common_param_traits.h"
9 #include "content/public/common/common_param_traits_macros.h" 9 #include "content/public/common/common_param_traits_macros.h"
10 #include "content/public/common/referrer.h" 10 #include "content/public/common/referrer.h"
11 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 #define IPC_MESSAGE_START PDFMsgStart 14 #define IPC_MESSAGE_START PDFMsgStart
15 15
16 // Updates the content restrictions, i.e. to disable print/copy. 16 // Updates the content restrictions, i.e. to disable print/copy.
17 IPC_MESSAGE_ROUTED1(PDFHostMsg_PDFUpdateContentRestrictions, 17 IPC_MESSAGE_ROUTED1(PDFHostMsg_PDFUpdateContentRestrictions,
18 int /* restrictions */) 18 int /* restrictions */)
19 19
20 // The currently displayed PDF has an unsupported feature. 20 // The currently displayed PDF has an unsupported feature.
21 IPC_MESSAGE_ROUTED0(PDFHostMsg_PDFHasUnsupportedFeature) 21 IPC_MESSAGE_ROUTED0(PDFHostMsg_PDFHasUnsupportedFeature)
22 22
23 // Brings up SaveAs... dialog to save specified URL. 23 // Brings up SaveAs... dialog to save specified URL.
24 IPC_MESSAGE_ROUTED2(PDFHostMsg_PDFSaveURLAs, 24 IPC_MESSAGE_ROUTED2(PDFHostMsg_PDFSaveURLAs,
25 GURL /* url */, 25 GURL /* url */,
26 content::Referrer /* referrer */) 26 content::Referrer /* referrer */)
27
28 // Brings up a Password... dialog for protected documents.
29 IPC_SYNC_MESSAGE_ROUTED1_1(PDFHostMsg_PDFModalPromptForPassword,
30 std::string /* prompt */,
31 std::string /* actual_value */)
OLDNEW
« no previous file with comments | « components/pdf/browser/pdf_web_contents_helper_client.h ('k') | components/pdf/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698