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

Side by Side Diff: cc/debug/frame_timing_request.h

Issue 834343004: cc: Add frame timing request plumbing through the layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_DEBUG_FRAME_TIMING_REQUEST_H_
6 #define CC_DEBUG_FRAME_TIMING_REQUEST_H_
7
8 #include "ui/gfx/geometry/rect.h"
9
10 namespace cc {
11
12 class FrameTimingRequest {
danakj 2015/01/23 19:15:37 can you add a class level comment saying what this
vmpstr 2015/01/23 19:35:27 Done.
13 public:
14 FrameTimingRequest();
15 FrameTimingRequest(int64_t request_id, const gfx::Rect& rect);
16
17 int64_t id() const { return id_; }
18 const gfx::Rect& rect() const { return rect_; }
19
20 private:
21 int64_t id_;
22 gfx::Rect rect_;
23 };
24
25 } // namespace cc
26
27 #endif // CC_DEBUG_FRAME_TIMING_REQUEST_H_
OLDNEW
« no previous file with comments | « cc/cc.gyp ('k') | cc/debug/frame_timing_request.cc » ('j') | cc/layers/layer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698