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