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

Unified Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 2865653002: [Device Service] Decouple NFC implementation from //content (Closed)
Patch Set: Rebase Created 3 years, 7 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 | « content/browser/android/nfc_host.cc ('k') | content/browser/frame_host/render_frame_host_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_delegate.h
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h
index 081986b44116e3abf4105484ac082401c7eb6b0f..5079adfb8c414403e83ace8cdaf07734b90713d7 100644
--- a/content/browser/frame_host/render_frame_host_delegate.h
+++ b/content/browser/frame_host/render_frame_host_delegate.h
@@ -29,6 +29,7 @@
#if defined(OS_ANDROID)
#include "base/android/scoped_java_ref.h"
+#include "device/nfc/nfc.mojom.h"
#endif
class GURL;
@@ -194,6 +195,11 @@ class CONTENT_EXPORT RenderFrameHostDelegate {
// Gets the WakeLockService that serves wake lock requests from the renderer.
virtual device::mojom::WakeLockService* GetRendererWakeLock();
+#if defined(OS_ANDROID)
+ // Gets an NFC implementation within the context of this delegate.
+ virtual void GetNFC(device::nfc::mojom::NFCRequest request);
+#endif
+
// Notification that the frame wants to go into fullscreen mode.
// |origin| represents the origin of the frame that requests fullscreen.
virtual void EnterFullscreenMode(const GURL& origin) {}
« no previous file with comments | « content/browser/android/nfc_host.cc ('k') | content/browser/frame_host/render_frame_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698