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

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

Issue 10544085: Added PPB function to return default print settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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/thunk/interfaces_ppb_public_dev.h ('k') | ppapi/thunk/ppb_printing_thunk.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_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 "ppapi/c/dev/pp_print_settings_dev.h"
8 #include "ppapi/c/dev/ppb_console_dev.h" 9 #include "ppapi/c/dev/ppb_console_dev.h"
9 #include "ppapi/c/dev/ppb_text_input_dev.h" 10 #include "ppapi/c/dev/ppb_text_input_dev.h"
10 #include "ppapi/c/dev/ppb_url_util_dev.h" 11 #include "ppapi/c/dev/ppb_url_util_dev.h"
11 #include "ppapi/c/pp_bool.h" 12 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h" 13 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_size.h" 14 #include "ppapi/c/pp_size.h"
14 #include "ppapi/c/pp_time.h" 15 #include "ppapi/c/pp_time.h"
15 #include "ppapi/c/ppb_audio_config.h" 16 #include "ppapi/c/ppb_audio_config.h"
16 #include "ppapi/c/ppb_gamepad.h" 17 #include "ppapi/c/ppb_gamepad.h"
17 #include "ppapi/c/ppb_instance.h" 18 #include "ppapi/c/ppb_instance.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 virtual PP_Bool SetCursor(PP_Instance instance, 105 virtual PP_Bool SetCursor(PP_Instance instance,
105 PP_MouseCursor_Type type, 106 PP_MouseCursor_Type type,
106 PP_Resource image, 107 PP_Resource image,
107 const PP_Point* hot_spot) = 0; 108 const PP_Point* hot_spot) = 0;
108 109
109 // MouseLock. 110 // MouseLock.
110 virtual int32_t LockMouse(PP_Instance instance, 111 virtual int32_t LockMouse(PP_Instance instance,
111 PP_CompletionCallback callback) = 0; 112 PP_CompletionCallback callback) = 0;
112 virtual void UnlockMouse(PP_Instance instance) = 0; 113 virtual void UnlockMouse(PP_Instance instance) = 0;
113 114
115 // Printing.
116 virtual PP_Bool GetDefaultPrintSettings(
117 PP_Instance instance,
118 PP_PrintSettings_Dev* print_settings) = 0;
119
114 // TextInput. 120 // TextInput.
115 virtual void SetTextInputType(PP_Instance instance, 121 virtual void SetTextInputType(PP_Instance instance,
116 PP_TextInput_Type type) = 0; 122 PP_TextInput_Type type) = 0;
117 virtual void UpdateCaretPosition(PP_Instance instance, 123 virtual void UpdateCaretPosition(PP_Instance instance,
118 const PP_Rect& caret, 124 const PP_Rect& caret,
119 const PP_Rect& bounding_box) = 0; 125 const PP_Rect& bounding_box) = 0;
120 virtual void CancelCompositionText(PP_Instance instance) = 0; 126 virtual void CancelCompositionText(PP_Instance instance) = 0;
121 virtual void SelectionChanged(PP_Instance instance) = 0; 127 virtual void SelectionChanged(PP_Instance instance) = 0;
122 virtual void UpdateSurroundingText(PP_Instance instance, 128 virtual void UpdateSurroundingText(PP_Instance instance,
123 const char* text, 129 const char* text,
(...skipping 20 matching lines...) Expand all
144 PP_URLComponents_Dev* components) = 0; 150 PP_URLComponents_Dev* components) = 0;
145 #endif // !defined(OS_NACL) 151 #endif // !defined(OS_NACL)
146 152
147 static const ApiID kApiID = API_ID_PPB_INSTANCE; 153 static const ApiID kApiID = API_ID_PPB_INSTANCE;
148 }; 154 };
149 155
150 } // namespace thunk 156 } // namespace thunk
151 } // namespace ppapi 157 } // namespace ppapi
152 158
153 #endif // PPAPI_THUNK_INSTANCE_API_H_ 159 #endif // PPAPI_THUNK_INSTANCE_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev.h ('k') | ppapi/thunk/ppb_printing_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698