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

Unified Diff: content/browser/web_contents/web_contents_impl.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
Index: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 21cd93efb16d4780f1bde064cb3b1da6ee725138..6f7d383ae9be776230a8b2e1e21da8c8c32735f6 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -53,6 +53,10 @@
#include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/geometry/size.h"
+#if defined(OS_ANDROID)
+#include "content/browser/android/nfc_host.h"
+#endif
+
struct ViewHostMsg_DateTimeDialogValue_Params;
namespace service_manager {
@@ -510,6 +514,9 @@ class CONTENT_EXPORT WebContentsImpl
device::GeolocationServiceContext* GetGeolocationServiceContext() override;
device::mojom::WakeLockContext* GetWakeLockContext() override;
device::mojom::WakeLockService* GetRendererWakeLock() override;
+#if defined(OS_ANDROID)
+ void GetNFC(device::nfc::mojom::NFCRequest request) override;
+#endif
void EnterFullscreenMode(const GURL& origin) override;
void ExitFullscreenMode(bool will_cause_resize) override;
bool ShouldRouteMessageEvent(
@@ -1516,6 +1523,10 @@ class CONTENT_EXPORT WebContentsImpl
device::mojom::WakeLockServicePtr renderer_wake_lock_;
+#if defined(OS_ANDROID)
+ std::unique_ptr<NFCHost> nfc_host_;
+#endif
+
std::unique_ptr<ScreenOrientationProvider> screen_orientation_provider_;
std::unique_ptr<ManifestManagerHost> manifest_manager_host_;
« no previous file with comments | « content/browser/service_manager/service_manager_context.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698