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

Unified Diff: cc/debug/frame_timing_request.h

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/debug/frame_timing_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/frame_timing_request.h
diff --git a/cc/debug/frame_timing_request.h b/cc/debug/frame_timing_request.h
deleted file mode 100644
index 6b2b57c5f5f24f56ae7254df4d1c9d83946c5e42..0000000000000000000000000000000000000000
--- a/cc/debug/frame_timing_request.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_DEBUG_FRAME_TIMING_REQUEST_H_
-#define CC_DEBUG_FRAME_TIMING_REQUEST_H_
-
-#include <stdint.h>
-
-#include "cc/base/cc_export.h"
-#include "ui/gfx/geometry/rect.h"
-
-namespace cc {
-
-// This class represents a request to record frame timing information about the
-// given rect (in layer space) and an associated request id. When this request
-// is propagated to the active LayerImpl, it will cause events to be saved in
-// FrameTimingTracker, which in turn can be consumed by the requester.
-class CC_EXPORT FrameTimingRequest {
- public:
- FrameTimingRequest();
- FrameTimingRequest(int64_t request_id, const gfx::Rect& rect);
-
- // Return the ID for the request.
- int64_t id() const { return id_; }
-
- // Return the layer space rect for this request.
- const gfx::Rect& rect() const { return rect_; }
-
- bool operator==(const FrameTimingRequest& other) const {
- return (id_ == other.id_) && (rect_ == other.rect_);
- }
-
- private:
- int64_t id_;
- gfx::Rect rect_;
-};
-
-} // namespace cc
-
-#endif // CC_DEBUG_FRAME_TIMING_REQUEST_H_
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/debug/frame_timing_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698