mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
19 lines
579 B
Plaintext
19 lines
579 B
Plaintext
// 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;
|
|
|
|
// Controls tablet mode state in a client app (e.g. chrome).
|
|
interface TabletModeClient {
|
|
// Fired after the tablet mode has been toggled.
|
|
OnTabletModeToggled(bool enabled);
|
|
};
|
|
|
|
// Controls tablet mode state in ash.
|
|
interface TabletModeController {
|
|
// Sets a client (e.g. chrome). Triggers OnTabletModeToggled() to provide
|
|
// the initial state.
|
|
SetClient(TabletModeClient client);
|
|
};
|