Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Side by Side Diff: content/renderer/pepper_plugin_delegate_impl.h

Issue 7715020: Move P2P code to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 HasUnsupportedFeature() OVERRIDE; 297 virtual void HasUnsupportedFeature() OVERRIDE;
298 virtual void SaveURLAs(const GURL& url) OVERRIDE; 298 virtual void SaveURLAs(const GURL& url) OVERRIDE;
299 virtual P2PSocketDispatcher* GetP2PSocketDispatcher() OVERRIDE; 299 virtual content::P2PSocketDispatcher* GetP2PSocketDispatcher() OVERRIDE;
300 virtual webkit_glue::P2PTransport* CreateP2PTransport() OVERRIDE; 300 virtual webkit_glue::P2PTransport* CreateP2PTransport() OVERRIDE;
301 virtual double GetLocalTimeZoneOffset(base::Time t) OVERRIDE; 301 virtual double GetLocalTimeZoneOffset(base::Time t) OVERRIDE;
302 virtual std::string GetFlashCommandLineArgs() OVERRIDE; 302 virtual std::string GetFlashCommandLineArgs() OVERRIDE;
303 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size) 303 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size)
304 OVERRIDE; 304 OVERRIDE;
305 virtual ::ppapi::Preferences GetPreferences() OVERRIDE; 305 virtual ::ppapi::Preferences GetPreferences() OVERRIDE;
306 306
307 private: 307 private:
308 void PublishInitialPolicy( 308 void PublishInitialPolicy(
309 scoped_refptr<webkit::ppapi::PluginInstance> instance, 309 scoped_refptr<webkit::ppapi::PluginInstance> instance,
(...skipping 30 matching lines...) Expand all
340 bool is_pepper_plugin_focused_; 340 bool is_pepper_plugin_focused_;
341 341
342 // Set of instances to receive a notification when the enterprise policy has 342 // Set of instances to receive a notification when the enterprise policy has
343 // been updated. 343 // been updated.
344 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_; 344 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_;
345 345
346 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 346 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
347 }; 347 };
348 348
349 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 349 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698