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

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

Issue 2065513004: Expose flash playback status and volume control to content renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@audio_focus_manager
Patch Set: moving audio delegate to pepper 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 IPC_MESSAGE_ROUTED0(FrameMsg_ClearActiveFindMatch) 943 IPC_MESSAGE_ROUTED0(FrameMsg_ClearActiveFindMatch)
944 944
945 // This message notifies the frame that the user has closed the find-in-page 945 // This message notifies the frame that the user has closed the find-in-page
946 // window (and what action to take regarding the selection). 946 // window (and what action to take regarding the selection).
947 IPC_MESSAGE_ROUTED1(FrameMsg_StopFinding, content::StopFindAction /* action */) 947 IPC_MESSAGE_ROUTED1(FrameMsg_StopFinding, content::StopFindAction /* action */)
948 948
949 #if defined(ENABLE_PLUGINS) 949 #if defined(ENABLE_PLUGINS)
950 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. 950 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist.
951 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, 951 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist,
952 std::set<url::Origin> /* origin_whitelist */) 952 std::set<url::Origin> /* origin_whitelist */)
953
954 // This message notifies that the frame that the volume of the Pepper instance
955 // for |pp_instance| should be changed to |volume|.
956 IPC_MESSAGE_ROUTED2(FrameMsg_SetPepperVolume,
957 int32_t /* pp_instance */,
958 double /* volume */)
953 #endif // defined(ENABLE_PLUGINS) 959 #endif // defined(ENABLE_PLUGINS)
954 960
955 // Used to instruct the RenderFrame to go into "view source" mode. This should 961 // Used to instruct the RenderFrame to go into "view source" mode. This should
956 // only be sent to the main frame. 962 // only be sent to the main frame.
957 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode) 963 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode)
958 964
959 // Tells the frame to suppress any further modal dialogs. This ensures that no 965 // Tells the frame to suppress any further modal dialogs. This ensures that no
960 // ScopedPageLoadDeferrer is on the stack for SwapOut. 966 // ScopedPageLoadDeferrer is on the stack for SwapOut.
961 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) 967 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs)
962 968
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
1533 // nearest find result in the sending frame. 1539 // nearest find result in the sending frame.
1534 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1540 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1535 int /* nfr_request_id */, 1541 int /* nfr_request_id */,
1536 float /* distance */) 1542 float /* distance */)
1537 #endif 1543 #endif
1538 1544
1539 // Adding a new message? Stick to the sort order above: first platform 1545 // Adding a new message? Stick to the sort order above: first platform
1540 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1546 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1541 // platform independent FrameHostMsg, then ifdefs for platform specific 1547 // platform independent FrameHostMsg, then ifdefs for platform specific
1542 // FrameHostMsg. 1548 // FrameHostMsg.
OLDNEW
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | content/renderer/pepper/pepper_audio_control_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698