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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 PluginInstance* instance); | 104 PluginInstance* instance); |
105 virtual gfx::Size GetScreenSize(); | 105 virtual gfx::Size GetScreenSize(); |
106 virtual std::string GetDefaultEncoding(); | 106 virtual std::string GetDefaultEncoding(); |
107 virtual void ZoomLimitsChanged(double minimum_factor, | 107 virtual void ZoomLimitsChanged(double minimum_factor, |
108 double maximum_factor); | 108 double maximum_factor); |
109 virtual void SubscribeToPolicyUpdates(PluginInstance* instance); | 109 virtual void SubscribeToPolicyUpdates(PluginInstance* instance); |
110 virtual std::string ResolveProxy(const GURL& url); | 110 virtual std::string ResolveProxy(const GURL& url); |
111 virtual void DidStartLoading(); | 111 virtual void DidStartLoading(); |
112 virtual void DidStopLoading(); | 112 virtual void DidStopLoading(); |
113 virtual void SetContentRestriction(int restrictions); | 113 virtual void SetContentRestriction(int restrictions); |
114 virtual void HasUnsupportedFeature(); | |
115 virtual void SaveURLAs(const GURL& url); | 114 virtual void SaveURLAs(const GURL& url); |
116 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); | 115 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); |
117 virtual webkit_glue::P2PTransport* CreateP2PTransport(); | 116 virtual webkit_glue::P2PTransport* CreateP2PTransport(); |
118 virtual double GetLocalTimeZoneOffset(base::Time t); | 117 virtual double GetLocalTimeZoneOffset(base::Time t); |
119 virtual std::string GetFlashCommandLineArgs(); | 118 virtual std::string GetFlashCommandLineArgs(); |
120 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); | 119 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); |
121 virtual ::ppapi::Preferences GetPreferences(); | 120 virtual ::ppapi::Preferences GetPreferences(); |
122 }; | 121 }; |
123 | 122 |
124 } // namespace ppapi | 123 } // namespace ppapi |
125 } // namespace webkit | 124 } // namespace webkit |
126 | 125 |
127 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 126 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |