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

Unified Diff: ash/public/interfaces/touch_view.mojom

Issue 2505403003: TouchView Mojom (Closed)
Patch Set: Minor param rename Created 4 years 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 | « ash/public/interfaces/BUILD.gn ('k') | chrome/browser/chrome_content_browser_manifest_overlay.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/interfaces/touch_view.mojom
diff --git a/ash/public/interfaces/touch_view.mojom b/ash/public/interfaces/touch_view.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..a1461e2845647713fa78853581f3f79d9626741a
--- /dev/null
+++ b/ash/public/interfaces/touch_view.mojom
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module ash.mojom;
+
+// Used to listen for when TouchView is toggled.
+interface TouchViewObserver {
+ // This is fired after the touch view mode has been toggled.
+ OnTouchViewToggled(bool enabled);
+};
+
+// Accepts observers which are notified of the current state of TouchView, and
+// of all future state changes.
+interface TouchViewManager {
+ // Calling this method triggers an initial notification of the touch view
+ // state. Observers are automatically removed as their connections are closed.
+ AddObserver(TouchViewObserver observer);
+};
« no previous file with comments | « ash/public/interfaces/BUILD.gn ('k') | chrome/browser/chrome_content_browser_manifest_overlay.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698