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

Unified Diff: components/mus/public/cpp/surfaces/surfaces_utils.h

Issue 2088603002: Implement RenderPass StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 4 years, 6 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
Index: components/mus/public/cpp/surfaces/surfaces_utils.h
diff --git a/components/mus/public/cpp/surfaces/surfaces_utils.h b/components/mus/public/cpp/surfaces/surfaces_utils.h
deleted file mode 100644
index 14e854c6ea60eb1792b6e9feb1c3bbdd605ca8f9..0000000000000000000000000000000000000000
--- a/components/mus/public/cpp/surfaces/surfaces_utils.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 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 COMPONENTS_MUS_PUBLIC_CPP_SURFACES_SURFACES_UTILS_H_
-#define COMPONENTS_MUS_PUBLIC_CPP_SURFACES_SURFACES_UTILS_H_
-
-#include "cc/ipc/render_pass.mojom.h"
-#include "components/mus/public/cpp/surfaces/mojo_surfaces_export.h"
-
-namespace cc {
-class SharedQuadState;
-}
-
-namespace gfx {
-class Rect;
-class Size;
-}
-
-namespace mojo {
-
-// Initializes the SharedQuadState |out| to a visible quad rect of |size|.
-MOJO_SURFACES_EXPORT void ConfigureSharedQuadState(const gfx::Size& size,
- cc::SharedQuadState* out);
-
-// Constructs a pass with the given id, output_rect and damage_rect set to rect,
-// transform_to_root_target set to identity and has_transparent_background set
-// to false.
-MOJO_SURFACES_EXPORT cc::mojom::RenderPassPtr CreateDefaultPass(
- int id,
- const gfx::Rect& rect);
-
-} // namespace mojo
-
-#endif // COMPONENTS_MUS_PUBLIC_CPP_SURFACES_SURFACES_UTILS_H_
« no previous file with comments | « components/mus/public/cpp/surfaces/surfaces_type_converters.cc ('k') | components/mus/public/cpp/surfaces/surfaces_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698