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

Unified Diff: components/exo/surface.h

Issue 2896943002: Add "stylus-tools" Wayland protocol. (Closed)
Patch Set: Moved the property out of aura 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..0abd511378882ddf5aa8c1df77a235828638b575 100644
--- a/components/exo/surface.h
+++ b/components/exo/surface.h
@@ -200,6 +200,12 @@ class Surface : public ui::ContextFactoryObserver,
// Returns the active contents size.
gfx::Size content_size() const { return content_size_; }
+ // Returns true if the associated window is in 'stylus-only' mode.
+ bool IsStylusOnly();
+
+ // Enables 'stylus-only' mode for the associated window.
+ void SetStylusOnly();
+
// Overridden from ui::ContextFactoryObserver:
void OnLostResources() override;
« no previous file with comments | « chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc ('k') | components/exo/surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698