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

Unified Diff: cc/output/compositor_frame_metadata.h

Issue 1533773002: Delete CC. (Closed) Base URL: git@github.com:domokit/mojo.git@cl-2e
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/compositor_frame_ack.cc ('k') | cc/output/compositor_frame_metadata.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/compositor_frame_metadata.h
diff --git a/cc/output/compositor_frame_metadata.h b/cc/output/compositor_frame_metadata.h
deleted file mode 100644
index 9f6df95e422cd8cbd8a76dfbc5fac2a5dce4f347..0000000000000000000000000000000000000000
--- a/cc/output/compositor_frame_metadata.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2012 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_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
-#define CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
-
-#include <vector>
-
-#include "ui/events/latency_info.h"
-#include "ui/gfx/geometry/size_f.h"
-#include "ui/gfx/geometry/vector2d_f.h"
-
-namespace cc {
-
-class CompositorFrameMetadata {
- public:
- CompositorFrameMetadata();
- ~CompositorFrameMetadata();
-
- // The device scale factor used to generate this compositor frame.
- float device_scale_factor;
-
- // Scroll offset and scale of the root layer. This can be used for tasks
- // like positioning windowed plugins.
- gfx::Vector2dF root_scroll_offset;
- float page_scale_factor;
-
- // These limits can be used together with the scroll/scale fields above to
- // determine if scrolling/scaling in a particular direction is possible.
- gfx::SizeF scrollable_viewport_size;
- gfx::SizeF root_layer_size;
- float min_page_scale_factor;
- float max_page_scale_factor;
- bool root_overflow_x_hidden;
- bool root_overflow_y_hidden;
-
- // Used to position the Android location top bar and page content, whose
- // precise position is computed by the renderer compositor.
- gfx::Vector2dF location_bar_offset;
- gfx::Vector2dF location_bar_content_translation;
-
- std::vector<ui::LatencyInfo> latency_info;
-
- // A set of SurfaceSequences that this frame satisfies (always in the same
- // namespace as the current Surface).
- std::vector<uint32_t> satisfies_sequences;
-};
-
-} // namespace cc
-
-#endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
« no previous file with comments | « cc/output/compositor_frame_ack.cc ('k') | cc/output/compositor_frame_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698