| 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 #include "remoting/host/capturer.h" | 5 #include "remoting/host/capturer.h" |
| 6 | 6 |
| 7 #include <ApplicationServices/ApplicationServices.h> | 7 #include <ApplicationServices/ApplicationServices.h> |
| 8 | 8 |
| 9 #include <iostream> | 9 #include <ostream> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 14 |
| 15 namespace remoting { | 15 namespace remoting { |
| 16 | 16 |
| 17 class CapturerMacTest : public testing::Test { | 17 class CapturerMacTest : public testing::Test { |
| 18 protected: | 18 protected: |
| 19 virtual void SetUp() { | 19 virtual void SetUp() { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 for (SkRegion::Iterator i(region); !i.done(); i.next()) { | 107 for (SkRegion::Iterator i(region); !i.done(); i.next()) { |
| 108 const SkIRect& r = i.rect(); | 108 const SkIRect& r = i.rect(); |
| 109 out << "(" << r.fLeft << "," << r.fTop << "," | 109 out << "(" << r.fLeft << "," << r.fTop << "," |
| 110 << r.fRight << "," << r.fBottom << ")"; | 110 << r.fRight << "," << r.fBottom << ")"; |
| 111 } | 111 } |
| 112 out << ")"; | 112 out << ")"; |
| 113 return out; | 113 return out; |
| 114 } | 114 } |
| 115 | 115 |
| 116 } // namespace gfx | 116 } // namespace gfx |
| OLD | NEW |