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

Side by Side Diff: src/trusted/sel_universal/multimedia_handler.h

Issue 7046064: Some small refactoring and renaming of sel_universel pepper emulation components. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/trusted/sel_universal/multimedia.h ('k') | src/trusted/sel_universal/multimedia_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2011 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file.
5 */
6
7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_MULTIMEDIA_HANDLER_H_
8 #define NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_MULTIMEDIA_HANDLER_H_
9
10 #include <string>
11 #include <vector>
12
13 class NaClCommandLoop;
14
15 // Log all PPAPI events to given file for later playback.
16 // This will take effect after HandlerSDLEventLoop is called.
17 // Note: the emitted file will contain non-standard PPAPI events
18 // for synchronization purposes.
19 void RecordPPAPIEvents(std::string filename);
20
21 // Ignore user events and instead play back PPAPI events from the given file,
22 // which must have been generared via RecordPPAPIEvents()
23 // This will take effect after HandlerSDLEventLoop is called
24 void ReplayPPAPIEvents(std::string filename);
25
26
27 // initialize multimedia (SDL) subsystem
28 bool HandlerSDLInitialize(NaClCommandLoop* ncl,
29 const std::vector<std::string>& args);
30
31 // start multimedia event loop
32 bool HandlerSDLEventLoop(NaClCommandLoop* ncl,
33 const std::vector<std::string>& args);
34
35
36 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_MULTIMEDIA_HANDLER_H_ */
OLDNEW
« no previous file with comments | « src/trusted/sel_universal/multimedia.h ('k') | src/trusted/sel_universal/multimedia_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698