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

Unified Diff: content/browser/renderer_host/backing_store_gtk.h

Issue 10804031: Move more files into the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/backing_store_gtk.h
===================================================================
--- content/browser/renderer_host/backing_store_gtk.h (revision 147462)
+++ content/browser/renderer_host/backing_store_gtk.h (working copy)
@@ -17,24 +17,25 @@
namespace gfx {
class Point;
class Rect;
-} // namespace gfx
+}
-
typedef struct _GdkDrawable GdkDrawable;
+namespace content {
+
class CONTENT_EXPORT BackingStoreGtk : public BackingStore {
public:
// Create a backing store on the X server. The visual is an Xlib Visual
// describing the format of the target window and the depth is the color
// depth of the X window which will be drawn into.
- BackingStoreGtk(content::RenderWidgetHost* widget,
+ BackingStoreGtk(RenderWidgetHost* widget,
const gfx::Size& size,
void* visual,
int depth);
// This is for unittesting only. An object constructed using this constructor
// will silently ignore all paints
- BackingStoreGtk(content::RenderWidgetHost* widget, const gfx::Size& size);
+ BackingStoreGtk(RenderWidgetHost* widget, const gfx::Size& size);
virtual ~BackingStoreGtk();
@@ -59,7 +60,7 @@
// BackingStore implementation.
virtual size_t MemorySize() OVERRIDE;
virtual void PaintToBackingStore(
- content::RenderProcessHost* process,
+ RenderProcessHost* process,
TransportDIB::Id bitmap,
const gfx::Rect& bitmap_rect,
const std::vector<gfx::Rect>& copy_rects,
@@ -104,4 +105,6 @@
DISALLOW_COPY_AND_ASSIGN(BackingStoreGtk);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_GTK_H_
« no previous file with comments | « content/browser/renderer_host/backing_store_aura.cc ('k') | content/browser/renderer_host/backing_store_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698