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

Side by Side Diff: src/trusted/sel_universal/pepper_emu_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
OLDNEW
1 /* 1 /*
2 * Copyright 2011 The Native Client Authors. All rights reserved. 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 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_MULTIMEDIA_HANDLER_H_ 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_MULTIMEDIA_HANDLER_H_
8 #define NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_MULTIMEDIA_HANDLER_H_ 8 #define NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_MULTIMEDIA_HANDLER_H_
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 class NaClCommandLoop; 13 class NaClCommandLoop;
14 14
15 // Log all PPAPI events to given file for later playback. 15 // Log all PPAPI events to given file for later playback.
16 // This will take effect after HandlerSDLEventLoop is called. 16 // This will take effect after HandlerSDLEventLoop is called.
17 // Note: the emitted file will contain non-standard PPAPI events 17 // Note: the emitted file will contain non-standard PPAPI events
18 // for synchronization purposes. 18 // for synchronization purposes.
19 void RecordPPAPIEvents(std::string filename); 19 void RecordPPAPIEvents(std::string filename);
20 20
21 // Ignore user events and instead play back PPAPI events from the given file, 21 // Ignore user events and instead play back PPAPI events from the given file,
22 // which must have been generared via RecordPPAPIEvents() 22 // which must have been generared via RecordPPAPIEvents()
23 // This will take effect after HandlerSDLEventLoop is called 23 // This will take effect after HandlerSDLEventLoop is called
24 void ReplayPPAPIEvents(std::string filename); 24 void ReplayPPAPIEvents(std::string filename);
25 25
26 26
27 // initialize multimedia (SDL) subsystem 27 // initialize multimedia (SDL) subsystem
28 bool HandlerSDLInitialize(NaClCommandLoop* ncl, 28 bool HandlerPepperEmuInitialize(NaClCommandLoop* ncl,
29 const std::vector<std::string>& args); 29 const std::vector<std::string>& args);
30 30
31 // start multimedia event loop 31 // start multimedia event loop
32 bool HandlerSDLEventLoop(NaClCommandLoop* ncl, 32 bool HandlerPepperEmuEventLoop(NaClCommandLoop* ncl,
33 const std::vector<std::string>& args); 33 const std::vector<std::string>& args);
34 34
35 35
36 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_MULTIMEDIA_HANDLER_H_ */ 36 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_MULTIMEDIA_HANDLER_H_ */
OLDNEW
« no previous file with comments | « src/trusted/sel_universal/pepper_emu_core.cc ('k') | src/trusted/sel_universal/pepper_emu_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698