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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2865653002: [Device Service] Decouple NFC implementation from //content (Closed)
Patch Set: Response to reviews 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #include "net/http/http_response_headers.h" 51 #include "net/http/http_response_headers.h"
52 #include "third_party/WebKit/public/platform/WebFocusType.h" 52 #include "third_party/WebKit/public/platform/WebFocusType.h"
53 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" 53 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
54 #include "third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.moj om.h" 54 #include "third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.moj om.h"
55 #include "third_party/WebKit/public/web/WebTextDirection.h" 55 #include "third_party/WebKit/public/web/WebTextDirection.h"
56 #include "third_party/WebKit/public/web/WebTreeScopeType.h" 56 #include "third_party/WebKit/public/web/WebTreeScopeType.h"
57 #include "ui/accessibility/ax_node_data.h" 57 #include "ui/accessibility/ax_node_data.h"
58 #include "ui/base/mojo/window_open_disposition.mojom.h" 58 #include "ui/base/mojo/window_open_disposition.mojom.h"
59 #include "ui/base/page_transition_types.h" 59 #include "ui/base/page_transition_types.h"
60 60
61 #if defined(OS_ANDROID)
62 #include "device/nfc/nfc.mojom.h"
63 #endif
64
61 class GURL; 65 class GURL;
62 struct AccessibilityHostMsg_EventParams; 66 struct AccessibilityHostMsg_EventParams;
63 struct AccessibilityHostMsg_FindInPageResultParams; 67 struct AccessibilityHostMsg_FindInPageResultParams;
64 struct AccessibilityHostMsg_LocationChangeParams; 68 struct AccessibilityHostMsg_LocationChangeParams;
65 struct FrameHostMsg_DidCommitProvisionalLoad_Params; 69 struct FrameHostMsg_DidCommitProvisionalLoad_Params;
66 struct FrameHostMsg_DidFailProvisionalLoadWithError_Params; 70 struct FrameHostMsg_DidFailProvisionalLoadWithError_Params;
67 struct FrameHostMsg_OpenURL_Params; 71 struct FrameHostMsg_OpenURL_Params;
68 struct FrameMsg_TextTrackSettings_Params; 72 struct FrameMsg_TextTrackSettings_Params;
69 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) 73 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
70 struct FrameHostMsg_ShowPopup_Params; 74 struct FrameHostMsg_ShowPopup_Params;
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 const service_manager::BindSourceInfo& source_info, 914 const service_manager::BindSourceInfo& source_info,
911 media::mojom::InterfaceFactoryRequest request); 915 media::mojom::InterfaceFactoryRequest request);
912 916
913 // Callback for connection error on the media::mojom::InterfaceFactory client. 917 // Callback for connection error on the media::mojom::InterfaceFactory client.
914 void OnMediaInterfaceFactoryConnectionError(); 918 void OnMediaInterfaceFactoryConnectionError();
915 919
916 void BindWakeLockServiceRequest( 920 void BindWakeLockServiceRequest(
917 const service_manager::BindSourceInfo& source_info, 921 const service_manager::BindSourceInfo& source_info,
918 device::mojom::WakeLockServiceRequest request); 922 device::mojom::WakeLockServiceRequest request);
919 923
924 #if defined(OS_ANDROID)
925 void BindNFCRequest(const service_manager::BindSourceInfo& source_info,
926 device::nfc::mojom::NFCRequest request);
927 #endif
928
920 // service_manager::mojom::InterfaceProvider: 929 // service_manager::mojom::InterfaceProvider:
921 void GetInterface(const std::string& interface_name, 930 void GetInterface(const std::string& interface_name,
922 mojo::ScopedMessagePipeHandle interface_pipe) override; 931 mojo::ScopedMessagePipeHandle interface_pipe) override;
923 932
924 // Allows tests to disable the swapout event timer to simulate bugs that 933 // Allows tests to disable the swapout event timer to simulate bugs that
925 // happen before it fires (to avoid flakiness). 934 // happen before it fires (to avoid flakiness).
926 void DisableSwapOutTimerForTesting(); 935 void DisableSwapOutTimerForTesting();
927 936
928 void OnRendererConnect(const service_manager::BindSourceInfo& local_info, 937 void OnRendererConnect(const service_manager::BindSourceInfo& local_info,
929 const service_manager::BindSourceInfo& remote_info); 938 const service_manager::BindSourceInfo& remote_info);
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 1227
1219 // NOTE: This must be the last member. 1228 // NOTE: This must be the last member.
1220 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1229 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1221 1230
1222 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1231 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1223 }; 1232 };
1224 1233
1225 } // namespace content 1234 } // namespace content
1226 1235
1227 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1236 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698