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

Unified Diff: components/exo/surface.h

Issue 2896943002: Add "stylus-tools" Wayland protocol. (Closed)
Patch Set: Addressed comments Created 3 years, 7 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: components/exo/surface.h
diff --git a/components/exo/surface.h b/components/exo/surface.h
index ae85eca8c69166c1086589bdda25be4a6c836a7d..6a7a8259d37772a01d86af8a5828878bd67fcdcb 100644
--- a/components/exo/surface.h
+++ b/components/exo/surface.h
@@ -200,6 +200,9 @@ class Surface : public ui::ContextFactoryObserver,
// Returns the active contents size.
gfx::Size content_size() const { return content_size_; }
+ // Enables 'stylus-only' mode for the associated window.
+ void SetStylusOnly();
+
// Overridden from ui::ContextFactoryObserver:
void OnLostResources() override;

Powered by Google App Engine
This is Rietveld 408576698