OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_DELEGATE_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_DELEGATE_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "content/common/content_export.h" |
| 11 |
| 12 namespace content { |
| 13 |
| 14 // Maybe BrowserPluginLoadObserver? |
| 15 class CONTENT_EXPORT BrowserPluginDelegate { |
| 16 public: |
| 17 BrowserPluginDelegate(int routing_id, const std::string& mime_type) {} |
| 18 virtual ~BrowserPluginDelegate() {} |
| 19 |
| 20 virtual void SetElementInstanceID(int element_instance_id) {} |
| 21 virtual void DidFinishLoading() {} |
| 22 virtual void DidReceiveData(const char* data, int data_length) {} |
| 23 }; |
| 24 |
| 25 } // namespace content |
| 26 |
| 27 #endif // CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_DELEGATE_H_ |
OLD | NEW |