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 WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
7 | 7 |
8 #include "webkit/plugins/ppapi/plugin_delegate.h" | 8 #include "webkit/plugins/ppapi/plugin_delegate.h" |
9 | 9 |
10 namespace webkit { | 10 namespace webkit { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 PluginInstance* instance); | 89 PluginInstance* instance); |
90 virtual gfx::Size GetScreenSize(); | 90 virtual gfx::Size GetScreenSize(); |
91 virtual std::string GetDefaultEncoding(); | 91 virtual std::string GetDefaultEncoding(); |
92 virtual void ZoomLimitsChanged(double minimum_factor, | 92 virtual void ZoomLimitsChanged(double minimum_factor, |
93 double maximum_factor); | 93 double maximum_factor); |
94 virtual std::string ResolveProxy(const GURL& url); | 94 virtual std::string ResolveProxy(const GURL& url); |
95 virtual void DidStartLoading(); | 95 virtual void DidStartLoading(); |
96 virtual void DidStopLoading(); | 96 virtual void DidStopLoading(); |
97 virtual void SetContentRestriction(int restrictions); | 97 virtual void SetContentRestriction(int restrictions); |
98 virtual void HasUnsupportedFeature(); | 98 virtual void HasUnsupportedFeature(); |
| 99 virtual void SaveAs(); |
99 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); | 100 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); |
100 virtual webkit_glue::P2PTransport* CreateP2PTransport(); | 101 virtual webkit_glue::P2PTransport* CreateP2PTransport(); |
101 }; | 102 }; |
102 | 103 |
103 } // namespace ppapi | 104 } // namespace ppapi |
104 } // namespace webkit | 105 } // namespace webkit |
105 | 106 |
106 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 107 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |