| OLD | NEW |
| 1 // Copyright (c) 2009 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 #include "app/surface/transport_dib.h" | 5 #include "ui/gfx/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/scoped_ptr.h" | 12 #include "base/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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 return shared_memory_.memory(); | 96 return shared_memory_.memory(); |
| 97 } | 97 } |
| 98 | 98 |
| 99 TransportDIB::Handle TransportDIB::handle() const { | 99 TransportDIB::Handle TransportDIB::handle() const { |
| 100 return shared_memory_.handle(); | 100 return shared_memory_.handle(); |
| 101 } | 101 } |
| 102 | 102 |
| 103 TransportDIB::Id TransportDIB::id() const { | 103 TransportDIB::Id TransportDIB::id() const { |
| 104 return Id(handle(), sequence_num_); | 104 return Id(handle(), sequence_num_); |
| 105 } | 105 } |
| OLD | NEW |