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

Side by Side Diff: content/common/frame_messages.h

Issue 688343003: Add some missing ENABLE_PLUGINS ifdefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/render_frame_impl.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/common/content_param_traits.h" 9 #include "content/common/content_param_traits.h"
10 #include "content/common/frame_message_enums.h" 10 #include "content/common/frame_message_enums.h"
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 593
594 // Following message is used to communicate the values received by the 594 // Following message is used to communicate the values received by the
595 // callback binding the JS to Cpp. 595 // callback binding the JS to Cpp.
596 // An instance of browser that has an automation host listening to it can 596 // An instance of browser that has an automation host listening to it can
597 // have a javascript send a native value (string, number, boolean) to the 597 // have a javascript send a native value (string, number, boolean) to the
598 // listener in Cpp. (DomAutomationController) 598 // listener in Cpp. (DomAutomationController)
599 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse, 599 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse,
600 std::string /* json_string */, 600 std::string /* json_string */,
601 int /* automation_id */) 601 int /* automation_id */)
602 602
603 #if defined(ENABLE_PLUGINS)
603 // Sent to the browser when the renderer detects it is blocked on a pepper 604 // Sent to the browser when the renderer detects it is blocked on a pepper
604 // plugin message for too long. This is also sent when it becomes unhung 605 // plugin message for too long. This is also sent when it becomes unhung
605 // (according to the value of is_hung). The browser can give the user the 606 // (according to the value of is_hung). The browser can give the user the
606 // option of killing the plugin. 607 // option of killing the plugin.
607 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, 608 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung,
608 int /* plugin_child_id */, 609 int /* plugin_child_id */,
609 base::FilePath /* path */, 610 base::FilePath /* path */,
610 bool /* is_hung */) 611 bool /* is_hung */)
611 612
612 // Sent by the renderer process to indicate that a plugin instance has crashed. 613 // Sent by the renderer process to indicate that a plugin instance has crashed.
(...skipping 10 matching lines...) Expand all
623 // |actual_mime_type| is the actual mime type supported by the 624 // |actual_mime_type| is the actual mime type supported by the
624 // found plugin. 625 // found plugin.
625 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo, 626 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo,
626 int /* render_frame_id */, 627 int /* render_frame_id */,
627 GURL /* url */, 628 GURL /* url */,
628 GURL /* page_url */, 629 GURL /* page_url */,
629 std::string /* mime_type */, 630 std::string /* mime_type */,
630 bool /* found */, 631 bool /* found */,
631 content::WebPluginInfo /* plugin info */, 632 content::WebPluginInfo /* plugin info */,
632 std::string /* actual_mime_type */) 633 std::string /* actual_mime_type */)
634 #endif // defined(ENABLE_PLUGINS)
633 635
634 // A renderer sends this to the browser process when it wants to 636 // A renderer sends this to the browser process when it wants to
635 // create a plugin. The browser will create the plugin process if 637 // create a plugin. The browser will create the plugin process if
636 // necessary, and will return a handle to the channel on success. 638 // necessary, and will return a handle to the channel on success.
637 // On error an empty string is returned. 639 // On error an empty string is returned.
638 IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin, 640 IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin,
639 int /* render_frame_id */, 641 int /* render_frame_id */,
640 GURL /* url */, 642 GURL /* url */,
641 GURL /* page_url */, 643 GURL /* page_url */,
642 std::string /* mime_type */, 644 std::string /* mime_type */,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 762 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
761 763
762 #if defined(OS_MACOSX) || defined(OS_ANDROID) 764 #if defined(OS_MACOSX) || defined(OS_ANDROID)
763 765
764 // Message to show/hide a popup menu using native controls. 766 // Message to show/hide a popup menu using native controls.
765 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 767 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
766 FrameHostMsg_ShowPopup_Params) 768 FrameHostMsg_ShowPopup_Params)
767 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 769 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
768 770
769 #endif 771 #endif
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698