Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: components/scheduler/renderer/render_widget_signals_unittest.cpp

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/scheduler/renderer/idle_time_estimator.h ('k') | components/scheduler/renderer/renderer_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698