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

Side by Side Diff: webkit/glue/webplugin_delegate.h

Issue 1075011: Chrome side of adding search support to Pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 | « webkit/glue/plugins/npapi_extension_thunk.cc ('k') | no next file » | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_WEBPLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
6 #define WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ 6 #define WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Creates a WebPluginResourceClient instance and returns the same. 131 // Creates a WebPluginResourceClient instance and returns the same.
132 virtual WebPluginResourceClient* CreateResourceClient( 132 virtual WebPluginResourceClient* CreateResourceClient(
133 unsigned long resource_id, 133 unsigned long resource_id,
134 const GURL& url, 134 const GURL& url,
135 int notify_id) = 0; 135 int notify_id) = 0;
136 136
137 // Creates a WebPluginResourceClient instance for an existing stream that is 137 // Creates a WebPluginResourceClient instance for an existing stream that is
138 // has become seekable. 138 // has become seekable.
139 virtual WebPluginResourceClient* CreateSeekableResourceClient( 139 virtual WebPluginResourceClient* CreateSeekableResourceClient(
140 unsigned long resource_id, int range_request_id) = 0; 140 unsigned long resource_id, int range_request_id) = 0;
141
142 // See WebPluginContainerImpl's description of the interface.
143 virtual bool SupportsFind() { return false; }
144 virtual void StartFind(const std::string& search_text,
145 bool case_sensitive,
146 int identifier) {}
147 virtual void SelectFindResult(bool forward) {}
148 virtual void StopFind() {}
149 virtual void NumberOfFindResultsChanged(int total, bool final_result) {}
150 virtual void SelectedFindResultChanged(int index) {}
141 }; 151 };
142 152
143 } // namespace webkit_glue 153 } // namespace webkit_glue
144 154
145 #endif // WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ 155 #endif // WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/npapi_extension_thunk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698