Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Side by Side Diff: webkit/glue/plugins/pepper_plugin_instance.h

Issue 2948009: Fix pepper v2 find implementation. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/glue/plugins/pepper_plugin_instance.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/plugins/pepper_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698