| 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 22 matching lines...) Expand all Loading... |
| 33 #include "content/common/frame_message_enums.h" | 33 #include "content/common/frame_message_enums.h" |
| 34 #include "content/common/frame_replication_state.h" | 34 #include "content/common/frame_replication_state.h" |
| 35 #include "content/common/image_downloader/image_downloader.mojom.h" | 35 #include "content/common/image_downloader/image_downloader.mojom.h" |
| 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 "media/mojo/interfaces/interface_factory.mojom.h" | 39 #include "media/mojo/interfaces/interface_factory.mojom.h" |
| 40 #include "net/http/http_response_headers.h" | 40 #include "net/http/http_response_headers.h" |
| 41 #include "services/service_manager/public/cpp/interface_factory.h" | 41 #include "services/service_manager/public/cpp/interface_factory.h" |
| 42 #include "services/service_manager/public/cpp/interface_registry.h" | 42 #include "services/service_manager/public/cpp/interface_registry.h" |
| 43 #include "third_party/WebKit/public/platform/WebFocusType.h" |
| 43 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" | 44 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" |
| 44 #include "third_party/WebKit/public/web/WebTextDirection.h" | 45 #include "third_party/WebKit/public/web/WebTextDirection.h" |
| 45 #include "third_party/WebKit/public/web/WebTreeScopeType.h" | 46 #include "third_party/WebKit/public/web/WebTreeScopeType.h" |
| 46 #include "ui/accessibility/ax_node_data.h" | 47 #include "ui/accessibility/ax_node_data.h" |
| 47 #include "ui/base/page_transition_types.h" | 48 #include "ui/base/page_transition_types.h" |
| 48 | 49 |
| 49 class GURL; | 50 class GURL; |
| 50 struct AccessibilityHostMsg_EventParams; | 51 struct AccessibilityHostMsg_EventParams; |
| 51 struct AccessibilityHostMsg_FindInPageResultParams; | 52 struct AccessibilityHostMsg_FindInPageResultParams; |
| 52 struct AccessibilityHostMsg_LocationChangeParams; | 53 struct AccessibilityHostMsg_LocationChangeParams; |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 | 420 |
| 420 // Update the frame's opener in the renderer process in response to the | 421 // Update the frame's opener in the renderer process in response to the |
| 421 // opener being modified (e.g., with window.open or being set to null) in | 422 // opener being modified (e.g., with window.open or being set to null) in |
| 422 // another renderer process. | 423 // another renderer process. |
| 423 void UpdateOpener(); | 424 void UpdateOpener(); |
| 424 | 425 |
| 425 // Set this frame as focused in the renderer process. This supports | 426 // Set this frame as focused in the renderer process. This supports |
| 426 // cross-process window.focus() calls. | 427 // cross-process window.focus() calls. |
| 427 void SetFocusedFrame(); | 428 void SetFocusedFrame(); |
| 428 | 429 |
| 430 // Continues sequential focus navigation in this frame. |source_proxy| |
| 431 // represents the frame that requested a focus change. It must be in the same |
| 432 // process as this or |nullptr|. |
| 433 void AdvanceFocus(blink::WebFocusType type, |
| 434 RenderFrameProxyHost* source_proxy); |
| 435 |
| 429 // Deletes the current selection plus the specified number of characters | 436 // Deletes the current selection plus the specified number of characters |
| 430 // before and after the selection or caret. | 437 // before and after the selection or caret. |
| 431 void ExtendSelectionAndDelete(size_t before, size_t after); | 438 void ExtendSelectionAndDelete(size_t before, size_t after); |
| 432 | 439 |
| 433 // Deletes text before and after the current cursor position, excluding the | 440 // Deletes text before and after the current cursor position, excluding the |
| 434 // selection. | 441 // selection. |
| 435 void DeleteSurroundingText(size_t before, size_t after); | 442 void DeleteSurroundingText(size_t before, size_t after); |
| 436 | 443 |
| 437 // Notifies the RenderFrame that the JavaScript message that was shown was | 444 // Notifies the RenderFrame that the JavaScript message that was shown was |
| 438 // closed by the user. | 445 // closed by the user. |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1064 remote_associated_interfaces_; | 1071 remote_associated_interfaces_; |
| 1065 // NOTE: This must be the last member. | 1072 // NOTE: This must be the last member. |
| 1066 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1073 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1067 | 1074 |
| 1068 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1075 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1069 }; | 1076 }; |
| 1070 | 1077 |
| 1071 } // namespace content | 1078 } // namespace content |
| 1072 | 1079 |
| 1073 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1080 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |