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

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: More fixes for comments. 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
« no previous file with comments | « services/ui/display/platform_screen_impl_ozone.cc ('k') | services/ui/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/service.h
diff --git a/services/ui/service.h b/services/ui/service.h
index 2adc81b343e4450936ca02ec7926cf77648a9997..0bd8e7d2862eb300f4d2766dab27193480bba0df 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"
@@ -110,6 +109,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,
@@ -160,13 +160,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_;
@@ -189,8 +182,6 @@ class Service
IMERegistrarImpl ime_registrar_;
IMEServerImpl ime_server_;
- base::WeakPtrFactory<Service> weak_ptr_factory_;
-
DISALLOW_COPY_AND_ASSIGN(Service);
};
« no previous file with comments | « services/ui/display/platform_screen_impl_ozone.cc ('k') | services/ui/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698