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

Unified Diff: content/browser/renderer_host/backing_store_manager.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_manager.h
===================================================================
--- content/browser/renderer_host/backing_store_manager.h (revision 147462)
+++ content/browser/renderer_host/backing_store_manager.h (working copy)
@@ -14,11 +14,9 @@
#include "ui/gfx/size.h"
#include "ui/surface/transport_dib.h"
+namespace content {
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
@@ -31,7 +29,7 @@
// backing_store_rect
// The desired backing store dimensions.
// Returns a pointer to the backing store on success, NULL on failure.
- static BackingStore* GetBackingStore(content::RenderWidgetHost* host,
+ static BackingStore* GetBackingStore(RenderWidgetHost* host,
const gfx::Size& desired_size);
// Makes a backing store which is fully ready for consumption, i.e. the
@@ -53,7 +51,7 @@
// Set if we need to send out a request to paint the view
// to the renderer.
static void PrepareBackingStore(
- content::RenderWidgetHost* host,
+ RenderWidgetHost* host,
const gfx::Size& backing_store_size,
TransportDIB::Id bitmap,
const gfx::Rect& bitmap_rect,
@@ -65,10 +63,10 @@
// Returns a matching backing store for the host.
// Returns NULL if we fail to find one.
- static BackingStore* Lookup(content::RenderWidgetHost* host);
+ static BackingStore* Lookup(RenderWidgetHost* host);
// Removes the backing store for the host.
- static void RemoveBackingStore(content::RenderWidgetHost* host);
+ static void RemoveBackingStore(RenderWidgetHost* host);
// Removes all backing stores.
static void RemoveAllBackingStores();
@@ -83,4 +81,6 @@
DISALLOW_COPY_AND_ASSIGN(BackingStoreManager);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_MANAGER_H_
« 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