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

Side by Side Diff: content/browser/renderer_host/backing_store_skia.h

Issue 6532073: Move core pieces of browser\renderer_host to src\content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_RENDERER_HOST_BACKING_STORE_SKIA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_SKIA_H_
6 #define CHROME_BROWSER_RENDERER_HOST_BACKING_STORE_SKIA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_SKIA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/renderer_host/backing_store.h" 10 #include "content/browser/renderer_host/backing_store.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 11 #include "third_party/skia/include/core/SkBitmap.h"
12 12
13 class SkCanvas; 13 class SkCanvas;
14 14
15 namespace gfx { 15 namespace gfx {
16 class Point; 16 class Point;
17 class Canvas; 17 class Canvas;
18 } 18 }
19 19
20 // A backing store that uses skia. This is a temporary backing store used by 20 // A backing store that uses skia. This is a temporary backing store used by
(...skipping 20 matching lines...) Expand all
41 const gfx::Size& view_size); 41 const gfx::Size& view_size);
42 42
43 private: 43 private:
44 SkBitmap bitmap_; 44 SkBitmap bitmap_;
45 45
46 scoped_ptr<SkCanvas> canvas_; 46 scoped_ptr<SkCanvas> canvas_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(BackingStoreSkia); 48 DISALLOW_COPY_AND_ASSIGN(BackingStoreSkia);
49 }; 49 };
50 50
51 #endif // CHROME_BROWSER_RENDERER_HOST_BACKING_STORE_SKIA_H_ 51 #endif // CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_SKIA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698