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

Unified Diff: components/mus/surfaces/top_level_display_client.cc

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/mus/surfaces/top_level_display_client.h ('k') | components/mus/test_change_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/surfaces/top_level_display_client.cc
diff --git a/components/mus/surfaces/top_level_display_client.cc b/components/mus/surfaces/top_level_display_client.cc
index 5f225f9a3bf131d4ce5ca258acd22d66a85f0f89..e3218af35b1b8a7aa75f6adc0903c1d16364754b 100644
--- a/components/mus/surfaces/top_level_display_client.cc
+++ b/components/mus/surfaces/top_level_display_client.cc
@@ -12,7 +12,7 @@
#include "components/mus/surfaces/surfaces_scheduler.h"
#include "components/mus/surfaces/surfaces_state.h"
-namespace mus {
+namespace surfaces {
namespace {
void CallCallback(const base::Closure& callback, cc::SurfaceDrawStatus status) {
callback.Run();
@@ -21,7 +21,7 @@
TopLevelDisplayClient::TopLevelDisplayClient(
gfx::AcceleratedWidget widget,
- const scoped_refptr<GpuState>& gpu_state,
+ const scoped_refptr<gles2::GpuState>& gpu_state,
const scoped_refptr<SurfacesState>& surfaces_state)
: surfaces_state_(surfaces_state),
factory_(surfaces_state->manager(), this),
@@ -35,7 +35,7 @@
// TODO(brianderson): Reconcile with SurfacesScheduler crbug.com/476676
cc::DisplayScheduler* null_display_scheduler = nullptr;
display_->Initialize(
- make_scoped_ptr(new DirectOutputSurface(
+ make_scoped_ptr(new surfaces::DirectOutputSurface(
new SurfacesContextProvider(this, widget, gpu_state))),
null_display_scheduler);
@@ -101,4 +101,4 @@
// TODO(fsamuel): Implement this.
}
-} // namespace mus
+} // namespace surfaces
« no previous file with comments | « components/mus/surfaces/top_level_display_client.h ('k') | components/mus/test_change_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698