mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
25 lines
613 B
Plaintext
25 lines
613 B
Plaintext
// Copyright 2018 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;
|
|
|
|
enum SplitViewState {
|
|
NO_SNAP,
|
|
LEFT_SNAPPED,
|
|
RIGHT_SNAPPED,
|
|
BOTH_SNAPPED,
|
|
};
|
|
|
|
// Used to listen for split view state changes.
|
|
interface SplitViewObserver {
|
|
OnSplitViewStateChanged(SplitViewState current_state);
|
|
};
|
|
|
|
// The split view controller that allows clients (Chrome) to observe the split
|
|
// view state changes.
|
|
interface SplitViewController {
|
|
// Adds an observer.
|
|
AddObserver(SplitViewObserver observer);
|
|
};
|