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

Unified Diff: ui/views/mus/window_manager_connection.h

Issue 2559343003: mus: Rename GpuService to Gpu. (Closed)
Patch Set: . Created 4 years 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 | « ui/views/mus/surface_context_factory.cc ('k') | ui/views/mus/window_manager_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/window_manager_connection.h
diff --git a/ui/views/mus/window_manager_connection.h b/ui/views/mus/window_manager_connection.h
index ac6adba98e5179c66cd46935a551559c9de44932..eaea7700f57455c1e776ac41fb1f22f1d9475d00 100644
--- a/ui/views/mus/window_manager_connection.h
+++ b/ui/views/mus/window_manager_connection.h
@@ -26,7 +26,7 @@ class Connector;
}
namespace ui {
-class GpuService;
+class Gpu;
}
namespace views {
@@ -59,7 +59,7 @@ class VIEWS_MUS_EXPORT WindowManagerConnection
~WindowManagerConnection() override;
// |io_task_runner| is used by the gpu service. If no task runner is provided,
- // then a new thread is created and used by ui::GpuService.
+ // then a new thread is created and used by ui::Gpu.
static std::unique_ptr<WindowManagerConnection> Create(
service_manager::Connector* connector,
const service_manager::Identity& identity,
@@ -71,7 +71,7 @@ class VIEWS_MUS_EXPORT WindowManagerConnection
return pointer_watcher_event_router_.get();
}
service_manager::Connector* connector() { return connector_; }
- ui::GpuService* gpu_service() { return gpu_service_.get(); }
+ ui::Gpu* gpu() { return gpu_.get(); }
ui::WindowTreeClient* client() { return client_.get(); }
ui::Window* NewTopLevelWindow(
@@ -114,7 +114,7 @@ class VIEWS_MUS_EXPORT WindowManagerConnection
service_manager::Identity identity_;
std::unique_ptr<ScreenMus> screen_;
std::unique_ptr<ui::WindowTreeClient> client_;
- std::unique_ptr<ui::GpuService> gpu_service_;
+ std::unique_ptr<ui::Gpu> gpu_;
std::unique_ptr<PointerWatcherEventRouter> pointer_watcher_event_router_;
std::unique_ptr<SurfaceContextFactory> compositor_context_factory_;
« no previous file with comments | « ui/views/mus/surface_context_factory.cc ('k') | ui/views/mus/window_manager_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698