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

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

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 years, 7 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.cc ('k') | gpu/DEPS » ('j') | 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"
11 #include "content/renderer/pepper/pepper_platform_context_3d_impl.h" 11 #include "content/renderer/pepper/pepper_platform_context_3d_impl.h"
12 #include "content/renderer/render_thread_impl.h" 12 #include "content/renderer/render_thread_impl.h"
13 #include "gpu/command_buffer/client/gles2_implementation.h" 13 #include "gpu/command_buffer/client/gles2_implementation.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h" 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h"
18 #include "ui/gfx/gl/gpu_preference.h" 18 #include "ui/gl/gpu_preference.h"
19 #include "webkit/plugins/ppapi/plugin_delegate.h" 19 #include "webkit/plugins/ppapi/plugin_delegate.h"
20 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 20 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
21 21
22 using WebKit::WebCanvas; 22 using WebKit::WebCanvas;
23 using WebKit::WebCompositionUnderline; 23 using WebKit::WebCompositionUnderline;
24 using WebKit::WebCursorInfo; 24 using WebKit::WebCursorInfo;
25 using WebKit::WebInputEvent; 25 using WebKit::WebInputEvent;
26 using WebKit::WebMouseEvent; 26 using WebKit::WebMouseEvent;
27 using WebKit::WebPoint; 27 using WebKit::WebPoint;
28 using WebKit::WebRect; 28 using WebKit::WebRect;
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 516
517 WebGraphicsContext3DCommandBufferImpl* 517 WebGraphicsContext3DCommandBufferImpl*
518 RenderWidgetFullscreenPepper::GetParentContextForPlatformContext3D() { 518 RenderWidgetFullscreenPepper::GetParentContextForPlatformContext3D() {
519 if (!context_) { 519 if (!context_) {
520 CreateContext(); 520 CreateContext();
521 } 521 }
522 if (!context_) 522 if (!context_)
523 return NULL; 523 return NULL;
524 return context_; 524 return context_;
525 } 525 }
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | gpu/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698