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

Unified Diff: content/renderer/pepper/pepper_plugin_delegate_impl.h

Issue 9959037: Put the Pepper stuff in the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/pepper_plugin_delegate_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.h b/content/renderer/pepper/pepper_plugin_delegate_impl.h
index 5ee07afe15294a1d887b37d99d252df29737bca3..0934df8919e1e959a3d46586701b21d2bd666feb 100644
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.h
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.h
@@ -29,15 +29,8 @@
#include "webkit/plugins/ppapi/ppb_flash_menu_impl.h"
class FilePath;
-class PepperBrokerImpl;
-class PepperDeviceEnumerationEventHandler;
-class PepperPluginDelegateImpl;
class RenderViewImpl;
-
-namespace content {
-class GamepadSharedMemoryReader;
-struct CustomContextMenuContext;
-}
+class TransportDIB;
namespace gfx {
class Point;
@@ -69,13 +62,19 @@ struct WebCompositionUnderline;
struct WebFileChooserParams;
}
-class TransportDIB;
+namespace content {
+
+struct CustomContextMenuContext;
+class GamepadSharedMemoryReader;
+class PepperBrokerImpl;
+class PepperDeviceEnumerationEventHandler;
+class PepperPluginDelegateImpl;
class PepperPluginDelegateImpl
: public webkit::ppapi::PluginDelegate,
public base::SupportsWeakPtr<PepperPluginDelegateImpl>,
public PepperParentContextProvider,
- public content::RenderViewObserver {
+ public RenderViewObserver {
public:
explicit PepperPluginDelegateImpl(RenderViewImpl* render_view);
virtual ~PepperPluginDelegateImpl();
@@ -317,9 +316,9 @@ class PepperPluginDelegateImpl
webkit::ppapi::PPB_Flash_Menu_Impl* menu,
const gfx::Point& position) OVERRIDE;
void OnContextMenuClosed(
- const content::CustomContextMenuContext& custom_context);
+ const CustomContextMenuContext& custom_context);
void OnCustomContextMenuAction(
- const content::CustomContextMenuContext& custom_context,
+ const CustomContextMenuContext& custom_context,
unsigned action);
void CompleteShowContextMenu(int request_id,
bool did_select,
@@ -477,7 +476,7 @@ class PepperPluginDelegateImpl
// when it is destroyed via InstanceDeleted().
webkit::ppapi::PluginInstance* last_mouse_event_target_;
- scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
+ scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
scoped_ptr<PepperDeviceEnumerationEventHandler>
device_enumeration_event_handler_;
@@ -485,4 +484,6 @@ class PepperPluginDelegateImpl
DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
};
+} // namespace content
+
#endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
« no previous file with comments | « content/renderer/pepper/pepper_platform_video_capture_impl.cc ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698