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

Side by Side Diff: ui/gfx/image/cairo_cached_surface.h

Issue 23486010: Adds a gfx_export.h to ui/gfx and converts all code in ui/gfx to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix find and replace error. Created 7 years, 3 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 | « ui/gfx/icon_util.h ('k') | ui/gfx/image/canvas_image_source.h » ('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 #ifndef UI_GFX_IMAGE_CAIRO_CACHED_SURFACE_H_ 5 #ifndef UI_GFX_IMAGE_CAIRO_CACHED_SURFACE_H_
6 #define UI_GFX_IMAGE_CAIRO_CACHED_SURFACE_H_ 6 #define UI_GFX_IMAGE_CAIRO_CACHED_SURFACE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ui/base/ui_export.h" 10 #include "ui/gfx/gfx_export.h"
11 11
12 typedef struct _GdkDisplay GdkDisplay; 12 typedef struct _GdkDisplay GdkDisplay;
13 typedef struct _GdkPixbuf GdkPixbuf; 13 typedef struct _GdkPixbuf GdkPixbuf;
14 typedef struct _GtkWidget GtkWidget; 14 typedef struct _GtkWidget GtkWidget;
15 typedef struct _cairo cairo_t; 15 typedef struct _cairo cairo_t;
16 typedef struct _cairo_surface cairo_surface_t; 16 typedef struct _cairo_surface cairo_surface_t;
17 17
18 namespace gfx { 18 namespace gfx {
19 19
20 // A helper class that takes a GdkPixbuf* and renders it to the screen. Unlike 20 // A helper class that takes a GdkPixbuf* and renders it to the screen. Unlike
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 // Our list of cached surfaces. 99% of the time, this will only contain a 76 // Our list of cached surfaces. 99% of the time, this will only contain a
77 // single entry. At most two. We need to get this right for multiple displays 77 // single entry. At most two. We need to get this right for multiple displays
78 // to work correct, since each GdkDisplay is a different display server. 78 // to work correct, since each GdkDisplay is a different display server.
79 mutable SurfaceVector surface_map_; 79 mutable SurfaceVector surface_map_;
80 }; 80 };
81 81
82 } // namespace gfx 82 } // namespace gfx
83 83
84 #endif // UI_GFX_IMAGE_CAIRO_CACHED_SURFACE_H_ 84 #endif // UI_GFX_IMAGE_CAIRO_CACHED_SURFACE_H_
OLDNEW
« no previous file with comments | « ui/gfx/icon_util.h ('k') | ui/gfx/image/canvas_image_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698