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

Unified Diff: components/viz/frame_sinks/display_provider.h

Issue 2795823003: Create //components/viz/frame_sinks and move code. (Closed)
Patch Set: Fix DEPS. Created 3 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 | « components/viz/frame_sinks/DEPS ('k') | components/viz/frame_sinks/gpu_compositor_frame_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/viz/frame_sinks/display_provider.h
diff --git a/services/ui/surfaces/display_provider.h b/components/viz/frame_sinks/display_provider.h
similarity index 80%
rename from services/ui/surfaces/display_provider.h
rename to components/viz/frame_sinks/display_provider.h
index 7be3f66e30dda0a7d9d480d491004c3abe3c2eed..de6127b5d7caa875dba69f0a50ea9b1a939a2620 100644
--- a/services/ui/surfaces/display_provider.h
+++ b/components/viz/frame_sinks/display_provider.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 SERVICES_UI_SURFACES_DISPLAY_PROVIDER_H_
-#define SERVICES_UI_SURFACES_DISPLAY_PROVIDER_H_
+#ifndef COMPONENTS_VIZ_FRAME_SINKS_DISPLAY_PROVIDER_H_
+#define COMPONENTS_VIZ_FRAME_SINKS_DISPLAY_PROVIDER_H_
#include <memory>
@@ -15,7 +15,7 @@ class Display;
class FrameSinkId;
}
-namespace ui {
+namespace viz {
// Handles creating new cc::Displays and related classes for
// MojoFrameSinkManager.
@@ -31,6 +31,6 @@ class DisplayProvider {
std::unique_ptr<cc::BeginFrameSource>* begin_frame_source) = 0;
};
-} // namespace ui
+} // namespace viz
-#endif // SERVICES_UI_SURFACES_DISPLAY_PROVIDER_H_
+#endif // COMPONENTS_VIZ_FRAME_SINKS_DISPLAY_PROVIDER_H_
« no previous file with comments | « components/viz/frame_sinks/DEPS ('k') | components/viz/frame_sinks/gpu_compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698