| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
| 6 #define CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 6 #define CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 const gfx::Rect& view_frame); | 90 const gfx::Rect& view_frame); |
| 91 void OnImeCompositionCompleted(const string16& text); | 91 void OnImeCompositionCompleted(const string16& text); |
| 92 #endif | 92 #endif |
| 93 | 93 |
| 94 void OnDidReceiveManualResponse( | 94 void OnDidReceiveManualResponse( |
| 95 const GURL& url, | 95 const GURL& url, |
| 96 const PluginMsg_DidReceiveResponseParams& params); | 96 const PluginMsg_DidReceiveResponseParams& params); |
| 97 void OnDidReceiveManualData(const std::vector<char>& buffer); | 97 void OnDidReceiveManualData(const std::vector<char>& buffer); |
| 98 void OnDidFinishManualLoading(); | 98 void OnDidFinishManualLoading(); |
| 99 void OnDidManualLoadFail(); | 99 void OnDidManualLoadFail(); |
| 100 void OnInstallMissingPlugin(); | |
| 101 void OnHandleURLRequestReply(unsigned long resource_id, | 100 void OnHandleURLRequestReply(unsigned long resource_id, |
| 102 const GURL& url, | 101 const GURL& url, |
| 103 int notify_id); | 102 int notify_id); |
| 104 void OnHTTPRangeRequestReply(unsigned long resource_id, int range_request_id); | 103 void OnHTTPRangeRequestReply(unsigned long resource_id, int range_request_id); |
| 105 | 104 |
| 106 std::string mime_type_; | 105 std::string mime_type_; |
| 107 int instance_id_; | 106 int instance_id_; |
| 108 | 107 |
| 109 scoped_refptr<PluginChannel> channel_; | 108 scoped_refptr<PluginChannel> channel_; |
| 110 | 109 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 121 // window handle which is used for subsequent communication back to the | 120 // window handle which is used for subsequent communication back to the |
| 122 // browser. | 121 // browser. |
| 123 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window); | 122 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window); |
| 124 #endif | 123 #endif |
| 125 #endif | 124 #endif |
| 126 | 125 |
| 127 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); | 126 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); |
| 128 }; | 127 }; |
| 129 | 128 |
| 130 #endif // CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 129 #endif // CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
| OLD | NEW |