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

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

Issue 10826026: Add a printing resource (as a new style resource) to fetch the default print settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('j') | 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_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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 double minimum_factor, 83 double minimum_factor,
84 double maximium_factor) OVERRIDE; 84 double maximium_factor) OVERRIDE;
85 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; 85 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE;
86 virtual PP_Bool SetCursor(PP_Instance instance, 86 virtual PP_Bool SetCursor(PP_Instance instance,
87 PP_MouseCursor_Type type, 87 PP_MouseCursor_Type type,
88 PP_Resource image, 88 PP_Resource image,
89 const PP_Point* hot_spot) OVERRIDE; 89 const PP_Point* hot_spot) OVERRIDE;
90 virtual int32_t LockMouse(PP_Instance instance, 90 virtual int32_t LockMouse(PP_Instance instance,
91 scoped_refptr<TrackedCallback> callback) OVERRIDE; 91 scoped_refptr<TrackedCallback> callback) OVERRIDE;
92 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; 92 virtual void UnlockMouse(PP_Instance instance) OVERRIDE;
93 virtual PP_Bool GetDefaultPrintSettings(
94 PP_Instance instance,
95 PP_PrintSettings_Dev* print_settings) OVERRIDE;
96 virtual void SetTextInputType(PP_Instance instance, 93 virtual void SetTextInputType(PP_Instance instance,
97 PP_TextInput_Type type) OVERRIDE; 94 PP_TextInput_Type type) OVERRIDE;
98 virtual void UpdateCaretPosition(PP_Instance instance, 95 virtual void UpdateCaretPosition(PP_Instance instance,
99 const PP_Rect& caret, 96 const PP_Rect& caret,
100 const PP_Rect& bounding_box) OVERRIDE; 97 const PP_Rect& bounding_box) OVERRIDE;
101 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE; 98 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE;
102 virtual void SelectionChanged(PP_Instance instance) OVERRIDE; 99 virtual void SelectionChanged(PP_Instance instance) OVERRIDE;
103 virtual void UpdateSurroundingText(PP_Instance instance, 100 virtual void UpdateSurroundingText(PP_Instance instance,
104 const char* text, 101 const char* text,
105 uint32_t caret, 102 uint32_t caret,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 bool is_filtering, 175 bool is_filtering,
179 uint32_t event_classes); 176 uint32_t event_classes);
180 void OnHostMsgClearInputEvents(PP_Instance instance, 177 void OnHostMsgClearInputEvents(PP_Instance instance,
181 uint32_t event_classes); 178 uint32_t event_classes);
182 void OnMsgHandleInputEventAck(PP_Instance instance, 179 void OnMsgHandleInputEventAck(PP_Instance instance,
183 PP_TimeTicks timestamp); 180 PP_TimeTicks timestamp);
184 void OnHostMsgPostMessage(PP_Instance instance, 181 void OnHostMsgPostMessage(PP_Instance instance,
185 SerializedVarReceiveInput message); 182 SerializedVarReceiveInput message);
186 void OnHostMsgLockMouse(PP_Instance instance); 183 void OnHostMsgLockMouse(PP_Instance instance);
187 void OnHostMsgUnlockMouse(PP_Instance instance); 184 void OnHostMsgUnlockMouse(PP_Instance instance);
188 void OnHostMsgGetDefaultPrintSettings(PP_Instance instance,
189 PP_PrintSettings_Dev* settings,
190 bool* result);
191 void OnHostMsgSetCursor(PP_Instance instance, 185 void OnHostMsgSetCursor(PP_Instance instance,
192 int32_t type, 186 int32_t type,
193 const ppapi::HostResource& custom_image, 187 const ppapi::HostResource& custom_image,
194 const PP_Point& hot_spot); 188 const PP_Point& hot_spot);
195 void OnHostMsgSetTextInputType(PP_Instance instance, PP_TextInput_Type type); 189 void OnHostMsgSetTextInputType(PP_Instance instance, PP_TextInput_Type type);
196 void OnHostMsgUpdateCaretPosition(PP_Instance instance, 190 void OnHostMsgUpdateCaretPosition(PP_Instance instance,
197 const PP_Rect& caret, 191 const PP_Rect& caret,
198 const PP_Rect& bounding_box); 192 const PP_Rect& bounding_box);
199 void OnHostMsgCancelCompositionText(PP_Instance instance); 193 void OnHostMsgCancelCompositionText(PP_Instance instance);
200 void OnHostMsgUpdateSurroundingText( 194 void OnHostMsgUpdateSurroundingText(
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // Other helpers. 248 // Other helpers.
255 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); 249 void CancelAnyPendingRequestSurroundingText(PP_Instance instance);
256 250
257 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; 251 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_;
258 }; 252 };
259 253
260 } // namespace proxy 254 } // namespace proxy
261 } // namespace ppapi 255 } // namespace ppapi
262 256
263 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 257 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698