| 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 string16 GetSelectedText(bool html); | 213 string16 GetSelectedText(bool html); |
| 214 string16 GetLinkAtPosition(const gfx::Point& point); | 214 string16 GetLinkAtPosition(const gfx::Point& point); |
| 215 void Zoom(double factor, bool text_only); | 215 void Zoom(double factor, bool text_only); |
| 216 bool StartFind(const string16& search_text, | 216 bool StartFind(const string16& search_text, |
| 217 bool case_sensitive, | 217 bool case_sensitive, |
| 218 int identifier); | 218 int identifier); |
| 219 void SelectFindResult(bool forward); | 219 void SelectFindResult(bool forward); |
| 220 void StopFind(); | 220 void StopFind(); |
| 221 | 221 |
| 222 bool SupportsPrintInterface(); | 222 bool SupportsPrintInterface(); |
| 223 bool IsPrintScalingDisabled(); |
| 223 int PrintBegin(const gfx::Rect& printable_area, int printer_dpi); | 224 int PrintBegin(const gfx::Rect& printable_area, int printer_dpi); |
| 224 bool PrintPage(int page_number, WebKit::WebCanvas* canvas); | 225 bool PrintPage(int page_number, WebKit::WebCanvas* canvas); |
| 225 void PrintEnd(); | 226 void PrintEnd(); |
| 226 | 227 |
| 227 void Graphics3DContextLost(); | 228 void Graphics3DContextLost(); |
| 228 | 229 |
| 229 // There are 2 implementations of the fullscreen interface | 230 // There are 2 implementations of the fullscreen interface |
| 230 // PPB_FlashFullscreen_Dev is used by Pepper Flash. | 231 // PPB_FlashFullscreen_Dev is used by Pepper Flash. |
| 231 // PPB_Fullscreen_Dev is intended for other applications including NaCl. | 232 // PPB_Fullscreen_Dev is intended for other applications including NaCl. |
| 232 // The two interface are mutually exclusive. | 233 // The two interface are mutually exclusive. |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 | 594 |
| 594 PP_CompletionCallback lock_mouse_callback_; | 595 PP_CompletionCallback lock_mouse_callback_; |
| 595 | 596 |
| 596 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 597 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
| 597 }; | 598 }; |
| 598 | 599 |
| 599 } // namespace ppapi | 600 } // namespace ppapi |
| 600 } // namespace webkit | 601 } // namespace webkit |
| 601 | 602 |
| 602 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 603 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| OLD | NEW |