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

Side by Side Diff: content/renderer/pepper/pepper_platform_image_2d_impl.cc

Issue 10351002: ui: Move surface/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gpu DEPS 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/public/common/common_param_traits.h ('k') | content/renderer/render_process_impl.cc » ('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/pepper/pepper_platform_image_2d_impl.h" 5 #include "content/renderer/pepper/pepper_platform_image_2d_impl.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/common/view_messages.h" 8 #include "content/common/view_messages.h"
9 #include "content/renderer/render_thread_impl.h" 9 #include "content/renderer/render_thread_impl.h"
10 #include "ui/gfx/surface/transport_dib.h" 10 #include "ui/surface/transport_dib.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 PepperPlatformImage2DImpl::PepperPlatformImage2DImpl(int width, 14 PepperPlatformImage2DImpl::PepperPlatformImage2DImpl(int width,
15 int height, 15 int height,
16 TransportDIB* dib) 16 TransportDIB* dib)
17 : width_(width), 17 : width_(width),
18 height_(height), 18 height_(height),
19 dib_(dib) { 19 dib_(dib) {
20 } 20 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 #elif defined(OS_POSIX) 77 #elif defined(OS_POSIX)
78 return static_cast<intptr_t>(dib_->handle()); 78 return static_cast<intptr_t>(dib_->handle());
79 #endif 79 #endif
80 } 80 }
81 81
82 TransportDIB* PepperPlatformImage2DImpl::GetTransportDIB() const { 82 TransportDIB* PepperPlatformImage2DImpl::GetTransportDIB() const {
83 return dib_.get(); 83 return dib_.get();
84 } 84 }
85 85
86 } // namespace content 86 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/common_param_traits.h ('k') | content/renderer/render_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698