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

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

Issue 10795051: Implement asynchronous interface/plumbing for GetDefaultPrintSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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 // 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/pp_print_settings_dev.h" 10 #include "ppapi/c/dev/pp_print_settings_dev.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 PP_MouseCursor_Type type, 109 PP_MouseCursor_Type type,
110 PP_Resource image, 110 PP_Resource image,
111 const PP_Point* hot_spot) = 0; 111 const PP_Point* hot_spot) = 0;
112 112
113 // MouseLock. 113 // MouseLock.
114 virtual int32_t LockMouse(PP_Instance instance, 114 virtual int32_t LockMouse(PP_Instance instance,
115 scoped_refptr<TrackedCallback> callback) = 0; 115 scoped_refptr<TrackedCallback> callback) = 0;
116 virtual void UnlockMouse(PP_Instance instance) = 0; 116 virtual void UnlockMouse(PP_Instance instance) = 0;
117 117
118 // Printing. 118 // Printing.
119 virtual PP_Bool GetDefaultPrintSettings( 119 virtual int32_t GetDefaultPrintSettings(
120 PP_Instance instance, 120 PP_Instance instance,
121 PP_PrintSettings_Dev* print_settings) = 0; 121 PP_PrintSettings_Dev* print_settings,
122 scoped_refptr<TrackedCallback> callback) = 0;
122 123
123 // TextInput. 124 // TextInput.
124 virtual void SetTextInputType(PP_Instance instance, 125 virtual void SetTextInputType(PP_Instance instance,
125 PP_TextInput_Type type) = 0; 126 PP_TextInput_Type type) = 0;
126 virtual void UpdateCaretPosition(PP_Instance instance, 127 virtual void UpdateCaretPosition(PP_Instance instance,
127 const PP_Rect& caret, 128 const PP_Rect& caret,
128 const PP_Rect& bounding_box) = 0; 129 const PP_Rect& bounding_box) = 0;
129 virtual void CancelCompositionText(PP_Instance instance) = 0; 130 virtual void CancelCompositionText(PP_Instance instance) = 0;
130 virtual void SelectionChanged(PP_Instance instance) = 0; 131 virtual void SelectionChanged(PP_Instance instance) = 0;
131 virtual void UpdateSurroundingText(PP_Instance instance, 132 virtual void UpdateSurroundingText(PP_Instance instance,
(...skipping 21 matching lines...) Expand all
153 PP_URLComponents_Dev* components) = 0; 154 PP_URLComponents_Dev* components) = 0;
154 #endif // !defined(OS_NACL) 155 #endif // !defined(OS_NACL)
155 156
156 static const ApiID kApiID = API_ID_PPB_INSTANCE; 157 static const ApiID kApiID = API_ID_PPB_INSTANCE;
157 }; 158 };
158 159
159 } // namespace thunk 160 } // namespace thunk
160 } // namespace ppapi 161 } // namespace ppapi
161 162
162 #endif // PPAPI_THUNK_INSTANCE_API_H_ 163 #endif // PPAPI_THUNK_INSTANCE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698