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

Side by Side Diff: content/browser/renderer_host/image_transport_client.h

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
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 #ifndef CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_CLIENT_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_CLIENT_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ui/gfx/compositor/compositor.h" 10 #include "ui/gfx/compositor/compositor.h"
11 #include "ui/gfx/surface/transport_dib.h" 11 #include "ui/surface/transport_dib.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 class Size; 14 class Size;
15 } 15 }
16 class ImageTransportFactory; 16 class ImageTransportFactory;
17 17
18 // This is a client for ImageTransportSurface, that handles the 18 // This is a client for ImageTransportSurface, that handles the
19 // platform-specific task of binding the transport surface to a GL texture. 19 // platform-specific task of binding the transport surface to a GL texture.
20 // The GL texture is allocated in the ImageTransportFactory context, and the 20 // The GL texture is allocated in the ImageTransportFactory context, and the
21 // data is only valid after the first Update(). 21 // data is only valid after the first Update().
(...skipping 17 matching lines...) Expand all
39 39
40 protected: 40 protected:
41 ImageTransportClient(bool flipped, const gfx::Size& size); 41 ImageTransportClient(bool flipped, const gfx::Size& size);
42 42
43 private: 43 private:
44 DISALLOW_COPY_AND_ASSIGN(ImageTransportClient); 44 DISALLOW_COPY_AND_ASSIGN(ImageTransportClient);
45 }; 45 };
46 46
47 #endif // CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_CLIENT_H_ 47 #endif // CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_CLIENT_H_
48 48
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositing_iosurface_mac.mm ('k') | content/browser/renderer_host/render_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698