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_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <map> | 10 #include <map> |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 virtual std::string GetDefaultEncoding() OVERRIDE; | 291 virtual std::string GetDefaultEncoding() OVERRIDE; |
292 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor) | 292 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor) |
293 OVERRIDE; | 293 OVERRIDE; |
294 virtual void SubscribeToPolicyUpdates( | 294 virtual void SubscribeToPolicyUpdates( |
295 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 295 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
296 virtual std::string ResolveProxy(const GURL& url) OVERRIDE; | 296 virtual std::string ResolveProxy(const GURL& url) OVERRIDE; |
297 virtual void DidStartLoading() OVERRIDE; | 297 virtual void DidStartLoading() OVERRIDE; |
298 virtual void DidStopLoading() OVERRIDE; | 298 virtual void DidStopLoading() OVERRIDE; |
299 virtual void SetContentRestriction(int restrictions) OVERRIDE; | 299 virtual void SetContentRestriction(int restrictions) OVERRIDE; |
300 virtual void SaveURLAs(const GURL& url) OVERRIDE; | 300 virtual void SaveURLAs(const GURL& url) OVERRIDE; |
301 virtual content::P2PSocketDispatcher* GetP2PSocketDispatcher() OVERRIDE; | |
302 virtual webkit_glue::P2PTransport* CreateP2PTransport() OVERRIDE; | 301 virtual webkit_glue::P2PTransport* CreateP2PTransport() OVERRIDE; |
303 virtual double GetLocalTimeZoneOffset(base::Time t) OVERRIDE; | 302 virtual double GetLocalTimeZoneOffset(base::Time t) OVERRIDE; |
304 virtual std::string GetFlashCommandLineArgs() OVERRIDE; | 303 virtual std::string GetFlashCommandLineArgs() OVERRIDE; |
305 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size) | 304 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size) |
306 OVERRIDE; | 305 OVERRIDE; |
307 virtual ::ppapi::Preferences GetPreferences() OVERRIDE; | 306 virtual ::ppapi::Preferences GetPreferences() OVERRIDE; |
308 | 307 |
309 CONTENT_EXPORT int GetRoutingId() const; | 308 CONTENT_EXPORT int GetRoutingId() const; |
310 | 309 |
311 private: | 310 private: |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 bool is_pepper_plugin_focused_; | 343 bool is_pepper_plugin_focused_; |
345 | 344 |
346 // Set of instances to receive a notification when the enterprise policy has | 345 // Set of instances to receive a notification when the enterprise policy has |
347 // been updated. | 346 // been updated. |
348 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_; | 347 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_; |
349 | 348 |
350 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 349 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
351 }; | 350 }; |
352 | 351 |
353 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 352 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |