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

Side by Side Diff: chrome/common/render_messages.h

Issue 477263003: pdf: Create a separate component for using the pdf pepper plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <stdint.h> 6 #include <stdint.h>
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 bool /* is_apple_mobile_webapp_capable */, 565 bool /* is_apple_mobile_webapp_capable */,
566 GURL /* expected_url */) 566 GURL /* expected_url */)
567 567
568 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DidRetrieveMetaTagContent, 568 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DidRetrieveMetaTagContent,
569 bool /* success */, 569 bool /* success */,
570 std::string /* tag_name */, 570 std::string /* tag_name */,
571 std::string /* tag_content */, 571 std::string /* tag_content */,
572 GURL /* expected_url */) 572 GURL /* expected_url */)
573 #endif // defined(OS_ANDROID) 573 #endif // defined(OS_ANDROID)
574 574
575 // The currently displayed PDF has an unsupported feature.
576 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature)
577
578 // Brings up SaveAs... dialog to save specified URL.
579 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PDFSaveURLAs,
580 GURL /* url */,
581 content::Referrer /* referrer */)
582
583 // Updates the content restrictions, i.e. to disable print/copy.
584 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_PDFUpdateContentRestrictions,
585 int /* restrictions */)
586
587 // Brings up a Password... dialog for protected documents.
588 IPC_SYNC_MESSAGE_ROUTED1_1(ChromeViewHostMsg_PDFModalPromptForPassword,
589 std::string /* prompt */,
590 std::string /* actual_value */)
591
592 // This message indicates the error appeared in the frame. 575 // This message indicates the error appeared in the frame.
593 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError, 576 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError,
594 int /* error */) 577 int /* error */)
595 578
596 // This message indicates the monitored frame loading had completed. 579 // This message indicates the monitored frame loading had completed.
597 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted) 580 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted)
598 581
599 // Logs events from InstantExtended New Tab Pages. 582 // Logs events from InstantExtended New Tab Pages.
600 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_LogEvent, 583 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_LogEvent,
601 int /* page_seq_no */, 584 int /* page_seq_no */,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 // process so that they can be assigned to an Instant renderer. 652 // process so that they can be assigned to an Instant renderer.
670 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, 653 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs,
671 std::vector<GURL> /* search_urls */, 654 std::vector<GURL> /* search_urls */,
672 GURL /* new_tab_page_url */) 655 GURL /* new_tab_page_url */)
673 656
674 #if defined(ENABLE_PLUGINS) 657 #if defined(ENABLE_PLUGINS)
675 // Sent by the renderer to check if crash reporting is enabled. 658 // Sent by the renderer to check if crash reporting is enabled.
676 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, 659 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled,
677 bool /* enabled */) 660 bool /* enabled */)
678 #endif 661 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698