| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module ash.mojom; |
| 6 |
| 7 // Used to listen for when TouchView is toggled. |
| 8 interface TouchViewObserver { |
| 9 // This is fired after the touch view mode has been toggled. |
| 10 OnTouchViewToggled(bool enabled); |
| 11 }; |
| 12 |
| 13 // Accepts observers which are notified of the current state of TouchView, and |
| 14 // of all future state changes. |
| 15 interface TouchViewManager { |
| 16 // Calling this method triggers an initial notification of the touch view |
| 17 // state. Observers are automatically removed as their connections are closed. |
| 18 AddObserver(TouchViewObserver observer); |
| 19 }; |
| OLD | NEW |