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

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

Issue 9340012: Move gpu client files to content_common, in content/common/gpu/client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneeded enums Created 8 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 const PP_NetAddress_Private& addr); 424 const PP_NetAddress_Private& addr);
425 425
426 CONTENT_EXPORT int GetRoutingId() const; 426 CONTENT_EXPORT int GetRoutingId() const;
427 427
428 private: 428 private:
429 // Asynchronously attempts to create a PPAPI broker for the given plugin. 429 // Asynchronously attempts to create a PPAPI broker for the given plugin.
430 scoped_refptr<PpapiBrokerImpl> CreatePpapiBroker( 430 scoped_refptr<PpapiBrokerImpl> CreatePpapiBroker(
431 webkit::ppapi::PluginModule* plugin_module); 431 webkit::ppapi::PluginModule* plugin_module);
432 432
433 // Implementation of PepperParentContextProvider. 433 // Implementation of PepperParentContextProvider.
434 virtual RendererGLContext* GetParentContextForPlatformContext3D() OVERRIDE; 434 virtual ContentGLContext* GetParentContextForPlatformContext3D() OVERRIDE;
435 435
436 // Helper function to check that TCP/UDP private APIs are allowed for current 436 // Helper function to check that TCP/UDP private APIs are allowed for current
437 // page. This check actually allows socket usage for NativeClient code only. 437 // page. This check actually allows socket usage for NativeClient code only.
438 // It is better to move this check to browser process but Pepper message 438 // It is better to move this check to browser process but Pepper message
439 // filters in browser process have no context about page that sent 439 // filters in browser process have no context about page that sent
440 // the request. Doing this check in render process is safe because NaCl code 440 // the request. Doing this check in render process is safe because NaCl code
441 // is executed in separate NaCl process. 441 // is executed in separate NaCl process.
442 // TODO(dpolukhin, yzshen): make the check consistent for in- and out-process 442 // TODO(dpolukhin, yzshen): make the check consistent for in- and out-process
443 // cases and do the check during socket creation in the browser process. 443 // cases and do the check during socket creation in the browser process.
444 bool CanUseSocketAPIs(); 444 bool CanUseSocketAPIs();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 // |last_mouse_event_target_| is not owned by this class. We can know about 486 // |last_mouse_event_target_| is not owned by this class. We can know about
487 // when it is destroyed via InstanceDeleted(). 487 // when it is destroyed via InstanceDeleted().
488 webkit::ppapi::PluginInstance* last_mouse_event_target_; 488 webkit::ppapi::PluginInstance* last_mouse_event_target_;
489 489
490 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 490 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
491 491
492 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 492 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
493 }; 493 };
494 494
495 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 495 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper_platform_context_3d_impl.cc ('k') | content/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698