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

Side by Side Diff: content/renderer/render_widget_fullscreen_pepper.cc

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, 8 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
« no previous file with comments | « content/renderer/render_widget_fullscreen_pepper.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/renderer/render_widget_fullscreen_pepper.h" 5 #include "content/renderer/render_widget_fullscreen_pepper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "content/common/gpu/client/gpu_channel_host.h" 9 #include "content/common/gpu/client/gpu_channel_host.h"
10 #include "content/common/view_messages.h" 10 #include "content/common/view_messages.h"
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 } 298 }
299 299
300 void RenderWidgetFullscreenPepper::DidChangeCursor( 300 void RenderWidgetFullscreenPepper::DidChangeCursor(
301 const WebKit::WebCursorInfo& cursor) { 301 const WebKit::WebCursorInfo& cursor) {
302 didChangeCursor(cursor); 302 didChangeCursor(cursor);
303 } 303 }
304 304
305 webkit::ppapi::PluginDelegate::PlatformContext3D* 305 webkit::ppapi::PluginDelegate::PlatformContext3D*
306 RenderWidgetFullscreenPepper::CreateContext3D() { 306 RenderWidgetFullscreenPepper::CreateContext3D() {
307 #ifdef ENABLE_GPU 307 #ifdef ENABLE_GPU
308 return new PlatformContext3DImpl(this); 308 return new content::PlatformContext3DImpl(this);
309 #else 309 #else
310 return NULL; 310 return NULL;
311 #endif 311 #endif
312 } 312 }
313 313
314 void RenderWidgetFullscreenPepper::WillInitiatePaint() { 314 void RenderWidgetFullscreenPepper::WillInitiatePaint() {
315 if (plugin_) 315 if (plugin_)
316 plugin_->ViewWillInitiatePaint(); 316 plugin_->ViewWillInitiatePaint();
317 } 317 }
318 318
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 511
512 WebGraphicsContext3DCommandBufferImpl* 512 WebGraphicsContext3DCommandBufferImpl*
513 RenderWidgetFullscreenPepper::GetParentContextForPlatformContext3D() { 513 RenderWidgetFullscreenPepper::GetParentContextForPlatformContext3D() {
514 if (!context_) { 514 if (!context_) {
515 CreateContext(); 515 CreateContext();
516 } 516 }
517 if (!context_) 517 if (!context_)
518 return NULL; 518 return NULL;
519 return context_; 519 return context_;
520 } 520 }
OLDNEW
« no previous file with comments | « content/renderer/render_widget_fullscreen_pepper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698