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

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

Issue 4661001: Simplified AudioOutputStream interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 570
571 // True if the page has visible overlays. 571 // True if the page has visible overlays.
572 bool has_visible_overlays; 572 bool has_visible_overlays;
573 }; 573 };
574 574
575 // Parameters for creating an audio output stream. 575 // Parameters for creating an audio output stream.
576 struct ViewHostMsg_Audio_CreateStream_Params { 576 struct ViewHostMsg_Audio_CreateStream_Params {
577 ViewHostMsg_Audio_CreateStream_Params(); 577 ViewHostMsg_Audio_CreateStream_Params();
578 ~ViewHostMsg_Audio_CreateStream_Params(); 578 ~ViewHostMsg_Audio_CreateStream_Params();
579 579
580 // Format request for the stream. 580 // Parameters for the new audio stream.
581 AudioParameters params; 581 AudioParameters params;
582
583 // Number of bytes per packet. Determines the maximum number of bytes
584 // transported for each audio packet request.
585 // A value of 0 means that the audio packet size is selected automatically
586 // by the browser process.
587 uint32 packet_size;
588 }; 582 };
589 583
590 // This message is used for supporting popup menus on Mac OS X using native 584 // This message is used for supporting popup menus on Mac OS X using native
591 // Cocoa controls. The renderer sends us this message which we use to populate 585 // Cocoa controls. The renderer sends us this message which we use to populate
592 // the popup menu. 586 // the popup menu.
593 struct ViewHostMsg_ShowPopup_Params { 587 struct ViewHostMsg_ShowPopup_Params {
594 ViewHostMsg_ShowPopup_Params(); 588 ViewHostMsg_ShowPopup_Params();
595 ~ViewHostMsg_ShowPopup_Params(); 589 ~ViewHostMsg_ShowPopup_Params();
596 590
597 // Position on the screen. 591 // Position on the screen.
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { 1320 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> {
1327 typedef ViewHostMsg_AccessibilityNotification_Params param_type; 1321 typedef ViewHostMsg_AccessibilityNotification_Params param_type;
1328 static void Write(Message* m, const param_type& p); 1322 static void Write(Message* m, const param_type& p);
1329 static bool Read(const Message* m, void** iter, param_type* p); 1323 static bool Read(const Message* m, void** iter, param_type* p);
1330 static void Log(const param_type& p, std::string* l); 1324 static void Log(const param_type& p, std::string* l);
1331 }; 1325 };
1332 1326
1333 } // namespace IPC 1327 } // namespace IPC
1334 1328
1335 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 1329 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698