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

Unified Diff: components/viz/display_compositor/host_shared_bitmap_manager.h

Issue 2873243002: Move components/display_compositor to components/viz/display_compositor (Closed)
Patch Set: Rebase Created 3 years, 7 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/viz/display_compositor/host_shared_bitmap_manager.h
diff --git a/components/display_compositor/host_shared_bitmap_manager.h b/components/viz/display_compositor/host_shared_bitmap_manager.h
similarity index 87%
rename from components/display_compositor/host_shared_bitmap_manager.h
rename to components/viz/display_compositor/host_shared_bitmap_manager.h
index e2ebc5f4b997dc6e702c424f7020ec019eef7eb7..b64b89ba3a6e77474bc928d9ddc064f683ac3a5d 100644
--- a/components/display_compositor/host_shared_bitmap_manager.h
+++ b/components/viz/display_compositor/host_shared_bitmap_manager.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_DISPLAY_COMPOSITOR_HOST_SHARED_BITMAP_MANAGER_H_
-#define COMPONENTS_DISPLAY_COMPOSITOR_HOST_SHARED_BITMAP_MANAGER_H_
+#ifndef COMPONENTS_VIZ_DISPLAY_COMPOSITOR_HOST_SHARED_BITMAP_MANAGER_H_
+#define COMPONENTS_VIZ_DISPLAY_COMPOSITOR_HOST_SHARED_BITMAP_MANAGER_H_
#include <stddef.h>
@@ -20,7 +20,7 @@
#include "base/trace_event/memory_dump_provider.h"
#include "cc/ipc/shared_bitmap_manager.mojom.h"
#include "cc/resources/shared_bitmap_manager.h"
-#include "components/display_compositor/display_compositor_export.h"
+#include "components/viz/viz_export.h"
#include "mojo/public/cpp/bindings/associated_binding.h"
namespace BASE_HASH_NAMESPACE {
@@ -32,11 +32,11 @@ struct hash<cc::SharedBitmapId> {
};
} // namespace BASE_HASH_NAMESPACE
-namespace display_compositor {
+namespace viz {
class BitmapData;
class HostSharedBitmapManager;
-class DISPLAY_COMPOSITOR_EXPORT HostSharedBitmapManagerClient
+class VIZ_EXPORT HostSharedBitmapManagerClient
: NON_EXPORTED_BASE(public cc::mojom::SharedBitmapManager) {
public:
explicit HostSharedBitmapManagerClient(HostSharedBitmapManager* manager);
@@ -65,7 +65,7 @@ class DISPLAY_COMPOSITOR_EXPORT HostSharedBitmapManagerClient
DISALLOW_COPY_AND_ASSIGN(HostSharedBitmapManagerClient);
};
-class DISPLAY_COMPOSITOR_EXPORT HostSharedBitmapManager
+class VIZ_EXPORT HostSharedBitmapManager
: public cc::SharedBitmapManager,
public base::trace_event::MemoryDumpProvider {
public:
@@ -106,6 +106,6 @@ class DISPLAY_COMPOSITOR_EXPORT HostSharedBitmapManager
DISALLOW_COPY_AND_ASSIGN(HostSharedBitmapManager);
};
-} // namespace display_compositor
+} // namespace viz
-#endif // COMPONENTS_DISPLAY_COMPOSITOR_HOST_SHARED_BITMAP_MANAGER_H_
+#endif // COMPONENTS_VIZ_DISPLAY_COMPOSITOR_HOST_SHARED_BITMAP_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698