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

Side by Side Diff: cc/test/begin_frame_source_test.cc

Issue 2527283003: cc: Introduce BeginFrame sequence numbers and acknowledgements.
Patch Set: Address Brian's comments. Created 4 years 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
« no previous file with comments | « cc/test/begin_frame_source_test.h ('k') | cc/test/begin_frame_source_test_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "cc/test/begin_frame_source_test.h" 5 #include "cc/test/begin_frame_source_test.h"
6 6
7 #include "cc/test/begin_frame_args_test.h" 7 #include "cc/test/begin_frame_args_test.h"
8 #include "testing/gmock/include/gmock/gmock.h" 8 #include "testing/gmock/include/gmock/gmock.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
(...skipping 17 matching lines...) Expand all
28 MockBeginFrameObserver::~MockBeginFrameObserver() {} 28 MockBeginFrameObserver::~MockBeginFrameObserver() {}
29 29
30 const BeginFrameArgs MockBeginFrameObserver::kDefaultBeginFrameArgs = 30 const BeginFrameArgs MockBeginFrameObserver::kDefaultBeginFrameArgs =
31 CreateBeginFrameArgsForTesting( 31 CreateBeginFrameArgsForTesting(
32 #ifdef NDEBUG 32 #ifdef NDEBUG
33 nullptr, 33 nullptr,
34 #else 34 #else
35 FROM_HERE_WITH_EXPLICIT_FUNCTION( 35 FROM_HERE_WITH_EXPLICIT_FUNCTION(
36 "MockBeginFrameObserver::kDefaultBeginFrameArgs"), 36 "MockBeginFrameObserver::kDefaultBeginFrameArgs"),
37 #endif 37 #endif
38 0,
39 BeginFrameArgs::kStartingFrameNumber,
38 -1, 40 -1,
39 -1, 41 -1,
40 -1); 42 -1);
41 43
42 } // namespace cc 44 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/begin_frame_source_test.h ('k') | cc/test/begin_frame_source_test_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698