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

Unified Diff: components/mus/ws/platform_screen_impl_ozone.h

Issue 2081253002: Implement rudimentary touchscreen support in mus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing pure virtual. Created 4 years, 6 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/ws/platform_display.cc ('k') | components/mus/ws/platform_screen_impl_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/platform_screen_impl_ozone.h
diff --git a/components/mus/ws/platform_screen_impl_ozone.h b/components/mus/ws/platform_screen_impl_ozone.h
index 22927de987e9db538c3c39a138418ad38b0803a9..55949e4b45c62e86b362478e919952329dcf86a4 100644
--- a/components/mus/ws/platform_screen_impl_ozone.h
+++ b/components/mus/ws/platform_screen_impl_ozone.h
@@ -51,6 +51,14 @@ class PlatformScreenImplOzone : public PlatformScreen,
void OnDisplaysAquired(const ConfiguredDisplayCallback& callback,
const std::vector<ui::DisplaySnapshot*>& displays);
+ // The display subsystem calls |OnDisplayConfigured| for each display that has
+ // been successfully configured. This in turn calls |callback_| with the
+ // identity and bounds of each physical display.
+ void OnDisplayConfigured(const ConfiguredDisplayCallback& callback,
+ int64_t id,
+ const gfx::Rect& bounds,
+ bool success);
+
std::unique_ptr<ui::NativeDisplayDelegate> native_display_delegate_;
base::WeakPtrFactory<PlatformScreenImplOzone> weak_ptr_factory_;
« no previous file with comments | « components/mus/ws/platform_display.cc ('k') | components/mus/ws/platform_screen_impl_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698