| 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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/gtest_prod_util.h" | 16 #include "base/gtest_prod_util.h" |
| 17 #include "base/id_map.h" | 17 #include "base/id_map.h" |
| 18 #include "base/macros.h" | 18 #include "base/macros.h" |
| 19 #include "base/memory/linked_ptr.h" | 19 #include "base/memory/linked_ptr.h" |
| 20 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
| 21 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
| 22 #include "base/observer_list.h" | 22 #include "base/observer_list.h" |
| 23 #include "base/process/process_handle.h" | 23 #include "base/process/process_handle.h" |
| 24 #include "build/build_config.h" | 24 #include "build/build_config.h" |
| 25 #include "content/common/accessibility_mode_enums.h" | 25 #include "content/common/accessibility_mode_enums.h" |
| 26 #include "content/common/associated_interface_registry_impl.h" | 26 #include "content/common/associated_interface_registry_impl.h" |
| 27 #include "content/common/frame.mojom.h" | 27 #include "content/common/frame.mojom.h" |
| 28 #include "content/common/frame_message_enums.h" | 28 #include "content/common/frame_message_enums.h" |
| 29 #include "content/common/renderer.mojom.h" | 29 #include "content/common/renderer.mojom.h" |
| 30 #include "content/common/screen_orientation_service.mojom.h" |
| 30 #include "content/public/common/console_message_level.h" | 31 #include "content/public/common/console_message_level.h" |
| 31 #include "content/public/common/javascript_message_type.h" | 32 #include "content/public/common/javascript_message_type.h" |
| 32 #include "content/public/common/referrer.h" | 33 #include "content/public/common/referrer.h" |
| 33 #include "content/public/common/stop_find_action.h" | 34 #include "content/public/common/stop_find_action.h" |
| 34 #include "content/public/renderer/render_frame.h" | 35 #include "content/public/renderer/render_frame.h" |
| 35 #include "content/renderer/frame_blame_context.h" | 36 #include "content/renderer/frame_blame_context.h" |
| 36 #include "content/renderer/mojo/blink_interface_provider_impl.h" | 37 #include "content/renderer/mojo/blink_interface_provider_impl.h" |
| 37 #include "content/renderer/renderer_webcookiejar_impl.h" | 38 #include "content/renderer/renderer_webcookiejar_impl.h" |
| 39 #include "content/renderer/screen_orientation/screen_orientation_dispatcher.h" |
| 38 #include "ipc/ipc_message.h" | 40 #include "ipc/ipc_message.h" |
| 39 #include "ipc/ipc_platform_file.h" | 41 #include "ipc/ipc_platform_file.h" |
| 40 #include "media/blink/webmediaplayer_delegate.h" | 42 #include "media/blink/webmediaplayer_delegate.h" |
| 41 #include "media/blink/webmediaplayer_params.h" | 43 #include "media/blink/webmediaplayer_params.h" |
| 42 #include "media/mojo/interfaces/remoting.mojom.h" | 44 #include "media/mojo/interfaces/remoting.mojom.h" |
| 43 #include "mojo/public/cpp/bindings/binding.h" | 45 #include "mojo/public/cpp/bindings/binding.h" |
| 44 #include "services/shell/public/interfaces/connector.mojom.h" | 46 #include "services/shell/public/interfaces/connector.mojom.h" |
| 45 #include "services/shell/public/interfaces/interface_provider.mojom.h" | 47 #include "services/shell/public/interfaces/interface_provider.mojom.h" |
| 46 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" | 48 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" |
| 47 #include "third_party/WebKit/public/platform/WebFocusType.h" | 49 #include "third_party/WebKit/public/platform/WebFocusType.h" |
| (...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1238 shell::mojom::InterfaceProviderRequest | 1240 shell::mojom::InterfaceProviderRequest |
| 1239 pending_remote_interface_provider_request_; | 1241 pending_remote_interface_provider_request_; |
| 1240 | 1242 |
| 1241 // The shell proxy used to connect to services. | 1243 // The shell proxy used to connect to services. |
| 1242 shell::mojom::ConnectorPtr connector_; | 1244 shell::mojom::ConnectorPtr connector_; |
| 1243 | 1245 |
| 1244 // The screen orientation dispatcher attached to the frame, lazily | 1246 // The screen orientation dispatcher attached to the frame, lazily |
| 1245 // initialized. | 1247 // initialized. |
| 1246 ScreenOrientationDispatcher* screen_orientation_dispatcher_; | 1248 ScreenOrientationDispatcher* screen_orientation_dispatcher_; |
| 1247 | 1249 |
| 1250 // Used to give a ScreenOrientationService* that is connected to the remote |
| 1251 // service to the dispatcher. |
| 1252 mojom::ScreenOrientationServicePtr screen_orientation_service_; |
| 1253 |
| 1248 // The Manifest Manager handles the manifest requests from the browser | 1254 // The Manifest Manager handles the manifest requests from the browser |
| 1249 // process. | 1255 // process. |
| 1250 ManifestManager* manifest_manager_; | 1256 ManifestManager* manifest_manager_; |
| 1251 | 1257 |
| 1252 // The current accessibility mode. | 1258 // The current accessibility mode. |
| 1253 AccessibilityMode accessibility_mode_; | 1259 AccessibilityMode accessibility_mode_; |
| 1254 | 1260 |
| 1255 // Only valid if |accessibility_mode_| is anything other than | 1261 // Only valid if |accessibility_mode_| is anything other than |
| 1256 // AccessibilityModeOff. | 1262 // AccessibilityModeOff. |
| 1257 RenderAccessibilityImpl* render_accessibility_; | 1263 RenderAccessibilityImpl* render_accessibility_; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1322 bool name_changed_before_first_commit_ = false; | 1328 bool name_changed_before_first_commit_ = false; |
| 1323 | 1329 |
| 1324 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1330 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1325 | 1331 |
| 1326 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1332 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1327 }; | 1333 }; |
| 1328 | 1334 |
| 1329 } // namespace content | 1335 } // namespace content |
| 1330 | 1336 |
| 1331 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1337 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |