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 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 // relevant NavigationEntry. | 870 // relevant NavigationEntry. |
875 int nav_entry_id_; | 871 int nav_entry_id_; |
876 | 872 |
877 // Used to swap out or shut down this RFH when the unload event is taking too | 873 // Used to swap out or shut down this RFH when the unload event is taking too |
878 // long to execute, depending on the number of active frames in the | 874 // long to execute, depending on the number of active frames in the |
879 // SiteInstance. | 875 // SiteInstance. |
880 scoped_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; | 876 scoped_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; |
881 | 877 |
882 scoped_ptr<ServiceRegistryImpl> service_registry_; | 878 scoped_ptr<ServiceRegistryImpl> service_registry_; |
883 | 879 |
884 #if defined(OS_ANDROID) | |
885 scoped_ptr<ServiceRegistryAndroid> service_registry_android_; | |
886 #endif | |
887 | |
888 // The object managing the accessibility tree for this frame. | 880 // The object managing the accessibility tree for this frame. |
889 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 881 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
890 | 882 |
891 // This is nonzero if we sent an accessibility reset to the renderer and | 883 // This is nonzero if we sent an accessibility reset to the renderer and |
892 // we're waiting for an IPC containing this reset token (sequentially | 884 // we're waiting for an IPC containing this reset token (sequentially |
893 // assigned) and a complete replacement accessibility tree. | 885 // assigned) and a complete replacement accessibility tree. |
894 int accessibility_reset_token_; | 886 int accessibility_reset_token_; |
895 | 887 |
896 // A count of the number of times we needed to reset accessibility, so | 888 // A count of the number of times we needed to reset accessibility, so |
897 // we don't keep trying to reset forever. | 889 // we don't keep trying to reset forever. |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 | 956 |
965 // NOTE: This must be the last member. | 957 // NOTE: This must be the last member. |
966 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 958 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
967 | 959 |
968 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 960 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
969 }; | 961 }; |
970 | 962 |
971 } // namespace content | 963 } // namespace content |
972 | 964 |
973 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 965 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |