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

Side by Side Diff: cc/output/latency_info_swap_promise.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/output/gl_renderer_unittest.cc ('k') | cc/output/latency_info_swap_promise.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_OUTPUT_LATENCY_INFO_SWAP_PROMISE_H_ 5 #ifndef CC_OUTPUT_LATENCY_INFO_SWAP_PROMISE_H_
6 #define CC_OUTPUT_LATENCY_INFO_SWAP_PROMISE_H_ 6 #define CC_OUTPUT_LATENCY_INFO_SWAP_PROMISE_H_
7 7
8 #include <stdint.h>
9
8 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
9 #include "cc/output/swap_promise.h" 11 #include "cc/output/swap_promise.h"
10 #include "ui/events/latency_info.h" 12 #include "ui/events/latency_info.h"
11 13
12 namespace cc { 14 namespace cc {
13 15
14 class CC_EXPORT LatencyInfoSwapPromise : public SwapPromise { 16 class CC_EXPORT LatencyInfoSwapPromise : public SwapPromise {
15 public: 17 public:
16 explicit LatencyInfoSwapPromise(const ui::LatencyInfo& latency_info); 18 explicit LatencyInfoSwapPromise(const ui::LatencyInfo& latency_info);
17 ~LatencyInfoSwapPromise() override; 19 ~LatencyInfoSwapPromise() override;
18 20
19 void DidActivate() override {} 21 void DidActivate() override {}
20 void DidSwap(CompositorFrameMetadata* metadata) override; 22 void DidSwap(CompositorFrameMetadata* metadata) override;
21 void DidNotSwap(DidNotSwapReason reason) override; 23 void DidNotSwap(DidNotSwapReason reason) override;
22 void OnCommit() override; 24 void OnCommit() override;
23 25
24 int64 TraceId() const override; 26 int64_t TraceId() const override;
25 27
26 private: 28 private:
27 ui::LatencyInfo latency_; 29 ui::LatencyInfo latency_;
28 }; 30 };
29 31
30 } // namespace cc 32 } // namespace cc
31 33
32 #endif // CC_OUTPUT_LATENCY_INFO_SWAP_PROMISE_H_ 34 #endif // CC_OUTPUT_LATENCY_INFO_SWAP_PROMISE_H_
OLDNEW
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/output/latency_info_swap_promise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698