OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/gfx/surface/transport_dib.h" | 5 #include "ui/surface/transport_dib.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 | 8 |
9 #include <limits> | 9 #include <limits> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/sys_info.h" | 13 #include "base/sys_info.h" |
14 #include "skia/ext/platform_canvas.h" | 14 #include "skia/ext/platform_canvas.h" |
15 | 15 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 return shared_memory_.memory(); | 101 return shared_memory_.memory(); |
102 } | 102 } |
103 | 103 |
104 TransportDIB::Handle TransportDIB::handle() const { | 104 TransportDIB::Handle TransportDIB::handle() const { |
105 return shared_memory_.handle(); | 105 return shared_memory_.handle(); |
106 } | 106 } |
107 | 107 |
108 TransportDIB::Id TransportDIB::id() const { | 108 TransportDIB::Id TransportDIB::id() const { |
109 return Id(handle(), sequence_num_); | 109 return Id(handle(), sequence_num_); |
110 } | 110 } |
OLD | NEW |