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

Unified Diff: mojo/services/public/cpp/surfaces/surfaces_utils.h

Issue 694923002: Update mojo sdk to rev 91d94d6993c9b0c4135a95687a7d541ce90629b (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « mojo/services/public/cpp/surfaces/BUILD.gn ('k') | mojo/services/public/cpp/surfaces/surfaces_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/public/cpp/surfaces/surfaces_utils.h
diff --git a/mojo/converters/surfaces/surfaces_utils.h b/mojo/services/public/cpp/surfaces/surfaces_utils.h
similarity index 54%
copy from mojo/converters/surfaces/surfaces_utils.h
copy to mojo/services/public/cpp/surfaces/surfaces_utils.h
index 70de8c0cbef7a7f98cec4fff6033b8e0bf291e4f..a8fd2e8d59bec5ec9a63abee6eab048d1ff49da1 100644
--- a/mojo/converters/surfaces/surfaces_utils.h
+++ b/mojo/services/public/cpp/surfaces/surfaces_utils.h
@@ -2,26 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_CONVERTERS_SURFACES_SURFACES_UTILS_H_
-#define MOJO_CONVERTERS_SURFACES_SURFACES_UTILS_H_
+#ifndef MOJO_SERVICES_PUBLIC_CPP_SURFACES_SURFACES_UTILS_H_
+#define MOJO_SERVICES_PUBLIC_CPP_SURFACES_SURFACES_UTILS_H_
-#include "mojo/converters/surfaces/mojo_surfaces_export.h"
#include "mojo/services/public/interfaces/surfaces/quads.mojom.h"
-namespace gfx {
+namespace mojo {
class Rect;
class Size;
-}
-
-namespace mojo {
-MOJO_SURFACES_EXPORT SharedQuadStatePtr CreateDefaultSQS(const gfx::Size& size);
+SharedQuadStatePtr CreateDefaultSQS(const Size& size);
// 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 PassPtr CreateDefaultPass(int id, const gfx::Rect& rect);
+PassPtr CreateDefaultPass(int id, const Rect& rect);
} // namespace mojo
-#endif // MOJO_CONVERTERS_SURFACES_SURFACES_UTILS_H_
+#endif // MOJO_SERVICES_PUBLIC_CPP_SURFACES_SURFACES_UTILS_H_
« no previous file with comments | « mojo/services/public/cpp/surfaces/BUILD.gn ('k') | mojo/services/public/cpp/surfaces/surfaces_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698