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

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

Issue 8113027: Export some unix-specific content symbols (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more exports Created 9 years, 2 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_BACKING_STORE_GTK_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_GTK_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_GTK_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "content/browser/renderer_host/backing_store.h" 11 #include "content/browser/renderer_host/backing_store.h"
12 #include "content/common/content_export.h"
12 #include "ui/base/x/x11_util.h" 13 #include "ui/base/x/x11_util.h"
13 14
14 namespace gfx { 15 namespace gfx {
15 class Point; 16 class Point;
16 class Rect; 17 class Rect;
17 } // namespace gfx 18 } // namespace gfx
18 19
19 typedef struct _GdkDrawable GdkDrawable; 20 typedef struct _GdkDrawable GdkDrawable;
20 class SkBitmap; 21 class SkBitmap;
21 22
22 class BackingStoreGtk : public BackingStore { 23 class CONTENT_EXPORT BackingStoreGtk : public BackingStore {
23 public: 24 public:
24 // Create a backing store on the X server. The visual is an Xlib Visual 25 // Create a backing store on the X server. The visual is an Xlib Visual
25 // describing the format of the target window and the depth is the color 26 // describing the format of the target window and the depth is the color
26 // depth of the X window which will be drawn into. 27 // depth of the X window which will be drawn into.
27 BackingStoreGtk(RenderWidgetHost* widget, 28 BackingStoreGtk(RenderWidgetHost* widget,
28 const gfx::Size& size, 29 const gfx::Size& size,
29 void* visual, 30 void* visual,
30 int depth); 31 int depth);
31 32
32 // This is for unittesting only. An object constructed using this constructor 33 // This is for unittesting only. An object constructed using this constructor
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 XID pixmap_; 93 XID pixmap_;
93 // This is the RENDER picture pointing at |pixmap_|. 94 // This is the RENDER picture pointing at |pixmap_|.
94 XID picture_; 95 XID picture_;
95 // This is a default graphic context, used in XCopyArea 96 // This is a default graphic context, used in XCopyArea
96 void* pixmap_gc_; 97 void* pixmap_gc_;
97 98
98 DISALLOW_COPY_AND_ASSIGN(BackingStoreGtk); 99 DISALLOW_COPY_AND_ASSIGN(BackingStoreGtk);
99 }; 100 };
100 101
101 #endif // CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_GTK_H_ 102 #endif // CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698