OLD | NEW |
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 CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_WIN_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_WIN_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_WIN_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_WIN_H_ |
7 #pragma once | |
8 | 7 |
9 #include <windows.h> | 8 #include <windows.h> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
13 #include "content/browser/renderer_host/backing_store.h" | 12 #include "content/browser/renderer_host/backing_store.h" |
14 | 13 |
15 class BackingStoreWin : public BackingStore { | 14 class BackingStoreWin : public BackingStore { |
16 public: | 15 public: |
17 BackingStoreWin(content::RenderWidgetHost* widget, const gfx::Size& size); | 16 BackingStoreWin(content::RenderWidgetHost* widget, const gfx::Size& size); |
(...skipping 30 matching lines...) Expand all Loading... |
48 // Handle to the original bitmap in the dc. | 47 // Handle to the original bitmap in the dc. |
49 HANDLE original_bitmap_; | 48 HANDLE original_bitmap_; |
50 | 49 |
51 // Number of bits per pixel of the screen. | 50 // Number of bits per pixel of the screen. |
52 int color_depth_; | 51 int color_depth_; |
53 | 52 |
54 DISALLOW_COPY_AND_ASSIGN(BackingStoreWin); | 53 DISALLOW_COPY_AND_ASSIGN(BackingStoreWin); |
55 }; | 54 }; |
56 | 55 |
57 #endif // CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_WIN_H_ | 56 #endif // CONTENT_BROWSER_RENDERER_HOST_BACKING_STORE_WIN_H_ |
OLD | NEW |