summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/backing_store.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-21 01:29:58 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-21 01:29:58 +0000
commitfc4616f709326079afa312054c25132b821a2b2a (patch)
treeb7efeb3f51ac364da3b52c085c9417311e19a26a /content/browser/renderer_host/backing_store.h
parentc35a22196ec63f3677b77c38b7b5768078d0ecaf (diff)
downloadchromium_src-fc4616f709326079afa312054c25132b821a2b2a.zip
chromium_src-fc4616f709326079afa312054c25132b821a2b2a.tar.gz
chromium_src-fc4616f709326079afa312054c25132b821a2b2a.tar.bz2
Move more files into the content namespace.
Review URL: https://chromiumcodereview.appspot.com/10804031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/backing_store.h')
-rw-r--r--content/browser/renderer_host/backing_store.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/content/browser/renderer_host/backing_store.h b/content/browser/renderer_host/backing_store.h
index 069af89..825098e 100644
--- a/content/browser/renderer_host/backing_store.h
+++ b/content/browser/renderer_host/backing_store.h
@@ -19,21 +19,20 @@ namespace gfx {
class Rect;
}
-namespace content {
-class RenderProcessHost;
-class RenderWidgetHost;
-}
-
namespace skia {
class PlatformCanvas;
}
+namespace content {
+class RenderProcessHost;
+class RenderWidgetHost;
+
// 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 @@ class CONTENT_EXPORT BackingStore {
// 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 @@ class CONTENT_EXPORT BackingStore {
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 @@ class CONTENT_EXPORT BackingStore {
DISALLOW_COPY_AND_ASSIGN(BackingStore);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_H_