| 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 <unistd.h> | 7 #include <unistd.h> |
| 8 #include <sys/stat.h> | 8 #include <sys/stat.h> |
| 9 | 9 |
| 10 #include "base/eintr_wrapper.h" | 10 #include "base/eintr_wrapper.h" |
| 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/shared_memory.h" | 13 #include "base/shared_memory.h" |
| 14 #include "skia/ext/platform_canvas.h" | 14 #include "skia/ext/platform_canvas.h" |
| 15 | 15 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 return shared_memory_.memory(); | 84 return shared_memory_.memory(); |
| 85 } | 85 } |
| 86 | 86 |
| 87 TransportDIB::Id TransportDIB::id() const { | 87 TransportDIB::Id TransportDIB::id() const { |
| 88 return shared_memory_.id(); | 88 return shared_memory_.id(); |
| 89 } | 89 } |
| 90 | 90 |
| 91 TransportDIB::Handle TransportDIB::handle() const { | 91 TransportDIB::Handle TransportDIB::handle() const { |
| 92 return shared_memory_.handle(); | 92 return shared_memory_.handle(); |
| 93 } | 93 } |
| OLD | NEW |