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 "components/scheduler/renderer/render_widget_signals.h" | 5 #include "components/scheduler/renderer/render_widget_signals.h" |
6 | 6 |
| 7 #include "base/macros.h" |
7 #include "components/scheduler/renderer/render_widget_scheduling_state.h" | 8 #include "components/scheduler/renderer/render_widget_scheduling_state.h" |
8 #include "testing/gmock/include/gmock/gmock.h" | 9 #include "testing/gmock/include/gmock/gmock.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
10 | 11 |
11 using testing::AnyNumber; | 12 using testing::AnyNumber; |
12 using testing::Mock; | 13 using testing::Mock; |
13 using testing::_; | 14 using testing::_; |
14 | 15 |
15 namespace scheduler { | 16 namespace scheduler { |
16 | 17 |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 EXPECT_CALL(*mock_observer_, SetAllRenderWidgetsHidden(true)).Times(1); | 257 EXPECT_CALL(*mock_observer_, SetAllRenderWidgetsHidden(true)).Times(1); |
257 widget_state->SetHidden(true); | 258 widget_state->SetHidden(true); |
258 Mock::VerifyAndClearExpectations(mock_observer_.get()); | 259 Mock::VerifyAndClearExpectations(mock_observer_.get()); |
259 | 260 |
260 EXPECT_CALL(*mock_observer_, SetHasVisibleRenderWidgetWithTouchHandler(_)) | 261 EXPECT_CALL(*mock_observer_, SetHasVisibleRenderWidgetWithTouchHandler(_)) |
261 .Times(0); | 262 .Times(0); |
262 IgnoreWidgetDestructionCallbacks(); | 263 IgnoreWidgetDestructionCallbacks(); |
263 } | 264 } |
264 | 265 |
265 } // namespace scheduler | 266 } // namespace scheduler |
OLD | NEW |