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

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

Issue 2383473002: [scheduler] Teach scheduler about audio state (Closed)
Patch Set: WebFrames! Created 4 years, 2 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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 // only be sent to the main frame. 911 // only be sent to the main frame.
912 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode) 912 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode)
913 913
914 // Tells the frame to suppress any further modal dialogs. This ensures that no 914 // Tells the frame to suppress any further modal dialogs. This ensures that no
915 // ScopedPageLoadDeferrer is on the stack for SwapOut. 915 // ScopedPageLoadDeferrer is on the stack for SwapOut.
916 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) 916 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs)
917 917
918 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse, 918 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse,
919 std::vector<content::FileChooserFileInfo>) 919 std::vector<content::FileChooserFileInfo>)
920 920
921 IPC_MESSAGE_ROUTED1(FrameMsg_AudioStateChanged, bool /* is_audio_playing */)
922
921 // ----------------------------------------------------------------------------- 923 // -----------------------------------------------------------------------------
922 // Messages sent from the renderer to the browser. 924 // Messages sent from the renderer to the browser.
923 925
924 // Blink and JavaScript error messages to log to the console 926 // Blink and JavaScript error messages to log to the console
925 // or debugger UI. 927 // or debugger UI.
926 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole, 928 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole,
927 int32_t, /* log level */ 929 int32_t, /* log level */
928 base::string16, /* msg */ 930 base::string16, /* msg */
929 int32_t, /* line number */ 931 int32_t, /* line number */
930 base::string16 /* source id */) 932 base::string16 /* source id */)
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
1500 // nearest find result in the sending frame. 1502 // nearest find result in the sending frame.
1501 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1503 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1502 int /* nfr_request_id */, 1504 int /* nfr_request_id */,
1503 float /* distance */) 1505 float /* distance */)
1504 #endif 1506 #endif
1505 1507
1506 // Adding a new message? Stick to the sort order above: first platform 1508 // Adding a new message? Stick to the sort order above: first platform
1507 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1509 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1508 // platform independent FrameHostMsg, then ifdefs for platform specific 1510 // platform independent FrameHostMsg, then ifdefs for platform specific
1509 // FrameHostMsg. 1511 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698