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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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_manager.h
diff --git a/content/browser/renderer_host/backing_store_manager.h b/content/browser/renderer_host/backing_store_manager.h
index ba9e5b75fbb5cfad885c78798171fbec18176da3..00f11e1dcf115ea1e940e47e2bd629f99e3453b4 100644
--- a/content/browser/renderer_host/backing_store_manager.h
+++ b/content/browser/renderer_host/backing_store_manager.h
@@ -16,7 +16,10 @@
#include "ui/gfx/surface/transport_dib.h"
class BackingStore;
+
+namespace content {
class RenderWidgetHost;
+}
// This class manages backing stores in the browsr. Every RenderWidgetHost is
// associated with a backing store which it requests from this class. The
@@ -29,7 +32,7 @@ class BackingStoreManager {
// backing_store_rect
// The desired backing store dimensions.
// Returns a pointer to the backing store on success, NULL on failure.
- static BackingStore* GetBackingStore(RenderWidgetHost* host,
+ static BackingStore* GetBackingStore(content::RenderWidgetHost* host,
const gfx::Size& desired_size);
// Makes a backing store which is fully ready for consumption, i.e. the
@@ -45,7 +48,7 @@ class BackingStoreManager {
// Set if we need to send out a request to paint the view
// to the renderer.
static void PrepareBackingStore(
- RenderWidgetHost* host,
+ content::RenderWidgetHost* host,
const gfx::Size& backing_store_size,
TransportDIB::Id bitmap,
const gfx::Rect& bitmap_rect,
@@ -56,10 +59,10 @@ class BackingStoreManager {
// Returns a matching backing store for the host.
// Returns NULL if we fail to find one.
- static BackingStore* Lookup(RenderWidgetHost* host);
+ static BackingStore* Lookup(content::RenderWidgetHost* host);
// Removes the backing store for the host.
- static void RemoveBackingStore(RenderWidgetHost* host);
+ static void RemoveBackingStore(content::RenderWidgetHost* host);
// Removes all backing stores.
static void RemoveAllBackingStores();
« no previous file with comments | « content/browser/renderer_host/backing_store_mac.mm ('k') | content/browser/renderer_host/backing_store_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698