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

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

Issue 11413200: Refactored PPB_Flash GetSettings to the new pepper 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_FLASH_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_FLASH_PROXY_H_
6 #define PPAPI_PROXY_PPB_FLASH_PROXY_H_ 6 #define PPAPI_PROXY_PPB_FLASH_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const char* target, 68 const char* target,
69 PP_Bool from_user_action) OVERRIDE; 69 PP_Bool from_user_action) OVERRIDE;
70 virtual int32_t Navigate(PP_Instance instance, 70 virtual int32_t Navigate(PP_Instance instance,
71 const URLRequestInfoData& data, 71 const URLRequestInfoData& data,
72 const char* target, 72 const char* target,
73 PP_Bool from_user_action) OVERRIDE; 73 PP_Bool from_user_action) OVERRIDE;
74 virtual double GetLocalTimeZoneOffset(PP_Instance instance, 74 virtual double GetLocalTimeZoneOffset(PP_Instance instance,
75 PP_Time t) OVERRIDE; 75 PP_Time t) OVERRIDE;
76 virtual PP_Bool IsRectTopmost(PP_Instance instance, 76 virtual PP_Bool IsRectTopmost(PP_Instance instance,
77 const PP_Rect* rect) OVERRIDE; 77 const PP_Rect* rect) OVERRIDE;
78 virtual PP_Var GetSetting(PP_Instance instance,
79 PP_FlashSetting setting) OVERRIDE;
80 78
81 static const ApiID kApiID = API_ID_PPB_FLASH; 79 static const ApiID kApiID = API_ID_PPB_FLASH;
82 80
83 private: 81 private:
84 // Message handlers. 82 // Message handlers.
85 void OnHostMsgSetInstanceAlwaysOnTop(PP_Instance instance, 83 void OnHostMsgSetInstanceAlwaysOnTop(PP_Instance instance,
86 PP_Bool on_top); 84 PP_Bool on_top);
87 void OnHostMsgDrawGlyphs(PP_Instance instance, 85 void OnHostMsgDrawGlyphs(PP_Instance instance,
88 const PPBFlash_DrawGlyphs_Params& params, 86 const PPBFlash_DrawGlyphs_Params& params,
89 PP_Bool* result); 87 PP_Bool* result);
90 void OnHostMsgNavigate(PP_Instance instance, 88 void OnHostMsgNavigate(PP_Instance instance,
91 const URLRequestInfoData& data, 89 const URLRequestInfoData& data,
92 const std::string& target, 90 const std::string& target,
93 PP_Bool from_user_action, 91 PP_Bool from_user_action,
94 int32_t* result); 92 int32_t* result);
95 void OnHostMsgGetLocalTimeZoneOffset(PP_Instance instance, PP_Time t, 93 void OnHostMsgGetLocalTimeZoneOffset(PP_Instance instance, PP_Time t,
96 double* result); 94 double* result);
97 void OnHostMsgIsRectTopmost(PP_Instance instance, 95 void OnHostMsgIsRectTopmost(PP_Instance instance,
98 PP_Rect rect, 96 PP_Rect rect,
99 PP_Bool* result); 97 PP_Bool* result);
100 void OnHostMsgGetSetting(PP_Instance instance,
101 PP_FlashSetting setting,
102 SerializedVarReturnValue result);
103 void OnHostMsgInvokePrinting(PP_Instance instance); 98 void OnHostMsgInvokePrinting(PP_Instance instance);
104 99
105 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy); 100 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy);
106 }; 101 };
107 102
108 } // namespace proxy 103 } // namespace proxy
109 } // namespace ppapi 104 } // namespace ppapi
110 105
111 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_ 106 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698