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

Unified Diff: services/ui/service.h

Issue 2274353003: Add PlatformScreenDelegate and start implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes after once over. Created 4 years, 4 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: services/ui/service.h
diff --git a/services/ui/service.h b/services/ui/service.h
index b26e4b521a42a284f5f03a77b8ecc1e9b1d50530..a0fb21a33c28f233f4269fdc0981e1c403cc56fc 100644
--- a/services/ui/service.h
+++ b/services/ui/service.h
@@ -13,7 +13,6 @@
#include <vector>
#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
#include "services/shell/public/cpp/interface_factory.h"
#include "services/shell/public/cpp/service.h"
#include "services/shell/public/cpp/service_runner.h"
@@ -109,6 +108,7 @@ class Service
void OnNoMoreDisplays() override;
bool IsTestConfig() const override;
void CreateDefaultDisplays() override;
+ void UpdateTouchTransforms() override;
// shell::InterfaceFactory<mojom::AccessibilityManager> implementation.
void Create(const shell::Identity& remote_identity,
@@ -159,13 +159,6 @@ class Service
void Create(const shell::Identity& remote_identity,
mojom::WindowServerTestRequest request) override;
- // Callback for display configuration. |id| is the identifying token for the
- // configured display that will identify a specific physical display across
- // configuration changes. |bounds| is the bounds of the display in screen
- // coordinates.
- void OnCreatedPhysicalDisplay(int64_t id, const gfx::Rect& bounds);
-
- ws::PlatformDisplayInitParams platform_display_init_params_;
std::unique_ptr<ws::WindowServer> window_server_;
std::unique_ptr<ui::PlatformEventSource> event_source_;
tracing::Provider tracing_;
@@ -187,8 +180,6 @@ class Service
IMERegistrarImpl ime_registrar_;
IMEServerImpl ime_server_;
- base::WeakPtrFactory<Service> weak_ptr_factory_;
-
DISALLOW_COPY_AND_ASSIGN(Service);
};

Powered by Google App Engine
This is Rietveld 408576698