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

Side by Side Diff: src/trusted/sel_universal/primitives.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 2010 The Native Client Authors. All rights reserved. 2 * Copyright 2010 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_H_ 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_PRIMITIVES_H_
8 #define NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_MULTIMEDIA_H_ 8 #define NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_PRIMITIVES_H_
9 9
10 // Abstract multimedia interface 10 // Abstract multimedia interface
11 // NOTE: currently only video and simple events are supported 11 // NOTE: currently only video and simple events are supported
12 12
13 class PP_InputEvent; 13 class PP_InputEvent;
14 14
15 const int MY_EVENT_FLUSH_CALL_BACK = 88; 15 const int MY_EVENT_FLUSH_CALL_BACK = 88;
16 const int MY_EVENT_INIT_AUDIO = 89; 16 const int MY_EVENT_INIT_AUDIO = 89;
17 // data1 = callback_id, data2 = result value 17 // data1 = callback_id, data2 = result value
18 const int MY_EVENT_TIMER_CALL_BACK = 90; 18 const int MY_EVENT_TIMER_CALL_BACK = 90;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 int channels, 57 int channels,
58 int frame_count, 58 int frame_count,
59 AUDIO_CALLBACK cb) = 0; 59 AUDIO_CALLBACK cb) = 0;
60 virtual void AudioStart() = 0; 60 virtual void AudioStart() = 0;
61 virtual void AudioStop() = 0; 61 virtual void AudioStop() = 0;
62 }; 62 };
63 63
64 /* Currently, there is only an SDL implementation */ 64 /* Currently, there is only an SDL implementation */
65 IMultimedia* MakeMultimediaSDL(int width, int heigth, const char* title); 65 IMultimedia* MakeMultimediaSDL(int width, int heigth, const char* title);
66 66
67 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_MULTIMEDIA_H_ */ 67 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SEL_UNIVERASAL_PRIMITIVES_H_ */
OLDNEW
« no previous file with comments | « src/trusted/sel_universal/pepper_emu_handler.cc ('k') | src/trusted/sel_universal/primitives_sdl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698