| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 107 |
| 108 string16 GetSelectedText(bool html); | 108 string16 GetSelectedText(bool html); |
| 109 void Zoom(float factor, bool text_only); | 109 void Zoom(float factor, bool text_only); |
| 110 bool StartFind(const string16& search_text, | 110 bool StartFind(const string16& search_text, |
| 111 bool case_sensitive, | 111 bool case_sensitive, |
| 112 int identifier); | 112 int identifier); |
| 113 void SelectFindResult(bool forward); | 113 void SelectFindResult(bool forward); |
| 114 void StopFind(); | 114 void StopFind(); |
| 115 | 115 |
| 116 private: | 116 private: |
| 117 bool LoadFindInterface(); |
| 118 |
| 117 PluginDelegate* delegate_; | 119 PluginDelegate* delegate_; |
| 118 scoped_refptr<PluginModule> module_; | 120 scoped_refptr<PluginModule> module_; |
| 119 const PPP_Instance* instance_interface_; | 121 const PPP_Instance* instance_interface_; |
| 120 | 122 |
| 121 // NULL until we have been initialized. | 123 // NULL until we have been initialized. |
| 122 WebKit::WebPluginContainer* container_; | 124 WebKit::WebPluginContainer* container_; |
| 123 | 125 |
| 124 // Indicates whether this is a full frame instance, which means it represents | 126 // Indicates whether this is a full frame instance, which means it represents |
| 125 // an entire document rather than an embed tag. | 127 // an entire document rather than an embed tag. |
| 126 bool full_frame_; | 128 bool full_frame_; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 146 | 148 |
| 147 // Containes the cursor if it's set by the plugin. | 149 // Containes the cursor if it's set by the plugin. |
| 148 scoped_ptr<WebKit::WebCursorInfo> cursor_; | 150 scoped_ptr<WebKit::WebCursorInfo> cursor_; |
| 149 | 151 |
| 150 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 152 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
| 151 }; | 153 }; |
| 152 | 154 |
| 153 } // namespace pepper | 155 } // namespace pepper |
| 154 | 156 |
| 155 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_ | 157 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_ |
| OLD | NEW |