| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_ |
| 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 100 |
| 101 // PPP_Instance pass-through. | 101 // PPP_Instance pass-through. |
| 102 void Delete(); | 102 void Delete(); |
| 103 bool Initialize(WebKit::WebPluginContainer* container, | 103 bool Initialize(WebKit::WebPluginContainer* container, |
| 104 const std::vector<std::string>& arg_names, | 104 const std::vector<std::string>& arg_names, |
| 105 const std::vector<std::string>& arg_values, | 105 const std::vector<std::string>& arg_values, |
| 106 bool full_frame); | 106 bool full_frame); |
| 107 bool HandleDocumentLoad(URLLoader* loader); | 107 bool HandleDocumentLoad(URLLoader* loader); |
| 108 bool HandleInputEvent(const WebKit::WebInputEvent& event, | 108 bool HandleInputEvent(const WebKit::WebInputEvent& event, |
| 109 WebKit::WebCursorInfo* cursor_info); | 109 WebKit::WebCursorInfo* cursor_info); |
| 110 void FocusChanged(bool has_focus); |
| 110 PP_Var GetInstanceObject(); | 111 PP_Var GetInstanceObject(); |
| 111 void ViewChanged(const gfx::Rect& position, const gfx::Rect& clip); | 112 void ViewChanged(const gfx::Rect& position, const gfx::Rect& clip); |
| 112 | 113 |
| 113 // Notifications that the view has rendered the page and that it has been | 114 // Notifications that the view has rendered the page and that it has been |
| 114 // flushed to the screen. These messages are used to send Flush callbacks to | 115 // flushed to the screen. These messages are used to send Flush callbacks to |
| 115 // the plugin for DeviceContext2D. | 116 // the plugin for DeviceContext2D. |
| 116 void ViewInitiatedPaint(); | 117 void ViewInitiatedPaint(); |
| 117 void ViewFlushedPaint(); | 118 void ViewFlushedPaint(); |
| 118 | 119 |
| 119 string16 GetSelectedText(bool html); | 120 string16 GetSelectedText(bool html); |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 220 |
| 220 // Plugin container for fullscreen mode. NULL if not in fullscreen mode. | 221 // Plugin container for fullscreen mode. NULL if not in fullscreen mode. |
| 221 FullscreenContainer* fullscreen_container_; | 222 FullscreenContainer* fullscreen_container_; |
| 222 | 223 |
| 223 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 224 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
| 224 }; | 225 }; |
| 225 | 226 |
| 226 } // namespace pepper | 227 } // namespace pepper |
| 227 | 228 |
| 228 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_ | 229 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_ |
| OLD | NEW |