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

Side by Side Diff: ppapi/thunk/ppb_instance_api.h

Issue 24192004: Changes to the EME Pepper API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « ppapi/thunk/ppb_content_decryptor_private_thunk.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 PPAPI_THUNK_INSTANCE_API_H_ 5 #ifndef PPAPI_THUNK_INSTANCE_API_H_
6 #define PPAPI_THUNK_INSTANCE_API_H_ 6 #define PPAPI_THUNK_INSTANCE_API_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ppapi/c/dev/ppb_url_util_dev.h" 10 #include "ppapi/c/dev/ppb_url_util_dev.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // Zoom. 135 // Zoom.
136 virtual void ZoomChanged(PP_Instance instance, double factor) = 0; 136 virtual void ZoomChanged(PP_Instance instance, double factor) = 0;
137 virtual void ZoomLimitsChanged(PP_Instance instance, 137 virtual void ZoomLimitsChanged(PP_Instance instance,
138 double minimum_factor, 138 double minimum_factor,
139 double maximum_factor) = 0; 139 double maximum_factor) = 0;
140 // Testing and URLUtil. 140 // Testing and URLUtil.
141 virtual PP_Var GetDocumentURL(PP_Instance instance, 141 virtual PP_Var GetDocumentURL(PP_Instance instance,
142 PP_URLComponents_Dev* components) = 0; 142 PP_URLComponents_Dev* components) = 0;
143 #if !defined(OS_NACL) 143 #if !defined(OS_NACL)
144 // Content Decryptor. 144 // Content Decryptor.
145 virtual void NeedKey(PP_Instance instance,
146 PP_Var key_system,
147 PP_Var session_id,
148 PP_Var init_data) = 0;
149 virtual void KeyAdded(PP_Instance instance, 145 virtual void KeyAdded(PP_Instance instance,
150 PP_Var key_system, 146 PP_Var key_system,
151 PP_Var session_id) = 0; 147 PP_Var session_id) = 0;
152 virtual void KeyMessage(PP_Instance instance, 148 virtual void KeyMessage(PP_Instance instance,
153 PP_Var key_system, 149 PP_Var key_system,
154 PP_Var session_id, 150 PP_Var session_id,
155 PP_Var message, 151 PP_Var message,
156 PP_Var default_url) = 0; 152 PP_Var default_url) = 0;
157 virtual void KeyError(PP_Instance instance, 153 virtual void KeyError(PP_Instance instance,
158 PP_Var key_system, 154 PP_Var key_system,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 PP_URLComponents_Dev* components) = 0; 189 PP_URLComponents_Dev* components) = 0;
194 #endif // !defined(OS_NACL) 190 #endif // !defined(OS_NACL)
195 191
196 static const ApiID kApiID = API_ID_PPB_INSTANCE; 192 static const ApiID kApiID = API_ID_PPB_INSTANCE;
197 }; 193 };
198 194
199 } // namespace thunk 195 } // namespace thunk
200 } // namespace ppapi 196 } // namespace ppapi
201 197
202 #endif // PPAPI_THUNK_INSTANCE_API_H_ 198 #endif // PPAPI_THUNK_INSTANCE_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_content_decryptor_private_thunk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698