| OLD | NEW |
| 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 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 class SkBitmap; | 54 class SkBitmap; |
| 55 class TransportDIB; | 55 class TransportDIB; |
| 56 | 56 |
| 57 namespace WebKit { | 57 namespace WebKit { |
| 58 class WebInputEvent; | 58 class WebInputEvent; |
| 59 class WebMouseEvent; | 59 class WebMouseEvent; |
| 60 class WebPluginContainer; | 60 class WebPluginContainer; |
| 61 struct WebCompositionUnderline; | 61 struct WebCompositionUnderline; |
| 62 struct WebCursorInfo; | 62 struct WebCursorInfo; |
| 63 struct WebPrintParams; |
| 63 } | 64 } |
| 64 | 65 |
| 65 namespace ppapi { | 66 namespace ppapi { |
| 66 struct InputEventData; | 67 struct InputEventData; |
| 67 struct PPP_Instance_Combined; | 68 struct PPP_Instance_Combined; |
| 68 class Resource; | 69 class Resource; |
| 69 } | 70 } |
| 70 | 71 |
| 71 namespace ui { | 72 namespace ui { |
| 72 class Range; | 73 class Range; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 void RequestSurroundingText(size_t desired_number_of_characters); | 221 void RequestSurroundingText(size_t desired_number_of_characters); |
| 221 void Zoom(double factor, bool text_only); | 222 void Zoom(double factor, bool text_only); |
| 222 bool StartFind(const string16& search_text, | 223 bool StartFind(const string16& search_text, |
| 223 bool case_sensitive, | 224 bool case_sensitive, |
| 224 int identifier); | 225 int identifier); |
| 225 void SelectFindResult(bool forward); | 226 void SelectFindResult(bool forward); |
| 226 void StopFind(); | 227 void StopFind(); |
| 227 | 228 |
| 228 bool SupportsPrintInterface(); | 229 bool SupportsPrintInterface(); |
| 229 bool IsPrintScalingDisabled(); | 230 bool IsPrintScalingDisabled(); |
| 230 int PrintBegin(const gfx::Rect& printable_area, int printer_dpi); | 231 int PrintBegin(const WebKit::WebPrintParams& print_params); |
| 231 bool PrintPage(int page_number, WebKit::WebCanvas* canvas); | 232 bool PrintPage(int page_number, WebKit::WebCanvas* canvas); |
| 232 void PrintEnd(); | 233 void PrintEnd(); |
| 233 | 234 |
| 234 bool CanRotateView(); | 235 bool CanRotateView(); |
| 235 void RotateView(WebKit::WebPlugin::RotationType type); | 236 void RotateView(WebKit::WebPlugin::RotationType type); |
| 236 | 237 |
| 237 void Graphics3DContextLost(); | 238 void Graphics3DContextLost(); |
| 238 | 239 |
| 239 // There are 2 implementations of the fullscreen interface | 240 // There are 2 implementations of the fullscreen interface |
| 240 // PPB_FlashFullscreen is used by Pepper Flash. | 241 // PPB_FlashFullscreen is used by Pepper Flash. |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 // The Flash proxy is associated with the instance. | 643 // The Flash proxy is associated with the instance. |
| 643 PPB_Flash_Impl flash_impl_; | 644 PPB_Flash_Impl flash_impl_; |
| 644 | 645 |
| 645 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 646 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
| 646 }; | 647 }; |
| 647 | 648 |
| 648 } // namespace ppapi | 649 } // namespace ppapi |
| 649 } // namespace webkit | 650 } // namespace webkit |
| 650 | 651 |
| 651 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 652 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| OLD | NEW |