| OLD | NEW | 
|---|
| 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  Loading... | 
| 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_ | 
| OLD | NEW | 
|---|