| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "blimp/client/session/tab_control_feature.h" | 5 #include "blimp/client/feature/tab_control_feature.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "blimp/common/proto/blimp_message.pb.h" | 9 #include "blimp/common/proto/blimp_message.pb.h" |
| 10 #include "blimp/common/proto/tab_control.pb.h" | 10 #include "blimp/common/proto/tab_control.pb.h" |
| 11 #include "blimp/net/test_common.h" | 11 #include "blimp/net/test_common.h" |
| 12 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
| 13 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 #include "ui/gfx/geometry/size.h" | 15 #include "ui/gfx/geometry/size.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 feature_.SetSizeAndScale(gfx::Size(width, height), dp_to_px); | 83 feature_.SetSizeAndScale(gfx::Size(width, height), dp_to_px); |
| 84 feature_.SetSizeAndScale(gfx::Size(width, height), dp_to_px); | 84 feature_.SetSizeAndScale(gfx::Size(width, height), dp_to_px); |
| 85 feature_.SetSizeAndScale(gfx::Size(width, height), dp_to_px + 1); | 85 feature_.SetSizeAndScale(gfx::Size(width, height), dp_to_px + 1); |
| 86 feature_.SetSizeAndScale(gfx::Size(width + 1, height), dp_to_px + 1); | 86 feature_.SetSizeAndScale(gfx::Size(width + 1, height), dp_to_px + 1); |
| 87 feature_.SetSizeAndScale(gfx::Size(width + 1, height + 1), dp_to_px + 1); | 87 feature_.SetSizeAndScale(gfx::Size(width + 1, height + 1), dp_to_px + 1); |
| 88 } | 88 } |
| 89 | 89 |
| 90 } // namespace client | 90 } // namespace client |
| 91 } // namespace blimp | 91 } // namespace blimp |
| OLD | NEW |