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

Unified Diff: content/browser/renderer_host/backing_store.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.h
===================================================================
--- content/browser/renderer_host/backing_store.h (revision 147462)
+++ content/browser/renderer_host/backing_store.h (working copy)
@@ -19,21 +19,20 @@
class Rect;
}
+namespace skia {
+class PlatformCanvas;
+}
+
namespace content {
class RenderProcessHost;
class RenderWidgetHost;
-}
-namespace skia {
-class PlatformCanvas;
-}
-
// Represents a backing store for the pixels in a RenderWidgetHost.
class CONTENT_EXPORT BackingStore {
public:
virtual ~BackingStore();
- content::RenderWidgetHost* render_widget_host() const {
+ RenderWidgetHost* render_widget_host() const {
return render_widget_host_;
}
const gfx::Size& size() { return size_; }
@@ -54,7 +53,7 @@
// the time it returns, in which case it will set |scheduled_callback| to
// true and will call |callback| when completed.
virtual void PaintToBackingStore(
- content::RenderProcessHost* process,
+ RenderProcessHost* process,
TransportDIB::Id bitmap,
const gfx::Rect& bitmap_rect,
const std::vector<gfx::Rect>& copy_rects,
@@ -76,11 +75,11 @@
const gfx::Size& view_size) = 0;
protected:
// Can only be constructed via subclasses.
- BackingStore(content::RenderWidgetHost* widget, const gfx::Size& size);
+ BackingStore(RenderWidgetHost* widget, const gfx::Size& size);
private:
// The owner of this backing store.
- content::RenderWidgetHost* render_widget_host_;
+ RenderWidgetHost* render_widget_host_;
// The size of the backing store.
gfx::Size size_;
@@ -88,4 +87,6 @@
DISALLOW_COPY_AND_ASSIGN(BackingStore);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_H_
« no previous file with comments | « content/browser/renderer_host/async_resource_handler.cc ('k') | content/browser/renderer_host/backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698