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

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

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 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_args_test.cc ('k') | cc/test/failure_output_surface.h » ('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 #ifndef CC_TEST_BEGIN_FRAME_SOURCE_TEST_H_ 5 #ifndef CC_TEST_BEGIN_FRAME_SOURCE_TEST_H_
6 #define CC_TEST_BEGIN_FRAME_SOURCE_TEST_H_ 6 #define CC_TEST_BEGIN_FRAME_SOURCE_TEST_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/trace_event/trace_event_argument.h" 8 #include "base/trace_event/trace_event_argument.h"
10 #include "cc/scheduler/begin_frame_source.h" 9 #include "cc/scheduler/begin_frame_source.h"
11 #include "cc/test/begin_frame_args_test.h" 10 #include "cc/test/begin_frame_args_test.h"
12 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
14 13
15 // Macros to help set up expected calls on the MockBeginFrameObserver. 14 // Macros to help set up expected calls on the MockBeginFrameObserver.
16 #define EXPECT_BEGIN_FRAME_DROP(obs, frame_time, deadline, interval) \ 15 #define EXPECT_BEGIN_FRAME_DROP(obs, frame_time, deadline, interval) \
17 EXPECT_CALL((obs), \ 16 EXPECT_CALL((obs), \
18 OnBeginFrame(CreateBeginFrameArgsForTesting( \ 17 OnBeginFrame(CreateBeginFrameArgsForTesting( \
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 MockBeginFrameObserver(); 63 MockBeginFrameObserver();
65 virtual ~MockBeginFrameObserver(); 64 virtual ~MockBeginFrameObserver();
66 65
67 BeginFrameArgs last_begin_frame_args; 66 BeginFrameArgs last_begin_frame_args;
68 ::testing::Sequence sequence; 67 ::testing::Sequence sequence;
69 }; 68 };
70 69
71 } // namespace cc 70 } // namespace cc
72 71
73 #endif // CC_TEST_BEGIN_FRAME_SOURCE_TEST_H_ 72 #endif // CC_TEST_BEGIN_FRAME_SOURCE_TEST_H_
OLDNEW
« no previous file with comments | « cc/test/begin_frame_args_test.cc ('k') | cc/test/failure_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698