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

Unified Diff: ash/shell.h

Issue 145313003: Implement cursor compositing mode on Ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get rid of current_cursor_set_ and requested_cursor_set_ Created 6 years, 10 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: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 4d15cd3083da3d815489318c62031e64606d1e2c..3da2320f889c402a5a9d8aaad2970046a3b12efa 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -499,6 +499,10 @@ class ASH_EXPORT Shell
internal::DisplayErrorObserver* display_error_observer() {
return display_error_observer_.get();
}
+
+ // Toggles cursor compositing on/off. Native cursor is disabled when cursor
+ // compositing is enabled, and vice versa.
+ void SetCursorCompositingEnabled(bool enabled);
#endif // defined(USE_X11)
internal::ResolutionNotificationController*

Powered by Google App Engine
This is Rietveld 408576698