Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Unified Diff: third_party/WebKit/public/platform/media_in_product_help.mojom

Issue 2943983003: chrome/blink: Add functionality for in-product help for media elements. (Closed)
Patch Set: not on pause. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/media_in_product_help.mojom
diff --git a/third_party/WebKit/public/platform/media_in_product_help.mojom b/third_party/WebKit/public/platform/media_in_product_help.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..64390b7dffedd1b528128b772ade472f752c950f
--- /dev/null
+++ b/third_party/WebKit/public/platform/media_in_product_help.mojom
@@ -0,0 +1,16 @@
+// Copyright 2017 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 blink.mojom;
+
+import "ui/gfx/geometry/mojo/geometry.mojom";
+
+// Browser-side service used by the renderer for showing the InProductHelp UI
+// widget/popup for the media download button.
+interface MediaInProductHelp {
mlamouri (slow - plz ping) 2017/07/13 21:14:27 MediaDownloadInProductHelp
+ // The position of the button in the frame's local coordinate space, where the
+ // UI widget should be anchored.
+ // The request_id denotes the element making the request.
+ ShowInProductHelpWidget(gfx.mojom.Rect button_rect);
+};

Powered by Google App Engine
This is Rietveld 408576698