diff options
Diffstat (limited to 'chromium/components/chromeos_camera/common')
-rw-r--r-- | chromium/components/chromeos_camera/common/BUILD.gn | 5 | ||||
-rw-r--r-- | chromium/components/chromeos_camera/common/camera_app_helper.mojom | 43 |
2 files changed, 0 insertions, 48 deletions
diff --git a/chromium/components/chromeos_camera/common/BUILD.gn b/chromium/components/chromeos_camera/common/BUILD.gn index 0385972a73c..d49f9e78888 100644 --- a/chromium/components/chromeos_camera/common/BUILD.gn +++ b/chromium/components/chromeos_camera/common/BUILD.gn @@ -17,8 +17,3 @@ mojom("common") { "//ui/gfx/geometry/mojom", ] } - -mojom("camera_app_helper") { - sources = [ "camera_app_helper.mojom" ] - deps = [ "//components/arc/mojom:camera_intent" ] -} diff --git a/chromium/components/chromeos_camera/common/camera_app_helper.mojom b/chromium/components/chromeos_camera/common/camera_app_helper.mojom deleted file mode 100644 index 7e6004cd438..00000000000 --- a/chromium/components/chromeos_camera/common/camera_app_helper.mojom +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2019 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 chromeos_camera.mojom; - -import "components/arc/mojom/camera_intent.mojom"; - -// Interface for monitoring tablet mode state of device. The state is detected -// from Chrome browser process and is notified to Chrome Camera App in renderer -// process. -interface TabletModeMonitor { - // Updates with the latest changed tablet mode state. - Update(bool is_tablet_mode); -}; - -// Interface for communication between Chrome Camera App (Remote) and Chrome -// (Receiver). -interface CameraAppHelper { - // Sends the captured result |data| for corresponding intent recognized by - // |intent_id| back to ARC. The handler should handle |data| and may notify - // the intent caller according to the intention of the |action|. |is_success| - // will be set to true if the ARC received the result and set to false for - // invalid input. - HandleCameraResult(uint32 intent_id, - arc.mojom.CameraIntentAction action, - array<uint8> data) => (bool is_success); - - // Checks if device is under tablet mode currently. - IsTabletMode() => (bool is_tablet_mode); - - // Triggers the begin of event tracing for given |event|. - StartPerfEventTrace(string event); - - // Triggers the end of event tracing for given |event|. - StopPerfEventTrace(string event); - - // Registers an TabletModeMonitor instance and returns the tablet mode - // initial state. Calling the Update() whenever the tablet mode state - // changes. - SetTabletMonitor(pending_remote<TabletModeMonitor> monitor) - => (bool is_tablet_mode); -}; |