OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 string16 GetSelectedText(bool html); | 194 string16 GetSelectedText(bool html); |
195 string16 GetLinkAtPosition(const gfx::Point& point); | 195 string16 GetLinkAtPosition(const gfx::Point& point); |
196 void Zoom(double factor, bool text_only); | 196 void Zoom(double factor, bool text_only); |
197 bool StartFind(const string16& search_text, | 197 bool StartFind(const string16& search_text, |
198 bool case_sensitive, | 198 bool case_sensitive, |
199 int identifier); | 199 int identifier); |
200 void SelectFindResult(bool forward); | 200 void SelectFindResult(bool forward); |
201 void StopFind(); | 201 void StopFind(); |
202 | 202 |
203 bool SupportsPrintInterface(); | 203 bool SupportsPrintInterface(); |
| 204 bool IsPrintScalingDisabled(); |
204 int PrintBegin(const gfx::Rect& printable_area, int printer_dpi); | 205 int PrintBegin(const gfx::Rect& printable_area, int printer_dpi); |
205 bool PrintPage(int page_number, WebKit::WebCanvas* canvas); | 206 bool PrintPage(int page_number, WebKit::WebCanvas* canvas); |
206 void PrintEnd(); | 207 void PrintEnd(); |
207 | 208 |
208 void Graphics3DContextLost(); | 209 void Graphics3DContextLost(); |
209 | 210 |
210 // Implementation of PPB_Fullscreen_Dev. | 211 // Implementation of PPB_Fullscreen_Dev. |
211 | 212 |
212 // Because going to fullscreen is asynchronous (but going out is not), there | 213 // Because going to fullscreen is asynchronous (but going out is not), there |
213 // are 3 states: | 214 // are 3 states: |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 | 488 |
488 PP_CompletionCallback lock_mouse_callback_; | 489 PP_CompletionCallback lock_mouse_callback_; |
489 | 490 |
490 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 491 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
491 }; | 492 }; |
492 | 493 |
493 } // namespace ppapi | 494 } // namespace ppapi |
494 } // namespace webkit | 495 } // namespace webkit |
495 | 496 |
496 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 497 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
OLD | NEW |