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

Side by Side Diff: content/browser/renderer_host/backing_store.cc

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/backing_store.h" 5 #include "content/browser/renderer_host/backing_store.h"
6 6
7 BackingStore::BackingStore(content::RenderWidgetHost* widget, 7 namespace content {
8 const gfx::Size& size) 8
9 BackingStore::BackingStore(RenderWidgetHost* widget, const gfx::Size& size)
9 : render_widget_host_(widget), 10 : render_widget_host_(widget),
10 size_(size) { 11 size_(size) {
11 } 12 }
12 13
13 BackingStore::~BackingStore() { 14 BackingStore::~BackingStore() {
14 } 15 }
15 16
16 size_t BackingStore::MemorySize() { 17 size_t BackingStore::MemorySize() {
17 return size_.GetArea() * 4; 18 return size_.GetArea() * 4;
18 } 19 }
20
21 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/backing_store.h ('k') | content/browser/renderer_host/backing_store_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698