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

Unified Diff: content/renderer/render_widget_fullscreen_pepper.cc

Issue 11232014: Move a bunch of code in content\renderer to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 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
« no previous file with comments | « content/renderer/render_widget_fullscreen_pepper.h ('k') | content/renderer/renderer_accessibility.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget_fullscreen_pepper.cc
===================================================================
--- content/renderer/render_widget_fullscreen_pepper.cc (revision 163045)
+++ content/renderer/render_widget_fullscreen_pepper.cc (working copy)
@@ -43,6 +43,8 @@
using WebKit::WebWidget;
using WebKit::WGC3Dintptr;
+namespace content {
+
namespace {
// See third_party/WebKit/Source/WebCore/dom/WheelEvent.h.
@@ -435,7 +437,7 @@
webkit::ppapi::PluginDelegate::PlatformContext3D*
RenderWidgetFullscreenPepper::CreateContext3D() {
#ifdef ENABLE_GPU
- return new content::PlatformContext3DImpl(this);
+ return new PlatformContext3DImpl(this);
#else
return NULL;
#endif
@@ -443,7 +445,7 @@
void RenderWidgetFullscreenPepper::ReparentContext(
webkit::ppapi::PluginDelegate::PlatformContext3D* context) {
- static_cast<content::PlatformContext3DImpl*>(context)->SetParentContext(this);
+ static_cast<PlatformContext3DImpl*>(context)->SetParentContext(this);
}
MouseLockDispatcher* RenderWidgetFullscreenPepper::GetMouseLockDispatcher() {
@@ -542,7 +544,7 @@
attributes,
true /* bind generates resources */,
active_url_,
- content::CAUSE_FOR_GPU_LAUNCH_RENDERWIDGETFULLSCREENPEPPER_CREATECONTEXT);
+ CAUSE_FOR_GPU_LAUNCH_RENDERWIDGETFULLSCREENPEPPER_CREATECONTEXT);
if (!context_)
return;
@@ -680,3 +682,5 @@
return NULL;
return context_;
}
+
+} // namespace content
« no previous file with comments | « content/renderer/render_widget_fullscreen_pepper.h ('k') | content/renderer/renderer_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698