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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 virtual void DidStartLoading(); | 98 virtual void DidStartLoading(); |
99 virtual void DidStopLoading(); | 99 virtual void DidStopLoading(); |
100 virtual void SetContentRestriction(int restrictions); | 100 virtual void SetContentRestriction(int restrictions); |
101 virtual void HasUnsupportedFeature(); | 101 virtual void HasUnsupportedFeature(); |
102 virtual void SaveURLAs(const GURL& url); | 102 virtual void SaveURLAs(const GURL& url); |
103 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); | 103 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); |
104 virtual webkit_glue::P2PTransport* CreateP2PTransport(); | 104 virtual webkit_glue::P2PTransport* CreateP2PTransport(); |
105 virtual double GetLocalTimeZoneOffset(base::Time t); | 105 virtual double GetLocalTimeZoneOffset(base::Time t); |
106 virtual std::string GetFlashCommandLineArgs(); | 106 virtual std::string GetFlashCommandLineArgs(); |
107 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); | 107 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); |
| 108 virtual ::ppapi::Preferences GetPreferences(); |
108 }; | 109 }; |
109 | 110 |
110 } // namespace ppapi | 111 } // namespace ppapi |
111 } // namespace webkit | 112 } // namespace webkit |
112 | 113 |
113 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 114 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |