diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/components/chromeos_camera/common | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
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); -}; |