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

Unified Diff: content/browser/renderer_host/backing_store_mac.mm

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_mac.mm
===================================================================
--- content/browser/renderer_host/backing_store_mac.mm (revision 147462)
+++ content/browser/renderer_host/backing_store_mac.mm (working copy)
@@ -19,6 +19,8 @@
#include "ui/gfx/scoped_cg_context_save_gstate_mac.h"
#include "ui/surface/transport_dib.h"
+namespace content {
+
// Mac Backing Stores:
//
// Since backing stores are only ever written to or drawn into windows, we keep
@@ -26,7 +28,7 @@
// allows acclerated drawing into the layer and lets scrolling and such happen
// all or mostly on the GPU, which is good for performance.
-BackingStoreMac::BackingStoreMac(content::RenderWidgetHost* widget,
+BackingStoreMac::BackingStoreMac(RenderWidgetHost* widget,
const gfx::Size& size,
float device_scale_factor)
: BackingStore(widget, size), device_scale_factor_(device_scale_factor) {
@@ -68,7 +70,7 @@
}
void BackingStoreMac::PaintToBackingStore(
- content::RenderProcessHost* process,
+ RenderProcessHost* process,
TransportDIB::Id bitmap,
const gfx::Rect& bitmap_rect,
const std::vector<gfx::Rect>& copy_rects,
@@ -283,3 +285,5 @@
return context;
}
+
+} // namespace content
« no previous file with comments | « content/browser/renderer_host/backing_store_mac.h ('k') | content/browser/renderer_host/backing_store_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698