1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21

ash / components / arc / mojom / intent_common.mojom [blame]

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module arc.mojom;

// Describes the type of action to invoke.
[Extensible]
enum ActionType {
  VIEW,           // Can handle only one URL.
  SEND,           // Can handle only one URL.
  SEND_MULTIPLE,  // Can handle multiple URLs.
  CREATE_NOTE,    // Can handle only one URL.
  EDIT,           // Can handle only one URL.
};

// Describes an activity.
struct ActivityName {
  string package_name;
  string? activity_name;  // may be null to indicate any activity within package
};