/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

syntax = "proto2";

package perfetto.protos;

import public "protos/perfetto/trace/android/winscope_extensions.proto";
import "protos/perfetto/trace/android/android_input_event.proto";
import "protos/perfetto/trace/android/inputmethodeditor.proto";
import "protos/perfetto/trace/android/viewcapture.proto";
import "protos/perfetto/trace/android/windowmanager.proto";
import "protos/perfetto/trace/android/surfaceflinger_layers.proto";
import "protos/perfetto/trace/android/server/windowmanagerservice.proto";

message WinscopeExtensionsImpl {
  extend WinscopeExtensions {
    optional InputMethodClientsTraceProto inputmethod_clients = 1;
    optional InputMethodServiceTraceProto inputmethod_service = 2;
    optional InputMethodManagerServiceTraceProto inputmethod_manager_service =
        3;
    optional ViewCapture viewcapture = 4;
    optional AndroidInputEvent android_input_event = 5;
    optional WindowManagerTraceEntry windowmanager = 6;
    optional LayersPatchProto surfaceflinger_layers_patch = 7;
    optional WindowManagerServicePatchProto windowmanager_patch = 8;
  }
}
