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

Side by Side Diff: ppapi/proxy/ppb_instance_proxy.h

Issue 11421066: Refactor PPB_Flash_Fullscreen to the new resource model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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) 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_PROXY_PPB_INSTANCE_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 static const Info* GetInfoPrivate(); 42 static const Info* GetInfoPrivate();
43 43
44 // InterfaceProxy implementation. 44 // InterfaceProxy implementation.
45 virtual bool OnMessageReceived(const IPC::Message& msg); 45 virtual bool OnMessageReceived(const IPC::Message& msg);
46 46
47 // PPB_Instance_API implementation. 47 // PPB_Instance_API implementation.
48 virtual PP_Bool BindGraphics(PP_Instance instance, 48 virtual PP_Bool BindGraphics(PP_Instance instance,
49 PP_Resource device) OVERRIDE; 49 PP_Resource device) OVERRIDE;
50 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; 50 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE;
51 virtual const ViewData* GetViewData(PP_Instance instance) OVERRIDE; 51 virtual const ViewData* GetViewData(PP_Instance instance) OVERRIDE;
52 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE;
52 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; 53 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE;
53 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE; 54 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE;
54 virtual PP_Var ExecuteScript(PP_Instance instance, 55 virtual PP_Var ExecuteScript(PP_Instance instance,
55 PP_Var script, 56 PP_Var script,
56 PP_Var* exception) OVERRIDE; 57 PP_Var* exception) OVERRIDE;
57 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance) 58 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance)
58 OVERRIDE; 59 OVERRIDE;
59 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance) 60 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance)
60 OVERRIDE; 61 OVERRIDE;
61 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; 62 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE;
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // Other helpers. 273 // Other helpers.
273 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); 274 void CancelAnyPendingRequestSurroundingText(PP_Instance instance);
274 275
275 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; 276 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_;
276 }; 277 };
277 278
278 } // namespace proxy 279 } // namespace proxy
279 } // namespace ppapi 280 } // namespace ppapi
280 281
281 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 282 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698