OLD | NEW |
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 25 matching lines...) Expand all Loading... |
36 #include "content/common/navigation_params.h" | 36 #include "content/common/navigation_params.h" |
37 #include "content/public/browser/render_frame_host.h" | 37 #include "content/public/browser/render_frame_host.h" |
38 #include "content/public/common/javascript_message_type.h" | 38 #include "content/public/common/javascript_message_type.h" |
39 #include "net/http/http_response_headers.h" | 39 #include "net/http/http_response_headers.h" |
40 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" | 40 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
41 #include "third_party/WebKit/public/web/WebTextDirection.h" | 41 #include "third_party/WebKit/public/web/WebTextDirection.h" |
42 #include "third_party/WebKit/public/web/WebTreeScopeType.h" | 42 #include "third_party/WebKit/public/web/WebTreeScopeType.h" |
43 #include "ui/accessibility/ax_node_data.h" | 43 #include "ui/accessibility/ax_node_data.h" |
44 #include "ui/base/page_transition_types.h" | 44 #include "ui/base/page_transition_types.h" |
45 | 45 |
46 #if defined(OS_ANDROID) | |
47 #include "content/browser/mojo/service_registry_android.h" | |
48 #endif | |
49 | |
50 class GURL; | 46 class GURL; |
51 struct AccessibilityHostMsg_EventParams; | 47 struct AccessibilityHostMsg_EventParams; |
52 struct AccessibilityHostMsg_FindInPageResultParams; | 48 struct AccessibilityHostMsg_FindInPageResultParams; |
53 struct AccessibilityHostMsg_LocationChangeParams; | 49 struct AccessibilityHostMsg_LocationChangeParams; |
54 struct FrameHostMsg_DidFailProvisionalLoadWithError_Params; | 50 struct FrameHostMsg_DidFailProvisionalLoadWithError_Params; |
55 struct FrameHostMsg_OpenURL_Params; | 51 struct FrameHostMsg_OpenURL_Params; |
56 struct FrameMsg_TextTrackSettings_Params; | 52 struct FrameMsg_TextTrackSettings_Params; |
57 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 53 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
58 struct FrameHostMsg_ShowPopup_Params; | 54 struct FrameHostMsg_ShowPopup_Params; |
59 #endif | 55 #endif |
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 // relevant NavigationEntry. | 884 // relevant NavigationEntry. |
889 int nav_entry_id_; | 885 int nav_entry_id_; |
890 | 886 |
891 // Used to swap out or shut down this RFH when the unload event is taking too | 887 // Used to swap out or shut down this RFH when the unload event is taking too |
892 // long to execute, depending on the number of active frames in the | 888 // long to execute, depending on the number of active frames in the |
893 // SiteInstance. | 889 // SiteInstance. |
894 scoped_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; | 890 scoped_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; |
895 | 891 |
896 scoped_ptr<ServiceRegistryImpl> service_registry_; | 892 scoped_ptr<ServiceRegistryImpl> service_registry_; |
897 | 893 |
898 #if defined(OS_ANDROID) | |
899 scoped_ptr<ServiceRegistryAndroid> service_registry_android_; | |
900 #endif | |
901 | |
902 scoped_ptr<WebBluetoothServiceImpl> web_bluetooth_service_; | 894 scoped_ptr<WebBluetoothServiceImpl> web_bluetooth_service_; |
903 | 895 |
904 // The object managing the accessibility tree for this frame. | 896 // The object managing the accessibility tree for this frame. |
905 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 897 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
906 | 898 |
907 // This is nonzero if we sent an accessibility reset to the renderer and | 899 // This is nonzero if we sent an accessibility reset to the renderer and |
908 // we're waiting for an IPC containing this reset token (sequentially | 900 // we're waiting for an IPC containing this reset token (sequentially |
909 // assigned) and a complete replacement accessibility tree. | 901 // assigned) and a complete replacement accessibility tree. |
910 int accessibility_reset_token_; | 902 int accessibility_reset_token_; |
911 | 903 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 | 968 |
977 // NOTE: This must be the last member. | 969 // NOTE: This must be the last member. |
978 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 970 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
979 | 971 |
980 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 972 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
981 }; | 973 }; |
982 | 974 |
983 } // namespace content | 975 } // namespace content |
984 | 976 |
985 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 977 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |