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

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

Issue 2943983003: chrome/blink: Add functionality for in-product help for media elements. (Closed)
Patch Set: .. Created 3 years, 4 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
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/media_download_in_product_help.mojom
diff --git a/third_party/WebKit/public/platform/media_download_in_product_help.mojom b/third_party/WebKit/public/platform/media_download_in_product_help.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..84cf04ea9e0609512881091add696c1365b550a3
--- /dev/null
+++ b/third_party/WebKit/public/platform/media_download_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 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);
+};
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698