OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/core/contents/blimp_contents_impl.h" | 5 #include "blimp/client/core/contents/blimp_contents_impl.h" |
6 | 6 |
| 7 #include "base/memory/ptr_util.h" |
7 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
8 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
9 #include "blimp/client/core/compositor/blimp_compositor_dependencies.h" | 10 #include "blimp/client/core/compositor/blimp_compositor_dependencies.h" |
10 #include "blimp/client/core/contents/fake_navigation_feature.h" | 11 #include "blimp/client/core/contents/fake_navigation_feature.h" |
11 #include "blimp/client/core/contents/ime_feature.h" | 12 #include "blimp/client/core/contents/ime_feature.h" |
12 #include "blimp/client/core/contents/tab_control_feature.h" | 13 #include "blimp/client/core/contents/tab_control_feature.h" |
13 #include "blimp/client/core/render_widget/render_widget_feature.h" | 14 #include "blimp/client/core/render_widget/render_widget_feature.h" |
14 #include "blimp/client/public/contents/blimp_contents_observer.h" | 15 #include "blimp/client/public/contents/blimp_contents_observer.h" |
15 #include "blimp/client/test/compositor/mock_compositor_dependencies.h" | 16 #include "blimp/client/test/compositor/mock_compositor_dependencies.h" |
16 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 120 |
120 EXPECT_CALL(tab_control_feature, | 121 EXPECT_CALL(tab_control_feature, |
121 SetSizeAndScale(gfx::Size(width, height), dp_to_px)).Times(1); | 122 SetSizeAndScale(gfx::Size(width, height), dp_to_px)).Times(1); |
122 | 123 |
123 blimp_contents.SetSizeAndScale(gfx::Size(width, height), dp_to_px); | 124 blimp_contents.SetSizeAndScale(gfx::Size(width, height), dp_to_px); |
124 } | 125 } |
125 | 126 |
126 } // namespace | 127 } // namespace |
127 } // namespace client | 128 } // namespace client |
128 } // namespace blimp | 129 } // namespace blimp |
OLD | NEW |