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

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

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 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(RenderWidgetHost* widget, const gfx::Size& size) 7 BackingStore::BackingStore(content::RenderWidgetHost* widget,
8 const gfx::Size& size)
8 : render_widget_host_(widget), 9 : render_widget_host_(widget),
9 size_(size) { 10 size_(size) {
10 } 11 }
11 12
12 BackingStore::~BackingStore() { 13 BackingStore::~BackingStore() {
13 } 14 }
14 15
15 size_t BackingStore::MemorySize() { 16 size_t BackingStore::MemorySize() {
16 return size_.GetArea() * 4; 17 return size_.GetArea() * 4;
17 } 18 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/backing_store.h ('k') | content/browser/renderer_host/backing_store_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698